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

[TFS 1.0]NPC Dorian error

samuelav3

Member
Joined
Aug 18, 2014
Messages
95
Reaction score
5
Hey friend help me pls when i say "mission" or "thieves" i get this error


dorian.lua line:7
Code:
function onCreatureSay(cid, type, msg)        npcHandler:onCreatureSay(cid, type, msg)        end

dorian.lua line:174
Code:
    if player:getStorageValue(Storage.thievesGuild.Quest) < 1 then
            npcHandler:say('Hm. Well, we could use some fresh blood. Ahum. Do you want to join the thieves guild, ' .. player:getName() .. '?', cid)
            npcHandler.topic[cid] = 1
        end

npchandler.lua line:403
Code:
if(callback ~= nil and callback(cid, msgtype, msg)) then
                                self.talkStart[cid] = os.time()
                            end
 
Code:
Storage.thievesGuild.Quest
You are missing the table, so look where you got this script if the table is added somewhere there or change
Storage.thievesGuild.Quest to the storage number it should use.
 
Look in shop npcs and npcs with keyword replies, 1 of the things there is missing.
With keyword replies, the amount of words is not the same as the amount of answers.
 
Back
Top