Chaosforge Forum

DoomRL => Bug Reports => Topic started by: Fusilliban on June 20, 2014, 18:25

Title: Teleporter causes error on all-lava map
Post by: Fusilliban on June 20, 2014, 18:25
Today I encountered my first lava-spreads-super-fast map.  I had cerberus boots and so didn't have to cry about losing a good run.

The map had a teleporter, which wasn't eaten by lava.  Stepping in it made this happen:

----------------------------------------------------------------------
Timestamp   : 6/20/2014 20:16:13
Error level : ERROR
Message     : Lua hook OnEnter caught ELuaStateException!

Call path     : items[teleport].OnEnter
Call params   : (<object>)
Error message : Lua error : lua\\main.lua:601: Unknown property "target" requested on object of type TItem!
----------------------------------------------------------------------

----------------------------------------------------------------------
Timestamp   : 6/20/2014 20:16:16
Error level : ERROR
Message     : Lua hook OnEnter caught ELuaStateException!

Call path     : items[teleport].OnEnter
Call params   : (<object>)
Error message : Lua error : lua\\main.lua:594: Unknown property "target" requested on object of type TItem!
----------------------------------------------------------------------

But the game didn't crash, so that's good.
Title: Re: Teleporter causes error on all-lava map
Post by: ZicherCZ on June 21, 2014, 00:32
The possible explanation is that teleporter's target is fixed, but any teleport (including those from phase devices) will never port you into a liquid. Since the target space was covered in lava, the teleporter had no valid target, causing a bug.

By the way, I think that a teleportar can port monsters into your space (or you into monster's!) for a telefrag - if you see where a teleported monster landed, never step on that space again.