Ir para conteúdo

Ajuda Quests.xml


lucasquevedobr

Posts Recomendados

Por favor me diz onde está o erro no script ou se nao for erro me ensine a editar...

rep+, por favor =s

 

<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="No-Stairs Lizard Quest FortWar." startstorageid="2458" startstoragevalue="1">
<mission name="Weapon" storageid="2458" startvalue="1" endvalue="1">
 <missionstate id="1" description="You have found the weapon stolen by lizards!"/>
</mission>
<mission name="Lizard Backpack" storageid="9907" startvalue="2" endvalue="2">
 <missionstate id="2" description="You have found the lizard backpack!"/>
</mission>
</quest>
<quest name="No-Stairs Arena Quest FortWar." startstorageid="9925" startstoragevalue="1">
<mission name="Hat" storageid="9925" startvalue="3" endvalue="3">
  <missionstate id="3" description="You have found the hat of the bosses!"/>
</mission>
</quest>
<quest name="No-Stairs Mission SandWar." startstorageid="9909" startstoragevalue="1">
<mission name="Poison Room" storageid="9909" startvalue="4" endvalue="4">
 <missionstate id="4" description="You have found 1000 gold!"/>
</mission>
<mission name="Sand Room" storageid="9917" startvalue="5" endvalue="5">
 <missionstate id="5" description="You have found 2500 gold!"/>
</mission>
<mission name="Iron Room" storageid="9920" startvalue="6" endvalue="6">
 <missionstate id="6" description="You have found 5000 gold!"/>
</mission>
<mission name="Ice Room" storageid="9921" startvalue="7" endvalue="7">
 <missionstate id="7" description="You have found 10000 gold!"/>
</mission>
<mission name="Last Room" storageid="9908" startvalue="8" endvalue="8">
 <missionstate id="8" description="You have found a claw of the noxious spawn!"/>
</mission>
<mission name="Secret Chest" storageid="4530" startvalue="9" endvalue="9">
 <missionstate id="9" description="You have found a 10.000.000 of experience!"/>
</mission>
</quest>
<quest name="No-Stairs Team Quest IronWar." startstorageid="2452" startstoragevalue="1">
<mission name="Wand or Rod" storageid="2452" startvalue="10" endvalue="10">
 <missionstate id="10" description="Choose the best mage reward!"/>
</mission>
</quest>
<quest name="No-Stairs Labirint IronWar." startstorageid="9906" startstoragevalue="1">
<mission name="Composite Hornbow" storageid="9906" startvalue="11" endvalue="11">
 <missionstate id="11" description="You have found a Composite Hornbow!"/>
</mission>
<mission name="Firewalker Boots" storageid="9913" startvalue="12" endvalue="12">
 <missionstate id="12" description="You have found a Firewalker Boots!"/>
</mission>
<mission name="Cape of the invisibility" storageid="9912" startvalue="13" endvalue="13">
 <missionstate id="13" description="You have found a Cape of the invisibility!"/>
</mission>
<mission name="Frozen Starlight" storageid="9914" startvalue="14" endvalue="14">
 <missionstate id="14" description="You have found a Frozen Starlight!"/>
</mission>
<quest name="No-Stairs Barbarian Quest IceWar." startstorageid="9918" startstoragevalue="15">
<mission name="Addon Doll" storageid="9918" startvalue="15" endvalue="15">
 <missionstate id="15" description="You have found a Addon Doll!"/>
</mission>
</quest>
<quest name="No-Stairs Hell Quest SoulWar." startstorageid="9910" startstoragevalue="16">
<mission name="Wand or Rod" storageid="9910" startvalue="16" endvalue="16">
 <missionstate id="16" description="You have found a staff of the demons!"/>
</mission>
<mission name="Experience" storageid="9915" startvalue="17" endvalue="17">
 <missionstate id="17" description="You have found 1.000.000 of experience!"/>
</mission>
</quest>
</quests>

Link para o comentário
Compartilhar em outros sites

olhei um tutorial parecido, mas a duvida é nesse missionstate, nao pode repitir n°?

