Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

jamesst78

Members
  • Joined

  • Last visited

  1. Thanks alot! I fixed it by deep cloning instead of shallow cloning
  2. I found a very weird issue in my code , when I have a list called "pathToBank" and I let it = pathToAltar , then I do Collections.reverse(pathToBank) it changes both pathToAltar and pathToBank to the reversed version of pathToAltar , does this have to do with Java refrencing? did I mess something up? to my knowledge , it shouldn't affect pathToAltar at all switch(modeName[index]) { case("Air"):{ bankArea = new Area(3008, 3359, 3022, 3352); altarArea = new Area(2980, 3295, 2991, 3283); //rcArea = pathToAltar = new ArrayList<Position>(); pathToAltar.add(new Position(3013, 3356, 0)); pathToAltar.add(new Position(3010, 3360, 0)); pathToAltar.add(new Position(3006, 3360, 0)); pathToAltar.add(new Position(3005, 3356, 0)); pathToAltar.add(new Position(3006, 3348, 0)); pathToAltar.add(new Position(3006, 3339, 0)); pathToAltar.add(new Position(3005, 3326, 0)); pathToAltar.add(new Position(3006, 3314, 0)); pathToAltar.add(new Position(3006, 3308, 0)); pathToAltar.add(new Position(3004, 3302, 0)); pathToAltar.add(new Position(3002, 3298, 0)); pathToAltar.add(new Position(2995, 3295, 0)); pathToAltar.add(new Position(2989, 3292, 0)); pathToBank = pathToAltar; Collections.reverse(pathToBank); //this messes up both variables not only pathToBank break; } } I think what I'm lacking is maybe initialize pathToBank as a new ArrayList<Position> instead of making it just a reference pointer?
  3. Yes this is exactly what I intend , maybe I have an issue in my script in some other part ,I have a helper method that configures the script to a certain mode , for example "Air" and accordingly it replaces the "pathToAltar" with a new path , I'll try to check my code once more maybe the issue is there , thanks alot , I'm glad to hear its working so the issue is within my code
  4. When I create a list of Positions as a path , and walk it , it walks the reversed path , any idea why is that? pathToAltar.add(new Position(3013, 3356, 0)); pathToAltar.add(new Position(3010, 3360, 0)); pathToAltar.add(new Position(3006, 3360, 0)); pathToAltar.add(new Position(3005, 3356, 0)); pathToAltar.add(new Position(3006, 3348, 0)); pathToAltar.add(new Position(3006, 3339, 0)); pathToAltar.add(new Position(3005, 3326, 0)); pathToAltar.add(new Position(3006, 3314, 0)); pathToAltar.add(new Position(3006, 3308, 0)); pathToAltar.add(new Position(3004, 3302, 0)); pathToAltar.add(new Position(3002, 3298, 0)); pathToAltar.add(new Position(2995, 3295, 0)); pathToAltar.add(new Position(2989, 3292, 0)); walking.walkPath(pathToAltar);
  5. Thanks alot for your help!
  6. jamesst78 changed their profile photo
  7. How can I get the area of the inside of a runecrafting altar? I'm currently using explv's Map plugin on github , is there a way to access the inside of an alter using this plugin? or any other way to do it in general?

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.