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

GuuVicentini
em Tópicos Sem Resposta

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

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/>

 

Openyourmind

[...]
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 04/11/12Posts: 43

Bom localizei o erro , mas qual o fator do erro não achei

 

<spells>

Linha 3 é essa.

Ajudei ? Rep+

Floodei? Reporte.

Duvidas? Contate via pm/msn.

 

Seeyaa.

Abraços,

 

Tutoriais

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

ai que tá cara, nao tem erro, preciso de alguem que SAIBA MUITO do assunto =/ ja fucei em td....

fredpadua

Eu sou o Rei ?! ...
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 13/10/11Posts: 411

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>

 

semefeito.png



 

↓ Gosta de mim ? Use a FanBar ↓

 

anigif2mo.gif

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

o q vc mudou no script? não reparei diferença e volta a dar uns erros nos quais eu ja tinha arrumado.

fredpadua

Eu sou o Rei ?! ...
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 13/10/11Posts: 411

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.

semefeito.png



 

↓ Gosta de mim ? Use a FanBar ↓

 

anigif2mo.gif

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

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/>

 

fredpadua

Eu sou o Rei ?! ...
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 13/10/11Posts: 411

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 ??

semefeito.png



 

↓ Gosta de mim ? Use a FanBar ↓

 

anigif2mo.gif

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

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.

fredpadua

Eu sou o Rei ?! ...
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 13/10/11Posts: 411

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>

 

semefeito.png



 

↓ Gosta de mim ? Use a FanBar ↓

 

anigif2mo.gif

fredpadua

Eu sou o Rei ?! ...
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 13/10/11Posts: 411

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>

 

semefeito.png



 

↓ Gosta de mim ? Use a FanBar ↓

 

anigif2mo.gif

GuuVicentini

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 30/11/12Posts: 28

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.

Yan Oliveira

Yan18
avatar
Moderador
Moderador

INFOS

Grupo: ModeradorRegistrado: 05/06/12Posts: 2221Gênero: Masculino

Stigal

don't ever stop...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 28/11/10Posts: 3402Gênero: Masculino
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.

VI6MDIG.png

 

"O fracasso é a oportunidade de se começar de novo inteligentemente"

Minhas Redes Sociais: Youtube | Página & Grupo | Steam  | Discord Xtibia | Skype: @mrooger

 

OTpanel