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

question about a .lue arror

Mickske

New Member
Joined
May 2, 2013
Messages
15
Reaction score
4
Location
The Netherlands
I switched to another Rme, coverted the map to 10.98 (from 8.31).
now all my npcs are showing this:

Lua Script Error: [Npc interface] data/npc/scripts/flowers.lua data/npc/scripts/flowers.lua:1: attempt to index global 'KeywordHandler' (a nil value) stack traceback: [C]: in function '__index'
data/npc/scripts/flowers.lua:1: in main chunk [Warning - NpcScript::NpcScript]
Can not load script: flowers.lua cannot open data/npc/scripts/data\npc\scripts\food.lua: No such file or directory
 

Evil Puncker

prolonged absenteeism
TFS Developer
Joined
May 30, 2009
Messages
8,041
Solutions
215
Reaction score
3,881
correct npc:

XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Alice" script="bless.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100" />
    <look type="139" head="20" body="39" legs="45" feet="7" addons="0" />
</npc>

incorrect:

XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Alice" script="data/npc/scripts/bless.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100" />
    <look type="139" head="20" body="39" legs="45" feet="7" addons="0" />
</npc>
 
Top