TicTac7x / runelite-plugins

External plugins for RuneLite
https://runelite.net/plugin-hub/
10 stars 11 forks source link

Item Charges Improved - Plank Sack charges inaccurate when doing Mahogany homes #176

Open Volatar opened 3 months ago

Volatar commented 3 months ago

Item Charges Improved v0.5.7 Runelite 1.10.31.3 Windows 10

I haven't managed to pin down how this one happens yet.

What I have found is that the plank sack's charges overlay is sometimes inaccurate. Usually it seems to be off by 1 (one LESS than it actually has) but have had it be off by as many as 3. I don't know at what point it becomes inaccurate, but when I go to fill it, it will fully fill (clicked fill and then some planks remain in my inventory) but it will say 27 on the overlay. I then click it again and it says it's full in the chat box and updates to the proper 28 number, without taking any further planks.

I am currently grinding out mahogany homes when this inaccuracy occurs. My current theory is that it has something to do with my habit of spam clicking the interactions (not the keyboard, just the mouse). The fact that it is usually off by one suggests to me that this happens with one of the repair interactions. I have as of yet been unable to intentionally reproduce this issue however, so my theory may be wrong. I will continue to attempt to do so and get video of it.

One thing I believe we can rule out is latency causing this, as I am on a server where I have a stable <20ms ping.

Volatar commented 3 months ago

I forgot to include that this bug occurs in both the original Item Charges plugin and the Improved one. Guessing they share some code.

Volatar commented 3 months ago

Ah ha, just saw it happen. I repaired this mirror, and the plugin charge count on the plank sack went from 28 to 27, despite the action using one of the planks in my visible inventory and not the sack. Checking the sack brings the total back up to the actual 28. image