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.

Reflexd

Members
  • Joined

  • Last visited

Everything posted by Reflexd

  1. You're probably being watched more closely now, so yeah as Zikama said if you want to loose your main, carry on botting.
  2. Reflexd replied to Token's topic in Others
    Damn, good job on this looks amazing.
  3. You can chuck getRandomPosition onto the end of your area like this: getWalking().webWalk(yourArea.getRandomPosition()) It will randomize the position it ends up in, but it still spam clicks the last tile.
  4. Thanks, I'll certainly look at that.
  5. Damn, it works. Thanks a bunch, you're beautiful.
  6. kk ty m9
  7. Grats, now never post again
  8. I'm trying to call a function in the main class from another class called CookFood, but it doesn't want to work. Everything inside the CookFood class works fine, like getting the food name and the actual cooking. CookFood: package reflexd; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.MethodProvider; import reflexd.Main; public class CookFood { private Main main = new Main(); private String foodName = main.getFoodName(); // works public CookFood(Script s) throws InterruptedException { main.changeStatus("Moving camera"); // doesn't work } } The function in Main that I'm trying to access: public void changeStatus(String status) { scriptStatus = status; } How I'm initializing CookFood: case COOK: new CookFood(this); break; It doesn't spit out any errors or anything at all in the logger, don't really know what to do. Any help is greatly appreciated.
  9. Holy shit, I've seen all the Harry Potters like 3 or 4 times, always wanted to see a new one.
  10. Reflexd replied to woepieg01's topic in Introductions
    sup man.
  11. I never touch the toilet seat, ever. I stand up when I wipe and I also hover above the seat when I shit too... Speaking of shit, I need one now.
  12. Hi

    Reflexd replied to NoahTheWeebWolf's topic in Spam/Off Topic
    waddup bro
  13. Reflexd replied to Salty as fuck's topic in Archive
    Hopefully it'll be ready by next year.
  14. Can't wait to win the competition in exchange for a ban. jk im too much of a pussy to bot more than 2 hours
  15. Reflexd replied to Maldesto's topic in Spam/Off Topic
    Wow man, congrats.
  16. It's like they're trying to write a story or poem together
  17. Is it just me that thinks this is retarded? Yew bots just casually talking to themselves, some of them "accidentally" putting a space before their / to talk in their imaginary clan chat. I mean, whats the purpose of this? Surely this can't fool anyone?
  18. delayed ban I reckon
  19. No errors, nothing in the logger. Nothing in onStart is loaded either. When I click the play button and choose my script, it just closes the script selector and thats it. Fixed it. Instead of referencing me everywhere, I replaced it with myPlayer instead.
  20. My script wont load at all, I can't figure out whats wrong with it. 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.model.Player; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.api.ui.Message.MessageType; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Reflexd", info = "Info", name = "PortSarimWillows", version = 0.1, logo = "") public class Main extends Script { private String scriptStatus = "none"; private final Player me = myPlayer(); private final Area treeArea = new Area(3055, 3250, 3065, 3257); private final Area bankArea = new Area(3048, 3234, 3041, 3237); private final Position[] pathToBank = new Position[] { new Position(3059, 3253, 0), new Position(3055, 3250, 0), new Position(3050, 3247, 0), new Position(3044, 3247, 0), new Position(3042, 3240, 0), new Position(3043, 3235, 0), new Position(3048, 3235, 0) }; private final Position[] pathToWillows = new Position[] { new Position(3048, 3236, 0), new Position(3042, 3235, 0), new Position(3042, 3242, 0), new Position(3046, 3248, 0), new Position(3053, 3247, 0), new Position(3057, 3251, 0) }; private long startTime, runTime; private int logsChopped; private int currentExp, expGained, startingExp; private int currentLvl, lvlGained, startingLvl; private enum State { CHOP, WALKTOBANK, BANK, WALKTOWILLOWS, WAIT }; private State getState() { if (!me.isAnimating() && !inventory.isFull() && !me.isMoving() && treeArea.contains(me.getPosition().getX(), me.getPosition().getY())) { scriptStatus = "Cutting willows"; return State.CHOP; } if (inventory.isFull() && !bankArea.contains(me.getPosition().getX(), me.getPosition().getY())) { scriptStatus = "Walking to deposit box"; return State.WALKTOBANK; } if (inventory.isFull() && bankArea.contains(me.getPosition().getX(), me.getPosition().getY())) { scriptStatus = "Banking logs"; return State.BANK; } if (!inventory.isFull() && !treeArea.contains(me.getPosition().getX(), me.getPosition().getY())) { scriptStatus = "Walking back to willows"; return State.WALKTOWILLOWS; } return State.WAIT; } @Override public void onStart() { startTime = System.currentTimeMillis(); startingExp = skills.getExperience(Skill.WOODCUTTING); startingLvl = skills.getDynamic(Skill.WOODCUTTING); } @Override public int onLoop() throws InterruptedException { if (!settings.isRunning() && settings.getRunEnergy() > 27) { settings.setRunning(true); } switch (getState()) { case BANK: if (!bank.isOpen()) { RS2Object depositBoxObj = objects.closest("Bank deposit box"); if(depositBoxObj != null) { depositBoxObj.interact("Deposit"); sleep(random(1232, 1567)); } } else if (depositBox.isOpen()) { sleep(random(252, 432)); depositBox.depositAllExcept("Bronze axe", "Iron axe", "Steel axe", "Black axe", "Mithril axe", "Adamant axe", "Rune axe"); depositBox.close(); } break; case CHOP: Entity willowTree = objects.closest("Willow"); if (!willowTree.isVisible()) { camera.toEntity(willowTree); } if (willowTree != null && willowTree.exists() && willowTree.isVisible()) { willowTree.interact("Chop down"); sleep(random(435, 787)); } break; case WAIT: sleep(random(23, 78)); break; case WALKTOBANK: localWalker.walkPath(pathToBank); break; case WALKTOWILLOWS: localWalker.walkPath(pathToWillows); break; } return random(150, 250); } @Override public void onExit() { } public String formatTime(long ms){ long s = ms / 1000, m = s / 60, h = m / 60; s %= 60; m %= 60; h %= 24; return String.format("%02d:%02d:%02d", h, m, s); } @Override public void onMessage(Message c) { if (c.getType() == MessageType.GAME) { String msg = c.getMessage().toLowerCase(); try { if(msg.contains("you get some willow logs.")) { logsChopped++; } } catch (Exception exception) { exception.printStackTrace(); } } } @Override public void onPaint(Graphics2D g) { currentExp = skills.getExperience(Skill.WOODCUTTING); currentLvl = skills.getDynamic(Skill.WOODCUTTING); expGained = currentExp - startingExp; lvlGained = currentLvl - startingLvl; g.drawString("Status: " + scriptStatus, 10, 100); runTime = System.currentTimeMillis() - startTime; g.drawString(formatTime(runTime), 10, 120); g.drawString("Logs chopped: " + logsChopped, 10, 140); g.drawString("Woodcutting exp gained: " + expGained + " | Woodcutting levels gained: " + lvlGained + " (" + currentLvl + ")", 10, 160); } } Any help is appreciated.
  21. Reflexd replied to Apaec's topic in Spam/Off Topic
    Holy shit, haven't laughed that much in a while.

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.