XXXSHOTO Posted July 6, 2017 Share Posted July 6, 2017 (edited) 1. OSBot Version: 2.4.130 2. A description of the issue. Include relevant logs: The client sometimes won't allow me to click any single button, can't click on the game but the game isn't frozen and is still running the script's event counter (exp estimated, time ran, etc) and I'm having to restart the client again. [I can't get logs because I can't click anything] (Also, I'm having to use task manager to close it, clicking X button doesn't work, even though I can highlight it) 3. Are you receiving any errors in the client canvas or the logger? No 4. How can you replicate the issue? Idk, it just happens. 5. Has this issue persisted through multiple versions? I'm new, 2.4.130 is the first version I've used. Is this a Windows 10 problem maybe? (me not being able to close it normally, not the script) Edited July 6, 2017 by Saitama Anonymous Quote Link to comment Share on other sites More sharing options...
Alek Posted July 8, 2017 Share Posted July 8, 2017 Sounds like an issue with a particular script or perhaps some sort of loop. I'm assuming this happens after you either press the stop or pause button? 1 Quote Link to comment Share on other sites More sharing options...
slazter Posted July 8, 2017 Share Posted July 8, 2017 In gonna go ahed and say your probaby getting stuck in an infinute loop and that is why it crashes. Mabye like if(myplayer.gethealth()<30){ //eAT flod } And inv doesnt contain food, therefore ur stuck in a infinite loop making it crash. Had The same problems starting to script, tryck to check your conditions 1 Quote Link to comment Share on other sites More sharing options...
Reminiscence Posted July 9, 2017 Share Posted July 9, 2017 I'd just like to chime in that I'm having the exact same problem. CPU usage spiked up and the top bar decided to freeze. The fps has dropped significantly as well. 1 Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted July 9, 2017 Share Posted July 9, 2017 55 minutes ago, Sonysi said: I'd just like to chime in that I'm having the exact same problem. CPU usage spiked up and the top bar decided to freeze. The fps has dropped significantly as well. Sounds like an NPE to me. Spotted Eclipse as well so I assume it's your own code? 1 Quote Link to comment Share on other sites More sharing options...
Viston Posted July 9, 2017 Share Posted July 9, 2017 1 hour ago, HeyImJamie said: Sounds like an NPE to me. Spotted Eclipse as well so I assume it's your own code? That's true. Whenever I get an NPE, my whole shit freezes, ram goes up to 2 gb almost, cpu up to 25%. Also, have to close the client via Task Manager. Quote Link to comment Share on other sites More sharing options...
Reminiscence Posted July 9, 2017 Share Posted July 9, 2017 1 hour ago, HeyImJamie said: Sounds like an NPE to me. Spotted Eclipse as well so I assume it's your own code? I was actually just about to edit my post, lol It was in fact an NPE. I forgot to set something really obvious. I also noticed OP's script, "Goldilocks", is a bit dated, so it's probably the same issue for him as well. I haven't had any problems since fixing it either. Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted July 9, 2017 Share Posted July 9, 2017 6 hours ago, Sonysi said: I was actually just about to edit my post, lol It was in fact an NPE. I forgot to set something really obvious. I also noticed OP's script, "Goldilocks", is a bit dated, so it's probably the same issue for him as well. I haven't had any problems since fixing it either. Least it's fixed now! Quote Link to comment Share on other sites More sharing options...
The Undefeated Posted July 9, 2017 Share Posted July 9, 2017 14 hours ago, slazter said: In gonna go ahed and say your probaby getting stuck in an infinute loop and that is why it crashes. Mabye like if(myplayer.gethealth()<30){ //eAT flod } And inv doesnt contain food, therefore ur stuck in a infinite loop making it crash. Had The same problems starting to script, tryck to check your conditions That doesn't freeze the script because there's a loop frequency which will keep it from checking the condition every 0.0001ms (if it's written properly). Quote Link to comment Share on other sites More sharing options...
Alek Posted July 9, 2017 Share Posted July 9, 2017 Seems like a script issue to me, I used the buttons yesterday and they were working just fine. Make sure you give enough time before each loop so the script can exit. Quote Link to comment Share on other sites More sharing options...