Jump to content

Trivial

Members
  • Posts

    78
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Trivial

  1. Incredible script, pretty much flawless but sometimes on an elf task it hovers over the unattackable NPC in the middle of the camp and gets stuck and also sometimes has trouble getting to Duradel (goes back and forth through the village gate a bunch of times until continuing to get another task) Log for the gate issue: [INFO][Bot #1][08/19 04:35:45 PM]: WebWalkingEvent; Terminated! Exceeded attempt threshold. [INFO][Bot #1][08/19 04:35:46 PM]: wearingSlayerGeartrue [INFO][Bot #1][08/19 04:35:46 PM]: Wearing slayer gear == true [INFO][Bot #1][08/19 04:35:46 PM]: Source position must be player position in order to execute. [INFO][Bot #1][08/19 04:35:47 PM]: wearingSlayerGeartrue [INFO][Bot #1][08/19 04:35:47 PM]: Wearing slayer gear == true
  2. Tries to buy tuna potatoes for 800gp, the offer is never going to complete
  3. Trivial

    Stealth Quester

    Pretty awesome script. Do you have a degree in CS or something?
  4. Could I get a trial? Thanks!
  5. This happens on Canifis herb patch
  6. I own the script, I bought it. The things I mentioned in my original reply are not supported by the script which I was surprised by.
  7. No support for Skills necklace teleport to Ardougne patch or the Troll stronghold rooftop herb patch at all?
  8. Map<String, ExchangeItem> exchangeItems = new RSExchange().getExchangeItems("Your item"); exchangeItems.get("Your item").getPrice();
  9. Im having the same problem. Running 1 or 2 bots is fine, but as soon as I add a third one or sometimes after running 2 bots for a while the CPU usage of OSBot goes to 100% and stops responding. Using Java 8 Update 111 EDIT: Using Windows 10. However, I'm not running into this problem if I use OSBot on a Windows 7 virtual machine.
  10. 9 years, but all my accounts have lasted max 1-2 years for all kinds of reasons lol
  11. 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
  12. 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; } }
  13. 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?
  14. Thanks a lot guys, both came up with something I was exactly looking for
  15. 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.
  16. 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);
  17. 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;
  18. Its not about luck anymore, somethings pretty obviously detected
  19. Botted as member for like 3 months, launched the same bot in a free world and got instabanned.
  20. 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
×
×
  • Create New...