• 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 1.X+ Can not Load NPC.

Scrollia

Banned User
Joined
Apr 26, 2021
Messages
100
Reaction score
15
So i have make NPC Spawn in RME, they names start with fisr big capital letter, like Sam not sam.
In the engine i have 'small' letters npc, like up, 'sam' for example, so i changed them to big one 'Sam' - engine loaded them correctly, they are sapwned on the map but in sonsole iv got now '
Lua:
[Error - Npc::loadFromXml] Failed to load data/npc/alissa.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/allen.xml: File was not found
[Error - Npc::loadFromXml] Failed to load data/npc/asima.xml: File was not found
Like he is looking for 'small letter' NPC, how to solve it?
 
Solution
You might have to redo those npc's on the map.

Normally you'd want to change the filename of the npc in data/npc to have the uppercase letter,
then you'd go into the map editor and import the new npc's, which you would then place on the map.

So you might luck-out and just need to change the file names, or you'd need to do the entire process.

Note, that this might give you 'duplicate' npc's.
In that case you'd want to delete all of the npc's from your remere's, then re-import them.

To do that..
  • Close Remere's
  • go to C:\Users\Xikini\AppData\Roaming\Remere's Map Editor\data\1098 (your 'username' and 'client version' will/may be different)
  • go into creatures.xml and go through and delete all the npc's...
You might have to redo those npc's on the map.

Normally you'd want to change the filename of the npc in data/npc to have the uppercase letter,
then you'd go into the map editor and import the new npc's, which you would then place on the map.

So you might luck-out and just need to change the file names, or you'd need to do the entire process.

Note, that this might give you 'duplicate' npc's.
In that case you'd want to delete all of the npc's from your remere's, then re-import them.

To do that..
  • Close Remere's
  • go to C:\Users\Xikini\AppData\Roaming\Remere's Map Editor\data\1098 (your 'username' and 'client version' will/may be different)
  • go into creatures.xml and go through and delete all the npc's you can find (or delete everything and in next step import all npc's and monsters)
  • open Remere's
  • import your npc's
  • replace all your npc's on the map that say 'file was not found'
 
Solution
You might have to redo those npc's on the map.

Normally you'd want to change the filename of the npc in data/npc to have the uppercase letter,
then you'd go into the map editor and import the new npc's, which you would then place on the map.

So you might luck-out and just need to change the file names, or you'd need to do the entire process.

Note, that this might give you 'duplicate' npc's.
In that case you'd want to delete all of the npc's from your remere's, then re-import them.

To do that..
  • Close Remere's
  • go to C:\Users\Xikini\AppData\Roaming\Remere's Map Editor\data\1098 (your 'username' and 'client version' will/may be different)
  • go into creatures.xml and go through and delete all the npc's you can find (or delete everything and in next step import all npc's and monsters)
  • open Remere's
  • import your npc's
  • replace all your npc's on the map that say 'file was not found'
it worked, thanks.
 
Back
Top