-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Plank Sack] inaccurate counter #63
Comments
1 and 2 can't reasonably be fixed, due to the nature of how inventory tracking works. 3 is weird, and I can't get it to reproduce at all. It's also part of the nature of tracking this activity; nothing gives nice chat messages. It could maybe be triggered on a GameObjectChanged instead, which I might look into at some point, but if that doesn't work there's not really much that can be done. |
Found a way to reproduce 3: |
1 should be improvable with ItemContainerChanged event (https://static.runelite.net/api/runelite-api/net/runelite/api/events/ItemContainerChanged.html) since it also triggers for bank. For the bank container, call getItems(), find all plank Items and check their new counts. The different is what was withdrawn to inventory. If need to know how many planks were there before the change, I guess you need to start recording that (unless there is some easy event for that https://static.runelite.net/api/runelite-api/net/runelite/api/events/package-summary.html) like has been done for inventorySnapshot.
|
This issue is for the external plugin: Plank Sack
When quickly interacting with the plank sack (usually doing multiple actions a tick) the plank sack counter becomes inaccurate
Clip 1: https://streamable.com/r1oa9i
This clip shows that when planks are withdrawn + the plank sack is filled on the same tick, the counter becomes inaccurate
This happens every quick bank when the sack isn't full.
Clip 2: https://streamable.com/rejp18
Here's another example of emptying then quickly filling the sack, which also makes the count 0
Clip 3: https://streamable.com/zyxwfr
When clicking build multiple times on furniture without building it, the counter also becomes inaccurate
Hopefully these clips are helpful to you
The text was updated successfully, but these errors were encountered: