[4.3.4] Talents Reset after logout
https://github.com/TrinityCore/TrinityCore/commit/60d4343d8e8183e170ec833b43ec1254d5752c80
After logout appears a message on screen "Your Talents Have Been Reset" and they reset
confirm
Logic fail in player loading
Tokenizer talentTrees(fields[26].GetString(), ' ', MAX_TALENT_SPECS);
for (uint8 i = 0; i < MAX_TALENT_SPECS; ++i)
{
if (i >= talentTrees.size())
break;
uint32 talentTree = atol(talentTrees[i]);
if (sTalentTabStore.LookupEntry(talentTree))
SetPrimaryTalentTree(i, talentTree);
else if (i == GetActiveSpec())
SetAtLoginFlag(AT_LOGIN_RESET_TALENTS); // invalid tree, reset talents
}
so this is priority low? very good.. -.-
4.3.4 branch is not intended for production enviroments, storing talents only makes people ussing 4.3.4 for production enviroments.
sure...
cant reproduce this issue on original TC. 5 chars full skilled 7 geared --> no reset
this is not original TC , this is 4.3.4
with "original" i mean no custom stuff...
i don't have costum stuff
talents are working fine , no reset here too.
confirm this bug
Still can't reproduce this bug ...
propably they dont use a original TC. maybe that fking arkcore or sth else based of here.
clean sources
Me too ;)
I have the same bug on a clean source code
Fix here c33e366eff37fd7663a6d1fc1fc117c57bcce086