Results 1 to 13 of 13

Thread: Srl Stats!!!?!?!?!?!?

  1. #1
    Join Date
    Jul 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Srl Stats!!!?!?!?!?!?

    I have read heaps of Tuts and this is my script (narrowed down a bit)


    When ran:
    SCAR Code:
    begin
      ClearDebug;
      ClearReport;
      SetupSRL;
      ScriptID := '913';
      SRLID := '----';
      SRLPassword := '----';

    When report (all works except SRL):
    SCAR Code:
    procedure Report;
    begin
    ClearReport;
    ReportVars[0] := Players[CurrentPlayer].Integers[1];
    ReportVars[1] := MyBanks;
    ReportVars[2] := antis;
    ReportVars[3] := Players[CurrentPlayer].level[13];
    SRLRandomsReport;
    //Ln('Gathering Report');
    AddToReport('#########################');
    AddToReport('#      Pro Fletcher     #');
    AddToReport('#         v 1.2         #');
    AddToReport('#     User: ' + Players[CurrentPlayer].Name);
    AddToReport('#  Running: ' + TimeRunning);
    AddToReport('#      Cut: ' + intToStr(Players[CurrentPlayer].Integers[1]));
    AddToReport('#    Banks: ' + intToStr(MyBanks));
    AddToReport('# AntiBans: ' + intToStr(antis));
    AddToReport('#    Level: ' + intToStr(Players[CurrentPlayer].level[13]));
    AddToReport('#########################');
    end;




    My report text shows:
    Code:
    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    |     SRL 4 Randoms Report     |
    |      www.srl-forums.com      |
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
    #########################
    #      Pro Fletcher     #
    #         v 1.2         #
    #     User: fosscape
    #  Running: 3 Minutes and 0 Seconds
    #      Cut: 54
    #    Banks: 3
    # AntiBans: 3
    #    Level: 68
    #########################



    DO YOU NEED AT LEAST ONE ANTRANDOM THING OR BANK FOR IT TO WORK? OR WHY ISNT IT WORKING!?!?!?!




    NOTHING SHOWS UP ON SRL STATSz?.. AND YES I HAVE REGISTERED IT FULLY!!!!!!!?????????????????????????????????????? ??????????????

  2. #2
    Join Date
    Jul 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Look my sig..?

  3. #3
    Join Date
    Jul 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


  4. #4
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use the "EDIT Button"...

    SRL Stats Page only accepts every 5 minutes.

    Try running it for 10 mins.


    Plus to have proper stat reporting you cant do.
    ReportVars[0] := Players[CurrentPlayer].Integers[1];
    ReportVars[1] := MyBanks;
    ReportVars[2] := antis;

    You have to subtract the last entry. or reset them every report...

    and for the level....
    you need to get it at startup.. then..
    ReportVars[3] := ((Players[CurrentPlayer].level[13] - "Startuplevel Var") - "Last levels gained Var");

  5. #5
    Join Date
    Jul 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Omg Thank You So Much Ill Try!!!!!!!

    Omg Thanks

  6. #6
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No problem.

  7. #7
    Join Date
    Jul 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  8. #8
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Timer View Post
    You have to subtract the last entry. or reset them every report...

    and for the level....
    you need to get it at startup.. then..
    ReportVars[3] := ((Players[CurrentPlayer].level[13] - "Startuplevel Var") - "Last levels gained Var");
    No you don't, SendSRLReport already does this for you.

  9. #9
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no, the script vars. not the srl randoms.

    it would be nice if there was like..

    LastScriptReport.ReportVars[0]

  10. #10
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Timer View Post
    no, the script vars. not the srl randoms.

    it would be nice if there was like..

    LastScriptReport.ReportVars[0]
    But they're set to zero at the end so it doesn't matter anyway

    SCAR Code:
    for II := 0 to 20 do
        ReportVars[II] := 0;

    The reason they have 'LastScriptReport.Banked' and stuff is so that the actual variable that you're incrementing 'Banks' is not changed when you send the report. These variables are used to keep track of the total number of Banks, and randoms and shouldn't be changed unless there is a random.

  11. #11
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no zeph... His amounts he adds, the MyBanks, and stuff, they pile on every time... He needs to reset them every report, or subtract the last report amount... Not the report vars... the bolded vars bellow...

    ReportVars[0] := Players[CurrentPlayer].Integers[1];
    ReportVars[1] := MyBanks;
    ReportVars[2] := antis;

  12. #12
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    Timer is right Zeph
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  13. #13
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Timer View Post
    no zeph... His amounts he adds, the MyBanks, and stuff, they pile on every time... He needs to reset them every report, or subtract the last report amount... Not the report vars... the bolded vars bellow...

    ReportVars[0] := Players[CurrentPlayer].Integers[1];
    ReportVars[1] := MyBanks;
    ReportVars[2] := antis;
    Oh I see what you mean. Sorry about that Foss, Timer is right

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Srl Stats?
    By Pierre14 in forum News and General
    Replies: 2
    Last Post: 03-17-2008, 10:57 AM

Posting Permissions

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