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

luaDoTransformItem(). Item not found

Darad

New Member
Joined
Jun 23, 2009
Messages
119
Reaction score
1
Hey guys,

need some help here. Have a mod that does some stuff, and then lowers the charges on the item. But this lowering does not work properly. Here's the code that does it.

Code:
<action itemid="XXXX" allowfaruse="0" event="buffer">

Lua:
-- Set charges.
if config.useCharges == 1 then 
	doTransformItem(item.uid, item.itemid, item.type - 1)
end

This results in

Code:
[07/09/2009 16:51:43] Lua Script Error: [Action Interface] 
[07/09/2009 16:51:43] buffer

[07/09/2009 16:51:43] luaDoTransformItem(). Item not found

Halp!?
 
Back
Top