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

How to make a quest for Tibia 8.57 (TFS 0.3.6 PL1)

Mevinah

SativaOT.eu
Joined
Aug 9, 2009
Messages
88
Reaction score
0
Hello!
I have a problem, how to make a quest for Tibia 8.57? Because the item ID to enter in the box is not working ..
Or how to do that after entering the box the player to receive items?
(He asked me about the script)
Waiting for your help!
 
put actionid 2000 on the chest, uniqueid will be used as the storage value
and finally, place the items inside the chest in editor.
 
So yes:
Action ID: 2000
UniqueID (For example), 2160
And in those boxes where it puts Items to give what is an object? That is, the image object?
 
Cykotitan are you know how to make Skull system ?
etc then player gets 10 frag he get whute skull then he get 20 frag yellow 30 green and.....and then he relog he lost skull.
 
function onUse(cid, item, frompos, item2, topos)
if item.uid == 2389 then
queststatus = getPlayerStorageValue(cid,2389)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Spear.")
doPlayerAddItem(cid,2389,1 )
setPlayerStorageValue(cid,2389,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.!")
end
else
return 0
end
return 1
end

The "doplayersendtextmessage" doesnt work tho, I could have done anything wrong with that but the AddItem works atleast! Put this in actions.xml:
<action uniqueid="2389" script="Quests/spear.lua" />
And then put "2389" UniqueID in a chest! :)
 
Back
Top