• 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!

Promoted Players Problem

russogracie

New Member
Joined
Sep 9, 2010
Messages
205
Reaction score
2
My config vocations is this:

1- Master Sorcerer
2- Elder Druid
3- Royal Paladin
4- Elite Knight
5- Wizard
6- Shaman
7- Supreme Archer
8- Gladiator

Script:

Code:
<?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="Master Sorcerer" description="a master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="5" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="0">
                <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="2" name="Elder Druid" description="an elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="5" gainhpamount="50" gainmanaticks="5" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="0">
                <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.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
        </vocation>
        <vocation id="3" name="Royal Paladin" description="a royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="5" gainhpamount="50" gainmanaticks="5" gainmanaamount="75" manamultiplier="1.4" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="0">
                <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.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
        </vocation>
        <vocation id="4" name="Elite Knight" description="an elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="5" gainhpamount="150" gainmanaticks="5" gainmanaamount="50" manamultiplier="3.0" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="0">
                <formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
                <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
        </vocation>
        <vocation id="5" name="Wizard" description="an wizard" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="75" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="0">
                <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="6" name="Shaman" description="an shaman" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="75" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="0">
                <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.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
        </vocation>
        <vocation id="7" name="Supreme Archer" description="an supreme archer" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="75" manamultiplier="1.4" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="0">
                <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.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
        </vocation>
        <vocation id="8" name="Gladiator" description="an gladiator" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="1" gainhpamount="150" gainmanaticks="1" gainmanaamount="50" manamultiplier="3.0" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="0">
                <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.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
        </vocation>
</vocations>




I got this error if the player is shaman, gladiator, supreme archer or wizard:

voc.png


I use TFS 0.4 REV 3777
 
Check this at your config.php located at C:\wamp\www\config.php or C:\xampp\htdocs\config.php

PHP:
/*List of vocation that exists on server*/
$config['server_vocations'] = array(0=>"None", 1=>"Master Sorcerer", 2=>"Elder Druid", 3=>"Royal Paladin", 4=>"Elite Knight", 5=>"Wizard", 6=>"Shaman", 7=>"Supreme Archer", 8=>"Gladiator");

/*List of promotions, the key is vocation without promotion*/
$config['promotions'] = array(1=>"Wizard", 2=>"Shaman", 3=>"Supreme Archer", 4=>Gladiator");

in the same file change this one too
PHP:
$config['newchar_vocations'][0][0] = "Rook Sample";
$config['newchar_vocations'][0][1] = "Master SorcererSample";
$config['newchar_vocations'][0][2] = "Elder Druid Sample";
$config['newchar_vocations'][0][3] = "Royal Paladin Sample";
$config['newchar_vocations'][0][4] = "Elite Knight Sample";
$config['newchar_vocations'][1][0] = "Rook Sample";
$config['newchar_vocations'][1][1] = "Master Sorcerer Sample";
$config['newchar_vocations'][1][2] = "Elder Druid Sample";
$config['newchar_vocations'][1][3] = "Royal Paladin Sample";
$config['newchar_vocations'][1][4] = "Elite Knight Sample";


Copy and paste it at config.php

rep me if i help you.



Regards,
bica :D
 
Last edited:
Back
Top