February 28, 200620 yr 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
February 28, 200620 yr 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.
February 28, 200620 yr 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...
February 28, 200620 yr 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.
March 1, 200620 yr Author 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
March 1, 200620 yr 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.
Create an account or sign in to comment