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.

Trivial

Members
  • Joined

  • Last visited

Everything posted by Trivial

  1. Strong enough to last me for 6 months of hardcore botting. Didnt get banned, just stopped fishing.
  2. 9 years, but all my accounts have lasted max 1-2 years for all kinds of reasons lol
  3. Fixed the problem I mentioned above, heres the final solution: RS2Object brokenTrapFilter = getObjects().closest(new Filter<RS2Object>(){ @Override public boolean match(RS2Object o) { return o != null && huntingArea.contains(o) && o.getName().equals("Box trap") && o.hasAction("Dismantle") && !o.hasAction("Investigate"); } }); + using names instead of ID's Thanks a lot to both of you for the help
  4. I switched from using id's to names, which should fix the problem with the animation because the name of the animating trap is box trap aswell. But now Im using a filter to declare whats a broken trap, but it tries to go for a trap thats out of the area I checked for even after the check. RS2Object brokenTrap = objects.closest(new Filter<RS2Object>(){ @Override public boolean match(RS2Object o){ return o != null && o.getName().equals("Box trap") && o.getActions().equals("Dismantle"); }}); if(brokenTrap != null){ if(huntingArea.contains(brokenTrap)){ return State.DISMANTLE; } }
  5. Having a problem with box trap animations. From what I experienced the box trap id changes during the animation of something getting in it or trying to. However even when I check for every single box trap id the script still sometimes acts like there wasnt anything on that tile. Heres the code that checks for it: Entity trapsSpot1 = objects.closest(spotArea[0], new int[]{NORMAL_ID, BROKEN_ID, SHAKING_ID, FAILING, SUCCESS}); //failing and success = the ID's of the animating traps if(trapsSpot1 == null){ return State.TRAP1; } Is there any way to fix this, as in to check if a certain area contains any entities at all?
  6. Thanks a lot guys, both came up with something I was exactly looking for
  7. The code did get executed, but for some reason it just didnt want to walk to that tile. Im using Pandemic's walking method now and its working, but theres another problem which is that I dont know how to make the bot click a tile on the screen instead of clicking the minimap. Heres the method: public boolean walkTile(Position p) throws InterruptedException { mouse.click(new MiniMapTileDestination(bot, p), false); int fail = 0; while (myPosition().distance(p) > 2 && fail < 10) { sleep(500); if (!myPlayer().isMoving()) fail++; } return fail != 10; } The point is to move to an exact 1-tile accurate position to place a trap on that particular tile, but sometimes that method gets stuck trying to spam click the minimap because I'm right next to the tile it should be clicking on.
  8. Still not working. Everything else works except for the walking part. I also tried a custom path walking method and giving it the tile its supposed to walk to, but still it does absolutely nothing. Heres the area its supposed to walk to: final Area spot1 = new Area(2503, 2881, 2503, 2881); localWalker.walk(spot1.getRandomPosition(0)); This doesnt work either: private Position spot1Pos = new Position(2503, 2881, 0); localWalker.walk(spot1Pos);
  9. In my hunting script, I check if a box trap is in an area that is 1x1, and if not, make the player walk to that using the localWalker, but it doesnt seem to do anything even though I tried both localWalker.walk(the 1x1 area) and localWalker.walk(x & y for the tile). What could be the problem? Heres some of the code: if((normalTrap != null) && !spot1.contains(normalTrap)){ return State.TRAP1; } case TRAP1: log("Starting trap1"); if(spot1.contains(myPlayer())){ inventory.interact("Lay", TRAP_ITEM_ID); trapsDown ++; sleep(random(1000,1500)); } else { log("Walking to spot1"); localWalker.walk(spot1, true); //or tile x & y } break;
  10. Amazing dude
  11. You should add a sleep after burying bones, otherwise a good script Also encountered this, dont know any context though because I was afk [ERROR][Bot #1][03/16 12:32:23 PM]: Error in script executor! java.lang.ClassCastException: org.osbot.rs07.api.map.Position cannot be cast to org.osbot.rs07.api.model.Entity at BirdHunter.onLoop(BirdHunter.java:139) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ph:22) at java.lang.Thread.run(Unknown Source)
  12. Trivial replied to kianu96's topic in Botting & Bans
    Its not about luck anymore, somethings pretty obviously detected
  13. make ur own, it'll be worth it
  14. Botted as member for like 3 months, launched the same bot in a free world and got instabanned.
  15. I was going to test the same thing by adding a condition to check that and use depositAll(), but was too lazy to do that. But now that you said it, its an easy fix. Thanks
  16. I tried adding a sleep, and all it did was it made the bot sleep after it deposit everything and spammed the deposit button. And using s.sleep just tells me that the static method sleep from MethodProvider should be accessed in a static way.
  17. private State getState() { if (inventory.isFull()){ return State.BANK; } else { return State.FISH; } } case BANK: if (Bank.contains(myPlayer())) { status = "Banking"; new Banking(this); //OP is the banking class } else { sleep(random(500,750)); status = "Walking to bank"; if (Docks1.contains(myPlayer())) { localWalker.walkPath(WalkToBFrom1); } else if (Docks2.contains(myPlayer())) { localWalker.walkPath(WalkToBFrom2); } } break;
  18. When I have tunas and swordfish in my inventory, using this method the bot first right click deposit all's the tunas and after that spam clicks the deposit all button inside the actual bank window until all the swordfish are in the bank. Is it a bug or something that im doing wrong? Heres the code: if (!s.bank.isOpen()) { if (bankbooth != null) { if (bankbooth.isVisible()) { if (!s.myPlayer().isMoving()) { bankbooth.interact("Bank"); Script.sleep(Script.random(800, 1600)); } } else { s.camera.toEntity(bankbooth); } } } else { s.bank.depositAllExcept(Main.TOOL_ID); }
  19. You download the jar file, place it into your scripts folder (which is should look something like this: C:\Users\Your username\OSBot\Scripts) and then you can select the script from the OSBot client.
  20. Oh crap, got a huge brainfart so I didnt figure that out... Thanks though.
  21. Im trying to get my fishing script to hover over the next fishing spot to interact with. I use josedpay's hovering snippet from this thread: http://osbot.org/forum/topic/54533-hovering-snippet-osbot-2/ Heres what im currently working with, but it only very rarely hovers over fishing spots. NPC Fishing_spot = npcs.closest(FISHING_ID); if(myPlayer().isAnimating()){ int playerX = myPlayer().getPosition().getX() + 2; int playerY = myPlayer().getPosition().getY() + 2; int playerX2 = myPlayer().getPosition().getX() - 2; int playerY2 = myPlayer().getPosition().getY() - 2; Area NearPlayer = new Area(playerX, playerY, playerX2, playerY2); if(Docks1.contains(myPlayer())){ if(Docks1.contains(Fishing_spot)){ if(!NearPlayer.contains(Fishing_spot)){ if(Fishing_spot.isVisible()){ hover(Fishing_spot); } else { camera.toEntity(Fishing_spot); } } } } else if(Docks2.contains(myPlayer())){ if(Docks2.contains(Fishing_spot)){ if(!NearPlayer.contains(Fishing_spot)){ if(Fishing_spot.isVisible()){ hover(Fishing_spot); } else { camera.toEntity(Fishing_spot); } } } } }
  22. sure, go ahead. i wouldnt care even if u would literally copy paste it, i just made it for some fun and learning experience.
  23. Note: extremely outdated and unmaintained This is just a quick script I made when the other scripts I tried using to fish sharks in the fishing guild didnt work, and decided to continue developing it a bit. Started out as a private small project, but turned out that a lot of people liked it so I continued the development. Start either at the docks or in the bank of the fishing guild, with the fishing tool in your inventory. (also supports barbarian style fishing for sharks and swordfish/tuna) Features: Shark, lobster, swordfish and tuna fishing Efficient fishing and banking methods Supports barbarian style fishing Human-like behavior Update checker Upcoming features: Time till next level in paint Reworked paint Changelog: Source code and bug reporting (GitHub) Download 2.0 (Dropbox) [Latest update: 17.1.2017] 17 hour proggy:
  24. I got 2 day ban too, been botting like 2 months nonstop lol
  25. I just removed the inv.interactWithId(rod, "Use-rod"); and now it does exactly what I wanted it to do, which is just click on the fishing spot. Thanks a lot for helping the noob though.

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.