Page 1 of 1
The return of the teleporter bug
Posted: Fri Jan 24, 2003 1:27 am
by Sophia
I think that the teleporter bug in v0.22, where teleporters won't work if the destination has a trigger or other flooritems, isn't totally gone.
It seems like Screamers, and probably other monster types, won't teleport if the destination has a teleporter, a trigger, or some other flooritems. Oddly enough, other monster types like Dragons or Worms seem to work just fine.
I'm actually not 100% it has to do with the monster type and not other factors, but that's what I noticed while I was playing with it.
Re: The return of the teleporter bug
Posted: Fri Jan 24, 2003 10:17 am
by George Gilbert
The code only lets a monster teleport if the destination tile won't effect them. This is very specifically intended to prevent recursion (i.e. a monster stepping into a teleporter that teleports them back in a never ending loop).
My guess is that the destination tile has a teleporter that is activated by a screamer, but not a dragon. However, if I'm completely wrong, please let me know and I'll have another look!
nope
Posted: Fri Jan 24, 2003 9:38 pm
by Sophia
The destination does have a teleporter, but it's operated by any monster, and it's also inactive. I think that the code is forgetting to check if the teleporter is inactive when it refuses to allow the teleportation, but that doesn't explain why only certain monster types are affected!
Still, I think I've isolated the bug. I made a very simple dungeon consisting only of two sealed rooms, one containing a worm, and one containing a screamer. Each has a button next to it that activates a teleporter which teleports the occupant of the room. However, the destination square contains an inactive teleporter. The Worm teleports; the Screamer does not. I'll send you this dungeon via e-mail.
Re: The return of the teleporter bug
Posted: Mon Feb 10, 2003 10:29 am
by George Gilbert
Fixed for V0.24