August 4, 20169 yr Author when i start the script it says "walking to bank" and just stands there, can u fix this pls? It goes to the bank if u have no food. You need to start the script with food in the inventory or fill in the bank tab and put the name of the food and how much to withdraw.
August 5, 20169 yr still working like a charm but now with I'm trying to train range... It gets REALLY laggy and very slow ... But when I go back to mage attacks everything runs smooth and fast again...sooooo what's wrong with the range and the script cause it to slow and freeze like that? pmed you, its a pretty well known spot but most people forget about it xD. Hey pm me to please lol, Would it work good for my pure?
August 14, 20169 yr Hi, just as @iroll mentioned the bot gets slow/doens't function as soon as I swap to range. Anyhow, I like the script so far. Simple setup and easy for all users.
August 14, 20169 yr Author Hi, just as @iroll mentioned the bot gets slow/doens't function as soon as I swap to range. Anyhow, I like the script so far. Simple setup and easy for all users. Please copy and paste the logger
August 18, 20169 yr Author 1 day 8 hour proggie my account still going strong Edited August 18, 20169 yr by Juggles
August 20, 20169 yr 1 day 8 hour proggie my account still going strong Could you fix these 2 things? 1. Please make the bot not attack npcs that are being splashed on. 2. When the bot levels and the npc is going unagressive (trying to flee) it doesnt attack it again. It just stands there doing nothing and eventually logs out. Nice proggy!
August 22, 20169 yr I guess I was drunk and didn't fill all the GUI fields (didn't add food quantity) Food: "Trout" HP to eat at: 9 Enemy: "Chaos Guard" Just a suggestion to avoid client freezing when an exception is thrown @[member='Override'] public int onLoop() throws InterruptedException { try { // script code } catch (Exception e) { log(Throwables.getStackTraceAsString(e)); } return 69; } You can validate user input at start to prevent any errors and the Throwables class is found in the guava library here https://github.com/google/guava which you may find useful when writing java code. Nice script anyway, 10/10 would leech again Edited August 22, 20169 yr by Token
August 22, 20169 yr Author I guess I was drunk and didn't fill all the GUI fields (didn't add food quantity) Food: "Trout" HP to eat at: 9 Enemy: "Chaos Guard" Just a suggestion to avoid client freezing when an exception is thrown @[member='Override'] public int onLoop() throws InterruptedException { try { // script code } catch (Exception e) { log(Throwables.getStackTraceAsString(e)); } return 69; } You can validate user input at start to prevent any errors and the Throwables class is found in the guava library here https://github.com/google/guava which you may find useful when writing java code. Nice script anyway, 10/10 would leech again Thanks for the tip. I was looking for a way to prevent the script from freezing. Leech all you want
August 22, 20169 yr Thanks for the tip. I was looking for a way to prevent the script from freezing. Leech all you want The script freezes because the current onLoop iteration ends upon throwing an exception and it never reaches the return statement to tell it how long to sleep until next onLoop iteration, which results in executing code with no sleeps at all taking up to 100% CPU. Catching exceptions like that in onLoop will ensure that your script always sleeps between onLoop iterations and won't ever freeze when throwing exceptions. I use the guava library just to output the exception to OSBot's logger because e.printStackTrace won't send the stacktrace to the logger. You can also do something like this to output the stacktrace in the logger though which may be very similar to the implementation by google in guava public static String getStackTraceAsString(Exception e) { String st = ""; for (StackTraceElement el : e.getStackTrace()) { st += el.toString(); } return st; }
August 23, 20169 yr Author Absolutely legendary, had no problems running it Thank you very much for making this free! Have a nice day :P Thank you Edit: 4 day proggy Edited August 24, 20169 yr by Juggles
August 24, 20169 yr Thank you Edit: 4 day proggy Sweet proggy, f2p or p2p :P ? Could you fix so it doesnt attack npcs that are being splashed on?
Create an account or sign in to comment