Results 1 to 15 of 15

Thread: How to use SRL Stats

  1. #1
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default How to use SRL Stats

    Register for SRL Stats:
    http://stats.villavu.com/register

    Add a Script to SRL Stats / Manage your Scripts:
    http://stats.villavu.com/manage/scripts

    How to Add SRL Stats to your script:
    http://villavu.com/forum/showthread.php?t=60084

    How to make Signatures for your script:
    http://villavu.com/forum/showthread.php?t=61088
    Last edited by Coh3n; 12-30-2010 at 07:42 PM. Reason: Added Frement's link

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  2. #2
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    YES! I was just about to go through everyone from SRL on my MSN and ask them to guide me through this. Having these all grouped together = sex.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  3. #3
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    To "How to make Signatures for your script" you should add my tutorial, just made it

    Tutorial: http://villavu.com/forum/showthread.php?t=61088
    There used to be something meaningful here.

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

    Default

    To be honest there should just be service for the signatures. I can add it if no one else does. I was hoping for someone to make it.



    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)

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

    Default

    I started looking into Image manipulation with python. Basically, the thought was to implement it as a service from the SRL stats system.

    It could be external and use the JSON output supplied, but might as well cut out the middle man.

    I looked up Python libraries for image maniplation, I found: PIL (http://www.pythonware.com/products/pil/index.htm).

    The necessary modules to use would be: ImageDraw (http://www.pythonware.com/library/pi.../imagedraw.htm), ImageFont (http://www.pythonware.com/library/pi.../imagefont.htm)

    The library supports transparent drawing, thus we could bring back the old leveling system pretty easily, but I just need images and the choice of approach.

    I was thinking of starting on this as a general setup so that either could be implemented, the issue for me is that I do not have a server to test this on. Nor do I have any idea how python handles pages when they are loaded.. aka when you load the image, how to execute the python.
    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

  6. #6
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    It seems as though the link on how to add SRL Stats to a script doesn't work. Is there a more updated revision?

  7. #7
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Step1: Include stats.simba

    Step2: Add SetupSRLStats(scriptid, stats_username, stats_password);

    Step3: Do stats_IncVariable(variablename, amount[0]);
    stats_IncVariable('Total EXP Gained', amount[1]);(each line = diff variable)
    stats_Commit(do this if time from previous commit is >5mins);

    Edit: Reset the amount to zero after each commit.


    Thats it!
    Last edited by KingKong; 01-25-2011 at 03:03 AM.

  8. #8
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by KongKing View Post

    Edit: Reset the amount to zero after each commit.


    Thats it!
    I'm pretty sure that's done automatically.

  9. #9
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I'm pretty sure that's done automatically.
    if you use a different system for storing info, it might not. For example, if you use a local TIntegerArray, then it will not be. I am 100% certain of this because in stats_IncreaseVar(which: string; Amount: Integer, Amount Isn't a var.

  10. #10
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by TomTuff View Post
    if you use a different system for storing info, it might not. For example, if you use a local TIntegerArray, then it will not be. I am 100% certain of this because in stats_IncreaseVar(which: string; Amount: Integer, Amount Isn't a var.
    The stats system already stores all the variables you're using in a temporary array, then commits all of them when you call stats_Commit. It them resets this temporary array back to 0.

    But yes, if you're using your own array then you have to reset it. It's just not required to use your own array.

  11. #11
    Join Date
    Feb 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default is there any botting websites

    anybotting websites that actually works?

  12. #12
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    informative it is

  13. #13
    Join Date
    Feb 2012
    Posts
    83
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    how do you use this bot?
    sorry, im kinda new in this forum ,and i dont know where i can add the scripts...

  14. #14
    Join Date
    Oct 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice tutorial, rep

  15. #15
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very nice tutorial! Can't wait to try it out tomorrow.

    For all the people asking questions - just read around. You'll figure it out eventually

Thread Information

Users Browsing this Thread

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

Posting Permissions

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