SRL Archive - S.M.A.R.T.

SixHourFix for OSRS Scripts?


msemtex

2013-06-08 20:15:11

Hi guys, I noticed that some of the scripts I use stop at the six hour mark. So, I tried to use this method from SMART 7 back when I used to bot pre-EOC:

<code>

SixHourFix := True;
</code>

and this doesn't work. If anyone could point me in the right direction that would be appreciated.

Specs:
Windows 8 pro 64 bit
4770k
8gb Ram 1600mhz
Latest Java update on 64 bit

EDIT:

I have made a successful while loop, will see how it goes in six hours.

I still wish to know the proper way of doing this, rather than a sloppy solution.

rj

2013-06-08 20:45:06

Have you tried using smart8?

Justin

2013-06-08 20:45:30

There is no need for a SixHourFix for OSRS as the client doesn't need to be reloaded. Just make sure you have a
if not LoggedIn then LoginPlayer;
in your mainloop

Solar

2013-06-09 02:27:00

As Justin has said, there is no six hour play limit for OSRS.
Not sure why people seem to think there is.

msemtex

2013-06-09 02:57:29

Im running SMART 8, I'am logged out after 6 hours.

I will try the line of code justin.

Turpinator

2013-06-09 04:15:05

From: msemtex
Im running SMART 8, I'am logged out after 6 hours.

I will try the line of code justin.


I think being logged out after ~6 hrs is just a coincidence. Just make sure to put that line in any loop that doesnt have a 'loop timeout', without this:
MarkTime(t);
Repeat
LoopCrap;
Until Finished or (TimeFromMark(t) > 30000);
or it might look like this…
MarkTime(t);
Repeat
LoopCrap;
If TimeFromMark(t) > 30000 Then
Break;
Until Finished;