Juggles Posted August 4, 2016 Author Share Posted August 4, 2016 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. Quote Link to comment Share on other sites More sharing options...
iroll Posted August 5, 2016 Share Posted August 5, 2016 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? Quote Link to comment Share on other sites More sharing options...
gearing Posted August 14, 2016 Share Posted August 14, 2016 heey? how does the teleport tab support coming along? Quote Link to comment Share on other sites More sharing options...
Inevitable Posted August 14, 2016 Share Posted August 14, 2016 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. 1 Quote Link to comment Share on other sites More sharing options...
Juggles Posted August 14, 2016 Author Share Posted August 14, 2016 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 Quote Link to comment Share on other sites More sharing options...
Juggles Posted August 18, 2016 Author Share Posted August 18, 2016 (edited) 1 day 8 hour proggie my account still going strong Edited August 18, 2016 by Juggles Quote Link to comment Share on other sites More sharing options...
Framble Posted August 20, 2016 Share Posted August 20, 2016 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! Quote Link to comment Share on other sites More sharing options...
Turkoize Posted August 20, 2016 Share Posted August 20, 2016 Will take a look at this script, thanks Quote Link to comment Share on other sites More sharing options...
Juggles Posted August 21, 2016 Author Share Posted August 21, 2016 (edited) 2 days 8 hours Edited August 22, 2016 by Juggles Quote Link to comment Share on other sites More sharing options...
Token Posted August 22, 2016 Share Posted August 22, 2016 (edited) 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, 2016 by Token 1 Quote Link to comment Share on other sites More sharing options...
Juggles Posted August 22, 2016 Author Share Posted August 22, 2016 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 Quote Link to comment Share on other sites More sharing options...
Token Posted August 22, 2016 Share Posted August 22, 2016 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; } 2 Quote Link to comment Share on other sites More sharing options...
j4n5 Posted August 23, 2016 Share Posted August 23, 2016 (edited) [redacted] Edited May 25, 2020 by j4n5 [redacted] 1 Quote Link to comment Share on other sites More sharing options...
Juggles Posted August 23, 2016 Author Share Posted August 23, 2016 (edited) 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, 2016 by Juggles 2 Quote Link to comment Share on other sites More sharing options...
Framble Posted August 24, 2016 Share Posted August 24, 2016 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? Quote Link to comment Share on other sites More sharing options...