Jump to content

bumzag

Members
  • Posts

    42
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by bumzag

  1. Like this? NPC shopKeeper = getNpcs().closest("Shop keeper"); if (shopKeeper != null && shopKeeper.exists()) { shopKeeper.interact("Trade"); if(getStore().isOpen()) getStore().buy("Spade", 5); } Still not yielding anything
  2. Alright so I've evolved from cow killing and knife looting, I'm trying to make a shop buying script. I'm at the beginning right now, all I'm trying to do is test the simple function of interacting with the shop owner and clicking "Trade", and then buying 5 shovels from him. But nothing happens. NPC shopKeeper = getNpcs().closest("Shop keeper"); if (shopKeeper != null && shopKeeper.exists()) { shopKeeper.interact("Trade"); getStore().buy("Spade, 5); } What am I doing wrong?
  3. Can't tell if blatant sarcasm or too stupid to read my post. I knew I was going to get banned, I'm cool with it Out of curiosity, how did you transfer the money off your bots? Find a secluded area and drop or trade from bot to mule, then mule to main?
  4. I'll trust you on that. Although what if I set the VPN location in the US and maintain that same location every time? Shouldn't be a red flag, right?
  5. Oh my script definitely isn't ban-proof, I made it mostly out of curiosity and to make some money for my main. It's still pretty buggy, lots of occasional erratic behavior that needs to be ironed out. Like it said, the bot was a suicide. As for VPN, does Jagex ban IPs? Like I said, I used the VPN to protect my main incase the bot triggered an IP ban, because I don't want to run my main over a VPN.
  6. Yeah this was exactly the reason I'll spend the time to look into it and just deal with the learning curve. Thanks.
  7. Past few days I've been tinkering with a custom script I made to kill and loots cows. It's really simple, starts off by walking to the cow pen if it's not already there, then gets to work. Intermittently checking inventory if it's full, and if it is, it walks to Lumb bank and dumps. I typically ran it over night from about midnight to 6am, and then use it throughout the day intermittently while testing the script (lots of free time at work). I added a few sleeps here an there so it's not insanely fast to loot and move on to the next target. My thought is that maybe a player reported me, but the Offence Evidence says "Jagex moderator comment". I typically run OSBot on a PC running a VPN, usually with my geolocation set to Europe. The location changes every time the VPN starts, but I can set it to whatever I want. Is it possible the VPN contributed or do they not take IP into account? I used the VPN because I don't want my main to get banned. My script is pretty basic, and I'm new to it so I feel like it's more than likely just a shitty script. I'm not butthurt about it at all, it was just a suicide bot to me. Just looking to be more efficient as I go.
  8. Other than git, what's best practice for version control in IntelliJ? I'm trying to create a new version of a script I've made with the same source code in order to maintain the original version. I've tried doing it by going File > New > Project from existing sources.. and then select the folder containing the IntelliJ project, but nothing happens.
  9. Awesome, did not know that. Thank you.
  10. Is the only way to deal with the Al-Kharid gate by using an interrupt event with the WebWalk method? Making a script to learn more and I wanted to add to my cowhide farming script an option to collect cowhides, go through the Al-Kharid gate, tan them, bank them, and go back to the cow pen. This is the only relevant info I could find
  11. Same, didn't know that either. Read it on an old thread but thought maybe it was different. Shout-out to the developers for always updating the client.
  12. Is anyone getting this error? It was working a few hours ago, but I exited it for a break so I wouldn't get banned. Now it won't restart. I've tried redownloading the OSBot jar from the homepage but it's still stuck on this message
  13. Thanks for the response. Not trying to make you do the work, but can you sort of push me in the right direction? I know the basic structure of what you're saying would be along the lines of if (bank is open) sleep; else open bank; but I'm wildly unfamiliar with Java methods
  14. Okay so screwing around some more I figured it out, I add to add "throws Interrupted Exception" to the onLoop() method and added this to it: getBank().open(); return 5000; //arbitrary number until the loop runs again, I know
  15. Alright so I literally just dove into the API like 45 minutes ago, got IntelliJ up and running and am able to build a jar. Literally the only success I've had so far is writing a script that hovers over the nearest bank booth and logs a string. What I'm trying to do now is actually open the bank booth. Not deposit or anything, literally just open the booth. How do I do that? Here's my code (like I said, all it does it hover over the nearest bank booth when standing in a bank): import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Skeleton", author = "Alek", version = 1.0, info = "", logo = "") public final class CowMain extends Script { @Override public void onStart() { //Code here will execute before the loop is started } @Override public void onExit() { //Code here will execute after the script ends } @Override public int onLoop() { objects.closest("Bank booth").interact("Use"); log("It's not working atm"); return 100; //The amount of time in milliseconds before the loop starts over } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } }
×
×
  • Create New...