Jump to content

FrostBug

Scripter III
  • Posts

    3967
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by FrostBug

  1. Happy birthday, incest man!
  2. Another gambling script, aye?
  3. Obviously not :E, " " is the HTML version
  4. Web walk to the entrance and take it from there. Solving stuff like that isn't what the webwalker is for ;o
  5. All the API access methods you use come from the MethodProvider, have a look around in there http://osbot.org/api/org/osbot/rs07/script/MethodProvider.html
  6. RS uses "RSString". The spaces are different from regular spaces. If you print the bytes you will see the difference from the version of the name you type out yourself. Replace the special spaces with regular spaces to achieve what you want.
  7. script.getNpcs().closest(..)
  8. get(x, y) and getAll() should very much be available to you through the GroundItems class. As well as closest() and filter(), since the class extends API. It sounds like you're trying to access it statically, which won't work. Use it through MethodProvider
  9. FrostBug

    FrostHunter

    Congratz ;o Impressive stuff Thank you kindly for the nice proggy
  10. Before dispatching a mouse event to the RS client, the bot client checks if any registered BotMouseListener is blocking it. To achieve what you want, create a new MouseListener class by implementing the BotMouseListener interface. This interface will implement the method blockInput(Point point) Which will let you specify whether a mouse event at the specified point should be dispatched to the RS client or not. Much like consuming the event, except it will still trigger all the subsequent MouseListeners (Unless you consume all events as well) So if you have a button at Rectangle x, you will simply need to return true at blockInput if the given Point is within that rectangle.
  11. FrostBug

    FrostHunter

    May I see where you were placing the trap? If one spot cannot contain a trap, it will assume player interference, and hop.
  12. Wall kick; toothpick would probs just bend or break
  13. Brave, picking up an anime that hasn't finished airing yet
  14. the boolean is whether or not it should use "Real Distance" When using real distance, the LocalPathFinder is used to find the length of the actual path to the tile, rather than euclidean distance
×
×
  • Create New...