Jump to content

zScripz

Members
  • Posts

    744
  • Joined

  • Last visited

  • Feedback

    100%

Profile Information

  • Gender
    Male

Recent Profile Visitors

1732 profile views

zScripz's Achievements

Mithril Poster

Mithril Poster (6/10)

173

Reputation

3

Community Answers

  1. holy shit no you could build a much better one for the same cost
  2. The code where you increment OpenedIt and CheckedIt is unreachable also camelCase pls also you probably want to learn Java before writing a massive merch script
  3. Bank pin works perfect now, thank you.
  4. public boolean interactWithTableItem(GroundItem tableItem, String action, int tableHeight) throws InterruptedException { Point p = org.osbot.script.rs2.utility.Utilities.getScreenCoordinates( bot, tableItem.getGridX(), tableItem.getGridY(), tableHeight); int height = (int) tableItem.getMouseDestination().getBoundingBox() .getHeight(); int width = (int) tableItem.getMouseDestination().getBoundingBox() .getWidth(); return selectOption(null, new RectangleDestination(p.x - width / 2, p.y - height / 2, width, height), action, false); } this was old code i used in osbot 1, with a little tinkering it should work
  5. Bored irl so thought I'd come back and create some scripts. Gonna focus more on free scripts this time around
  6. itt swizz complains about something that takes literally 5 minutes b/c he would rather fuck over customers than give them a good product claps 4 you!
  7. might want to add that your zybez class isn't yours
  8. 1. In OSBot 1 we had obj.getMouseDestination().getBoundingBox() which returned a rectangle, which was very useful in drawing objects on screen. I've looked around ObjectDefinition and the new Model, but haven't found any way to access this, if its even still here. I will update as I find things, but liking the new api a lot. Its going to be extremely easy for new scripters to learn how to script.
  9. How finalized are the docs? IE if I begin to develop a script now, is there a large chance that everything will be changed on me? EDIT: As I convert a small script, is distance(Position) gone or am I just missing it?
×
×
  • Create New...