SRL Archive - Research & Development Lounge

Better SRL Stats detection


006786

2008-11-29 10:35:06

Most people use:
if SRLUser='' then
begin
blah;
end
if SRLPass='' then
begain
blah;
end

Instead, you can use the following:
 if ((not length(YourSRLID) = 4) or (YourSRLPW = '')) then
begin
blah;
end

JuKKa

2008-11-29 10:52:21

my srl id is 30 … so it wouldnt work…

If(Not Length(ID) > 0)Then

TViYH

2008-11-29 11:33:08

if((Length(SRLID)>0)and(Length(SRLPASS)>0))then

lordsaturn

2008-11-30 02:17:50


if (SRLID <> '') and (SRLPW <> '') then

EvilChicken!

2008-11-30 05:16:54

It doesn't really matter.

The SRL Rules themself say that we do not terminate the script or preform some other anti-leech precedures if the SRL stats id and/or password is missing.

And, for the record, I used to use this before:

if (SRLID = '') or (SRLPW = '') then

Simple ting.
If that resulted true, the user would simply get a warning and a link in the debug box to register at. The script would then continue normally without any delay. (If you don't count the milliseconds it takes to write those lines in the debug.)

Nava2

2008-11-30 14:06:06

Aren't we allowed to put delays in?

Just not termination?

MylesMadness

2008-11-30 14:13:44

From: Nava2
Aren't we allowed to put delays in?

Just not termination?
3 hour delays FTW