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.

Czar

Global Moderator
  • Joined

  • Last visited

Everything posted by Czar

  1. Did somebody say... Counter strike? 1v1 me pls
  2. Czar replied to holyfoxx's topic in Scripting Help
    If inventory isn't full, drop? Remember to remove the ! before the boolean (it was !isEmpty now !isFull) they are opposite so it should be if (getInventory().isFull()) Or is the isFull causing an actual error?
  3. 1) Don't generate jar files while testing a script, you should do that in the end, otherwise you must restart etc. What I do, is just make your project folder on Users/OSBot, and change your output folder to OSBot/scripts, so all the .class goes there and you can just save script on your ide, and refresh scripts on OSBot and you don't have to restart client every time you make an update 2) A trade request is a message, so you must add a messagelistener to your script by doing the following; put this in your onStart method: getBot().addMessageListener(this); and then add the overriden method onMessage(Message m) the message will be String msg = m.getMessage(); and to check if its a trade, just do m.getMessageType(), which is an enum and contains RECEIVE_TRADE (in your case) As for the last question I've never handled trading in a script so I'm unable to assist you there, but there's an open source merching bot (which handles trades) in the snippet section iirc.
  4. gjdm , keep up the updates
  5. Czar replied to Alek's topic in Releases
    Gj man
  6. Tysm I really appreciate the support
  7. It's completely free for now, until I make it do everything
  8. Well, not anymore I just finished the script If any moderators sees this, please lock this thread because I'm going to make my SDN script thread now.
  9. I'm just working on the new thread, a video, and a nice paint, and some screenshots, sorry to keep you guys waiting!
  10. Czar replied to boyyo11's topic in Scripting Help
    public NPC getTarget(final String npc) { return getNpcs().closest(new Filter<NPC>() { public boolean match(NPC n) { if (!n.getName().equalsIgnoreCase(npc)) { return false; } if (n.getInteracting() != null) { return false; } return true; } }); } You can use a Filter<> to to find the best npc, in this case it's the npc which isn't interacting with anything, and is called whatever you put in the getTarget method, so: NPC guard = getTarget("Guard"); if (guard != null) { // attack } And it will attack every NPC with the name 'guard', also, try to use names instead of IDs when it comes to npcs and objects, since the IDs can change from time to time. You can greatly expand on the filter by adding more stuff like getMap().canReach for extra failsafes etc. As for the camera movement, the while() is unnecessary because you are already checking if its visible.
  11. Good idea, I will record a video of the script
  12. Okay the script is finished Sorry that it took so long, I wanted to make it perfect before I released. Latest updates: - Tested a lot of the slayer monsters, the routes, and teleports - 875 gp to saniboch for Brimhaven cave - Ectophial filling after teleporting (if user has it) - Slayer tower floor 2 and 3 - Lumbridge cave completed - Zanaris teleportation with dramen staff added - Task skipping with Turael - Shilo village travelling by talking to Hajedy Guys, before you use the script, if you want to kill metal dragons, make sure you are high enough combat or have range/mage otherwise just choose to skip it in the GUI. Also, green dragons are unavailable for now because they are in the wildy, it will skip them until the next update. Make sure to have food, weapon, some teleports (recommended), at least 10k gp in total and enjoy!
  13. Czar replied to scape's topic in Resolved
    EDIT: Thought he meant for other scripts.
  14. You will start from 1, and it will complete the varrock museum minigame to reach 9 slayer & hunter, then it will go to the best slayer master for your combat level, stock up on slayer items and train slayer from there. http://2007.runescape.wikia.com/wiki/Varrock_Museum Thanks guys for the support
  15. Thank you Just finished up on kalphite cave and added all ship chartering with their maximum prices, from 1k gp to 4.1k gp. Still need smoke dungeon. EDIT: Got 10 slayer monsters left #nosleep4lyf
  16. Czar replied to Alek's topic in Spam/Off Topic
    Damn nice, but does it run OSBot?
  17. Czar replied to hello11's topic in Archive
    Reply to pm
  18. Hopefully sooner
  19. Czar replied to hello11's topic in Archive
    http://osbot.org/forum/topic/61897-czar-iron-man-script-mega-script-all-f2p-quests-p2p-account-starter-tut-island/ I can script quests, which one? Don't say desert treasure lol
  20. Czar replied to hello11's topic in Archive
    Skype?
  21. Mine: Called Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep Sleep public boolean contains(int i) { System.out.println("Called"); return true; } public void check() { if (contains(0)) { for (int i = 0; i < 100; i++) { System.out.println("Sleep"); } } } Yours Called Sleep Called Sleep Called Sleep Sleep Called Sleep Called Sleep Called Sleep Called Sleep Called Sleep Called Sleep Called Sleep Called Sleep Sleep Called public boolean contains(int i) { System.out.println("Called"); return true; } public void check() { for (int i = 0; i < 100 && contains(0); i++) { System.out.println("Sleep"); } } Hypothetical, but yeah.
  22. Dude it's not the same thing, you just confused me.. if (getInventory().contains(uncut)){ for(int i = 0; i < 100; i++) { sleep(50); } } That is calling inventory.contains 1 time, the code you have calls it 100 times. Try it..
  23. http://osbot.org/api/org/osbot/rs07/utility/ConditionalSleep.html Use conditional sleep until inventory is empty
  24. Lol my bad, I read it wrong, well IDK what else to say, just find another way to sleep after depositing items, it's really not a big issue
  25. if (getInventory().contains(uncut)){ for(int i = 0; i < 100; i++) { sleep(50); } } Idk, try that

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.