Skip to content

🐛 Client desync can occur in an inventory edge case #9897

@WinterSolstice8

Description

@WinterSolstice8

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Ubuntu

Branch affected by issue

base

Steps to reproduce

make sure you have zero fish oil broths first

!additem fish_oil_broth
//callbeast
control + e
see your ammo slot is empty
!additem fish_oil_broth
somehow, despite not equipping fish oil broth, your client thinks it's equipped. If you zone, you will find it's not equipped.

Expected behavior

In this scenario where you consume a fish oil broth on retail it seems to issue 0x04F which empties your cached equips, removes the item, dirty/undirty inventory then re-equips everything.

Image

I assume if we can emulate this behavior in UpdateItem where the item is consumed the bug goes away

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