While developing bot scripts I figured the following methods were missing. These are ones that I have personally used a lot
Inventory:
getItemsContainingName returns all items containing the input string
getFirstItemContainingName returns the first item containing the input string
NPCChat:
selectOption selects the option corresponding to the option index. So for example, 1 would be option 1 in the dialogue and so on. I thought this was easier than entering the whole string
RSPlayer:
Implemented a better "isMoving" boolean, returns true if the last tile is not the same as current or if the local player is moving
Walking:
GetRealRunEnergy just divides the getEnergy by 100 to return an easier accessible value.
All of this has been tested throughout, javadoc has also been added.
While developing bot scripts I figured the following methods were missing. These are ones that I have personally used a lot
Inventory:
NPCChat:
RSPlayer:
Walking:
All of this has been tested throughout, javadoc has also been added.