-
Posts
650 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Butters
-
Well off the top of my head you could do Player lastPlayer = trade.getLastRequestingPlayer(); if (lastPlayer != null) { DO TRADE lastPlayer = null; }
-
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
-
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
-
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
-
Proxy doesn't work as in says it failed to connect or didn't even try to use it?
-
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
-
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.
-
You'll need a calculator to figure out how much zeros are in mine
-
AHK script for login bugging out with new update.
Butters replied to Pokerstar's topic in General Help
Alek is looking into it -
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?
Butters replied to a topic in Botting & Bans
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. -
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.
-
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
-
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.
-
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
Butters replied to Mechagoober's topic in Scripting Help
Yes you're right, pardon -
Cannot find symbol when creating instance of another class
Butters replied to Mechagoober's topic in Scripting Help
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. -
wow, maybe they started blocking certain countries or your IP is flagged af?
-
^ this basically
-
Just witnessed why sometimes scripts don't load even though OSBot seems to start ok. It was loading for a very long time Setting memory at 1024MB Debug enabled on port 5076 Starting OSBot in low cpu mode Clearing all randoms from OSBot Starting local script with name: MyScript [DEBUG][05/15 07:38:52 PM]: Injected 2 field list filters [DEBUG][05/15 07:38:52 PM]: Injected 2 field filters [DEBUG][05/15 07:38:52 PM]: Injected 2 method list filters [DEBUG][05/15 07:38:52 PM]: Injected 3 method filters In debug mode! Listening for transport dt_socket at address: 5076 Stealth injection class-filter enabled! [DEBUG][05/15 07:39:20 PM]: Successfully loaded OSBot! [INFO][05/15 07:39:21 PM]: Loaded 1 RS accounts! [INFO][05/15 07:39:46 PM]: Welcome to OSBot 2.4.124! [INFO][05/15 07:39:47 PM]: Updated injection hooks for client revision : 140! [DEBUG][Bot #1][05/15 07:39:47 PM]: Initializing stealth injection bot... [INFO][Bot #1][05/15 07:41:14 PM]: Downloading latest RS2 old-school client parameters... [DEBUG][Bot #1][05/15 07:41:14 PM]: Injected bot reference into client! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected world accessors! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected 37 class and 330 field accessors! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected canvas! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected 2 model update calls! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected 9 definition calls! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected 36 definition transformation calls! [DEBUG][Bot #1][05/15 07:41:15 PM]: Injected random.dat patch for bot #1 [DEBUG][Bot #1][05/15 07:41:16 PM]: Injected 3 tooltip callbacks! [DEBUG][Bot #1][05/15 07:41:16 PM]: Injected 2 config callbacks! [DEBUG][Bot #1][05/15 07:41:16 PM]: Injected 15 head message callbacks! [DEBUG][Bot #1][05/15 07:41:17 PM]: Injected 2 chatbox message callbacks! [DEBUG][Bot #1][05/15 07:41:20 PM]: Injected 25 draw skip points! Script did not start automatically! Game took too long to load. Loaded 4 local scripts and 28 SDN scripts. [DEBUG][Bot #1][05/15 07:42:04 PM]: Injected 0 hit splat callbacks! [DEBUG][Bot #1][05/15 07:42:05 PM]: Injected 3 equipment callbacks! [DEBUG][Bot #1][05/15 07:42:05 PM]: Injected 1 login return code callbacks! [DEBUG][Bot #1][05/15 07:42:06 PM]: Injected 17 analysis callbacks! [DEBUG][Bot #1][05/15 07:42:07 PM]: Loading RS world : 383 [INFO][Bot #1][05/15 07:42:08 PM]: Initializing 36 API modules... [INFO][05/15 07:42:09 PM]: Started bot #1 Check the timestamp. It ended up like just like normal, apart from the script starting http://prnt.sc/f86gor It's one Dev build early, though this was happening for as long as I remember. If this is not a place to post this then please remove it or transfer this post
-
Does this even compile? if(inventory.isFull() && !getInventory().contains("Lobster")) { this check if your inventory is Full and if it doens't contain a lobster, though nowhere later it deposits the stuff. Try something like if (inventory.isFull()) { if (!bank.isOpen()) { NPC banker = getNpcs().closest("Banker"); if (banker != null) { banker.interact("Bank"); } else { bank.depositAll(); bank.withdraw("Lobster", 1); bank.close(); } } Add some sleeps in between and etc. Check if you're in the banking area, check your conditions when to bank and etc
-
Nah, ran out of space cause ran out of space. Btw running with -mem 1024 flag really improved stuff. So I wonder what's the logic behind this
-
Hey, was having a problem when running a lot of clients on a VPS and in time some just shutdown for no apparent reason. Checked JVM logs and got this # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory. # Possible reasons: Checked RAM usage on some clients and it actually was super high (about 2Gb). Apparently there's a memory leak in the scripts' code, though really didn't find much - all pointers nulled when finished using them. I didn't have this high RAM usage when I used to start OSBot with -mem 1024 flag. Btw using webwalking, maybe any tricks to use it properly apart walking.webWalk(AREA); or with webWalkEvent? RAM usage typically spikes when webwalking and doesn't really clear after that. So my question would be: 1) What does setting the -mem 1024 flag actually do? Does it limit the amount of RAM allowed by the client and runs JVM garbage collector more often (when exceeds he given limit) or just crashes when exceeds the limit? 2) If even worth, should I do System.gc() to ask the JVM kindly to clear stuff up? If so then what's the best place to put it? Probably not on every loop iteration
-
Well try to manage a huge farm, it really doesn't end up as doing nothing even if it's automated a lot. Massive bans still happen which most of the time need managing and people not always have the time