ct1996 Posted January 21, 2016 Posted January 21, 2016 As title indicates... my script runs OK, but super lags the client and requires Task Manager to kill OSBot, as everything is frozen. During this 'frozen' period, the RS client still loads and bots. Any ideas??
toke up069 Posted January 21, 2016 Posted January 21, 2016 sounds like u need better ram ect in ur computer
ct1996 Posted January 21, 2016 Author Posted January 21, 2016 sounds like u need better ram ect in ur computer Hahaha, while this would eventually fix the issue... I just solved it by adding a small sleep-timer at the end of onLoop so it wasn't repeating instantly & hogging OSBot's RAM 1
Chicken Wing Posted January 21, 2016 Posted January 21, 2016 Hahaha, while this would eventually fix the issue... I just solved it by adding a small sleep-timer at the end of onLoop so it wasn't repeating instantly & hogging OSBot's RAM You can just increase the int that onLoop returns, and it will sleep more between iterations 1
ct1996 Posted January 22, 2016 Author Posted January 22, 2016 You can just increase the int that onLoop returns, and it will sleep more between iterations Lol, I wondered what that int did. Thanks.
AresScripts Posted January 25, 2016 Posted January 25, 2016 Lol, I wondered what that int did. Thanks. What is onLoop() returning?
lisabe96 Posted January 27, 2016 Posted January 27, 2016 What is onLoop() returning? The cycle (sleep) time
AresScripts Posted January 27, 2016 Posted January 27, 2016 The cycle (sleep) timei know what it does. Im asking him to make sure its not returning something like 5.