Jump to content

Dab in a Lab

Members
  • Posts

    329
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Dab in a Lab

  1. Define either a RS2Object for a bank booth or an NPC for a banker. Have it like if (isInBank()) if (NPC/RS2Object != null) (NPC/RS2Object.interact("Bank")) Try adjust the conditional sleep, idk whats up with the misclicking. With the way you made the ConditionalSleep you're giving it 100ms to complete the task, so not allowing it enough time to drop everything may break it. I'd personally give it like (30000,1000). This will allow the bot 30 seconds to drop the inventory, and if it drops everything before the 30 seconds the "return getInventory().isEmpty();" will catch it
  2. Null check the Larder if (Larder != null) // You're code
  3. Same exact thing happened to me. Never botted on my main but still got perm banned for macroing major. I used it to store gold and sell items too. I tried to appeal it and it was denied
  4. If you're interested in getting into scripting, you should definitely check out @Chris tutorials I started with absolutely no knowledge and after following the tutorials and spending a bit of time making my first script, I was able to start making my own scripts after 2-3 weeks. Just try and stay motivated. I'm slowly trying to learn how to get my script to grab account info off of a text file to login, and make and implement automated muling, but its a bit overwhelming still and definitely makes it hard to stay motivated.
  5. Have you tried the regular OSBot client? Sometimes code doesn't execute correctly in mirror mode
  6. On the client, click Settings in the top right corner, and then Toggle logger
  7. In major cases they will look at trade histories and ban the mule, so its always a good idea to have a second mule not directly linked to the suiciders . For how often you should mule, it depends how much work you want to put in. If you want to be very safe, you could mule every hour, which requires more work, or if you're being lazy you can mule every few hours. Make sure you mule before you go to sleep though, from experience, theres a very good chance you'll be banned when you wake up.
  8. It would probably be less risky to bot barbarian fishing since agility has one of the highest ban rates. It doesn't mean that you'll be safe though. If you want to keep the account you're better off just doing it by hand since the next ban will be permanent.
  9. I'd do something like NPC banker = npcs.closest("Banker"); if (banker != null) { banker.interact("Bank"); new ConditionalSleep( ) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen } }.sleep(); if getBank().isOpen() getBank().depositAll(); } Don't know whats up with the black lines
  10. thats why you gotta find a p2p method that that makes back your bond money + profit within the day. Try looking for methods that make 300k/hr in members. Thats a generally safe gp/hr if your're not using insane break times and you bot long enough
  11. Thanks. I was gonna google is when I sat down to work on my script again, and I haven’t worked on it today. I was just making sure I understood what getCurrentTime and getCurrentRegion actually got for future reference
  12. Lol oh... would that just be used for game tiles and tick counts? I was thinking it got the current time of a region (time zone)... I’ll look into the date class Jamie said. I was wanting the bot to log in at a specific time, and logout at one
  13. Would gold sites not buy for more? .4/mil is really low
  14. Would this not work? https://gyazo.com/0565e590df2007c0a8d8823897291525
  15. When I last played a couple years ago I think it was like 25m for a dollar. I checked a month or so ago out of curiosity and it’s now 1.1b for a dollar. I was looking to sell my account that had a few characters level 150+ but since Nexon keeps making the game easier and easier to level, the accounts seem to be pretty worthless too
  16. Ya I believe so. I thought I had to use XClient though, so I went through quite a few threads related to XClient, getCurrentTime, and getCurrentRegion, but didn’t find anything too useful in my search. I didn’t think to look through Java’s API to setup a method with that though
  17. Anyone know, or willing to provide a snippet for getting the current time and/or current region? I'm trying to learn this next to make a custom LoginHandler, and have no clue where to start. I see I need to use XClient, but I'm a bit lost with it. Any help would be greatly appreciated.
  18. A current issue I'm facing is that if the bot disconnects for whatever reason and logs out, the script seems to stop looping. The account will log back in using the auto login, but it will stand still at the spot it dced indefinitely. Is there an easy way to do a check like if AutoLogin() onLoop() ?
  19. I added brackets to where Chris said, but the interaction is still a NullPointException. The place the brackets seemed to work was where I had them in the previous picture https://gyazo.com/e41c968d49aafb68f7ee3d4694e07f04 And I have the conditional sleep return if the widget I'm interacting with exists. Should I instead have it return the interaction?
  20. I have conditional sleeps https://gyazo.com/07f3d1bba0ef6246ae6db8abcb83b917
  21. @Chris I added the brackets but the script seems to skip over that snippet and run through the rest of the code. Then loops back and performs the action. Could that be because of how the rest of my script is written?
  22. Thank you! I kinda just assumed the null check would skip any log statements. If I were to get rid of the log under the null check, that would have fixed the issue too right?
×
×
  • Create New...