Everything posted by Butters
-
macrocooker banned over night
^ this basically
-
[Dev Builds] OSBot 2.4.125 - OS Compatibility
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
-
Cant get bot to bank + withdraw food
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
-
Need help with RAM issues
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
-
Need help with RAM issues
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
-
Looking for serious business partner
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
-
Looking for serious business partner
Or he's just done with botting and has better things to do
-
[Dev Builds] OSBot 2.4.125 - OS Compatibility
Thanks for the update, will test this a little later. On a similar note, what do you think are safe "sleep intervals" between launching seperate instances of OSBot? I've been using 60s and on a 25th launch in sequence stuff like "Your VIP has expired" or some form of failed to connect error (Can't remmember the exact one) showed in log. When I bumped the sleep intervals to a 100s, I experience way less launching problems.
-
[Dev Build] OSBot 2.4.124 - New GUI, Fixes, Client Hotkeys
After about a day of running the new build I can say that the client didn't fail to launch once and seems to be more stable (had some RAM issues earlier - maybe I'm just lucky these days). Loving the hot keys btw
-
Making banned patterns database?
Dunno if this would give any noticable value. If bans are a lil higher when banking than without banking, does that mean that banking leads to bans? Probably not. I once started collecting detailed data of my scripts and check the ban patterns - basically no use. Cause I usually get banned in bulk depending on Jagex mood.
-
Level up widget
Explv option is probably the best, thouh another simple way to handle it would be to if (dialogues.isPendingContinuation()) dialogues.clickContinue();
-
[OSRS]Botting to max stats YouTube Series
Really enjoyed watching the videos. Good luck and waiting to find out how it all ends
-
[Dev Build] OSBot 2.4.124 - New GUI, Fixes, Client Hotkeys
Ubuntu 16.10 using xfce desktop (on low display quality)
-
[Dev Build] OSBot 2.4.124 - New GUI, Fixes, Client Hotkeys
A nuisance, but still:
-
[Dev Build] OSBot 2.4.124 - New GUI, Fixes, Client Hotkeys
If i understand correctly, this should address the setLookAndFeel problem you mentioned in ?
-
Store and verify passwords into a databse
You could try something like this import java.security.*; import java.math.*; public class MD5 { public static void main(String args[]) throws Exception{ String s="This is a test"; MessageDigest m=MessageDigest.getInstance("MD5"); m.update(s.getBytes(),0,s.length()); System.out.println("MD5: "+new BigInteger(1,m.digest()).toString(16)); } } basically compare the hash in DB and the generated hash from the password that the user entered
-
My magic book related scripts are broken after update WTF?
Need to wait that mods have to say. Probably bad hooks
-
My magic book related scripts are broken after update WTF?
Same thing, scripts can't get quest configs, do banking or find most of the widgets.
-
Any idea why client wont load from CLI for me?
Check if you can launch java from cmd. If not then check you environment variables if PATH points to a java bin directory
- Disabling rooftops
-
Disabling rooftops
Hey, Wanted to know what's the best way to know what's the state of rooftops (enabled or disabled) at any time in game. Looks like it doesn't get the config ID
-
Is there a way I can just use a VPN on OSBot?
VPN changes ip on your whole machine. You need some sort of client (OpenVPN for example) to connect to it. When you launch OSBot it will use the vpn's IP, cause you'r whole machines ip now is the VPN's. No way to use VPN only for OSB, launch the vpn on a VM or something
-
Packing an external jar with my script
Glad to help. Just a guess though but I think using JDBC will require your script to use a lil more resources, where as submiting stuff to a web page might be less thirsty. Just a guess though. Depends on what you plan to do with this
-
Packing an external jar with my script
Open your exported jar with winrar or something and I guarantee that you won't find the jdbc library exported. Try exporting as a runnable jar. Or what Night said ^. Though then you would get a security error
-
[Dev Build] OSBot 2.4.117 - OOM + Other Patches
Seems to work kinda shaddy on Windows, though works well on Linux