Everything posted by Butters
-
Issues with spam clicking tree
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.
-
Randomize Item Interaction in a row
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"); }
-
Issues with spam clicking tree
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()
-
trade.acceptTrade() clicking wrong button?
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
-
client using too much memory
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
-
client using too much memory
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.
-
nulling getLastRequestingPlayer?
Well off the top of my head you could do Player lastPlayer = trade.getLastRequestingPlayer(); if (lastPlayer != null) { DO TRADE lastPlayer = null; }
-
CLI
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
-
proxies not working
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
-
CLI
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
-
CLI
Proxy doesn't work as in says it failed to connect or didn't even try to use it?
-
CLI
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
- Bot farm?
-
How many BOTS can my PC run
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.
-
Show me your paypal balance!!
You'll need a calculator to figure out how much zeros are in mine
-
AHK script for login bugging out with new update.
Alek is looking into it
-
How to run 200 bots?
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
-
What hardware does a computer need to run multiple bots?
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.
-
Botting during jagex working hours
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.
-
Help with vps botting
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
-
Help with vps botting
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.
-
Any info about lots of scripts removed from SDN?
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?
- Cannot find symbol when creating instance of another class
-
Cannot find symbol when creating instance of another class
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.
-
Uhm.. the fuck
wow, maybe they started blocking certain countries or your IP is flagged af?