Help - Search - Members - Calendar
Full Version: Help:: How Do You Put A Skill Calculator Onto Your Website
Sal's RuneScape Forum > Everything... Not RuneScape > Tech Talk > Programming & Web Development
warriorZ
Ok, I'm making a website and I wanted to put a skill calculator on to it. But I dont know how.
I'm using weebly (Just in case).
Can A Computer Expert Help Me??? mellow.gif
Topdog
You'll have to either program a calculator yourself or get someone else to do it for you. You can get some help from people in the Tech forums a few categories down. And to my knowledge, you can't use the skill calculators on this site on your own.
Agent F
The easiest way is probably to use either or a combination of PHP and JavaScript, though you'll need to learn the basics. Consult the sticky atop this board for resources. Once you learn the basics and get an idea of how it'll work, come back to us with specific questions.
Yippee
QUOTE (Agent F @ Aug 4 2009, 02:43 PM) *
The easiest way is probably to use either or a combination of PHP and JavaScript, though you'll need to learn the basics. Consult the sticky atop this board for resources. Once you learn the basics and get an idea of how it'll work, come back to us with specific questions.

Actually, the easiest way is probably with Flash, but the tool to create it costs $800 or something. Not cheap, lol. There's Adobe Flash Catalyst Beta, but it has problems, and there's not many tutorials on how to use it, considering how new it is. I would use PHP. You won't need JavaScript unless you want to create cookies on the users computers to remember their username for future visits to the calculators. You could use JavaScript instead of PHP for all of it, but PHP is easier to learn and remember, and it's supported by every browser regardless of the user's settings, since it's translated by the server, not the user's computer. The best way to learn PHP 5 in my opinion is to download the e-book version of PHP 5 for Dummies. Most other books mainly deal with using PHP with the MySQL databases, which you won't need.
Agent F
I disagree that using Flash would probably be the easiest for you and best for the end user. Flash applications are larger than a RS calculator script in PHP would be, so the end user would have longer load times. JavaScript is supported by every major web browser, while users need to install the flash extension before it can be used. There are also a plethora of resources available around the web specific to creating Runescape experience calculators in PHP. Using JavaScript or AJAX can speed things up because they can shorten the number of page loads for the user. I'd go with combining PHP and JavaScript.
error404
I tried programming a skill calculator, it failed, it looked dodgy and was majorly slow. Plus it only gave you a rounded off answer.
Kwinten
QUOTE (error404 @ Aug 5 2009, 08:14 AM) *
I tried programming a skill calculator, it failed, it looked dodgy and was majorly slow. Plus it only gave you a rounded off answer.

Nothing that can't be fixed. You can simply use a tiny PHP code that doesn't round off the numbers.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.