Jump to content

Non-.NET stats lookup needed


jonavolaii

Recommended Posts

I am building an open source knock-off of swiftkit, mainly cause they are vendor locked to windows...

 

It is being built on GTK (Hooray for linux/mac! down with ms!), and python.

 

After a few days of building the GUI and bug-solving I've come to the real work... getting it to do something.

 

I need a short & sweet python script to find the highscores data (Not the HTML data, the long-lost syndicated data) and load it into the famous skills table.

 

Anyone know how to get it? (I can't even find the page with the data on it never mind use an app to grab it)

Link to comment
Share on other sites

The URL to pull the data off of is :

http://hiscore.runescape.com/index_lite.ws?player=username

 

Unfortunately, my programming/.Net knowledge isn't enough to answer the other question. But good luck with this project!

~Dan

overall-1.png: 1437 combat.png: 173
Lowest Combat to 1,000 Total in F2P (23 Combat)
2r8i4.png
Check me out on YouTube!

Link to comment
Share on other sites

The URL to pull the data off of is :

http://hiscore.runescape.com/index_lite.ws?player=username

 

Unfortunately, my programming/.Net knowledge isn't enough to answer the other question. But good luck with this project!

~Dan

Thanks! Found it!

 

Now I want to split the string into an array (first by spaces for each skill/stat, then by commas for each value), so how do I get xp till next level? Make a list with xp values and then feed it the level value to find the xp at next level and subtract?

 

stats.split(" ")
foreach(stat in stats)
   stats[stat] = stat.split(",")
   stat.append(stat[1] - xp_per_level[stat[0]])

Link to comment
Share on other sites

It is being built on GTK (Hooray for linux/mac! down with ms!),

 

Sorry just had to pounce on this to say;

Everything windows does, Linux is better at.

Even playing PC games.

I dont need a siggy no moar.

Link to comment
Share on other sites

It is being built on GTK (Hooray for linux/mac! down with ms!),

 

Sorry just had to pounce on this to say;

Everything windows does, Linux is better at.

Even playing PC games.

 

tell tht to my bro.

 

Hw put linux on his desktop and corrupted the harddrive.

 

He put it on his laptop and it caught fire.

Plv6Dz6.jpg

Operation Gold Sparkles :: Chompy Kills ::  Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA Rewards

Dragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue

Link to comment
Share on other sites

I thought you werent lol... Ive had trouble with vista running in compatibility mode... even with fixes... And linux came to the rescue :)

 

To avoid a "Flame for fun" fest...

 

Will compile a small windows exe for you potential users, its very much concept stage, but imagine the endgame where its got everything swiftkit has, faster, better...

 

Ok, so thats a long way off :P

 

Anyway, will incorporate this, and resurrect post when further assistance needed :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.