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

Lua Error - CreatureScript Interface

AnarchGov

Member
Joined
Oct 3, 2011
Messages
263
Reaction score
6
I get this error in my consol everytime i try to attack a monster on my server:

[28/02/2013 20:49:58] [Error - CreatureScript Interface]
[28/02/2013 20:49:58] buffer:onCombat
[28/02/2013 20:49:58] Description:
[28/02/2013 20:49:58] [string "loadBuffer"]:3: attempt to index global 't' (a nil value)
[28/02/2013 20:49:58] stack traceback:
[28/02/2013 20:49:58] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>

[28/02/2013 20:50:49] [Error - CreatureScript Interface]
[28/02/2013 20:50:50] buffer:onCombat
[28/02/2013 20:50:50] Description:
[28/02/2013 20:50:50] [string "loadBuffer"]:3: attempt to index global 't' (a nil value)
[28/02/2013 20:50:50] stack traceback:
[28/02/2013 20:50:50] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>

I can't find the script this is in. Please help.

REP++
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
	<event type="logout" name="demonOakLogout" event="script" value="demonOakLogout.lua"/>
	<event type="death" name="demonOakDeath" event="script" value="demonOakDeath.lua"/>
	<event type="attack" name="demonOakAttack" event="script" value="demonOakAttack.lua"/>
	<event type="login" name="VipFim" event="script" value="VipFim.lua"/>
	<event type="kill" name="BountyHunter" script="kill.lua"/>
	<event type="death" name="Reward" event="script" value="reward.lua"/>  
	<event type="advance" name="rewardsystem" event="script" value="rewardsystem.lua"/>
	<event type="login" name="PlayerLogin" event="script" value="login.lua"/>
	<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
	<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
	<event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/>
	<event type="think" name="Idle" event="script" value="idle.lua"/>
	<event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
	<event type="death" name="PythiusDead" script="pythius_the_rotten.lua" />
	<event type="death" name="monster2" event="script" value="monster2.lua"/>
	<event type="death" name="inquisitionPortals" script="teleports_inquisition.lua"/>
    <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>
    <event type="advance" name="levelplayer" script="20k.lua"/>
	<event type="login" name="VipCheck" event="script" value="vipcheck.lua"/>
	<event type="kill" name="PlayerKill" event="script" value="arenakill.lua"/>
	<event type="death" name="inquisitionPortals" event="script" value="inquisitionPortals.lua"/>
	<event type="logout" name="demonOakLogout" event="script" value="demonOakLogout.lua"/>
	<event type="death" name="demonOakDeath" event="script" value="demonOakDeath.lua"/> 
	<event type="death" name="Azerus" event="script" value="azerus.lua"/>  
	<event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/>
</creaturescripts>
 
I think this is a MOD file problem, check if you don't have any bugged mod in mods folder, or you just tried to put a xml-mod file into a lua one (it happens frecuently).
 
I did, but i took the mod out that was causing the problem. Unless a bug was newly created.

You were right. I found the mod. Thanks.
 
Last edited:
Back
Top