• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Npc error in console :s

Eldran

New Member
Joined
Jul 13, 2009
Messages
85
Reaction score
2
Hiho

I get those errors in console when i add some npcs in map. Distro crying damson 0.3.5pl1 tibia version 8.50 :~~

[20/05/2013 23:43:46] [Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Maris.xml).
[20/05/2013 23:43:46] Info: failed to load external entity "data/npc/Maris.xml"


[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_svargrond.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_svargrond.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_ab.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_ab.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_edron.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_edron.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_carlin.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_carlin.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_darashia.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_darashia.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_venore.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_venore.lua: No such file or directory
[20/05/2013 23:43:46] Parameter 'keyword_reply4' missing. Skipping...
[20/05/2013 23:43:46] Parameter 'keyword_reply4' missing. Skipping...
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_thais.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_thais.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_darashia.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_darashia.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_porthope.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_porthope.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_ankrahmun.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_ankrahmun.lua: No such file or directory
[20/05/2013 23:43:46] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/data\npc\scripts\boat_libertybay.lua
[20/05/2013 23:43:46] cannot open data/npc/scripts/data\npc\scripts\boat_libertybay.lua: No such file or directory

I normally use those NPCS in version 8.42 >.<

Thx all :*
 
Last edited:
There are one script gets failed on load:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Captain Bluebear" script="data\npc\scripts\boat_thais.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="129" head="19" body="69" legs="107" feet="50" addons="0"/>
</npc>
 
Look at the directory in the xml file of an npc that doesn't have this error.
It should be something like this (instead of default.lua the name of the lua file from that npc).
XML:
script="default.lua"
Then change the directory in the npcs that give these errors the same way.
Also be sure you added the lua file and that the name is correct.
 
you see the part that says "<npc name="Captain Bluebear" script="data\npc\scripts\boat_thais.lua" walkinterval="2000" floorchange="0">", well, the letters in red is an UNNECESARY part, so you should delete the "data\npc\scripts\" bacause as a default the server already enter to this folders, it should looks like:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Captain Bluebear" script="boat_thais.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="129" head="19" body="69" legs="107" feet="50" addons="0"/>
</npc>
 
Back
Top