The return of the teleporter bug

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

The return of the teleporter bug

Post 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.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: The return of the teleporter bug

Post 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!
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

nope

Post 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.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: The return of the teleporter bug

Post by George Gilbert »

Fixed for V0.24
Post Reply