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

Pawelwroclaw

New Member
Joined
Aug 22, 2014
Messages
34
Reaction score
0
Hi guys,
i have problem with NPC, I dont have this NPC in my maps but i have bugs ;/

[Error - LuaInterface::loadFile] cannot open data/npc/lib/npcsystem/main.lua: No such file or directory
I/O warning : failed to load external entity "data/npc/eremo.xml"
[Warning - Npc::loadFromXml] Cannot load npc file (data/npc/eremo.xml).
Info: failed to load external entity "data/npc/eremo.xml"

plx help and thank :)
 
Do you also have this npc in your datapack in data/npc?
Which server do you use and can you post the script?

The main.lua error, if you switched the npcsystem, readd the main.lua script from your old npcsystem.
 
If you want to delete the npc, delete it from the map.
Info: failed to load external entity "data/npc/eremo.xml" means it can't find the npc in your server.
 
I'm not sure what TFS version you are using but for TFS 1.0... you can go to data/world/"mapname"-spawn.xml
Search for "Eremo" and delete the whole line:

For example:
<npc name="Eremo" x="-1" y="0" z="11" spawntime="60" />
 
ok good :) but now i have this bugs

[Error - LuaInterface::loadFile] cannot open data/npc/lib/npcsystem/main.lua: No such file or directory

i dont have this folder main.lua :(
 
Back
Top