como colocar quests de varios itens só podendo escolher um?(tipo anihi,,)

 

e o erro é o seguinte:

 

[15/11/2011 18:29:43] [Warning - Quests::loadFromXml] Cannot load quests file.

[15/11/2011 18:29:43] Line: 67, Info: Premature end of data in tag quests line 2

Link para o comentário
Compartilhar em outros sites

Dei uma arrumado geral, tava um pouco bagunçado para intender :p

 


<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="No-Stairs Lizard Quest FortWar." startstorageid="2458" startstoragevalue="1">
	<mission name="Weapon" storageid="2458" startvalue="1" endvalue="1">
		<missionstate id="1" description="You have found the weapon stolen by lizards!"/>
	</mission>
	<mission name="Lizard Backpack" storageid="9907" startvalue="2" endvalue="2">
		<missionstate id="2" description="You have found the lizard backpack!"/>
		</mission>
</quest>


<quest name="No-Stairs Arena Quest FortWar." startstorageid="9925" startstoragevalue="1">
	<mission name="Hat" storageid="9925" startvalue="3" endvalue="3">
		<missionstate id="3" description="You have found the hat of the bosses!"/>
	</mission>
</quest>

<quest name="No-Stairs Mission SandWar." startstorageid="9909" startstoragevalue="1">
	<mission name="Poison Room" storageid="9909" startvalue="4" endvalue="4">
		<missionstate id="4" description="You have found 1000 gold!"/>
</mission>
	<mission name="Sand Room" storageid="9917" startvalue="5" endvalue="5">
		<missionstate id="5" description="You have found 2500 gold!"/>
</mission>
	<mission name="Iron Room" storageid="9920" startvalue="6" endvalue="6">
		<missionstate id="6" description="You have found 5000 gold!"/>
	</mission>
	<mission name="Ice Room" storageid="9921" startvalue="7" endvalue="7">
		<missionstate id="7" description="You have found 10000 gold!"/>
	</mission>
	<mission name="Last Room" storageid="9908" startvalue="8" endvalue="8">
		<missionstate id="8" description="You have found a claw of the noxious spawn!"/>
	</mission>
	<mission name="Secret Chest" storageid="4530" startvalue="9" endvalue="9">
		<missionstate id="9" description="You have found a 10.000.000 of experience!"/>
	</mission>
</quest>


<quest name="No-Stairs Team Quest IronWar." startstorageid="2452" startstoragevalue="1">
	<mission name="Wand or Rod" storageid="2452" startvalue="10" endvalue="10">
		<missionstate id="10" description="Choose the best mage reward!"/>
</mission>
</quest>

<quest name="No-Stairs Labirint IronWar." startstorageid="9906" startstoragevalue="1">
	<mission name="Composite Hornbow" storageid="9906" startvalue="11" endvalue="11">
		<missionstate id="11" description="You have found a Composite Hornbow!"/>
	</mission>
	<mission name="Firewalker Boots" storageid="9913" startvalue="12" endvalue="12">
		<missionstate id="12" description="You have found a Firewalker Boots!"/>
</mission>
	<mission name="Cape of the invisibility" storageid="9912" startvalue="13" endvalue="13">
		<missionstate id="13" description="You have found a Cape of the invisibility!"/>
</mission>
	<mission name="Frozen Starlight" storageid="9914" startvalue="14" endvalue="14">
	<missionstate id="14" description="You have found a Frozen Starlight!"/>
</mission>
</quest>

<quest name="No-Stairs Barbarian Quest IceWar." startstorageid="9918" startstoragevalue="15">
	<mission name="Addon Doll" storageid="9918" startvalue="15" endvalue="15">
		<missionstate id="15" description="You have found a Addon Doll!"/>
</mission>
</quest>

<quest name="No-Stairs Hell Quest SoulWar." startstorageid="9910" startstoragevalue="16">
	<mission name="Wand or Rod" storageid="9910" startvalue="16" endvalue="16">
		<missionstate id="16" description="You have found a staff of the demons!"/>
