• 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 [Error - NpcScript Interface]

DaBlauwk

Psychedelic
Joined
Jun 9, 2014
Messages
41
Reaction score
4
Location
The Moon
Hello

When I start my server, I can log on perfectly and everything is fine but in console I get lots of errors like
Code:
[17:30:09.441] [Error - NpcScript Interface]
[17:30:09.444] data/npc/scripts/bank.lua:onThink
[17:30:09.447] Description:
[17:30:09.449] data/npc/scripts/bank.lua:22: attempt to call global 'Npc' (a nil value)
[17:30:09.453] stack traceback:
[17:30:09.456]  data/npc/scripts/bank.lua:22: in function <data/npc/scripts/bank.lua:18>
This one just keeps spamming in server console.
Seems like I don't have function onThink or sth.

Some other ones came when I tried to take to someone..

Code:
[17:37:47.687] [Error - NpcScript Interface]
[17:37:47.692] data/npc/scripts/Benjamin.lua:onCreatureSay
[17:37:47.695] Description:
[17:37:47.696] data/npc/lib/npcsystem/npchandler.lua:558: attempt to call global 'getDistanceTo' (a nil value)
[17:37:47.701] stack traceback:
[17:37:47.703]  data/npc/lib/npcsystem/npchandler.lua:558: in function 'isInRange'
[17:37:47.708]  data/npc/lib/npcsystem/npchandler.lua:381: in function 'onCreatureSay'
[17:37:47.712]  data/npc/scripts/Benjamin.lua:7: in function <data/npc/scripts/Benjamin.lua:7>

Code:
[17:37:57.205] [Error - NpcScript Interface]
[17:37:57.209] data/npc/scripts/bank.lua:onCreatureSay
[17:37:57.212] Description:
[17:37:57.213] data/npc/lib/npcsystem/npchandler.lua:558: attempt to call global 'getDistanceTo' (a nil value)
[17:37:57.218] stack traceback:
[17:37:57.220]  data/npc/lib/npcsystem/npchandler.lua:558: in function 'isInRange'
[17:37:57.225]  data/npc/lib/npcsystem/npchandler.lua:381: in function 'onCreatureSay'
[17:37:57.230]  data/npc/scripts/bank.lua:14: in function <data/npc/scripts/bank.lua:13>

Also the npc chat window doesn't appear when I talk to npcs.
Haven´t found any solutions yet
TFS 0.4 8.60

Thanks

----UPDATE----

Fixed it, with a different NPC pack from
 
Last edited:
Back
Top