Chaosforge Forum

DoomRL => Bug Reports => Topic started by: BirdoPrey on May 05, 2011, 09:09

Title: Error message on barrel lever
Post by: BirdoPrey on May 05, 2011, 09:09
----------------------------------------------------------------------
Timestamp   : 5/5/2011 11:05:41
Error level : ERROR
Message     : Lua hook OnUse failed!

Hook name     : beings[lever_explode].OnUse
Error message : Lua error : lua\core.lua:143: Object at parameter 1 has no __ptr!
----------------------------------------------------------------------

I suspect it has something to do with the fact that the offending lever was destroyed by its own effects.
Title: Re: Error message on barrel lever
Post by: plamen86 on May 17, 2011, 16:01
I've just experienced the same error. I'm using the 0.9.9.3 on Windows 7.

I entered a room with two barrels and a lever just below them. I pushed the
lever and it blew the barrels and produced an error message which was the
same with the one above.

Hope this will help reproducing the bug.
Title: Re: Error message on barrel lever
Post by: Tuomari Jim on June 06, 2011, 06:26
I just got the exact same error. I pulled a barrel lever after having killed everything, and was pushed back by the force of the exploding barrels(there was an acid barrel in the same room a few tiles away).
Title: Re: Error message on barrel lever
Post by: tehtmi on June 06, 2011, 10:46
I can confirm that this error occurs when one of the barrel explosions destroys the lever (as BirdoPrey suggested).

Should be harmless, and is easy to fix.