Bom localizei o erro , mas qual o fator do erro não achei
<spells>
Linha 3 é essa.
Por GuuVicentini, 02 de dez. de 2012 em Tópicos Sem Resposta
info
Grupo: Campones
Registrado: 04/11/12
Posts: 43
Reputação: +20

Bom localizei o erro , mas qual o fator do erro não achei
<spells>
Linha 3 é essa.
Editado Dezembro 2 por Openyourmind
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

ai que tá cara, nao tem erro, preciso de alguem que SAIBA MUITO do assunto =/ ja fucei em td....
Editado Dezembro 2 por GuuVicentini
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

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>
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

o q vc mudou no script? não reparei diferença e volta a dar uns erros nos quais eu ja tinha arrumado.
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

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.
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

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 Dezembro 2 por GuuVicentini
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

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 Dezembro 2 por FaltouCriatividade
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

Espera, confundi aqui, acho que agora vou resolver ![]()
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 Dezembro 2 por GuuVicentini
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

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 Dezembro 2 por FaltouCriatividade
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

se puder responde la pra mim
http://www.xtibia.com/forum/topic/200341-doors-windows-holes-nao-abremfecham-leiam-topico/
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

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>
info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0

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 Dezembro 4 por GuuVicentini
info
Grupo: Lorde
Registrado: 05/06/12
Posts: 2.2k
Reputação: +215
Gênero: Masculino

Duvida Resolvida!
Tópico Movido.
info
Grupo: Herói
Registrado: 28/11/10
Posts: 3.4k
Reputação: +585
Gênero: Masculino

info
Grupo: Campones
Registrado: 30/11/12
Posts: 28
Reputação: 0
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 Dezembro 2 por GuuVicentini