2014-05-23 02:57:55 +02:00
2014-05-22 17:32:54 -07:00
2014-05-23 02:57:55 +02:00

Archeage-Skills-Calculator

A pure php/javascript skill calculator for the game Archeage. Very easy to implement and to use. A basic webpage is set up at http://s285114191.onlinehome.fr/AASkillsCalculator/.

The PHP file is used to create the basic setup, the 3 lists, the button and the hidden content. The JS file takes care of every interaction, create the link and also read the - if existed - parameter and display the page accordingly.

Nothing but pure PHP / JS was used because it is not a big project and so you can use it without loading / installing anything else.

What's missing

The XML file is currently filled with false content. The same image and description is used for everything. The XML format is described further.

Implement the calculator

It's very easy, all you need to do is include the PHP file, the JS file and the CSS file.

require_once 'class/AASkillsCalculator.php';

<link rel="stylesheet" type="text/css" href="css/style_aaSkillsCalculator.css">
<script type="text/javascript" src="js/aa_skillsCalculator.js"></script>

Then you call the getTree() method to generate the 3 lists and everything, afterwards the JS file takes care of everything.

echo $AASkillsCalculator->getTree();

After this, you are good to go.

S
Description
A pure php/javascript skill calculator for the game Archeage. Very easy to implement and to use.
Readme MIT
57 KiB
Languages
JavaScript 58.4%
PHP 33%
CSS 8.6%