Results 1 to 22 of 22

Thread: PlayerCounter v2.0 RELEASED!!!

  1. #1
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default PlayerCounter v2.0 RELEASED!!!

    UPDATED RS PLAYER COUNTER!!! FULLY FUNCTIONAL AND WORKS 100%!

    This script logs the number of total players on runescape.com over a period of time and graphs it realtime! Should there be a winsock error (for example, if port 80 is already in use), the script will simply put -1 as value. This will show up in the graph as a steep drop, so don't be surprised if you see something strange. It happens kinda often when surfing the web.

    The script works by collecting the total # of users from the top of the runescape main page.

    SCAR Code:
    {======================[Description and Release Notes]=========================}
    {                                                                              }
    {                          PlayerCounter V [2.0]                               }
    {                                                                              }
    {=============================[How to use this]================================}
    {                                                                              }
    { What this script does is, that it connects to the runescape main page,       }
    { gathering the entire page's content and then extracting the number of people }
    { playing the game from the top of the page.                                   }
    {                                                                              }
    { The script then dumps the information into the debug window, afterwards      }
    { graphes it to the debug image in realtime. Using this tool, you can analyze  }
    { what the statistics for RS are using an inbuilt plotter.                     }
    {                                                                              }
    { Setup is simple. Set                                                         }
      ClientName = 'Mozilla Firefox 1.5';
    { to the name of your client. You should choose something ordinary so RS       }
    { doesn't suspect anything.                                                    }
    { Set the time interval for collection below in seconds:                       }
      IntervalTime = 120;
    { I reccomend you keep it at over 30 seconds, else jagex might suspect your IP }
    { and do bannage. IP bannage alert!                                            }
    { Set the below to how many times you want samples to be collected:            }
      SampleSize = 720;
    { Next, set the resolution of the data. I keep it at 1000's, so every pixel on }
    { the graph represents 1000 players, but set it to your liking:                }
      Resolution = 1000;
    {                                                                              }
    { Just press the play button and allow the firewall to access the runescape    }
    { main page.                                                                   }
    {                                                                              }
    { For more help and support go to                                              }
    { [url]http://whitenoise.awardspace.com/index.php?act=scripts&script=rscounter[/url]      }
    {                                                                              }
    {=============================[Version History]================================}
    {                                                                              }
    {  1.5 - Completely rewrote the way I graph stuff. Much more advanced and no   }
    {        more crashes! Removed file support - the array isn't THAT big. This   }
    {        major update finally graphes correct and makes the graph do           }
    {        EVERYTHING correct. No more huge graphs with pixely lines and no      }
    {        reference!                                                            }
    {                                                                              }
    {  1.6 - Bug fixes, bug fixes and bug fixes... Made it work intervals out in   }
    {        seconds not minutes.                                                  }
    {                                                                              }
    {  2.0 - Decided to make this a new major version because the plotter in no    }
    {        way resembles the original except for the general idea. Release!      }
    {                                                                              }
    {==============================================================================}
    {                                                                              }
    {                        DO NOT DELETE BELOW THIS LINE                         }
    {                        (* A                                                  }
    {                         .--.      .                   .                      }
    {                         |   )    _|_                 _|_                     }
    {                         |--:  .-. |  .--.--. .-.  .--.|  .-. .--.            }
    {                         |   )(   )|  |  |  |(   ) `--.| (.-' |               }
    {                         '--'  `-' `-''  '  `-`-'`-`--'`-'`--''               }
    {                                                 script production*)          }
    {                                                                              }
    {              ADD LIST OF CONTRIBUTERS/EDITORS/MODIFIERS HERE:                }
    //Okay, after the above you can start editing again :P
    {------------------------------------------------------------------------------}

    This new version of the RS player counter has numerous bugfixes. It can now size down intervals to seconds and has a less detectible client name. Here's some of the new things:

    • Script now graphes correctly
    • The graph now has reference lines so you now know approximately what the data is
    • The debug image now remains as small as possible
    • You can specify the intervals in seconds
    • You can now choose how many samles you want to take!
    • No more runtime errors and failsafes


    Some bugfixes from version 1.2:

    • Script doesn't graph reverse anymore
    • Script doesn't make debug window go half accross the screen
    • If the script fails to retreive runescape.com, it puts -1 as value


    Oh, and you may realize that I disabled the export-to-file feature; this is because it doesn't make sense unless you gather consecutive data. Loading a file and then adding to it, I don't see any good in that (unless you JUST want to analyze it, in which case I'd make a screenshot).

    Anyways, hope you like it. And post some reports!!! Here's my first one, I ran 15 second interval on a proxy (don't do this on your home comp - you'll get IP banned) and 500 recordings at 1000 resolution:



    And by the way: The grey lines are 20 pixels appart both horizontally and vertically. This can help you to figure out when the script started and ended!

    Don't forget to:


    It's been a while... but I'm BACK!!!

  2. #2
    Join Date
    Dec 2006
    Location
    Helsinki, Finland
    Posts
    177
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  3. #3
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Heh, thanks . Next version will log worlds and record time started. I hope to redo the save-to-file feature soon and make it so you can actually SAVE data and piece it together after.

    It's been a while... but I'm BACK!!!

  4. #4
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    OMFGZ0R PlayerFickingCounter 2!
    lol
    Nice work, looks rly great

    EDIT (After testing, lol):
    Nice script, rly, very good idea, nice presentation and everything, good job

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Heh Awesome script! Very fun to play with =)
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ran it for 24 hours straight. Seems to me like Americans are the hardest RS players; at 5pm EST, the graph shot up like a rocket. Just when all those american kids finished their homework XD. Also, you can actually see the stairstep-type increase in players when the timezone shifts .

    Kinda ironic, game developed in britain is played mostly in america.

    EDIT: BTW, forgot to take screeny . 24 hours of computing time wasted. BTW Freddy, how can I add parameters to new threads? I mean, a variable as parameter, not raw data. Cause everytime I try it it gives me a runtime error.

    It's been a while... but I'm BACK!!!

  7. #7
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Take a look at this:



    It says that clients are no longer allowed to parse content of the RS website. Hmm, wonder why it consumes so many resources... I guess some people went nuts running this script. Could technically be considered a DDOS attack. If the interval is set too low, you will piss jagex off.

    I can't stress this enough: DON'T SET THE INTERVAL TOO LOW! YOU WILL EVENTUALLY GET THE RS SERVER DOWN.

    Imagine several people doing this at once (say, 20 people run the script consecutively) with interval 2 secs. That means jagex will get an average of 20*2 more requests per second. It adds up. It literally DDOS's them, even though it's unintentional. DO NOT DO IT. Please!

    It's been a while... but I'm BACK!!!

  8. #8
    Join Date
    Apr 2006
    Location
    I live in NH
    Posts
    611
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    lol

    Nice script man! My own group of 20 deviants, have set the interval to zero and are at a mass protest by parsing parts of the RS website!

    They seem to make a new rule and like always, nobody really cares. SwiftSwitch is still going to grab stats off the RS high scores. What Jagex should do is create a "Software-Friendly" page for everything. Which is pretty much like a printer friendly page. Less data to show, less bandwidth used up. And also, faster scripts!

    Edit: I just read that image you posted and heh the SwiftSwitch admin said the exact same thing as me.

  9. #9
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by botmaster View Post
    Take a look at this:



    It says that clients are no longer allowed to parse content of the RS website. Hmm, wonder why it consumes so many resources... I guess some people went nuts running this script. Could technically be considered a DDOS attack. If the interval is set too low, you will piss jagex off.

    I can't stress this enough: DON'T SET THE INTERVAL TOO LOW! YOU WILL EVENTUALLY GET THE RS SERVER DOWN.

    Imagine several people doing this at once (say, 20 people run the script consecutively) with interval 2 secs. That means jagex will get an average of 20*2 more requests per second. It adds up. It literally DDOS's them, even though it's unintentional. DO NOT DO IT. Please!
    Lol! Dude think about it. Their servers can hold SO MUCH more than a few little computers. But yeah, I'm gotta see this.

    Oh and also when you said
    { to the name of your client. You should choose something ordinary so RS }
    { doesn't suspect anything. }
    They can't see your window names. You could name the window "I'm cheating on RuneScape! From Kaitnieks." and they couldn't see it

  10. #10
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bullzeye95 View Post
    [...]Oh and also when you said They can't see your window names. You could name the window "I'm cheating on RuneScape! From Kaitnieks." and they couldn't see it
    Actually, it doesn't set the window name. It sets the name of the client connecting to RS, which is the header information of the client's request to the server. It contains your IP, too, but I don't think you can edit that. And if you did, the server would send the information to the fake IP, so some innocent guy over the ocean would receive stuff he doesn't want to. BTW, this is basis of a man-in-the middle attack.

    It's been a while... but I'm BACK!!!

  11. #11
    Join Date
    Jan 2007
    Location
    Ausrtalia, Melbourne
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow

  12. #12
    Join Date
    Jan 2007
    Location
    Ausrtalia, Melbourne
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    and btw im a chicken which sucks(sorry for spamming) how do i become a King Black Dragon

  13. #13
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    well 1st off '03-16-2007' was the last post, way to bump a 6 month old thread, and also you need posts to not be a chicken...

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  14. #14
    Join Date
    Jan 2007
    Location
    Ausrtalia, Melbourne
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty

  15. #15
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    And you need to stop double posting too :@


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  16. #16
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Actually, it doesn't set the window name. It sets the name of the client connecting to RS, which is the header information of the client's request to the server. It contains your IP, too, but I don't think you can edit that. And if you did, the server would send the information to the fake IP, so some innocent guy over the ocean would receive stuff he doesn't want to. BTW, this is basis of a man-in-the middle attack.
    Sounds leet.


    The script isnt so big that I thought, but your Debug Img - the "report" is the coolest thing printed on debug image I've ever seen!

    EDIT:
    I've left the forums. Permanently.
    Oww ;( then you wont be seeing this.

  17. #17
    Join Date
    Mar 2007
    Posts
    674
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Nice, Still this is the only rs counter i know of, lol

  18. #18
    Join Date
    Oct 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Pretty sweet script

  19. #19
    Join Date
    Sep 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha, sweet script i'll try it after school

  20. #20
    Join Date
    Oct 2007
    Location
    Atlantis with u'r girlfriend
    Posts
    251
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    does anyone have the decency to run this on an average week. i would really like total population data. it would also be nice to see world specific data. im going to make one of these that logs into an xml file each world, possibly in as3 or if i get oround to it in c++ using WPF. its definitely in my list of things to do. an ever lasting php script running on a server might be a better choice.

  21. #21
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by man slaughter View Post
    does anyone have the decency to run this on an average week. i would really like total population data. it would also be nice to see world specific data. im going to make one of these that logs into an xml file each world, possibly in as3 or if i get oround to it in c++ using WPF. its definitely in my list of things to do. an ever lasting php script running on a server might be a better choice.
    10-26-2007, 03:23 PM Nice bump...?


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  22. #22
    Join Date
    Jul 2007
    Location
    Players[CurrentPlayer].Loc:='Bank'
    Posts
    875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by botmaster View Post
    Take a look at this:



    It says that clients are no longer allowed to parse content of the RS website. Hmm, wonder why it consumes so many resources... I guess some people went nuts running this script. Could technically be considered a DDOS attack. If the interval is set too low, you will piss jagex off.

    I can't stress this enough: DON'T SET THE INTERVAL TOO LOW! YOU WILL EVENTUALLY GET THE RS SERVER DOWN.

    Imagine several people doing this at once (say, 20 people run the script consecutively) with interval 2 secs. That means jagex will get an average of 20*2 more requests per second. It adds up. It literally DDOS's them, even though it's unintentional. DO NOT DO IT. Please!
    I hope that was a joke....... That's so wrong its not even funny.....
    Quote Originally Posted by sirlaughsalot
    .... Obama had the devil jump out of his ass, run and stab Hillary in the back...
    ILMMTYAEAFHPY.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SRL 4 Released.
    By WT-Fakawi in forum News and General
    Replies: 254
    Last Post: 04-19-2009, 02:11 AM
  2. SRL 3.6 is released...
    By Dankness in forum News and General
    Replies: 29
    Last Post: 12-31-2006, 03:21 AM
  3. I-Bot 2 released + vid
    By ruler in forum News and General
    Replies: 5
    Last Post: 10-18-2006, 10:22 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
  •