Ir para conteúdo

[Encerrado] Erro - Ajudem Por Favor, Leiam O Tópico. Em Spells.xml


GuuVicentini

Posts Recomendados

Onde está o erro desse spells.xml?

eu executo e dá o erro: Parser error : premature end of data in tag spells line 3

já tentei de tudo, não consigo... me digam o que preciso mudar dele:

 

 

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

<spells/>

 

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

Tenta ae.

 

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</spells>

 

Link para o comentário
Compartilhar em outros sites

Se você não leu o erro, preste mais atenção na proxima.

Parser error : premature end of data in tag spells line 3

Está dizendo que a "tag" da linha 3 não foi fechada.

Ou seja <spells> fechava com <spells/>

Mas o certo seria <spells> fechando com </spells>..

Preste mais atenção.

Link para o comentário
Compartilhar em outros sites

Vou testar, um minuto.

Erro mais uma vez.

 

Premature end of data in tag spells line 3

<spells/>

 

[Warning - BaseEvents :: LoadFromXml] Cannot open spells.xml file.

Line: 60, Info: premature end of data in tag spells line 3

 

 

Esse spells.xml \/

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

<spells/>

 

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

Vou testar, um minuto.

Erro mais uma vez.

 

Premature end of data in tag spells line 3

<spells/>

 

[Warning - BaseEvents :: LoadFromXml] Cannot open spells.xml file.

Line: 60, Info: premature end of data in tag spells line 3

 

 

Esse spells.xml \/

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

<spells/>

 

 

Voce não copiou oque te mandei, olha oq eu marquei, isso nao tava la.

 

@EDIT

 

Presta atenção na ultima linha, tira essa "/" da frente do spells e coloca antes do spells assim >> </spells>

 

entendeu ??

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

Espera, confundi aqui, acho que agora vou resolver :p

 

EDIT: Cara, tá dando VÁÁÁÁÁRIOS erros....

nao ta abrindo os .lua das spells, tirei das pastas com nomes separando categoria de cada uma pra ver se mudava, botei tds na scripts, também nada. só tem as spells desse que você me mandou!

sem contar que ta dando um erro cannot found vocation 5 e cannot found vocation 6... vou dar 1 olhada melhor.

 

Ah, deixa pra la, vou dar algum outro jeito, cansei desse negocio ja tanto tempo.

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

Seu erro inicial foi resolvido .. agora são outros..

posta e vejo se posso ajudar.

 

@EDIT

 

Coloca esse ae e me diz se mudou algo.

 

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

</instant>

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

</instant>

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

</instant>

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

</spells>

 

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

Coloca esse spells.xml ae, e ve se funciona..

Se não, diz o erro que ta dando.

 

 

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

 

<spells>

 

<!-- Healing Spells -->

 

 

<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing light healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0"

selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing intense healing.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

 

</instant>

 

<!-- Attack Spells -->

 

 

<instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1"

blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack energy strike.lua"/>

<vocation id="1"/>

<vocation id="2"/>

 

</instant>

 

<instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="1" range="5" needtarget="1"

blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack whirlwind throw.lua"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="1" range="5" needtarget="1" exhaustion="2000"

blockwalls="1" needlearn="0" event="script" value="attack ethereal spear.lua"/>

<vocation id="3"/>

 

</instant>

 

<!-- Support Spells -->

 

 

<instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support light.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

<instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="1" aggressive="0" selftarget="1" exhaustion="1000"

needlearn="0" event="script" value="support magic rope.lua"/>

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

 

</instant>

 

</spells>

 

Link para o comentário
Compartilhar em outros sites

Com esse, do tópico de cima:

>> Loading script systems

data/spells/spells.xml:15: parser error : Opening and ending tag mismatch: spells line 3 and Instant </instant>

 

data/spells/spells.xml:17: parser error : Extra content at the end of the document

<instant name="Intense Healing" words="Exura Gran" lvl="11" mana="70" aggressive

^

[Warning - BaseEvents :: LoadFromXml] Cannont open spells.xml file.

Line: 17, info: Extra content at the end of the document

 

>ERROR: Unable to load Spells!

 

FaltouCriatividade me guiou por pm e resolvido.

+REP e podem mover o tópico para dúvidas resolvidas.

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

  • 5 years later...
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...