D
Dustinscape
I want to make a program that takes the character stats from the
runescape highscore website (by the user entering their name) and then
takes their levels and adds them to the corrisponding int value
ex.
int woodcutting = 50
int firemaking = 50
the site can be manipuluated to view the levels of individual
characters by adding the user name at the end of the below URL
http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=usernamehere
Here is the pseudo code version of my program
1) user inputs name, name is put into char value name
2) the name value is then placed at the end of this url which is read
by the program
http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=dustin
3) the program searches through the text on the page and finds the
corrisponding levels with their corresponding values. Probably useing a
quicksort/mergesort/binary search method
int Overall
int Attack
int Defence
int Strength
int Hitpoints
int Ranged
int Prayer
int Magic
int Cooking
int Woodcutting
int Fletching
int Fishing
int Firemaking
int Crafting
int Smithing
int Mining
int Herblore
int Agility
int Thieving
int Slayer
int Farming
int Runecraft
4) easy codeing from there on, the program outputs those values and
outputs them
I was wondering if anyone knew of java code that took information from
other sites after manipulating the code, preferably some code that
would match this concept for my site, however all ideas are greatly
appreciated
runescape highscore website (by the user entering their name) and then
takes their levels and adds them to the corrisponding int value
ex.
int woodcutting = 50
int firemaking = 50
the site can be manipuluated to view the levels of individual
characters by adding the user name at the end of the below URL
http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=usernamehere
Here is the pseudo code version of my program
1) user inputs name, name is put into char value name
2) the name value is then placed at the end of this url which is read
by the program
http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=dustin
3) the program searches through the text on the page and finds the
corrisponding levels with their corresponding values. Probably useing a
quicksort/mergesort/binary search method
int Overall
int Attack
int Defence
int Strength
int Hitpoints
int Ranged
int Prayer
int Magic
int Cooking
int Woodcutting
int Fletching
int Fishing
int Firemaking
int Crafting
int Smithing
int Mining
int Herblore
int Agility
int Thieving
int Slayer
int Farming
int Runecraft
4) easy codeing from there on, the program outputs those values and
outputs them
I was wondering if anyone knew of java code that took information from
other sites after manipulating the code, preferably some code that
would match this concept for my site, however all ideas are greatly
appreciated