This update features a handful of new tools for scripters along with improvements to interactions. Additionally, a large portion of the bot has undergone many revisions in support of our future projects. Both scripters and botters should feel the positive effects of this release.
If you would like to learn how to script, please visit these tutorials:
Setup guide: http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/
Basic script guide: http://osbot.org/forum/topic/60535-osbot-script-skeleton-the-minimum-code-to-make-a-script/
OSBot 2.2.28
@Alek's changes:
API - Scripters Only
-Added localWalker methods walkPath(List<Position>) and walkPath(Position[])
-Added localWalker method waitUntilIdle()
-Added localWalker method findPosition(Position p); (Finds a position halfway between you and the target)
-Added Utilities class
--Added utilities method getMinValue(int[]); (Finds the position of the smallest int in an array)
--Added utilities method int[] convertIntegers(List<Integer>)
-Added MoveMouseEvent(RS2InterfaceChild child)
-Added NPC method hover()
-Patched ItemContainer hover() method
-Patched all Interactable hover() methods
-All Interactable hover() methods are now boolean type
Notes: The walkPath() method is very inclusive and may contain some bugs on the initial release.
All - Scripters and Botters
InteractionEvent by default checks if an entity is on screen before attempting to walk to it. Previously if an entity was on screen but met the distance threshold criteria, it would still walk to the entity. Scripters can override the isVisible default check by setting the walkingDistanceThreshold in InteractionEvent.
Notes: The InteractionEvent change has been tested but as always, cannot be fully tested until it reaches the masses.
Shout out to for all the bug reports!
Thanks for using OSBot
-The OSBot Team