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

Windows Unique id for chest quest dont work (pls Help!)

alper99

New Member
Joined
Aug 14, 2009
Messages
38
Reaction score
0
Hey guys i got The End v0.7 server (The Forgotten Server, version 0.3.5 (Crying Damson from) hermes
and got this problem

if i change the unique id from chest like the tempel items (manarune bp etc.) it doesnt give anything

pls guys help me i give rep ++
 
you need to make a scripts of the quest, its easy. Look this example.
this is a fire walker boot quest example..
go to data/actions/scripts
make a new .lua file (in my example is firewalker.lua)
open the file and write this inside

function onUse(cid, item, frompos, item2, topos)

if item.uid == 9933 then -- the uniq id you put on chest
queststatus = getPlayerStorageValue(cid,9933) --i recomend putting uniq id of chest
if queststatus == -1 then --the -1 is to you dont make the same quest multiple times
doPlayerSendTextMessage(cid,22,"You have found a Firewalker Boots.")-- msg
doPlayerAddItem(cid,9933,1) -- the id of the item you will recive
setPlayerStorageValue(cid,9933,1) -- this is to you dont make the quest again
else
doPlayerSendTextMessage(cid,22,"It is empty.") -- msg if you already did it
end
end
end
now go to data/actions/actions.xml

and go to the end of the file and write

<action uniqueid="9933" script="firewalker.lua" /> --the 9933 is the uniq id of the quest and the firewalker.lua is the lua file in data/actions/scripts
 
Back
Top