handle inventory desyncs #58
Labels
No labels
complexity
high
complexity
low
complexity
medium
importance
high
importance
low
importance
medium
type
bug
type
chore
type
feature suggestion
type
missing feature
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thetxt/oxide#58
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
at the moment inventories can desync between client and server, because state_id field in inventory related packets is not utilized.
also the changed_slots and carried_items in the ClickContainer packet are not used either
collection of todos:
first steps in
fd67b74f9estill need to check if the state id matches, but first there are a few bugs I need to fix (not sure if theyre new -> theyre not):
fixed quite a few bugs, especially around crafting and the resulting inventory state between
533a4e5cbband213755fcacNow all thats left is to detect state_id mismatches
Also make use of Array of changed slots in the ClickContainer packet to detect desycns