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

Help with Quests on tfs 0.3.5

ChiSka

Avera.Sytes.Net
Joined
Jul 15, 2009
Messages
865
Reaction score
17
i have server cipsoft realmap 0.3.5 but all quests Don't work what i do??please help fast
 
i have server cipsoft realmap 0.3.5 but all quests Don't work what i do??please help fast

Try checking actions.xml first.


If it says like this;

Code:
<action uniqueid="2222" script="cookiequest.lua">

update it to
Code:
<action uniqueid="2222" event="script" value="cookiequest.lua">

Then if all your scripts have this
Code:
event="script" value=""
already

check if your map is connected to your scripts, meaning check if the chests have the unique ID necessary.


If everything above is set, then it must mean that your quests are outdated or something :)

Here you got an example of a working quest that is compatible with TFS 0.3.5

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

        if item.uid == 43011 then
        queststatus = getPlayerStorageValue(cid,50300)
        if queststatus == -1 then
        doPlayerSendTextMessage(cid,22,"You have found a crown armor.")
        doPlayerAddItem(cid,2487,1)
        setPlayerStorageValue(cid,50300,1)
        else
        doPlayerSendTextMessage(cid,22,"It is empty.")
        end
        else
        return 0
        end

        return 1
        end
 
Back
Top