Erdnah Posted May 5, 2015 Posted May 5, 2015 I'm making a script for OSbot which includes world hopping. It works fine for the first 10-20 minutes but after that this happens: [WARN][Bot #1][05/05 10:59:22 AM]: Event executor is taking too long to suspend; terminating now... [INFO][Bot #1][05/05 10:59:22 AM]: Started random solver : World Hopper [INFO][Bot #1][05/05 10:59:23 AM]: Hopping to World 317 [INFO][Bot #1][05/05 10:59:23 AM]: Random solver exited : World Hopper [WARN][Bot #1][05/05 10:59:30 AM]: Event executor is taking too long to suspend; terminating now... [INFO][Bot #1][05/05 10:59:30 AM]: Started random solver : Auto Login [INFO][Bot #1][05/05 10:59:39 AM]: Random solver exited : Auto Login [WARN][Bot #1][05/05 10:59:48 AM]: Event executor is taking too long to suspend; terminating now... [ERROR][Bot #1][05/05 10:59:48 AM]: Caught thread death in EventExecutor [INFO][Bot #1][05/05 10:59:48 AM]: Started random solver : Welcome Screen [INFO][Bot #1][05/05 10:59:49 AM]: Random solver exited : Welcome Screen It stalls for a few seconds before choosing a world, logging in and clicking the play button. It takes more than 30 seconds to hop worlds... After login my script runs fine. When I restart OSbot it works fine for 10-20 minutes again. World hop code: logoutTab.logOut(); worlds.hopToP2PWorld(); I'm using standard mode. Any help pls?
Psvxe Posted May 5, 2015 Posted May 5, 2015 Is this for runite ore mining? ;p Anyways, does it work for 10-20 minutes with world hopping or does the script work until it reaches the world hopping part? Couldn't really get it.
Erdnah Posted May 5, 2015 Author Posted May 5, 2015 Is this for runite ore mining? ;p Anyways, does it work for 10-20 minutes with world hopping or does the script work until it reaches the world hopping part? Couldn't really get it. No, not for runite ore mining. It works 10-20 minutes with world hopping, after that the world hopping starts to lag and throw those warnings and errors. I made my own world hopping method now but it sucks (clicks on specified pixels lol).
Psvxe Posted May 5, 2015 Posted May 5, 2015 No, not for runite ore mining. It works 10-20 minutes with world hopping, after that the world hopping starts to lag and throw those warnings and errors. I made my own world hopping method now but it sucks (clicks on specified pixels lol). [/size] Well, I don't know if we can mention members into forum posts but perhaps you could send some offical SW a pm. If you want to write your own hopper, use widgets instead of pixels ;p Could you post the method you used for hopping? Perhaps someone has a solution.
Erdnah Posted May 5, 2015 Author Posted May 5, 2015 I'm making a karambwan buyer for myself. I just run the world hop method after I buy everything from the store. How can I use widgets when i'm not logged in? The onLoop method doesn't get called when i'm not logged in?
Joseph Posted May 5, 2015 Posted May 5, 2015 I believe its because of the logout method above the world hop. I believe the world hop class should automatically log out and hop worlds for you without having to force the logout.
Erdnah Posted May 5, 2015 Author Posted May 5, 2015 I believe its because of the logout method above the world hop. I believe the world hop class should automatically log out and hop worlds for you without having to force the logout. No, that isn't a problem.
Psvxe Posted May 5, 2015 Posted May 5, 2015 I'm making a karambwan buyer for myself. I just run the world hop method after I buy everything from the store. How can I use widgets when i'm not logged in? The onLoop method doesn't get called when i'm not logged in? Can't you override it?