jonavolaii Posted October 9, 2009 Share Posted October 9, 2009 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) All good newbies go to Lumbridge, I respawn in Camelot Link to comment Share on other sites More sharing options...
ddaanniiellh Posted October 9, 2009 Share Posted October 9, 2009 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 : 1437 : 173Lowest Combat to 1,000 Total in F2P (23 Combat)Check me out on YouTube! Link to comment Share on other sites More sharing options...
jonavolaii Posted October 9, 2009 Author Share Posted October 9, 2009 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!~DanThanks! 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]]) All good newbies go to Lumbridge, I respawn in Camelot Link to comment Share on other sites More sharing options...
RayOxide Posted October 9, 2009 Share Posted October 9, 2009 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 More sharing options...
Sy_Accursed Posted October 9, 2009 Share Posted October 9, 2009 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. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
RayOxide Posted October 9, 2009 Share Posted October 9, 2009 I was being sarcastic :) I dont need a siggy no moar. Link to comment Share on other sites More sharing options...
jonavolaii Posted October 9, 2009 Author Share Posted October 9, 2009 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 :) All good newbies go to Lumbridge, I respawn in Camelot Link to comment Share on other sites More sharing options...
jonavolaii Posted October 10, 2009 Author Share Posted October 10, 2009 ok! back again! Why doesnt this work?:for count, (skill, stat) in (stats,stats_table): ValueError: too many values to unpack All good newbies go to Lumbridge, I respawn in Camelot Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now