SRL Archive - S.M.A.R.T. Questions and Answers.

Antirandoms


schizo

2008-12-21 21:47:42

Hi,

During the drill demon antirandom, the script I was using started solving it, but then logged out and said it was because it had spent 2 minutes in the event so it failed.

Is that normal?

Thanks!

Method

2008-12-21 22:23:29

  if (TimeFromMark(t) > 120000) then
begin
Writeln('We''ve been in the demon random for 2 minutes. It failed.');
LogOut;
Exit;
end;

Yes, it's normal (that's the code from Demon.scar). The time period really should be extended, which you can do yourself, but you'll have to do that by yourself for the moment.

schizo

2008-12-22 09:07:12

And I find that in the includes?

Thanks by the way.

jakeyboy29

2008-12-22 10:59:02

yh its in srl includes