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

Quest log

felipedorgas

New Member
Joined
Aug 10, 2010
Messages
34
Reaction score
1
how to run the quest log???

data/xml/quests:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="Anihileator - Completed!" startstorageid="5010" startstoragevalue="1"></quest>
<quest name="Demon Oak - Completed!" startstorageid="12900" startstoragevalue="1"></quest>
<quest name="Pits of Infernum - Completed!" startstorageid="8742" startstoragevalue="1"></quest>
<quest name="Inquisition Quest - Completed!" startstorageid="8560" startstoragevalue="1"></quest>
<quest name="Arena Quest - Completed!" startstorageid="42361" startstoragevalue="1"></quest>
<quest name="Blue Legs - Completed!" startstorageid="7616" startstoragevalue="1"></quest>
</quests>

it does not work!

thx
 
hey felipedorgas, view this example
veja esse exemplo.

<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="In Service of Yalahar Quest" startstorageid="102501" startstoragevalue="1">
<mission name="Mission 01: Something Rotten" storageid="63000" startvalue="1" endvalue="3">
<missionstate id="1" description="Talk with palimuth for get a mission."/>
</mission>
<mission name="Mission 02: Secret Documents" storageid="63002" startvalue="2" endvalue="2">
<missionstate id="1" description="Talk to timothy to get secret documents for Palimuth"/>
</mission>
<mission name="Mission 03: The Final Battle" storageid="63523" startvalue="1" endvalue="1">
<missionstate id="1" description="Kill the powerfull azerus and report to Yalahari."/>
</mission>
</quest>
</quests>
 
there's something wrong with my quest log? storage because they are right, + does not work

tem alguma coisa errada com o meu quest log ? pke as storage estão certas, + n funciona ;x
 
Man are you already cheked, if the storage gived in chest quest is the same in the storage at the xml/quest.xml??
ex.
function onUse(cid, item, fromPosition, itemEx, toPosition)

if item.uid == 17956 then
queststatus = getPlayerStorageValue(cid,54090)
if queststatus == -1 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You kill Koshei The Deathless and you have found a Blue Legs.")
doPlayerAddItem(cid,7730,1)
setPlayerStorageValue(cid,54090,1)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
end
end
return 1
end

and the storage value its the same as here:

<?xml version="1.0" encoding="UTF-8"?>
<quests>
<quest name="Example Quest I" startstorageid="54090" startstoragevalue="1"/ >
</quests>
 
Back
Top