PlagueDoctor Posted October 29, 2016 Share Posted October 29, 2016 Screenshot of logger - http://imgur.com/a/ib51x Code - http://pastebin.com/GAsVZDsB Script does what i wanted it to, but it occasionally starts dcing after a couple hops. This seriously lowers the profit per hour, so if anyone has any ideas on how to fix this, i would love to hear them. Thanks to anyone who takes a look, much appreciated. PS. I'm not running any other scripts at the same time, and it happens even when i'm not logged into my main on OSBuddy. Quote Link to comment Share on other sites More sharing options...
Team Cape Posted October 29, 2016 Share Posted October 29, 2016 Screenshot of logger - http://imgur.com/a/ib51x Code - http://pastebin.com/GAsVZDsB Script does what i wanted it to, but it occasionally starts dcing after a couple hops. This seriously lowers the profit per hour, so if anyone has any ideas on how to fix this, i would love to hear them. Thanks to anyone who takes a look, much appreciated. PS. I'm not running any other scripts at the same time, and it happens even when i'm not logged into my main on OSBuddy. if you hop between worlds too often, runescape automatically logs you out when you continue hopping. if i were you, i'd try to find a way to make the time in between hops a little longer, so it wont happen as much. 3 Quote Link to comment Share on other sites More sharing options...
PlagueDoctor Posted October 29, 2016 Author Share Posted October 29, 2016 (edited) if you hop between worlds too often, runescape automatically logs you out when you continue hopping. if i were you, i'd try to find a way to make the time in between hops a little longer, so it wont happen as much. Yeah its likely that is the issue, i do have several different methods of slowing it down in the script such as int timesBought = 0; if(getStore().getAmount("Death rune") >= 1) { // This is part of my shop code getStore().buy("Death rune", 10); timesBought++; } if(timesBought <= 8) { // This is just before hopping sleep(random(1000,3000)); } timesBought = 0; I'll try making the sleeps much larger to see what effect it has. I was kinda hoping someone would have some sort of miracle method to help me circumvent this haha. I mean the script does what i want it to, so im still happy, it would just be cool to improve the efficiency. EDIT: I've set it up so it's sleeping for 4-8 seconds if 'timesBought <= 8' (times bought is increased by one each time the script buys 10 of something, and is reset to 0 after a hop). This seems to have solved the problem more or less. Is there a better way to do this? Perhaps with less of a delay, but still circumventing the dcing issue? EDIT: Jokes problem still happening haha, less often tho with the long ass delays. Edited October 29, 2016 by PlagueDoctor Quote Link to comment Share on other sites More sharing options...