Danny_
Evora Project Dev
All my first four vocations works as they should! Which is awesome
But my 5th vocation just keeps loading when I hit the button "Create"
I've tried to get this fixed, tried lots of things....
So I hope you can help me!
This Is inside Config.php --- I'm using ModernAAC with Linux Ubuntu -- I posted 3 different "lines" because I didn't want to Ctrl + A / Ctrl + V my database information xD
Vocations.xml here:
But my 5th vocation just keeps loading when I hit the button "Create"
I've tried to get this fixed, tried lots of things....
So I hope you can help me!
This Is inside Config.php --- I'm using ModernAAC with Linux Ubuntu -- I posted 3 different "lines" because I didn't want to Ctrl + A / Ctrl + V my database information xD
Lua:
/*List of vocation available to choose when creating new character*/
$config['vocations'] = array(1=>"Elementalist", 2=>"Ranger", 3=>"Warrior", 4=>"Guardian", 5=>"Nymph");
-----------------------
/*List of vocation that exists on server*/
$config['server_vocations'] = array(0=>"None", 1=>"Elementalist", 2=>"Ranger", 3=>"Warrior", 4=>"Guardian", 5=>"Nymph", 6=>"Elder Druid", 7=>"Royal Paladin", 8=>"Elite Knight", 9=>"Master Sorcerer");
-----------------------
/*Names of vocations as in database as samples. First key is world id and second vocation id.*/
$config['newchar_vocations'][0][0] = "Rook Sample";
$config['newchar_vocations'][0][1] = "Sorcerer Sample";
$config['newchar_vocations'][0][2] = "Druid Sample";
$config['newchar_vocations'][0][3] = "Paladin Sample";
$config['newchar_vocations'][0][4] = "Knight Sample";
$config['newchar_vocations'][1][0] = "Rook Sample";
$config['newchar_vocations'][1][1] = "Sorcerer Sample";
$config['newchar_vocations'][1][2] = "Druid Sample";
$config['newchar_vocations'][1][3] = "Paladin Sample";
$config['newchar_vocations'][1][4] = "Knight Sample";
$config['newchar_vocations'][0][5] = "Nymph Sample";
Vocations.xml here:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<vocations>
<vocation id="0" name="None" description="none" needpremium="0" gaincap="5"
gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1"
manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0"
attackable="no">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0"
shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="1" name="Elementalist" description="a Elementalist" needpremium="0" gaincap="10"
gainhp="5" gainmana="35" gainhpticks="6" gainhpamount="10" gainmanaticks="2"
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120"
fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.3" sword="2.0" axe="2.0" distance="2.0"
shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="2" name="Ranger" description="a Ranger" needpremium="0" gaincap="15"
gainhp="10" gainmana="10" gainhpticks="4" gainhpamount="10" gainmanaticks="4"
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120"
fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.3" sword="2.0" axe="2.0" distance="1.1"
shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="3" name="Warrior" description="a Warrior" needpremium="0"
gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="10" gainmanaticks="7"
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120"
fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="0.7" magDefense="1.0" armor="0.7"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4"
shielding="1.4" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="4" name="Guardian" description="a Guardian" needpremium="0"
gaincap="25" gainhp="20" gainmana="5" gainhpticks="3" gainhpamount="10" gainmanaticks="7"
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120"
fromvoc="4">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="0.7" magDefense="1.0" armor="0.7"/>
<skill fist="1.1" club="1.2" sword="1.2" axe="1.2" distance="1.4"
shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="5" name="Nymph" description="a Nymph" needpremium="0" gaincap="10"
gainhp="5" gainmana="35" gainhpticks="6" gainhpamount="10" gainmanaticks="2"
gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120"
fromvoc="5">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0"
magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.3" sword="2.0" axe="2.0" distance="2.0"
shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
</vocations>