</mission>
<mission name="Experience" storageid="9915" startvalue="17" endvalue="17">
	<missionstate id="17" description="You have found 1.000.000 of experience!"/>
</mission>
</quest>
</quests>

Link para o comentário
Compartilhar em outros sites

erro bobo :p, tava faltando um </quest> numa quest...

 

 

<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="No-Stairs Lizard Quest FortWar." startstorageid="2458" startstoragevalue="1">
<mission name="Weapon" storageid="2458" startvalue="1" endvalue="1">
  <missionstate id="1" description="You have found the weapon stolen by lizards!"/>
</mission>
<mission name="Lizard Backpack" storageid="9907" startvalue="2" endvalue="2">
  <missionstate id="2" description="You have found the lizard backpack!"/>
</mission>
</quest>
<quest name="No-Stairs Arena Quest FortWar." startstorageid="9925" startstoragevalue="1">
<mission name="Hat" storageid="9925" startvalue="3" endvalue="3">
   <missionstate id="3" description="You have found the hat of the bosses!"/>
</mission>
</quest>
<quest name="No-Stairs Mission SandWar." startstorageid="9909" startstoragevalue="1">
<mission name="Poison Room" storageid="9909" startvalue="4" endvalue="4">
  <missionstate id="4" description="You have found 1000 gold!"/>
</mission>
<mission name="Sand Room" storageid="9917" startvalue="5" endvalue="5">
  <missionstate id="5" description="You have found 2500 gold!"/>
</mission>
<mission name="Iron Room" storageid="9920" startvalue="6" endvalue="6">
  <missionstate id="6" description="You have found 5000 gold!"/>
</mission>
<mission name="Ice Room" storageid="9921" startvalue="7" endvalue="7">
  <missionstate id="7" description="You have found 10000 gold!"/>
</mission>
<mission name="Last Room" storageid="9908" startvalue="8" endvalue="8">
  <missionstate id="8" description="You have found a claw of the noxious spawn!"/>
</mission>
<mission name="Secret Chest" storageid="4530" startvalue="9" endvalue="9">
  <missionstate id="9" description="You have found a 10.000.000 of experience!"/>
</mission>
</quest>
<quest name="No-Stairs Team Quest IronWar." startstorageid="2452" startstoragevalue="1">
<mission name="Wand or Rod" storageid="2452" startvalue="10" endvalue="10">
  <missionstate id="10" description="Choose the best mage reward!"/>
</mission>
</quest>
<quest name="No-Stairs Labirint IronWar." startstorageid="9906" startstoragevalue="1">
<mission name="Composite Hornbow" storageid="9906" startvalue="11" endvalue="11">
  <missionstate id="11" description="You have found a Composite Hornbow!"/>
</mission>
<mission name="Firewalker Boots" storageid="9913" startvalue="12" endvalue="12">
  <missionstate id="12" description="You have found a Firewalker Boots!"/>
</mission>
<mission name="Cape of the invisibility" storageid="9912" startvalue="13" endvalue="13">
  <missionstate id="13" description="You have found a Cape of the invisibility!"/>
</mission>
<mission name="Frozen Starlight" storageid="9914" startvalue="14" endvalue="14">
  <missionstate id="14" description="You have found a Frozen Starlight!"/>
</mission>
</quest>
<quest name="No-Stairs Barbarian Quest IceWar." startstorageid="9918" startstoragevalue="15">
<mission name="Addon Doll" storageid="9918" startvalue="15" endvalue="15">
  <missionstate id="15" description="You have found a Addon Doll!"/>
</mission>
</quest>
<quest name="No-Stairs Hell Quest SoulWar." startstorageid="9910" startstoragevalue="16">
<mission name="Wand or Rod" storageid="9910" startvalue="16" endvalue="16">
  <missionstate id="16" description="You have found a staff of the demons!"/>
</mission>
<mission name="Experience" storageid="9915" startvalue="17" endvalue="17">
  <missionstate id="17" description="You have found 1.000.000 of experience!"/>
</mission>
</quest>
</quests>

 

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

×
×
  • Criar Novo...