Skip 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.

The Undefeated

Members
  • Joined

  • Last visited

Everything posted by The Undefeated

  1. What is the solution? So people who are experiencing the same problem don't need to create a new thread.
  2. OSBot is not really made for scaling. I use 125% scaling in Windows on my laptop and I can't fully read the name of the scripts when starting one.
  3. You still haven't answered my question. I guess it are 8 cores but I'm not sure. The price looks good, could you maybe PM me the hosting?
  4. 23GHZ does not really say much, how many cores does the VPS have? How did you "calculate" the amount of bots he can run?
  5. I tried creating a thread but could not get it working properly. As soon as i asked to stop the while loop it would still run it and fuck up everything.
  6. I tried every combination you can think of but I can still nto get it done. I tried declaring it as zero, initialize it onStart and both at the same time but none of them work for me. Still returning that it's more than 3 seconds ago when it isn't. Even this is returning; false, more than 3 seconds ago. private boolean isFletching() { if(myPlayer().isAnimating()) { lastTrueTime = System.currentTimeMillis(); log("True, player is animating"); return true; } else if((lastTrueTime + 3000) < System.currentTimeMillis()) { log("false, more than 3 seconds ago"); return false; } else if ((lastTrueTime + 3000) > System.currentTimeMillis()) { log("true, less than 3 seconds ago"); return true; } log("false"); return false; }
  7. Pretty sure it depends on your onLoop return value. Make it smaller and it should process the tasks quicker.
  8. I thought of the same thing as you, what I should do to create the best safety is to just switch between accounts every 4 hours. Let the bots sell all the stuff on the G.E. and transfer over the money. Then just create a script which transfers all the money from the mules to your main mule account.
  9. How could he know which account was running all the
  10. I tried some stuff but it's not really working out, could you send me to the right direction?
  11. But as soon as it's in conditional sleep the loop won't run.
  12. I could but when I use ConditionalSleep I can't run my AntiBan method so that's not practical. I logged the state of my code and something is completely wrong. [INFO][Bot #1][02/25 08:40:10 PM]: Animating 1488051610387 [INFO][Bot #1][02/25 08:40:10 PM]: Animating 1488051610654 [INFO][Bot #1][02/25 08:40:10 PM]: Less than 3 seconds ago animating 1488051610920 [INFO][Bot #1][02/25 08:40:11 PM]: Less than 3 seconds ago animating 1488051611216 [INFO][Bot #1][02/25 08:40:11 PM]: Longer than 3 seconds ago animating 1488051611773 [INFO][Bot #1][02/25 08:40:11 PM]: STRING [INFO][Bot #1][02/25 08:40:12 PM]: Animating 1488051612064 As soon as my player stops animating it will check if it stopped animating 3 seconds ago. I posted the ms time with it and as you can see between "animating" and "longer than 3 seconds ago " is a difference of 1119 ms which is not 3000ms. I have no idea why it still outputs that it's longer than 3 seconds ago. private long lastAnimation; private boolean isFletching() throws InterruptedException { sleep(random(200,300)); if (myPlayer().isAnimating()) { lastAnimation = System.currentTimeMillis(); log("Animating " + System.currentTimeMillis()); return true; } else if (System.currentTimeMillis() < (lastAnimation + 3000)) { log("Less than 3 seconds ago animating " + System.currentTimeMillis()); return true; } else if (System.currentTimeMillis() > (lastAnimation + 3000)) { log("Longer than 3 seconds ago animating" + System.currentTimeMillis()); return false; } else { log("not animating"); return false; } }
  13. private long lastAnimation = 0; private boolean isFletching() { if (myPlayer().isAnimating()) { lastAnimation = System.currentTimeMillis(); return true; } else if (System.currentTimeMillis() > (lastAnimation + 3000)){ return false; } else if (System.currentTimeMillis() < (lastAnimation + 3000)) { return true; } else { return false; } } I am so fucking confused. If the player is not animating it will always return that it's longer than 3 seconds ago which is just not true. The method runs every half a second and still saying it's longer than 3 seconds ago.
  14. Okay, but why does the description say so? And if it shouldn't be used like this, there is no other possible way to see if a player is animating.
  15. Hi, As i described in this topic: The isAnimating method will return false even if your player is not animating for 300 ms (While it should return true). I tried creating it myself but it's not working. private long lastTrueTime; private boolean animating() { long now= System.currentTimeMillis(); if(myPlayer().isAnimating()) { lastTrueTime = now; return true; } if(lastTrueTime + 3000 < now) { return false; } return true; } This does the same as the isAnimating method, as soon as the player stops animating for 1ms it returns false. What is wrong with it?
  16. You mind sharing? I tried debugging it but couldn't get it working 100% properly.
  17. PayPal is not even the problem. You can use bitcoin as main payment service but you want to cash it out someday to your own bank account or just cash.
  18. 4b a month? I would watch out for the tax authorities. And what kinda bots you are going to run? F2P or P2P?
  19. Why don't you just buy a Windows tablet instead?
  20. I deleted it from the paste. Somehow it's working now, I think because when I run the whole script it will open the bank, now I only ran this part and didn't start with an open bank. Kinda dumb.
  21. public void Trade() { if (!getBank().getWithdrawMode().equals(Bank.BankMode.WITHDRAW_NOTE)){ getBank().enableMode(Bank.BankMode.WITHDRAW_NOTE); } if(skills.getDynamic(Skill.FLETCHING) < 5) { getBank().withdrawAll("....."); } else if(skills.getDynamic(Skill.FLETCHING) < 51) { getBank().withdrawAll("....."); } else if(skills.getDynamic(Skill.FLETCHING) < 71) { getBank().withdrawAll("....."); } else if(skills.getDynamic(Skill.FLETCHING) < 86) { getBank().withdrawAll("....."); } else if(skills.getDynamic(Skill.FLETCHING) < 100) { getBank().withdrawAll("....."); } getBank().close(); if (mule != null){ if (mule.isVisible() && mule.interact("Trade with username")){ log ("mule exists!"); }else{ getWalking().webWalk(mule.getPosition()); camera.toEntity(mule); } }else { log("Mule doesn't exist"); }
  22. I know the basics of Java pretty much besides things like null checking, as soon as I delete that piece of code with the entity the code works and afaik my null check is good (?). Sorry, comments coming in every minute or so. The error is the same:
  23. if(mule != null) { if(!mule.isVisible()) { camera.toEntity(mule); } mule.interact("Trade with Username"); } Not experienced with null checks at all, this is not working, can't figure out what would.
  24. if(mule.isVisible()) { camera.toEntity(mule); } mule.interact("Trade with username"); When i put in players.closest("username"); At each spot where "mule" is the script just works. No I don't. Everytime I tested the code the mule was close to the bot itself.
  25. Hi (again), As soon as I put this line of code in my script, the console will get spammed with errors and the client will hang. Entity mule = players.closest("Username"); // OR Player mule = players.closest("Username"); // Will do the same

Account

Navigation

Search

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.