KN

Ajuda Ae Item.xml

Por knightmage, 14 de jul. de 2011 em Archived

otserv
tibia
script
19
2.1k
knightmageK
14 de julho de 2011 às 22:15

Ta dando ERRO, O mesmo da SS.

xtibia.jpg

No Item.Xml eu editei essa parte e deu esse bug

\/

<item id="11388" name="lucky clover amulet">

<attribute key="description" value="It is rumoured to bring you good luck! Luck sponsored by TibiaLottery." /> <attribute key="weight" value="150" />

<attribute key="slotType" value="necklace" />

</item>

<item id="20001" name="water" />

<item id="20002" name="blood" />

<item id="20003" name="beer" />

<item id="20004" name="slime" />

<item id="20005" name="lemonade" />

<item id="20006" name="milk" />

<item id="20007" name="manafluid" />

<item id="20010" name="lifefluid" />

<item id="20011" name="oil" />

<item id="20013" name="urine" />

<item id="20014" name="coconut milk" />

<item id="20015" name="wine" />

<item id="20019" name="mud" />

<item id="20021" name="fruit juice" />

<item id="20026" name="lava" />

<item id="20027" name="rum" />

<item id="20028" name="swamp" />

<item id="20035" name="tea" />

</item>

 

<item id="11341" article="a" name="dead terramite">

<attribute key="containerSize" value="10" />

 

<attribute key="decayTo" value="11343" /> <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" /> <attribute key="fluidSource" value="blood" />

</item>

 

<item id="11343" article="a" name="dead terramite">

<attribute key="containerSize" value="10" />

 

<attribute key="decayTo" value="11344" /> <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" /> <attribute key="fluidSource" value="blood" />

</item>

 

<item id="11344" article="a" name="dead terramite">

<attribute key="containerSize" value="10" />

 

<attribute key="decayTo" value="0" /> <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" /> <attribute key="fluidSource" value="blood" />

</item>

 

<item id="11305" article="a" name="dead wailing widow">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11306" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" /> </item>

 

<item id="11306" article="a" name="dead wailing widow">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11307" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" /> </item>

 

<item id="11307" article="a" name="dead wailing widow">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" /> </item>

 

<item id="11267" article="a" name="dead lizard legionnaire">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11268" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11268" article="a" name="dead lizard legionnaire">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11269" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11269" article="a" name="dead lizard legionnaire">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11242" article="a" name="dead gnarlhound">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11243" />

<attribute key="duration" value="300" />

 

</item>

<item id="11243" article="a" name="dead gnarlhound">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11278" article="a" name="dead battlemaster zunzu">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11276" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11276" article="a" name="dead battlemaster zunzu">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11277" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11277" article="a" name="dead battlemaster zunzu">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11278" article="a" name="dead lizard zaogun">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11276" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11276" article="a" name="dead lizard zaogun">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11277" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11277" article="a" name="dead lizard zaogun">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11266" article="a" name="dead lizard high guard">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11264" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11264" article="a" name="dead lizard high guard">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11265" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11265" article="a" name="dead lizard high guard">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11279" article="a" name="dead lizard chosen">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11280" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11280" article="a" name="dead lizard chosen">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11281" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11281" article="a" name="dead lizard chosen">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11271" article="a" name="dead lizard dragon priest">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11272" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11272" article="a" name="dead lizard dragon priest">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11273" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11273" article="a" name="dead lizard dragon priest">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11310" article="a" name="dead draken spellweaver">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11312" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11312" article="a" name="dead draken spellweaver">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11313" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11313" article="a" name="dead draken spellweaver">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11103" article="a" name="dead draken warmaster">

<attribute key="containerSize" value="10" />

 

<attribute key="decayTo" value="11105" /> <attribute key="duration" value="360" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11105" article="a" name="dead draken warmaster">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11106" />

<attribute key="duration" value="360" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11106" article="a" name="dead draken warmaster">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" />

<attribute key="duration" value="360" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11356" article="a" name="dead ghastly dragon">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11358" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11358" article="a" name="dead ghastly dragon">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11359" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11359" article="a" name="dead ghastly dragon">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11370" article="a" name="dead lancer beetle">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11371" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11371" article="a" name="dead lancer beetle">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11372" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11372" article="a" name="dead lancer beetle">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="0" <attribute key="duration" value="300" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11316" article="a" name="warmaster's wristguards">

<attribute key="weight" value="107" />

</item>

 

