Optimum Scripts Posted June 20, 2016 Share Posted June 20, 2016 Quote Link to comment Share on other sites More sharing options...
Alek Posted June 20, 2016 Share Posted June 20, 2016 Could be a poorly written script. I can tell you that the client runs fairly well with one bot and shouldn't be consuming 80% under normal conditions. Try a different script (or two). 2 Quote Link to comment Share on other sites More sharing options...
Strange_Fk Posted June 20, 2016 Share Posted June 20, 2016 (edited) Could be a poorly written script. I can tell you that the client runs fairly well with one bot and shouldn't be consuming 80% under normal conditions. Try a different script (or two). Agreed, especially since this doesn't look like its running mirror mode either (which takes up more CPU). It has to be the script for sure! If this ever happens when I'm writing my own scripts, I revert to older version of script and see if CPU usage is still high under same conditions, or I turn newer pieces of code in script into comments until I narrow down what is exactly taking up so much more CPU. /*multi line comment */ Edited June 20, 2016 by Strange_Fk Quote Link to comment Share on other sites More sharing options...
Hi G00gle Posted June 20, 2016 Share Posted June 20, 2016 It is the script. Seeing as I can easily run 10 bots on my VPS without even reaching 60% CPU, and I don't even have client rendering disabled. Quote Link to comment Share on other sites More sharing options...
Optimum Scripts Posted June 20, 2016 Author Share Posted June 20, 2016 Could be a poorly written script. I can tell you that the client runs fairly well with one bot and shouldn't be consuming 80% under normal conditions. Try a different script (or two). There was 1 mistake in the code, fixed now, I'm sure it was something to do with a error Quote Link to comment Share on other sites More sharing options...
Lone Posted June 20, 2016 Share Posted June 20, 2016 Yeah something is definitely fucked up with the script. Quote Link to comment Share on other sites More sharing options...
Hi G00gle Posted June 20, 2016 Share Posted June 20, 2016 There was 1 mistake in the code, fixed now, I'm sure it was something to do with a error What code exactly caused it to take up so much CPU? I'm just wondering for learning purposes. Quote Link to comment Share on other sites More sharing options...
Optimum Scripts Posted June 20, 2016 Author Share Posted June 20, 2016 What code exactly caused it to take up so much CPU? I'm just wondering for learning purposes. There wasn't an error handled well in the find entity i'm sure, when i checked the logger the next time it done it there was only errors directing to attempt woodcutting. 1 Quote Link to comment Share on other sites More sharing options...
Lone Posted June 20, 2016 Share Posted June 20, 2016 There wasn't an error handled well in the find entity i'm sure, when i checked the logger the next time it done it there was only errors directing to attempt woodcutting. Make sure to check for nulls and to sleep or something while animating. Quote Link to comment Share on other sites More sharing options...