thrash-boy Posted February 28, 2006 Share Posted February 28, 2006 hey, i was just thinking. I have this website of mine: http://www.freewebs.com/thrashboyrs and i was wondering if nayone had s cript that would get all my stats from runescape hiscores, and put them on the website. I would like one that would do rank, lvl and total xp on that skill. Thanks!!! P.S. Ill credit you on the page if you give me a script Link to comment Share on other sites More sharing options...
dwarfie76 Posted February 28, 2006 Share Posted February 28, 2006 http://search.cpan.org/~madcoder/Runesc ... e/Stats.pm It's not mine, so don't go crediting me with anything, but that should give you everything you need. All the source code is there - freeware so you can use it without royalties - as well as instructions for use. Link to comment Share on other sites More sharing options...
Ks_Jeppe Posted February 28, 2006 Share Posted February 28, 2006 http://search.cpan.org/~madcoder/Runescape-Stats-0.03/lib/Runescape/Stats.pm It's not mine, so don't go crediting me with anything, but that should give you everything you need. All the source code is there - freeware so you can use it without royalties - as well as instructions for use.I dont think he can use that on freewebs? :P If i remember correctly, they dont even allow PHP scripts... Link to comment Share on other sites More sharing options...
dwarfie76 Posted February 28, 2006 Share Posted February 28, 2006 Then he'd be looking at recoding it using client-side scripting which would be a righteous pain in the behind. Possible - using the MSXML component for IE and the corresponding XML classes for firefox to fire off the HTTP requests, then using regular expressions to work through the results. Still... the Perl script gives a good outline of what needs to be done to achieve it. Link to comment Share on other sites More sharing options...
thrash-boy Posted March 1, 2006 Author Share Posted March 1, 2006 lol that seems really technical to me. I was just thinking it would be as easy to copy and paste a bit of code here and there, and maybe change a bit here and there to suit my username Link to comment Share on other sites More sharing options...
dwarfie76 Posted March 1, 2006 Share Posted March 1, 2006 lol that seems really technical to me. I was just thinking it would be as easy to copy and paste a bit of code here and there, and maybe change a bit here and there to suit my username Well, the quick and dirty way is to grab the code for one of the auto-generated stats images that people use as signatures - and display it on your website. Most of them have the ability to customise the colours etc to fit into your site's colour scheme. Link to comment Share on other sites More sharing options...
thrash-boy Posted March 2, 2006 Author Share Posted March 2, 2006 yea thats what ive got already, and i think ill stick with it. 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