• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help with Third vocation

lsenturion

New Member
Joined
Jul 21, 2013
Messages
27
Reaction score
0
Hi!! greetings from México!

I have a great problem with my third vocation con my server 8.60.

I have my ot with webpage. And when i do the third promotion... The VOC. Change to "NOTHING" i have muy samples good. And the vocations.XML same. I don know this problem! Some can help me please??
 
What aac are you using? You need to edit the .php that contains the vocations. In my it's config and looks like this:
Code:
$config['vocations'] = array(
        0 => 'No vocation',
        1 => 'Sorcerer',
        2 => 'Druid',
        3 => 'Paladin',
        4 => 'Knight',
        5 => 'Master Sorcerer',
        6 => 'Elder Druid',
        7 => 'Royal Paladin',
        8 => 'Elite Knight',
        9 => 'Sorcerer of Heaven',
        10 => 'Druid of Heaven',
        11 => 'Paladin of Heaven',
        12 => 'Knight of Heaven',
    );
Where 9, 10, 11, 12 is my custom vocations.

Tell what website ou're using maybe we can locate this .php :)
 
Code:
// list of vocations on ots (world 0)
$vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 5 => 'Ninja'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0
$vocation_name[0][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Mystic Ninja'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 0
$vocation_name[0][2] = array(1 => 'Dark Wizard', 2 => 'Winter Alchemist', 3 => 'Archer Master', 4 => 'Alfa Warmaster', 5 => 'Shadow Ninja'); // id => 'name' , $vocation_name[2] - promotion level 2, $vocation_name[0] - for world ID 0
// list of vocations on ots (world 1)
$vocation_name[1][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[1] - for world ID 1
$vocation_name[1][1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Mystic Ninja'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[1] - for world ID 1
 
Code:
    <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2.5" gainmanaamount="45" manamultiplier="1.1" attackspeed="800" 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" armor="1.0"/>


    <vocation id="6" name="Master Sorcerer" description="a master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="30" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.1" attackspeed="650" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30">
        <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/>


    <vocation id="11" name="Dark Wizard" description="a Dark Wizard" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="40" gainmanaticks="2" gainmanaamount="70" manamultiplier="1.1" attackspeed="460" soulmax="299" gainsoulticks="15" fromvoc="1" lessloss="30">
        <formula meleeDamage="1.0" distDamage="1.0" wandDamage="2.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0"/>
 
As I said fromvoc="1" in vocations.xml for those lines is incorrect, from what I see , you have 5 vocations, so the first promotion is correct, id 1 and id 6 should be fromvoc="1" but id 11 should be fromvoc="6"

It's not a website issue.
 
Back
Top