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

Butters

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Butters

  1. Writing something simple like this should do the trick public State getState() { if (inventory.isFull()) { return State.BANK; else { return State.CUT; } } Could also add more states for walking back and forth. Check the !myPlayer.isAnimating() before cutting a tree. I recommend reading Explvs tutorial first if having trouble.
  2. Try to use the depositBox.interact(int slot, String actions) method. The action will probably be Deposit. To achieve this you can just randomize from 1 to 28 (or from 0 to 27 - please check from where it starts counting). Just a simple example, just add some decent randomness int[] slots = new int[4] {1. 4, 8, 9}; for (int slot : slots) { depositBox.interact(slot, "Deposit"); }
  3. What Explv said and rewrite your getState() a little. Check if the bot is animating before interacting with the tree (or put myPlayer().isAnimating() is a conditionalSleep) and not in getState()
  4. Never happened to me tbh. Though the main cause I would say is lag. if (trade.isFirstInterfaceOpen() { // DO Trade trade.acceptTrade(); } else if (trade.isSecondInterfaceOpen()) { trade.acceptTrade(); } Using more or less this structure
  5. I really doubt that OSBot isn't allowing for GC to work As my scripts go, I thought they were the cause of memory leaks, though checked and rechecked and didn't find anything. Doesn't mean that I'm any good at identifying these though
  6. Just blabbing, but after webwalking it doesn't drop down to previous RAM usage. Dunno if this is normal. Eventually had a ton of problem with memory management, though using -mem 1024 flag seemed to help.
  7. Well off the top of my head you could do Player lastPlayer = trade.getLastRequestingPlayer(); if (lastPlayer != null) { DO TRADE lastPlayer = null; }
  8. CLI

    Butters replied to Acke's topic in General Help
    Make sure that you are really using Sock5 and not HTTP. Sometimes you get http or sock5, depending on which port you're using. If the proxy works on the web, but doesn't on osbot, then it's most likely that you're not using Sock5
  9. if your proxy provider requires IP authentication and does't support IPv6 then there's not much you can do apart trying to run your system on IPv4. Well my guess at least
  10. CLI

    Butters replied to Acke's topic in General Help
    Yeah, your proxies are failing. Maybe you need to authenticate those? -proxy ip:port:PROXY_USERNAME:PROXY_PASS -login .... or sometimes the proxy provider needs authentication via IP on their dashboard. Check these out
  11. CLI

    Butters replied to Acke's topic in General Help
    Proxy doesn't work as in says it failed to connect or didn't even try to use it?
  12. CLI

    Butters replied to Acke's topic in General Help
    Yeah, you're entering the bank pink on your osbot login info and not in your bot info. Try like: java -jar "OSBot 2.4.128.jar" -proxy xxx.xxx.xxx.xxx:xxxx -login Username:Password -bot Email:Password:0000
  13. Butters replied to Acke's topic in Resolved
    spot on
  14. Yes it does. With his cpu he could probably squeeze out like 20 bots, though with 16gb of ram and probably running on Windows he'll hit a wall at 12-15, depending on what scripts he runs.
  15. You'll need a calculator to figure out how much zeros are in mine
  16. You can dissipate your accounts over multiple servers, so can theoretically run an infinite amount of bots, why stick to one server? Then of course you have the problem of managing it all. This is where the real fun begins
  17. I think RS alone eats at least 400mb. Would say that one bot needs at least 600Mb of RAM. Your CPU should cope with at least 20-25 bots I reckon without issue.
  18. Well for me at least it does make a difference. Typically get 2-4 ban waves during their working hours and about zero bans outside of them. I do find it strange tbh, cause their auto ban system should do the trick and I don't believe that they manually ban each account.
  19. you can try the top command in terminal, or install gnome resource monitor to check cpu usage via GUI. Also try to create and enable swap to help with RAM. Just google How to setup vnc on ubuntu or something, there should be tons of resources. And Ubuntu 16.04 is the latest, so go with that
  20. Is the CPU fully loaded when running 3-4 bots? Best to find out why is it crashing (should show an error in logs). In my personal experience CentOS is a lil harder to set up properly (at least for my setup), though it might be less resource heavy (correct me if otherwise). I would recommend to intall Ubuntu, a lil more friendly if you just started using Linux and easier to configure.
  21. Hello, maybe I'm blind but didn't see any info why a lot of scripts were removed from SDN quite recently? Is it a glitch or were they removed for a specific reason?
  22. Basically what undefeated said. You can only extend Abstract classes and WoodCutter is not. If you want to make your code cleaner and put it in different classes that's great. You could try to use inheritance here to put different tasks in different classes and "control" via an abstract "Task" class (search in forums to find some examples), or can do as you do now via states. Try to do that Undefeated said and you should be ok. Pass me the Woodcutter object to banking and use the api methods there.
  23. Butters replied to Carti's topic in Runescape
    wow, maybe they started blocking certain countries or your IP is flagged af?

Account

Navigation

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.