When using extended stats, the server does not send updated values for the applied stats when changing characters.
CS_STAT_APPLIED_STR
CS_STAT_APPLIED_INT
CS_STAT_APPLIED_POW
CS_STAT_APPLIED_WIS
CS_STAT_APPLIED_DEX
CS_STAT_APPLIED_CON
CS_STAT_APPLIED_CHA
Steps to reproduce:
- Log in to a server using JXClient (tested with version from apr-15-2022)
- Log in as a player with stat changes from depletion or applied items
- Open the character status window
- Mouse hover over the stats and look at what stats are depleted or boosted
- Use a bed to reality
- Log in as a different player with no stat changes (I used a level 1 character with no equipment)
- Mouse hover over the stats and look at what stats are depleted or boosted (they should be incorrect)
- Use a bed to reality
- Disconnect
- Reconnect to server
- Log in as the different player again
- Mouse hover over the stats (they should be as expected)
I should add that the other extended stats are sent correctly, from what I can tell.
I think that CS_STAT_OVERLOAD, CS_STAT_ITEM_POWER are also not sent when switching characters without disconnecting.
And it seems that CS_STAT_CHARACTER_FLAGS doesn't get set back to 0 from a different value, although switching between characters that have different flags set does work
Last edit: ChristopherPH 2022-07-07
Hello.
Thanks for the bug report :)
This should be fixed by server commit d74bb148d010ed659001ddc261ea71684e8451da
Best regards
Nicolas
Added some more missing items in efe8f146e0eac694def208092c00de7da0655b56