Interface Revamp, Upgrade Mouse Integration & Performance Enhancements #46
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.
PR #46: Interface Revamp, Humanized Mouse & Performance Overhaul
This is a massive update that updates almost every part of the bot. I wanted to make the client look better, feel more human, and run a lot smoother.
Complete Web Interface Rehaul
The frontend has been completely rebuilt with a modern GlassMorphism aesthetic. Theres also several components in the tech stack which have been created to utilise
WebSocketsfor real time updates.ColourContoursandTemplateMatchinglogic push their state directly to the browser. If the stream gets overloaded, the system discards old frames to keep the bot logic running.SEARCHING,ACTING,WAITING,ERROR) so you know exactly what the bot is thinking.ColourObjand paste it directly into your script.WindMouse Integration
I’ve completely replaced the old
MousePathingwith WindMouse.gravityto pull towards the target andwindto apply randomness making it pixel imperfect.Performance & Multithreading
We've moved to a Producer -> Consumer threading model for inputs. The physics engine calculates mouse movement on one thread, while a separate background thread handles the hardware remote inputs. If the hardware input lag spikes, the physics calculation remains accurate.
OpenCV Improvements:
Background Mode
This is probably the biggest Quality of Life improvement You can now hide RuneLite.
I replaced the standard Java
Robotcapture with native Windows calls. This reads the window's device context directly and writes it into a buffer.The bot can see and use the game window even if it is covered by another window. You can finally use your laptop for other things while the bot runs in the background!
New Actions Utility
You can now call
ItemDropper.dropAll(controller());to drop all the items in your inventory.There are also different dropping patterns to choose from, see the class.
BREAKING CHANGES:
VirtualMouseUtils.moveToPause()&VirtualMouseUtils.moveToAndOvershoot()have been removed.