Skip to content

[Issue Report]: Staff recharge fails to sync, freezes remote player character #8500

@NiteKat

Description

@NiteKat

Operating System

Windows x64

DevilutionX version

Other (please specify version number)

Describe

Commit 7ea938e

If you recharge a staff in your inventory at Adria in a multi player game you will be desynced from the other players in town until you transition floors. The other players will see you frozen in place next to Adria, you won't be able to pick up any items, and any items you drop also can't be picked up by you and won't show up to the other players. If you get yourself back synced by going into the dungeon and coming back to town, you will see the items you dropped while desynced but they are invalid items and will disappear when you try to pick them up.

To Reproduce

  1. Create a Client-Server (TCP) game with one instance.
  2. Join the game via 127.0.0.1 with a second instance.
  3. Put a staff with missing charges in your inventory in one instance. It cannot be equipped, it must be in the inventory.
  4. In the instance from step 3, recharge the staff at Adria.
  5. The other instance will see a not animating, frozen character (the one that did the recharge) and the bug has been activated.

Expected Behavior

Recharging staves in inventory should not desync game state in multiplayer.

Additional context

Screenshot from the bugged out state - Sorcerer dropped a gold pile Warrior can't see, Sorcerer can see the potion dropped by the warrior. Sorcerer cannot pick up either item.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions