SRL Archive - OSR Help

SixHourFix How?


toxjq

2013-06-16 14:46:23

So this is built as far as I know,
how do i implement it?

SRL_SIXHOURFIX := TRUE ? //thats it?

Ian

2013-06-16 14:55:28

Yes, put that before SetupSRL; in your mainloop. You should also have

if not LoggedIn then LoginPlayer;
Throughout your script because the SixHourFix only comes into play when you're trying to log in. I usually add them at the start of most procedures and functions. Also go through all your loops and make sure they all are until the thing you want or not logged in, this will avoid any infinite loops caused by getting logged out while in the loop.
Example:

repeat
Thing;
until(ConditionYouWantMet or (not LoggedIn));