• 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 0.X daily task / normal task npc problem

vexler222

Active Member
Joined
Apr 22, 2012
Messages
714
Solutions
15
Reaction score
46
Hi, i have problem with two npc, cuz if i say to him "Hi" he say "[Daily] Benio: Welcome Admin. You want do daily task? Or you want to deliver your task and receive rewards for it!" but if i say daily, i have error in console


Code:
20:43:05.904] [Error - NpcScript Interface]
[20:43:05.904] data/npc/scripts/benio.lua:onCreatureSay
[20:43:05.904] Description:
[20:43:05.904] data/npc/scripts/benio.lua:15: attempt to call global 'getTaskMission' (a nil value)
[20:43:05.904] stack traceback:
[20:43:05.904]  data/npc/scripts/benio.lua:15: in function 'callback'
[20:43:05.920]  data/npc/lib/npcsystem/npchandler.lua:390: in function 'onCreatureSay'
[20:43:05.920]  data/npc/scripts/benio.lua:8: in function <data/npc/scripts/benio.lua:8>

.xml and .lua files
 

Attachments

Back
Top