
Send too many packet in specific situations
821938089 opened this issue ยท 1 comments
When the number of items stack is larger than the inventory empty slot.
Use Alt+Left Click to move item will cause a large number of packets sent to the server.
Worst case scenario for moving a stack items requires sending about 1000 slot click packets.
Mod version: itemscroller-fabric-1.17.1-0.15.0-dev.20210707.005506.jar
Okay so the excessive number of slot clicks is caused by the scrolling fallback option. There are also other improvements and optimizations that can be made, but I'll try to take care of those later during the planned total rewrite of the mod.
So for now you can avoid this excessive amount of slot clicks by disabling the Toggles -> enableScrollingStacksFallback
option.
I also fixed a related smaller bug for the upcoming 1.18 release, which caused a few dozen extra clicks if that above option was disabled (basically the last stack was being moved without checking for that option, so if it could not fit then it was attempted to be inserted to every slot in the target inventory).