elgbar / instant-inventory

Runelite plugin to instantly do inventory actions
https://runelite.net/plugin-hub/show/instant-inventory
BSD 2-Clause "Simplified" License
7 stars 0 forks source link

When depositing items via deposit-X its not instantly #10

Closed elgbar closed 7 months ago

elgbar commented 1 year ago

When depositing items via the Deposit-X menu option you must enter the amount to deposit in the Enter amount: input box. When pressing enter to deposit the amount the item in the inventory is not updated instantly, but rather the next tick.

Suggested solution

Add a listener for the Enter amount: input box and update the size of the item stack last clicked

elgbar commented 7 months ago

So I've delved deep into the code of client scripts, and figured out that some actions are very hard to predict by the client.

It seems that when entering the X amount is not handled by client scripts as far as I am able to figure out.

Sequence of events

this is only a very rough estimate