Ir para conteúdo
  • 0

[Ajuda] Movements


denynath

Pergunta

Ola pessoal do Xtibia gostaria de uma ajuda, pois eu fiz uns items vip no meu ot, mas como sou novato com script nos movemnts não terminei corretamente as linhas.. eu acho alguém poderia me ajuda com isso?

eis as linhas

 

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem"/>

<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2496" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2501" slot="head" event="function" value="onEquipItem"/>
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2501" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="12657" slot="armor" event="function" value="onEquipItem"/>
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="12657" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="3968" slot="armor" event="function" value="onEquipItem"/>
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="3968" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2505" slot="armor" event="function" value="onEquipItem"/>
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2505" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8983" slot="shield" event="function" value="onEquipItem"/>
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8983" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2539" slot="shield" event="function" value="onEquipItem"/>
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2539" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2538" slot="shield" event="function" value="onEquipItem"/>
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2538" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9928" slot="legs" event="function" value="onEquipItem"/>
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9928" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7464" slot="legs" event="function" value="onEquipItem"/>
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7464" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2469" slot="legs" event="function" value="onEquipItem"/>
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="11117" slot="feet" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="11117" slot="feet" event="function" value="onDeEquipItem"/>

 

Agradecido des de ja

Att~ DenyNath

Link para o comentário
Compartilhar em outros sites

6 respostass a esta questão

Posts Recomendados

  • 0

Milç perdões, esqueci de uma barra, ta ae ele corrigido:

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2496" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2501" slot="head" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2501" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="12657" slot="armor" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="12657" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="3968" slot="armor" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="3968" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2505" slot="armor" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2505" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8983" slot="shield" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8983" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2539" slot="shield" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2539" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2538" slot="shield" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2538" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9928" slot="legs" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9928" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7464" slot="legs" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7464" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2469" slot="legs" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="11117" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="11117" slot="feet" event="function" value="onDeEquipItem"/>
Editado por Antharaz
Link para o comentário
Compartilhar em outros sites

  • 0

O correto seria:

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2496" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2501" slot="head" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2501" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="12657" slot="armor" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="12657" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="3968" slot="armor" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="3968" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2505" slot="armor" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2505" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8983" slot="shield" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8983" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2539" slot="shield" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0">
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2539" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2538" slot="shield" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2538" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9928" slot="legs" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9928" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7464" slot="legs" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7464" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2469" slot="legs" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="11117" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="11117" slot="feet" event="function" value="onDeEquipItem"/>
Editado por Antharaz
Link para o comentário
Compartilhar em outros sites

  • 0

 

O correto seria:

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2496" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2501" slot="head" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2501" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="12657" slot="armor" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="12657" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="3968" slot="armor" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="3968" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2505" slot="armor" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2505" slot="armor" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="8983" slot="shield" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="8983" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2539" slot="shield" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0">
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2539" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2538" slot="shield" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2538" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="9928" slot="legs" event="function" value="onEquipItem">
<vocation id="1" showInDescription="0"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="9928" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7464" slot="legs" event="function" value="onEquipItem">
<vocation id="3" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="7464" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2469" slot="legs" event="function" value="onEquipItem">
<vocation id="4" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="11117" slot="feet" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="11117" slot="feet" event="function" value="onDeEquipItem"/>
[08/11/2015 23:14:30] Line: 962, Info: Premature end of data in tag movements line 2
[08/11/2015 23:14:30] > ERROR: Unable to load MoveEvents!
Mesmo ponhando os espaços, ainda continua dando erro.

 

Editado por deny123
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...