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.

Jammer

Members
  • Joined

  • Last visited

Everything posted by Jammer

  1. Really nice script!
  2. Jammer replied to Butters's topic in Others
    Sweet
  3. obby 13m, gmauler dunno
  4. Has anyone else experienced problems with hopping worlds, or is it just me?
  5. It would just hurt the forum.
  6. Jammer replied to Tehgousch's topic in Farewells
    Can't Believe you chose studies before xp gains, but gl anyway!
  7. Yh, 5m, do some quests
  8. Jammer replied to Explv's topic in Others
    Really nice script, it has saved a lot of time.
  9. Focus less on gains and start focusing on your xp gains.
  10. Jammer replied to Krys's topic in Spam/Off Topic
    Tjaina
  11. congratulations, that is such an achievment!
  12. Thanks for a well written tutorial
  13. Sometimes when trying to hop worlds, it gets stuck at a 500 skill level world and just holds the cursor there.
  14. To start off with i have to say that this is an awesome script. At the moment i have found 3 problems though. 1. It can't fish using a harpoon. 2. It mines one clay and then it goes to the bank. 3. It can't get more ore from the bank when smithing. The same happens now that i tried to mine coal, it banks after mining one ore.
  15. Jammer replied to Jammer's topic in Scripting Help
    It works perfect now, I will look in to the conditional sleep when i get home, thanks again!
  16. Jammer replied to Jammer's topic in Scripting Help
    Thanks for the advice, I will do some changes.
  17. Jammer posted a topic in Scripting Help
    I finished my script but when I try to run it, it simply won't run. In eclipse everything looks fine, but I guess there is some problem with the code that I can't understand. package miner; import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Mex", info = "mi", logo = "mx", name = "Miner", version = 0) public class miner extends Script { Entity iron = objects.closest(7488, 7455); Entity tin = objects.closest(7486, 7485); Entity bankbooth = objects.closest(7409, 7478); final Area BANK_AREA = new Area(3250, 3423, 3257, 3420); final Area MINING_AREA = new Area(3282, 3371, 3290, 3361); Position player = myPlayer().getPosition(); public void onStart() { log("Script started"); } private enum State { MINEIRON, BANK, WALKBANK, WALKMINE, MINETIN, WAIT } private State getState() { if (MINING_AREA.contains(player) && skills.getStatic(Skill.MINING) >= 15) return State.MINEIRON; if (MINING_AREA.contains(player) && skills.getStatic(Skill.MINING) < 15) return State.MINETIN; if (getInventory().isFull()&& !BANK_AREA.contains(player)) return State.WALKBANK; if (!getInventory().isFull() && !MINING_AREA.contains(player)) return State.WALKMINE; if (BANK_AREA.contains(player)&& getInventory().isFull()) return State.BANK; return State.WAIT; } @@Override public int onLoop() throws InterruptedException { switch (getState()) { case MINETIN: if (tin != null && !myPlayer().isAnimating() && !myPlayer().isMoving()) { tin.interact("Mine"); sleep(random(300, 600)); } break; case MINEIRON: if (iron != null && !myPlayer().isAnimating() && !myPlayer().isMoving()) { iron.interact("Mine"); sleep(random(300, 600)); } break; case BANK: if (getBank().isOpen()) { bank.depositAllExcept("Bronze pickaxe", "Iron pickaxe", "Black pickaxe", "Mithril pickaxe", "Adamant pickaxe", "Rune pickaxe"); } else { if (bankbooth != null) { if (bankbooth.isVisible()) { bankbooth.interact("Bank"); sleep(random(1500, 2500)); } } } break; case WALKBANK: walking.walk(BANK_AREA); break; case WALKMINE: walking.walk(MINING_AREA); break; } return 0; } public void onExit() { log("Thanks for using this script"); } }
  18. Jammer replied to Jammer's topic in Archive
    Can't believe i missed that, thanks guys.
  19. Jammer posted a topic in Archive
    Hello guys! I've recently started getting in to scripting and im trying to make a script that mines Tin untill 15 mining and then starts mining Iron. I ran in to a problem where it says "unreachable code" when i added Another state. I know the code is horrible, but if you can explain what im doing wrong, I would be thankfull. private State getState() { if(MINING_AREA.contains(player) && skills.getStatic(Skill.MINING) >= 15); return State.MINEIRON; // I get the error here if(MINING_AREA.contains(player) && skills.getStatic(Skill.MINING) <15); return State.MINETIN; if(getInventory().isFull()) return State.WALKBANK; if(!getInventory().isFull() && !MINING_AREA.contains(player)); return State.WALKMINE; if(BANK_AREA.contains(player)) return State.BANK; return State.WAIT; }

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.