• 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

gizzzmo

New Member
Joined
Dec 29, 2009
Messages
91
Reaction score
0
Anyone know why couple people can get an item, but for some others it would say "it's empty"
?
 
I think I found the problem. The quest has the same CID as another quest.
But uhm, what do I change the CID to for one of the quests? Can it be a random number, or does it matter?
 
Unique ID (UID) can be any number from 1000 to 65535.

In this case, you should use numbers that are not used for any other chests or as storage values elsewhere.
 
Gotcha. Cause """ queststatus = getPlayerStorageValue >>>(cid,58267)<<< ""

Was the same as another quest, that's a number I just threw in there since the UID is 58268. Would that work?





if item.actionid == 58268 then
queststatus = getPlayerStorageValue(cid,58267)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found an Yalahari Mask.")
doPlayerAddItem(cid,9778,1)
setPlayerStorageValue(cid,58267,1)
 
So then I should change it to 58268 along with the other items in the script? Since it's yalahar quest and are only to get one of the items.
 
Back
Top