<item id="11199" article="a" name="divine parcel">

<attribute key="weight" value="107" />

</item>

 

<item id="11241" article="a" name="dead gnarlhound">

<attribute key="containerSize" value="10" />

<attribute key="decayTo" value="11242" <attribute key="duration" value="10" />

<attribute key="corpseType" value="blood" />

<attribute key="fluidSource" value="blood" />

</item>

<item id="11390" name="ferumbras doll">

<attribute key="weight" value="1700" />

</item>

SkyDangerousS
14 de julho de 2011 às 22:17

Olá knightmage

 

Tem como me passar seu items.xml para eu dar uma olhada?

 

Vejo que tem alguns bugs , mais creio que ficará melhor se me passar o arquivo.

knightmageK
14 de julho de 2011 às 22:38

Claro, ta ae :

items.xml

Editado Julho 14 por knightmage

IlidianI
15 de julho de 2011 às 21:24

O problema ta nessa parte aqui:

<item id="20014" name="coconut milk" />
<item id="20015" name="wine" />
<item id="20019" name="mud" />
<item id="20021" name="fruit juice" />
<item id="20026" name="lava" />
<item id="20027" name="rum" />
<item id="20028" name="swamp" />
<item id="20035" name="tea" />
</item>

 

Só remover esse </item> da ultima linha que eu postei ai.

Eu dei uma olhada no geral do seu itens.xml e vi que varios itens estão duplicados. Parece que vc abriu o itens.xml antigo e simplesmente colocou mais coisa no final (algumas repitidas).

Existem duas partes iguais no seu script então cuidado, a parte que eu falei pra deletar é a primeira, tem uma igual exatamente no final do seu itens.xml, não deleta de la não.

Eu acho que mesmo assim, se você remover aquela linha que falei ali você vai conseguir abrir o ot (ele vai dar alguns erros falando sobre esses itens duplicados mas vai abrir).

Editado Julho 15 por Ilidian

knightmageK
15 de julho de 2011 às 21:44

Apaguei o que vc pediu, deu esse erro :

[15/07/2011 21:44:09] [Warning - Items::loadFromXml] Cannot load items file.
[15/07/2011 21:44:09] Line: 17574, Info: Couldn't find end of Start Tag attribute line 17574

Editado Julho 15 por knightmage

IlidianI
15 de julho de 2011 às 21:50

Se não for muito incomodo, você poderia postar o items.xml depois da sua alteração?

knightmageK
15 de julho de 2011 às 21:54

Claro,

items.xml

IlidianI
15 de julho de 2011 às 21:56

Você acabou deletando a linha que eu falei para não deletar, mas ta beleza, eu arrumei aqui pra você =D

items.xml

knightmageK
15 de julho de 2011 às 21:59

O Erro Continua :

[15/07/2011 21:58:55] >> Loading items
[15/07/2011 21:58:55] [Warning - Items::loadFromXml] Cannot load items file.
[15/07/2011 21:58:55] Line: 17754, Info: Opening and ending tag mismatch: items line 2 and item

Editado Julho 15 por knightmage

IlidianI
15 de julho de 2011 às 22:02

Falha minha, perdoe minha incompetencia =X

items.xml

knightmageK
15 de julho de 2011 às 22:05

Denovo aaaarg :/, isso apareceu quando eu editei os corpos dos DRAKEN e LIZARDS

[15/07/2011 22:04:39] >> Loading items
[15/07/2011 22:04:39] [Warning - Items::loadFromXml] Cannot load items file.
[15/07/2011 22:04:39] Line: 17560, Info: Couldn't find end of Start Tag attribute line 17560

IlidianI
15 de julho de 2011 às 22:06

manda o arquivo denovo

Edit: melhor, quando der erro assim ja posto com o arquivo.

Editado Julho 15 por Ilidian

knightmageK
15 de julho de 2011 às 22:09

blz ,

items.xml

IlidianI
15 de julho de 2011 às 22:11

Toda linha de atributo que você colocar tem que ter um fim, no caso faltou simplesmente isso aqui: />

items.xml

knightmageK
15 de julho de 2011 às 22:15

Aaaa :/, nao é problema dos lizards e drakens que editei ? foi lá que começou..

[15/07/2011 22:13:46] [Warning - Items::loadFromXml] Cannot load items file.
[15/07/2011 22:13:46] Line: 17554, Info: Couldn't find end of Start Tag attribute line 17554

items.xml