C# Runescape Highscore Lookup

Discussion in 'Programming General' started by Merv, Jun 18, 2011.

C# Runescape Highscore Lookup
  1. Unread #1 - Jun 18, 2011 at 11:20 AM
  2. Merv
    Joined:
    Mar 2, 2010
    Posts:
    443
    Referrals:
    0
    Sythe Gold:
    0

    Merv Forum Addict

    C# Runescape Highscore Lookup

    Hey guys, I've been browsing the net for a RS Highscore lookup library but there all old and don't work, I was wondering if anyone had the code or the library which I could use to further my project.

    Thanks

    P.S - http://sythe.org/showthread.php?t=743168 <- the links are broken in this thread
     
  3. Unread #2 - Jun 21, 2011 at 2:17 AM
  4. crackmyknuckles
    Joined:
    Jan 9, 2009
    Posts:
    15
    Referrals:
    0
    Sythe Gold:
    0

    crackmyknuckles Newcomer

    C# Runescape Highscore Lookup

    Rather than giving you a complete project I'll follow the old proverb of a man being taught to fish eating forever and guide you.

    JaGeX provides various fan-sites with a 'light' version of the Highscores for this kind of thing, which exposes a easily parsed text file which includes all stats (level, rank, EXP) and MiniGame standings. This version can be accessed at:

    Code:
    http://hiscore.runescape.com/index_lite.ws?player=
    Where you add the players name at the end of the URL like so:

    Code:
    http://hiscore.runescape.com/index_lite.ws?player=Zezima
    Now if you type this in you get a lot of numbers and such but by comparing these numbers with the regular Highscores you can find the format of the data and parse it with calls to String.Split() or by using REGEX.

    Now from here you're on your own, the mind only learns by making mistakes, so make some mistakes and figure out what works.
     
  5. Unread #3 - Jun 21, 2011 at 3:01 AM
  6. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    C# Runescape Highscore Lookup

    Tips: think about what you need to do, and ways you can do it. If you don't understand what you're doing, you can't expect to do it. Something like this is intuitively simple: You're dealing with a HTML page with data you need. All you need to do is download that webpage (the lazy approach is to use the WebClient object) and separate the data using string manipulation as in the aforementioned post.

    If you can't do that, learn how to. If you can't learn, don't expect to call yourself a programmer.
     
  7. Unread #4 - Jun 21, 2011 at 3:17 AM
  8. Norco Milk
    Joined:
    Mar 19, 2011
    Posts:
    357
    Referrals:
    0
    Sythe Gold:
    0

    Norco Milk Forum Addict
    Trade With Caution

    C# Runescape Highscore Lookup

    You should try playing runescape in Swift Kit .. It has a hiscores look up on the side +heaps of other things
     
  9. Unread #5 - Jun 21, 2011 at 5:45 AM
  10. Merv
    Joined:
    Mar 2, 2010
    Posts:
    443
    Referrals:
    0
    Sythe Gold:
    0

    Merv Forum Addict

    C# Runescape Highscore Lookup

    Thanks guys, that's helped
     
  11. Unread #6 - Jun 21, 2011 at 5:47 AM
  12. Merv
    Joined:
    Mar 2, 2010
    Posts:
    443
    Referrals:
    0
    Sythe Gold:
    0

    Merv Forum Addict

    C# Runescape Highscore Lookup

    This is understandable thanks, already made sense of the file, just couldn't find the correct link to enter players names
     
  13. Unread #7 - Jun 26, 2011 at 12:23 AM
  14. slurpaderp
    Joined:
    Jun 25, 2011
    Posts:
    13
    Referrals:
    0
    Sythe Gold:
    0

    slurpaderp Newcomer

    C# Runescape Highscore Lookup

    who even looks here i just wanna post in the spam forum. double, triple, fuck posttttt
     
  15. Unread #8 - Jun 26, 2011 at 12:23 AM
  16. slurpaderp
    Joined:
    Jun 25, 2011
    Posts:
    13
    Referrals:
    0
    Sythe Gold:
    0

    slurpaderp Newcomer

    C# Runescape Highscore Lookup

    who even looks here i just wanna post in the spam forum. double, triple, fuck posttttt
     
  17. Unread #9 - Nov 18, 2011 at 11:49 AM
  18. MonsterMMORPG
    Joined:
    Nov 18, 2011
    Posts:
    169
    Referrals:
    0
    Sythe Gold:
    25

    MonsterMMORPG Active Member

    C# Runescape Highscore Lookup

    use htmlagilitypack and write your own parser :)
     
  19. Unread #10 - Nov 25, 2011 at 10:54 PM
  20. Moglizorz
    Joined:
    Mar 15, 2009
    Posts:
    95
    Referrals:
    0
    Sythe Gold:
    0

    Moglizorz Member

    C# Runescape Highscore Lookup

  21. Unread #11 - Mar 29, 2012 at 3:13 AM
  22. AAASeller
    Joined:
    Mar 29, 2012
    Posts:
    12
    Referrals:
    0
    Sythe Gold:
    0

    AAASeller Newcomer

    C# Runescape Highscore Lookup

    don't need use regex,but string.split to parse it is ok
     
< "Etch a Sketch" Help | [FREE]Source Code for RSDropLogger! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site