uzegonemad2 Posted August 12, 2007 Share Posted August 12, 2007 I just got bored and created a stat parser for runescape. This displays all user stats over level 30. Example Screenshot: (Click to Enlarge) [hide=Click to view code]<?php ############################## #RSParse created by Uzegonemad2 #Do whatever you want with this baby, just please #leave the original copyright in place ############################## $username = $_GET['user']; $skillName = array("Total", "Attack", "Defense", "Strength", "Hitpoints", "Ranging", "Prayer", "Magic", "Cooking", "Woodcutting", "Fletching", "Fishing", "Firemaking", "Crafting", "Smithing", "Mining", "Herblore", "Agility", "Thieving", "Slayer", "Farming", "Runecraft", "Hunting", "Construction"); if($username == ''|| !isset($username)) { echo 'please enter a username. syntax: filename.php?user=username'; } else { $getData = "http://hiscore.runescape.com/index_lite.ws?player=".$username; $data = file_get_contents($getData); $skill = explode("\n",$data); ?> </pre><table border="0" cellpadding="0" cellspacing="6">NameRankLevelXP".$skillName[$x]."---".$skillName[$x]."".$skillRank."".$skillDivided[1]."".number_format($skillDivided[2])."</table>";<br><br>}<br><br[/hide] edit: removed the download link and posted the actual code. php-based runescape parser Link to comment Share on other sites More sharing options...
Doughnut Posted August 12, 2007 Share Posted August 12, 2007 I r not going to click that link. :? "A time comes when silence is betrayal" MLKJ Speak your mind, but be civil.Get mad, but do not rage.Do unto others as you would want done to yourself. "] Follow the doughnut to my blog! :D Link to comment Share on other sites More sharing options...
Albosky Posted August 12, 2007 Share Posted August 12, 2007 thats all well and good , but php files dont exactly run on every computer so its rather useless to 99.9% of users I like to fart silently but deadly in movie theatersArd Choille says (11:41 PM):I wouldn't dare tell you what to do m'dear Link to comment Share on other sites More sharing options...
uzegonemad2 Posted August 12, 2007 Author Share Posted August 12, 2007 Well to be honest, most php files are created to be run on servers, not local computers :P edit: with regards to Doughnuts post.. I've removed the download link and am just supplying the code. i realized it's easier to just display the code with a hide tag rather than putting it up as a zip. php-based runescape parser Link to comment Share on other sites More sharing options...
Mercifull Posted August 12, 2007 Share Posted August 12, 2007 Nice and simple but I don't see a use for most people here other than perhaps implementing it into another script. Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 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