Repository navigation
fix(gm-commands): refresh cached stash tabs after item_tab - #42
Merged
evrydayjunglist merged 1 commit intoNov 18, 2026
Merged
Conversation
3 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
/item_tabnow refreshes a slotted stash tab even when the server has unloaded its inventory but the client still displays its cached page.Previously, filling persisted the added quantities, then sent an inventory change only when
TabsSentOfstill contained the target tab. A player could therefore receive a successful command reply while the visible quantities stayed unchanged. This was reproduced with/item_tab Делириум 200: the added items were present in the save while the client continued showing older counts.The slotted-fill handler now uses the existing
Game.SendTabChangehelper whenever items change. It loads the target inventory and announces it first when needed, then publishes the normal inventory delta. The command performs the fill once; refreshing does not add items again.mods.jsonwithtools/build-index.ps1.Why this is a mod change
GM development commands live in LocalExile-Mods. Normal game storage and special-slot stacking are covered by LocalExile #985; this notification correction needs no new server API.
Validation
3fea6830404e4bb0e58e3cfe176775c458402031027e695481127e6a15ffa73e8fb934046671cd1dtools/build-index.ps1 -Checkpasses for all 11 indexed mods.