Jump to content

RSParse v1.0


uzegonemad2

Recommended Posts

I just got bored and created a stat parser for runescape.

 

 

 

This displays all user stats over level 30.

 

 

 

Example

 

 

 

Screenshot:

 

 

 

screenshot_thumb.gif

 

(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.

Link to comment
Share on other sites

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.

 

"]doughnutt.jpg

 

Follow the doughnut to my blog! :D

Link to comment
Share on other sites

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 theaters
Ard Choille says (11:41 PM):

I wouldn't dare tell you what to do m'dear

Link to comment
Share on other sites

Nice and simple but I don't see a use for most people here other than perhaps implementing it into another script.

612d9da508.png

Mercifull.png

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

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.