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

Solved 0.3.6 URGENT no npcs spawn

7804364

Member
Joined
Mar 6, 2010
Messages
457
Reaction score
10
Ok so i was using a tfs 0.4 and it worked fine but a few minor things, so i switch to tfs 0.3.6 cryingdamson 8.2 by cykotitan

and now no npcs spawn at all there are now 0 on the map and i get these error

Code:
I/O warning : failed to load external entity "data/npc/rashid.xml"
[Warning - Npc::loadFromXml] Cannot load npc file (data/npc/rashid.xml).
Info: failed to load external entity "data/npc/rashid.xml"

For every npc
 
What is the error when you try to spawn the npc ingame with /n? Can you spawn the npc Eryn?
Yes i can, but when i say hi to any npcs they dont respond

Code:
[Error - Npc interface]
data/npc/scripts/runes.lua:onCreatureSay
Description:
data/npc/lib/npcsystem/npchandler.lua:627: attempt to call field 'mtime' (a nil value)
stack traceback:
        data/npc/lib/npcsystem/npchandler.lua:627: in function 'say'
        data/npc/lib/npcsystem/npchandler.lua:379: in function 'greet'
        data/npc/lib/npcsystem/npchandler.lua:541: in function 'onGreet'
        data/npc/lib/npcsystem/modules.lua:231: in function 'callback'
        data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
        data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
        data/npc/lib/npcsystem/keywordhandler.lua:128: in function 'processMessage'
        data/npc/lib/npcsystem/npchandler.lua:420: in function 'onCreatureSay'
        data/npc/scripts/runes.lua:8: in function <data/npc/scripts/runes.lua:8>
 
Do you have the same error when you talk to Eryn? You can try to use the npcsystem for TFS 0.3.6.
http://www.speedy*****malware.localhost/JkYNS/lib.rar
 
Do you have the same error when you talk to Eryn? You can try to use the npcsystem for TFS 0.3.6.
http://www.speedy*****malware.localhost/JkYNS/lib.rar
Works like a charm but all the npcs are caps sensitive, so i cant spawn /n eryn, i has to be /n Eryn, how can i get rid of the cap sensitive
 
I have the same problem but i cant summon them and it shows an error in console when i try to use /n, for example,
[14/05/2015 15:38:19] [Error - Npc interface]
[14/05/2015 15:38:19] data/npc/scripts/addons.lua
[14/05/2015 15:38:19] Description:
[14/05/2015 15:38:19] data/npc/scripts/addons.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[14/05/2015 15:38:19] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/addons.lua
Also, the link above isnt working for me
 
Last edited:
Add this at the top of the npc.lua (data/npc/lib/npc.lua).
Code:
dofile(getDataDir() .. 'npc/lib/npcsystem/npcsystem.lua')
 
Last edited:
This is not a problem with the server, it means you used a datapack (data folder) that was not ment for your server version (0.3.6).
In TFS 0.3.6 you need to have dofile(getDataDir() .. 'npc/lib/npcsystem/npcsystem.lua') in the npc.lua else it won't load the npcsystem.lua. In TFS 0.4 this is not needed that's why it's not added.
This is the whole npc lib folder for TFS 0.3.6, but you can also just use the one from the default 0.3.6 datapack or make sure the dofile directory is correct in the npc.lua and the npcsystem.lua.
http://www.4shared.com/rar/Iii73RaQce/lib.html
 
Back
Top