Results 1 to 7 of 7

Thread: Better SRL Stats detection

  1. #1
    Join Date
    Jun 2007
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Better SRL Stats detection

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

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

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    my srl id is 30 ... so it wouldnt work...

    SCAR Code:
    If(Not Length(ID) > 0)Then

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  4. #4
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    SCAR Code:
    if (SRLID <> '') and (SRLPW <> '') then

  5. #5
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    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:

    SCAR Code:
    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.)

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Aren't we allowed to put delays in?

    Just not termination?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Aren't we allowed to put delays in?

    Just not termination?
    3 hour delays FTW

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dead Detection
    By cathering_ in forum OSR Help
    Replies: 4
    Last Post: 09-08-2007, 04:27 PM
  2. FishingSpot Detection???
    By Drakan in forum OSR Help
    Replies: 5
    Last Post: 06-10-2007, 07:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •