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

Wrong looktype after logout (vocation stay correct)

janiu

New Member
Joined
Apr 23, 2020
Messages
6
Reaction score
0
I used script from:


works perfect, but for example when i make my character voc 4 and looktype 4, after relog my char changing looktype to 1 (but vocation is still set on 4)

lua said:
Trans = {
-- Goku Transforms
{["voc"] = 1, ["newVoc"] = 2, ["looktype"] = 1, ["revertLooktype"] = 1, ["level"] = 50, ["rage"] = 0, ["kiToTrans"] = 10, ["addHp"] = 200, ["addKi"] = 150, ["effectOn"] = 0, ["aura"] = 0, ["constant"] = true},
{["voc"] = 2, ["newVoc"] = 3, ["looktype"] = 2, ["revertLooktype"] = 2, ["level"] = 100, ["rage"] = 0, ["kiToTrans"] = 50, ["addHp"] = 450, ["addKi"] = 300, ["effectOn"] = 0, ["aura"] = 0, ["constant"] = true},
{["voc"] = 3, ["newVoc"] = 4, ["looktype"] = 3, ["revertLooktype"] = 3, ["level"] = 150, ["rage"] = 0, ["kiToTrans"] = 100, ["addHp"] = 1600, ["addKi"] = 900, ["effectOn"] = 0, ["aura"] = 0, ["constant"] = true},
{["voc"] = 4, ["newVoc"] = 5, ["looktype"] = 4, ["revertLooktype"] = 4, ["level"] = 200, ["rage"] = 0, ["kiToTrans"] = 150, ["addHp"] = 2900, ["addKi"] = 2700, ["effectOn"] = 0, ["aura"] = 0, ["constant"] = true},
{["voc"] = 5, ["newVoc"] = 6, ["looktype"] = 5, ["revertLooktype"] = 5, ["level"] = 300, ["rage"] = 0, ["kiToTrans"] = 200, ["addHp"] = 4000, ["addKi"] = 4000, ["effectOn"] = 0, ["aura"] = 0, ["constant"] = true}
}

xml said:
<vocation id="1" name="Goku" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.5" gainhpamount="300" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1">
<formula meleeDamage="8.0" distDamage="8.0" wandDamage="3.0" magDamage="3.5" magHealingDamage="7.0" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="2" name="Goku Ssj" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.0" gainhpamount="600" gainmanaticks="3" gainmanaamount="700" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2">
<formula meleeDamage="15.0" distDamage="15.0" wandDamage="5.0" magDamage="6.5" magHealingDamage="16.0" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="3" name="Goku Ussj" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.0" gainhpamount="1100" gainmanaticks="3" gainmanaamount="900" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="3">
<formula meleeDamage="22.0" distDamage="22.0" wandDamage="8.0" magDamage="9.0" magHealingDamage="23.0" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="4" name="Goku Ssj 2" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.0" gainhpamount="1700" gainmanaticks="3" gainmanaamount="1150" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="4">
<formula meleeDamage="29.0" distDamage="29.0" wandDamage="12.0" magDamage="13.5" magHealingDamage="30.0" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="5" name="Goku Ssj 3" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.0" gainhpamount="2300" gainmanaticks="3" gainmanaamount="1400" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="5">
<formula meleeDamage="37.0" distDamage="37.0" wandDamage="16.0" magDamage="22.5" magHealingDamage="35.5" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>

<vocation id="6" name="Goku Ssj 3 Fury" description="a saiyan" needpremium="0" gaincap="70" gainhp="160" gainmana="150" gainhpticks="3.0" gainhpamount="2900" gainmanaticks="3" gainmanaamount="1800" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="6">
<formula meleeDamage="45.0" distDamage="45.0" wandDamage="20.0" magDamage="25.0" magHealingDamage="42.5" defense="1.1" magdefense="1.3" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.0" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
So when i get voc6, i cannot transform so my character stuck on voc6 and look type1 :( Any solutions?
 
Back
Top