Ir para conteúdo
  • 0

Erro Na Vocation


Tapetao

Pergunta

Seguinte, eu criei uma nova vocaçao no meu server, mas só que, acontece 2 problemas:

 

1º Essa vocaçao nao da pra ser escolhida pelo account manager, só aparece as 4 normais (druid, sorcerer, knight, paladin)

 

2º Quando eu mudo a vocaçao do player para essa nova vocaçao (atraves do sqlite), no jogo, ele fala que o player nao tem vocaçao

 

 

Como eu posso arruma isso ? :x

 

Ta ai a vocation, para ver se há algo errado com ela, acredito que nao, mas mesmo assim :~

<vocation id="9" name="Creator" description="a creator" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="9" lessloss="50">
	<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>

Link para o comentário
Compartilhar em outros sites

4 respostass a esta questão

Posts Recomendados

  • 0

Amigo, isso já aconteçeu comigo tb, é um erro simples, é só você colocar sua vocação no meio das primeiras vocações, tipow.

 

assim:

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="9" name="????" description="a ????" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="100" soulmax="100" gainsoulticks="120" fromvoc="9">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="100" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="2" name="Druid" description="a druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="100" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="270" gainmanaticks="2" gainmanaamount="270" manamultiplier="1.6" attackspeed="100" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="4" name="Knight" description="a knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="100" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a master sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="90" soulmax="200" gainsoulticks="15" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="an elder druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="90" soulmax="200" gainsoulticks="15" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a royal paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.6" attackspeed="90" soulmax="200" gainsoulticks="15" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="an elite knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="400" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="90" soulmax="200" gainsoulticks="15" fromvoc="4">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="9" name="Slayer Sorcerer" description="a Slayer Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="400" gainmanaticks="2" gainmanaamount="500" manamultiplier="1.1" attackspeed="80" soulmax="200" gainsoulticks="15" fromvoc="5">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="10" name="Slayer Druid" description="a Slayer Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="400" gainmanaticks="2" gainmanaamount="500" manamultiplier="1.1" attackspeed="80" soulmax="200" gainsoulticks="15" fromvoc="6">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="11" name="Slayer Paladin" description="a Slayer Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="450" gainmanaticks="2" gainmanaamount="450" manamultiplier="1.6" attackspeed="80" soulmax="200" gainsoulticks="15" fromvoc="7">

<formula meleeDamage="1.0" distDamage="1.2" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="12" name="Slayer Knight" description="a Slayer Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="500" gainmanaticks="2" gainmanaamount="450" manamultiplier="4.0" attackspeed="80" soulmax="200" gainsoulticks="15" fromvoc="8">

<formula meleeDamage="1.3" distDamage="1.0" defense="1.5" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="1.1"/>

</vocation>

</vocations>

 

 

Entendeu? bota no meio das vocações principais.

Link para o comentário
Compartilhar em outros sites

  • 0

Valeeeeeu Maaaan, consegui :D

eu tinha colocado depois das vocaçoes normais, mas nao tinha dado certo, ai eu nem pensei em coloca no meio delas, mas agora foi, valeu man, brigadao :D

Link para o comentário
Compartilhar em outros sites

  • 0

não faça isso que o RulezKnight falou, pois quando um char com esta vocação for comprar promotion ele bugará

 

Por que?

 

Um Npc de promotion, ele simplesmente adiciona +4 vocation ao seu char, por isso é a ordem

Sorcerer

Druid

Paladin

Knight

Master Sorcerer

Elder Druid

Royal Paladin

Elite Knight

 

Um Exemplo

 

Druid+ 4 vocation = Elder druid

 

Vamos contar:

Druid +4

Paladin

Knight

Master Sorcerer

Elder Druid

 

Se você coloca-lo no meio, exemplo, em segundo, quando ele for por promotion irá ficar:

 

Sorcerer

Sua Vocation

Druid

Paladin

Knight

Master Sorcerer

Elder Druid

Royal Paladin

Elite Knight

 

Sua Vocation +4 vocation = Elder Druid

 

Intão ira bugar...

 

Tente usar assim:

 

<vocation id="10" name="Creator" description="a creator" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="10">
               <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>

 

Se mesmo assim não der poste aqui

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...