• 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!

quests.xml

Ziggy

Member
Joined
Aug 11, 2007
Messages
49
Reaction score
6
im using the 0.3.6pl1 version and here is my quests.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<quests>    
<quest name="Inquistion Quest" startstorageid="20001" startstoragevalue="1">
    <mission name="Shadow Nexus" storageid="20002" startvalue="1" endvalue="3">
        <missionstate id="1" description="1"/>
		<missionstate id="2" description="2"/>
		<missionstate id="3" description="3"/>
	</mission>
    </quest>
</quests>

I have storage values 20001 and 20002 set to 1 onlogin (20002 only set to 1 if it was -1)

with this script the quest and mission comes up but with no description, if endvalue is set to 2, 3, 4, 5, or anything above 1 the mission and quest comes up but with no description, if the endvalue is set to 1 then somehow it jumps to completed and shows the description 3 even though the storage value did not change to 3
 
Try like that:
<quest name="Inquistion Quest" startstorageid="20001" startstoragevalue="1">
<mission name="Shadow Nexus" storageid="20002" startvalue="0" endvalue="2">
<missionstate id="1" description="Description 1."/>
<missionstate id="2" description="description 2."/>
</mission>
</quest>

it works for me!
 
XML:
<missionstate id="0" description="1"/>
<missionstate id="1" description="2"/>
<missionstate id="2" description="3"/>

the defaut start value is 0.. so if you use <mission name="" storageid="" startvalue="5" endvalue="8">
the storage with id 5 will still be loaded from <missionstate id="0" description="1"/>
 
Back
Top