Skip 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.

Cyro

Members
  • Joined

  • Last visited

Everything posted by Cyro

  1. Yeah you're right but they are in the process of learning and they should get use to using tools.They will be dealing with more confusing stuff while they are scripting. You could add it as an alternative, up to you anyway private void traversePath(Position[] path, boolean reversed) throws InterruptedException { if (!reversed) { for (int i = 1; i < path.length; i++) if (!walkTile(path)) i--; } else { for (int i = path.length-2; i > 0; i--) if (!walkTile(path)) i--;//<-- was referring to this one it goes to the next tile when it fails to walk the current one } }
  2. nice tutorial, i like how simple it is and would help out people who are new to scripting tho you have explained how to create a path instead of using notepad and recoding the tile you are on you could show them how to use a path maker it saves time, good for long as paths and less confusing in your traversePath() the reversed part shouldn't i be increasing
  3. they dont offer java lessons afaik. JavaScript is diffferent than Java but those are good places to learn Java http://docs.oracle.com/javase/tutorial/java/ http://www.tutorialspoint.com/java/ Also YouTube videos can help you search: Java basics/beginner tutorials once you get the basics of Java the rest will be easy just need a bit of logic and research to solve some problems also you always post your issues here
  4. My school did too But you can still run a batch file
  5. Idk but if it true
  6. Cyro replied to yougotponed4's topic in Archive
    You dont need to put anything there
  7. Can you give me an example of a proper area variable? Area(int x1, int y1, int x2, int y2) The boundaries to initialize this area with. )]Area(java.awt.Point[] locations) The locations to initialize this area with. )]Area(Position[] positions) The Position objects to initialize this area with. from the osbot api Thanks for the example. private final Area area = new Area(new Position[] { new Position(3167, 3382, 0), new Position(3281, 3354, 0), new Position(3264, 3509, 0), new Position(3162, 3506, 0) }); For rectangular areas,final Area area = new Area(x1,y1,x2,y2); Unfortunately pure rectangular areas are not supported. They should be made with 4 separate tiles. I'm not sure if osbot supports other than rectangular areasIm pretty sure they do And also there is Area(position[] positions) in the api So thats for polygonal areas
  8. i dont do JavaScript, but from what i know i would guess that #log() is a void or another type of method just like println() in Java and that should be ... console.log(myCountry.length); console.log(myCountry.substring(0,3)); ...
  9. i was just comparing it to my version and found that it ends with ) instead of } for the path
  10. nice to see you here thanks for sharing it with us
  11. Nice good luck with it I was working on a similar one (only entities part was finished) so it was not completed didn't have time for it A script generator would be interesting to see .
  12. ents are npcs that have the same name as the tree and with a yellow color name rather than the normal blue check if that npc that has the same name as the tree exists and is near the tree
  13. Cyro replied to TheScrub's topic in Snippets
    well it was just a tip idc really and that wasnt the cause at one of the forums i posted a similar code contains enum and some things were off like conventions of the enum instances and people were annoying due to that
  14. Cyro replied to TheScrub's topic in Snippets
    how so? Looks good. You could try adding in an id value as first argument so the enum can be easily used in combination with a comboBox. why isn't the name better? the users wont know what the id mean or did i misunderstood you? Yes, you misunderstood him. Theese ID's he's talking about, is the ID's from the ComboBoxes from the Swing class (for generating GUI's). I can't explain this much further, but I hope I helped. You can still have the name. enum Spells { HOMETELEPORT("Lunar Home Teleport", 0, 0, 16), BAKEPIE("Bake Pie", 1, 65, 15), CUREPLANT("Cure Plant", 2, 66, 31); private final String name; private final int comboBoxPos; private final int level; private final int childid; Spells(String name, int comboBoxPos, int level, int childid) { this.name = name; this.combo = comboBoxPos; this.level = level; this.childid = childid; } public String getName() { return name; } public int getLevel() { return level; } public int getChild() { return childid; } public int getParent() { return 430; } } Something like that if I remember correct . PS. Enums are written in case-letters . (I don't know the right word here..) idk they way i do it is add the enum instances as items of the combobox JComboBox<Spells> combo = new JComboBox<Spells>(Spells.values()); and also there is Spells#BAKEPIE#ordinal(); which returns 1 (the position of the constant in the enum)
  15. Cyro replied to TheScrub's topic in Snippets
    good work looks nice tho enum instances should be uppercase and separated by "_" underscore as they are static final anyway you should override toString() to return the name rather than the instance name for those who will use this with ComboBox how so? Looks good. You could try adding in an id value as first argument so the enum can be easily used in combination with a comboBox. why isn't the name better? the users wont know what the id mean or did i misunderstood you?
  16. There is no possible way you can make a bot Wrong. Do you know how hard it is to make a bot? The coding required to make OSBot is insane. If he has no prior knowledge of coding, it will take him years to make a bot. Timer from No advertising was 15 when he was working on the No advertising client. It will not take anyone years to make a bot. Trust me.He started when he was 13 I thinkand its not that hard to make a bot might be long tho
  17. Cyro replied to QBots's topic in Projects
    It's the easiest way to do something like this. If you are here to criticize then don't help. Can't you do the same thing with an enum which holds all the monsters data
  18. Cyro replied to 5uck's topic in Snippets
    I think he's extending the conditionSleep from the api
  19. Cyro replied to Ricky's topic in Archive
    the ids change for objects and npcs in rs so use their names they have same name as the tree but its yellow and they are NPCs
  20. Cyro replied to GTi's topic in Archive
    Galaxy s4
  21. i believe start, stop, current script exists or at least it did back in 1.2 not sure about now i think it's still there or might be hidden or something
  22. Cyro replied to Levi's topic in Archive
    all my neighbours own cats so do i
  23. Cyro replied to YoHoJo's topic in Snippets
    I'm extremely new to Java, a quick little guide/run through would be nice but I'll defiantly check that out and see if it's a simple process to do without assistance. Are there any other similar/alternative programs to JD-Gui? Can eclipse do this somehow? Or how would I look at the source of class files, just open them in Eclipse somehow? Thank you. JD gui is really easy to use just open it then load the jar file by either dragging jar to it or the usual open option
  24. Cyro replied to Zach's topic in Releases
    Thanks will do

Account

Navigation

Search

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.