View Full Version : [SOLVED] Player Start Level 80 but no achievements

02-22-2016, 05:47 PM
Hello i'm having a problem with my trinitycore server and I really need help, I just turned on the option to players start at max level, but the achievements of leveling does not count. Player is level 80 but the achivements are not showing up. If I do level reset and give level 80 with a gm command to the player the achievements pop up!

Thank you very much!

02-24-2016, 12:04 PM
Achievements are handles by the character database. You could write a simple Eluna script using
http://eluna.emudevs.com/Global/RegisterPlayerEvent.html - on player create. So that whenever a character is created you insert in to the characters.character_achievement table..
the SQL would look something like

INSERT INTO characters.character_achievement
VALUES (<characterGUID>,<achievementID>,<date>)

Note that the charGUID can be got through http://eluna.emudevs.com/Object/GetGUIDLow.html (Correct me if I'm wrong)
And the date should be in the format that trinitycore requires. Try searching for the table on google, should give some info about the format.