Jump to content

The Undefeated

Scripter II
  • Posts

    1968
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by The Undefeated

  1. 1k a week, so suicide botting? Otherwise I won't recommend buying them. @Lewis
  2. Looks good. And yeah I wrote my buy ghetto method in 5 min but was a temp fix and was able to get stuck at any moment and shouldn't actually be used. I hope the buyitem problem is fixed now. Good work.
  3. Makes it much easier and it does the same thing. I will improve mine to open the bank again if it isn't open in the next loop. I thought it had something to do with the buyItem bug on low CPU mode. I do. It happened only when using low CPU mode actually. Maybe because it takes longer to check certain methods, I have no idea.
  4. I already use enum states in multiple classes, but my Main class is still 350 lines long which I could improve. It gets stuck in a loop typing the name of the item it wants to buy. It thinks it didn't type because no items appear in the box (It should actually wait a bit longer) and starts typing again.
  5. I understand what you mean but you can't prevent the bot getting stuck in a method of the API can you?
  6. It's maybe safer, but It's not fully supported by every script. For example dialogues don't work in Mirror Mode.
  7. That's actually Task-based, not States right? I made my own ghetto buy Method for temp use, is not that hard to do. Script is working so gonna take my time to clean up all. Maybe I'll switch to Task-based instead of States.
  8. I'll try on improving that. But I'm pretty sure it will take too many if else statements in my script.
  9. Some Java basics I completely forget sometimes, I am ashamed. Thanks both.
  10. I'll work on that. Here is a Gyazo of the problem accuring. https://gyazo.com/10b863bc29ea09ea472314a23114a1b1
  11. I can't switch any booleans from another class. public class Main { public boolean hans = false; public int onLoop() { Processing p = new Processing(); p.exchangeContext(getBot(); log("Hans is" + hans); p.Loop(); return 500; } } public class Processing { public void Loop() { Main m = new Main(); m.exchangeContext(getBot()); log("Switching hans to true)" m.hans = true; } } As soon as I use this loop, the log will say: [INFO][Bot #1][04/03 04:14:29 PM]: Switching hans to true [INFO][Bot #1][04/03 04:14:29 PM]: hans is false Pretty sure it's some dumb mistake but I can't get it.
  12. Isn't there an option when ConditionalSleep reaches timeout it will repeat method x and checks again if the condition is true in a loop?
  13. If there's a reason why it would run in an infinite loop it would be quite useful, if the script continues while not being able to open the bank it could lead to more bigger problems.
  14. This is my open bank method. public void openBank() throws InterruptedException { NPC banker = getNpcs().closest("Banker"); if(!bank.isOpen()) { if (banker != null && banker.isVisible()) { banker.interact("Bank"); } else { getBank().open(); } Timing.waitCondition(() -> bank.isOpen(),6000); sleep(random(300,600)); } } It has a conditional sleep and it still happens sometimes. The same for opening Grand Exchange, it opens it and closes it 2/3 times. It even accidently pressed on the banker NPC opening a dialoge and not opening the bank. There is also a bug in the buyItem method for the GE. Not always 3, sometimes even 4. I'll try to record it. I don't really want to add a conditional sleep to every method which requires to open a interface if there's another option. The weird part is that it also closes the interface, why should it? When calling the openBank() method, does it automatically close and reopen it?
  15. When using Low CPU mode, the bot actually skips methods or gets stuck. For example: When trying to open the bank, it will open it, right after close it and does this 3 times. Any way to fix this? Or is the best way to just not use low CPU mode.
  16. ^ I wouldn't recommend using mirror. It's not supported by the most scripts.
  17. It's 2 pounds a month, just buy it lol. If something like that was free, every item on it would be already flipped.
  18. Would love to see an option to add parameters per account instead of per script.
  19. https://www.ge-tracker.com/
  20. This doesn't work. You need this: Position[] path = { new Position(0,0,0), new Position(1,1,1) }; getWalking().walkPath(Arrays.asList(path));
  21. As soon as you share your good money making method, it isn't good anymore.
  22. It were real questions, please answer all of them. Otherwise it's hard to determine if your bans could be expected.
  23. Doing all this on the same IP? Botting tut island with a public script? Using public scripts to bot your accounts?
×
×
  • Create New...