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

Problem with KillingInTheNameOf

equero

New Member
Joined
Feb 22, 2013
Messages
51
Reaction score
1
Hey.
I need help with KillingInTheNameOf ... (TFS 0.3.6 8.6)
I did step by step what is described in this tutorial and receives the error:
grizzly-adams
[Error - LuaScriptInterface::loadFile] cannot open data/npc/scripts/KillingInTheNameOf.lua: No such file or directory [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/KillingInTheNameOf.lua cannot open data/npc/scripts/KillingInTheNameOf.lua: No such file or directory

I don't understand it because location is correct, name too:
data\npc\scripts\KillingInTheNameOf

<?xml version="1.0" encoding="UTF-8"?>

XML:
<?xml version="1.0" encoding="UTF-8"?>

<npc name="Grizzly Adams" script="data/npc/scripts/KillingInTheNameOf.lua" access="3" walkinterval="2000" lookdir="2">
    <mana now="800" max="800"/>
    <health now="200" max="200"/>
<look type="144" head="97" body="97" legs="94" feet="97" addons="3"/>
</npc>

Can someone help me with this problem?
 
Solution
Replace your XML with this one
XML:
<?xml version="1.0" encoding="UTF-8"?>

<npc name="Grizzly Adams" script="KillingInTheNameOf.lua" access="3" walkinterval="2000" lookdir="2">
    <mana now="800" max="800"/>
    <health now="200" max="200"/>
<look type="144" head="97" body="97" legs="94" feet="97" addons="3"/>
</npc>
Replace your XML with this one
XML:
<?xml version="1.0" encoding="UTF-8"?>

<npc name="Grizzly Adams" script="KillingInTheNameOf.lua" access="3" walkinterval="2000" lookdir="2">
    <mana now="800" max="800"/>
    <health now="200" max="200"/>
<look type="144" head="97" body="97" legs="94" feet="97" addons="3"/>
</npc>
 
Solution
[Error - LuaScriptInterface::loadFile] cannot open data/npc/scripts/KillingInTheNameOf.lua: No such file or directory [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/KillingInTheNameOf.lua cannot open data/npc/scripts/KillingInTheNameOf.lua: No such file or directory

thank you for your answer! but still the same.
Location KillingInTheNameOf.lua is in scripts folder so
Post automatically merged:

It works now! thank you so much!
I copied the KillingInTheNameOf name again (corrected) and it works fine
 
Last edited:
Back
Top