• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Questlog problem, need some help! =)

Yassate

New Member
Joined
Mar 26, 2011
Messages
13
Reaction score
0
As in title I have problem with adding quests to my questlog. I can't have more than one missionstate. First of all, example:


XML:
	<quest name="Pits of Inferno" startstorageid="10544" startstoragevalue="1">
<mission name="Throneroom of Verminor, the Plaguelord" storageid="10274" startvalue="1" endvalue="1">			
			<missionstate id="1" description="You have touched Verminors throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Infernatil, the incendiary of hell" storageid="10275" startvalue="1" endvalue="1">
			<missionstate id="2" description="You have touched Infernatils throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Tafariel, the mistress of the damned" storageid="10276" startvalue="1" endvalue="1">
			<missionstate id="3" description="You have touched Tafariels throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Apocalypse, total destruction" storageid="10277" startvalue="1" endvalue="1">
			<missionstate id="4" description="You have touched Infernatils throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Pumin, the Lord of Despair" storageid="10278" startvalue="1" endvalue="1">
			<missionstate id="5" description="You have touched Pumins throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Bazir, the great deceiver, lord of the lies" storageid="10279" startvalue="1" endvalue="1">
			<missionstate id="6" description="You have touched Bazirs throne and absorbed some of his spirit."/>
</mission>
<mission name="Throneroom of Ashfalor, the right hand of Urgith. The general of the undead hordes." storageid="10280" startvalue="1" endvalue="2">
			<missionstate id="7" description="You have touched Ashfalors throne and absorbed some of his spirit."/>
			<missionstate id="8" description="SECOND TEXT."/>
</mission>
</quest>


If I understood good, quest appear in log when player has storageid(in my case 10544).storagevalue=startstoragevalue.

Next thing: mission appear in log when player has storagevalue of 10274=startvalue and then appears description with first missionstate under mission name, yep? ; P

My problem: when is only one missionstate under description it works but If there is more than one it shows nothing. When I have storagevalue 10280 =1 It shows nothing but when I have storagevalue 10280 = 2 It shows "SECOND TEXT".

Do I have to do this in other way?
Using TFS 0.3.6


Thanks in advance.
Yassate
 
Last edited:

Similar threads

Back
Top