• 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 Need HELP NPC SYSTEM

The screen is really small, but I guess it's about that it can't load the default.lua, no such file or directory.
Go to the xml file of the npcs, If you use TFS 0.2 (Mystic Spirit), then change the directory like this.
XML:
script="data/npc/scripts/default.lua"
Instead of this
XML:
script="default.lua"
 
Open the xml files of your npcs, every npcs that is missing this data/npc/scripts/, add it.
Like this.
Code:
script="[COLOR="#FF0000"]data/npc/scripts/[/COLOR]default.lua"
 
ex:

<npc name="Alfred" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">

Eg: no one npc missing data/npc/scripts/,

hmm maybe some npcs missings this string.

+700 NPCS. so i should check all? :D
 
Back
Top