Bom localizei o erro , mas qual o fator do erro não achei
<spells>
Linha 3 é essa.
By GuuVicentini, 02 de dez. de 2012 in Tópicos Sem Resposta
info
Group: Campones
Joined: 04/11/12
Posts: 43
Reputation: +20

Bom localizei o erro , mas qual o fator do erro não achei
<spells>
Linha 3 é essa.
Edited Dezembro 2 by Openyourmind
info
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 0

ai que tá cara, nao tem erro, preciso de alguem que SAIBA MUITO do assunto =/ ja fucei em td....
Edited Dezembro 2 by GuuVicentini
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
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 0

o q vc mudou no script? não reparei diferença e volta a dar uns erros nos quais eu ja tinha arrumado.
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
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 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/>
Edited Dezembro 2 by GuuVicentini
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 ??
Edited Dezembro 2 by FaltouCriatividade
info
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 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.
Edited Dezembro 2 by GuuVicentini
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>
Edited Dezembro 2 by FaltouCriatividade
info
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 0

se puder responde la pra mim
http://www.xtibia.com/forum/topic/200341-doors-windows-holes-nao-abremfecham-leiam-topico/
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
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 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.
Edited Dezembro 4 by GuuVicentini
info
Group: Lorde
Joined: 05/06/12
Posts: 2.2k
Reputation: +215
Gender: Masculino

Duvida Resolvida!
Tópico Movido.
info
Group: Herói
Joined: 28/11/10
Posts: 3.4k
Reputation: +585
Gender: Masculino

info
Group: Campones
Joined: 30/11/12
Posts: 28
Reputation: 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/>
Edited Dezembro 2 by GuuVicentini