dannynandez
2013-03-22 17:59:58
I'm in the process of writing a script for 07. I need my bot to be able to log in and out of different worlds on its own, and was wondering if there is a way to do this. If anyone has any suggestions, please post. Thank you.
Ashaman88
2013-03-22 21:56:41
Checkout the worldswitcher.simba file for OSR includes. At least I think it's worldswitcher can't remember file name exactly :/
dannynandez
2013-03-23 12:56:53
This world switcher is for EOC RS. It uses the lobby interface to switch worlds. I need an 07 version of this pretty much.
From: core
The worldswitcher in SRL is for EOC, the worldswitcher in SRL-OSR is for 07. This is what Ashaman88 is talking about: https://github.com/SRL/SRL-OSR/blob/master/SRL/core/worldswitcher.simba
I don't think that's updated though, or is it? :p
The Killer
2013-03-23 13:14:46
From: Sjoekeloe
I don't think that's updated though, or is it? :p
Only one way to find out ;)
Ashaman88
2013-03-23 14:54:55
From: Sjoekeloe
I don't think that's updated though, or is it? :p
Yes it is!!! Almost all of the include besides randoms is done
dannynandez
2013-03-23 15:17:00
Thanks for the link Ashaman. I incorporated the world switching into my script but now P07Include is not working at all. I'm getting duplicate/unknown identifier errors on irrelevant lines of P07Include. Should downloading the includes provided on the SRL-OSR page and getting rid of everything P07-related fix this issue?
Ashaman88
2013-03-23 18:45:29
From: dannynandez
Thanks for the link Ashaman. I incorporated the world switching into my script but now P07Include is not working at all. I'm getting duplicate/unknown identifier errors on irrelevant lines of P07Include. Should downloading the includes provided on the SRL-OSR page and getting rid of everything P07-related fix this issue?
Yeah you don't want both of them in there - nor any of the regular include, just SRL-OSR stuff included
dannynandez
2013-03-24 01:37:46
Thank you so much, it's running smoothly. I really appreciate you helping a novice scripter like me.