Menu ▾ ▴

#927 The server does not send applied stats to the client after changing characters

2.x
closed
nobody
server (385)
Other (Please Specify in Description)
5
2025-01-28
2022-07-04
No

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:

  1. Log in to a server using JXClient (tested with version from apr-15-2022)
  2. Log in as a player with stat changes from depletion or applied items
  3. Open the character status window
  4. Mouse hover over the stats and look at what stats are depleted or boosted
  5. Use a bed to reality
  6. Log in as a different player with no stat changes (I used a level 1 character with no equipment)
  7. Mouse hover over the stats and look at what stats are depleted or boosted (they should be incorrect)
  8. Use a bed to reality
  9. Disconnect
  10. Reconnect to server
  11. Log in as the different player again
  12. Mouse hover over the stats (they should be as expected)

Discussion

  • ChristopherPH

    ChristopherPH - 2022-07-04

    I should add that the other extended stats are sent correctly, from what I can tell.

     
  • ChristopherPH

    ChristopherPH - 2022-07-07

    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

    • one character with "not perfect" and a second with "hostile" works
    • one character with "not perfect" and a second with no flags doesn't work
     

    Last edit: ChristopherPH 2022-07-07
  • Nicolas Weeger

    Nicolas Weeger - 2022-10-29
    • labels: --> server
    • status: open --> patched
     
  • Nicolas Weeger

    Nicolas Weeger - 2022-10-29

    Hello.

    Thanks for the bug report :)

    This should be fixed by server commit d74bb148d010ed659001ddc261ea71684e8451da

    Best regards

    Nicolas

     
  • Nicolas Weeger

    Nicolas Weeger - 2024-02-26
    • status: patched --> closed
     
  • ChristopherPH

    ChristopherPH - 2025-01-28

    Added some more missing items in efe8f146e0eac694def208092c00de7da0655b56

     

Log in to post a comment.