Results 1 to 10 of 10

Thread: How to Send Script Stats

  1. #1
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to Send Script Stats

    Yea well I don't have much time so how do I send them I tried SendSRL report and I have the script ID

    Join the fastest growing merchanting clan on the the net!

  2. #2
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    This might be what you're looking for:

    http://www.villavu.com/forum/showthread.php?t=6671

    Also, how do you get the script ID?

  3. #3
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No thats not it and you register a script in the script stats page

    Join the fastest growing merchanting clan on the the net!

  4. #4
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    if you use SRLRandomsReport; that will send the report automatically


  5. #5
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by pwnaz0r View Post
    Yea well I don't have much time so how do I send them I tried SendSRL report and I have the script ID
    Steps:

    Set Script ID.
    SCAR Code:
    ScriptID := 'Integer'
    SCAR Code:
    Procedure ClearVars;

    Var
      I : Integer;
    Begin
      For I := 1 To 19 Do
      ReportVars[I] := 0;
    End;

    - Run this once in your script setup, just in case.

    Let's say you bank, do the following.

    SCAR Code:
    ReportVars[0] := CountItemBmpTol(IronOre, Tol);
    Now, The Variable (1 on SRL STATS, 0 in the array) will be send to SRL STATS, and your script ID.
    Remember not to do:

    SCAR Code:
    ReportVars[0] := ReportVars[0] + CountItemBmpTol(IronOre, Tol)

    Hope this helped.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  6. #6
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Remember not to do:

    SCAR Code:
    ReportVars[0] := ReportVars[0] + CountItemBmpTol(IronOre, Tol)
    why can't you do that? if im not mistaken your powerminer had it like that.
    ReportVars[1] := ReportVars[1] + CountItemBmpMaskTol(OreMask, 20, 25);
    ReportVars[1] := ReportVars[1] + CountItemBmpTol(Clay, 10);;
    ^^from your version 3.01

  7. #7
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No i mean the actual command to send the stats...

    Join the fastest growing merchanting clan on the the net!

  8. #8
    Join Date
    Feb 2006
    Location
    Myrtle Beach, SC USA!
    Posts
    841
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by pwnaz0r View Post
    No i mean the actual command to send the stats...
    The script stats are sent with the player stats when you call SRLRandomsReport, so there is no extra command really that you need to do to send your script stats. Just add to the report vars and make sure you use the SRLRandomsReport in your progress report procedure.

  9. #9
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  10. #10
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alrighty then. Dankness to save the day tyvm

    Join the fastest growing merchanting clan on the the net!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Other ways to send stats?
    By SirPa in forum OSR Help
    Replies: 2
    Last Post: 11-18-2008, 09:17 PM
  2. type send not send keys in vb
    By Noob King in forum C#/Visual Basic Help and Tutorials
    Replies: 5
    Last Post: 10-23-2008, 09:14 PM
  3. Script stats :/
    By Floor66 in forum OSR Help
    Replies: 10
    Last Post: 02-10-2008, 04:01 PM
  4. Replies: 5
    Last Post: 11-23-2007, 08:45 PM
  5. How can i put srl stats into a script?
    By Dangerous Garden Tools in forum OSR Help
    Replies: 7
    Last Post: 09-27-2007, 04:23 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
  •