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.

scary123

Members
  • Joined

  • Last visited

  1. You are right. Thanks.
  2. Like this script. = http://osbot.org/forum/topic/65861-precise-aio-cows-banking-death-walk-3-locatons-4-methods-power-fighting-any-food/ What does the AIO stand for?
  3. So LOOT and KILL cases (not working) : case LOOT: GroundItem cowhide = groundItems.closest("Cowhide"); if(cowhide != null && !myPlayer().isAnimating() && !myPlayer().isUnderAttack() ) { log("Picking up hides!..."); cowhide.interact("Take"); return random(100, 200); } else { camera.toEntity(cowhide); } case KILL: NPC cow = npcs.closest("Cow","Cow calf"); if ((cow != null) && (cow.isAttackable())) { log("Attacking the Cow!..."); cow.interact("Attack"); break; } else { camera.toEntity(cow); } Would it be possible to combine these two, result being, after it attacks the cow it waits for the drop to show up on the ground, LOOT the cowhide and only then move on to the next cow. Being trying to get things to work for 2days non stop, seriously low gains. ;D
  4. Thanks. ;P That fixed the wierd walking thing. Really nice support, thank you. My logic does not yet work. Still not picking up hides, hmm, ima try find the reason. Couldn`t the problem be? cowhide.interact("Take"); Is there a different option in API? Im really confused about the API, still, but will try to find. just made the filter for the loot just to check for nulls and thats it. if(cowhide != null) { cowhide.interact("Take"); A guy was picking up bones and beef, leaving only cowhidees on the ground and my script started to pick them up. So the problem is it doesnt recognize cowhide when there is bones and beef on it. Wierd, huh?
  5. So basically ALL it does, kills a few cows, doesn`t pick up any cowhides and runs to bank, and back. States: private enum State { KILL, LOOT, WALK_TO_BANK, BANK, WALK_TO_KILL, WAIT }; private State getState() { NPC cow = npcs.closest("Cow", "Cow calf"); if (!myPlayer().isUnderAttack() && cow !=null && !myPlayer().isAnimating() && !cow.isUnderAttack()) return State.KILL; GroundItem cowhide = groundItems.closest("Cowhide"); if (!myPlayer().isUnderAttack() && cowhide !=null) return State.LOOT; if (inventory.isFull() && KILL_AREA.contains(myPlayer())) return State.WALK_TO_BANK; if (!inventory.isFull() && BANK_AREA.contains(myPlayer())) return State.WALK_TO_KILL; if (inventory.isFull() && BANK_AREA.contains(myPlayer())) return State.BANK; return State.WAIT; } onLoop: @Override public int onLoop() throws InterruptedException { if(myPlayer().getInteracting() != null) { return random(453, 999); } switch (getState()){ case KILL: Player player = myPlayer(); NPC cow = npcs.closest("Cow","Cow calf"); if (!player.isUnderAttack() && (cow != null) && (cow.isAttackable()) && (!player.isMoving())) { cow.interact("Attack"); return random(323, 532); } else { camera.toEntity(cow); } break; case LOOT: GroundItem cowhide = groundItems.closest("Cowhide"); if(!inventory.isFull() && !myPlayer().isUnderAttack() && groundItems.equals(cowhide) && cowhide.isOnScreen()) { cowhide.interact("Take"); return random(212, 326); } else { camera.toEntity(cowhide); } case WALK_TO_BANK: traversePath(path, false); sleep(random(1230,2452)); break; case WALK_TO_KILL: traversePath(path, true); sleep(random(1343,2212)); break; case WAIT: return random(121,212); case BANK: RS2Object bankBooth = objects.closest("Bank booth"); if (bankBooth != null && bankBooth.isVisible()) { if (bankBooth.interact("Bank")) { while (!bank.isOpen()) sleep(random(465, 863)); bank.depositAll(); } } break; } return random(243, 411); } Doesnt work so no need for full source. Can anybody give any tips?
  6. Made my first script, exported the jar to osbot script folder, opened the osbot client, getting some errors.

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.