TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[4.3.4] Talents Reset after logout

Open ghost opened this issue 14 years ago • 17 comments

https://github.com/TrinityCore/TrinityCore/commit/60d4343d8e8183e170ec833b43ec1254d5752c80

After logout appears a message on screen "Your Talents Have Been Reset" and they reset

ghost avatar Oct 23 '12 12:10 ghost

confirm

espargon avatar Oct 23 '12 20:10 espargon

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
}

Lordron avatar Oct 24 '12 20:10 Lordron

so this is priority low? very good.. -.-

ghost avatar Oct 25 '12 14:10 ghost

4.3.4 branch is not intended for production enviroments, storing talents only makes people ussing 4.3.4 for production enviroments.

Aokromes avatar Oct 25 '12 14:10 Aokromes

sure...

ghost avatar Oct 25 '12 14:10 ghost

cant reproduce this issue on original TC. 5 chars full skilled 7 geared --> no reset

ghost avatar Oct 25 '12 18:10 ghost

this is not original TC , this is 4.3.4

ghost avatar Oct 28 '12 23:10 ghost

with "original" i mean no custom stuff...

ghost avatar Oct 29 '12 08:10 ghost

i don't have costum stuff

ghost avatar Oct 30 '12 00:10 ghost

talents are working fine , no reset here too.

Remix99 avatar Nov 02 '12 01:11 Remix99

confirm this bug

impas avatar Nov 29 '12 00:11 impas

Still can't reproduce this bug ...

tuxity avatar Nov 29 '12 06:11 tuxity

propably they dont use a original TC. maybe that fking arkcore or sth else based of here.

ghost avatar Nov 29 '12 06:11 ghost

clean sources

impas avatar Nov 29 '12 06:11 impas

Me too ;)

tuxity avatar Nov 29 '12 06:11 tuxity

I have the same bug on a clean source code

Lordron avatar Nov 29 '12 13:11 Lordron

Fix here c33e366eff37fd7663a6d1fc1fc117c57bcce086

tuxity avatar Dec 02 '12 16:12 tuxity