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

Lua Problem with all npc scripts

picachu

Member
Joined
Dec 2, 2007
Messages
970
Reaction score
11
Hey guys
I'm having some troubles with all scripts of npcs.
I upgraded my tfs (change the exe, libs, etc) and now its have a problem:

[17:35:24.190] [Error - NpcScript Interface]
[17:35:24.190] data/npc/scripts/fulladdons.lua:eek:nCreatureSay
[17:35:24.205] Description:
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:554: attempt to call global
'getDistanceTo' (a nil value)
[17:35:24.205] stack traceback:
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:554: in function 'isInRang
e'
[17:35:24.205] data/npc/lib/npcsystem/npchandler.lua:375: in function 'onCreatu
reSay'
[17:35:24.205] data/npc/scripts/fulladdons.lua:8: in function <data/npc/scripts
/fulladdons.lua:8>

How can I add these functions, or something like that to fix that?
Thanks!
 
Back
Top