By completing this guide, you should be able to remove an achievement title from the specified character.
You will have to obtain the character ID you want to remove the title from. You may use the following query to obtain the character ID from the database.
SELECT CharID
FROM _OnlinePlayers
WHERE CharName16 = 'Character_Name';
You will have to obtain the title ID you want to remove. You may use the following query to obtain the title ID from the database.
SELECT ID
FROM _RefAchievementTitles
WHERE CodeName = 'Achievement_CodeName';
Stored Procedure: _Char_AchievementTitleRemove
Parameters:
@CharID INT - Target character ID
@TitleID INT - Title ID
Let's test if the command works by using the following code, which will remove the [BIG_SPENDER] title from a specific character.
USE [vPlus]
GO
DECLARE @CharID INT = (
SELECT CharID
FROM _OnlinePlayers
WHERE CharName16 = 'character_name'
);
EXEC _Char_AchievementTitleRemove @CharID, 3;
For real usage, use @CharID directly from your calling procedure.
EXEC _Char_AchievementTitleRemove @CharID, 3;