Adblock breaks this site

Total Players [PHP/VB-Inet]

Discussion in 'Programming General' started by SidStudios, Feb 9, 2008.

  1. SidStudios

    SidStudios Active Member

    Joined:
    Mar 14, 2007
    Posts:
    201
    Referrals:
    0
    Sythe Gold:
    0
    Total Players [PHP/VB-Inet]

    I've just created a nifty little script which grabs the total number of players from the Runescape website.

    If you want to include it in your Visual Basic apps, feel free to do so, you can see it in action at:
    http://hacktalk.org/wp-content/external/runescape.totalplayers.php

    It just includes numbers and nothing more, no HTML formatting, so you can customize how it looks inside the client itself.
     
  2. hmm

    hmm Active Member

    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5
    Total Players [PHP/VB-Inet]

    pretty neat, thanks.

    but we would still have to browse a page/link either way we did it.
    splitting works just aswell.
    Code:
    textbox1.text = split(split(strdata, "There are currently ")(1), " people playing!")(0)
    
    assuming strdata had the page source on it..code should work i did it off the top of my head so iono..
     
  3. SidStudios

    SidStudios Active Member

    Joined:
    Mar 14, 2007
    Posts:
    201
    Referrals:
    0
    Sythe Gold:
    0
    Total Players [PHP/VB-Inet]

    Right, but that's in VB isn't it?
    Actually, that is a pretty neat command, but I don't think it exists in many languages; that's why I thought this would be particularly useful.
     
  4. hmm

    hmm Active Member

    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5
    Total Players [PHP/VB-Inet]

    nah it works in both vb/vb.net
    i'm sure the C languages aswell as java or whatever, can do the same thing.
    the code is just different for each.
     
< Need Help Making Web Browser | Need Serious Help >


 
 
Adblock breaks this site