keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Vertical camera movement can't be cancelled (rare)

Open CaptainCosmotic opened this issue 4 years ago • 4 comments

If I right-click on a creature portrait in rare cases the camera moves down vertically very slowly and I cant interrupt this. It moves down cycles trough the whole map and ends on the location where the creature was when I clicked it. In this time no inputs can be made. It's possible that this is vanilla behavior. I think I can remember this happening already 20 years ago. It may be happening if the target creature teleports away in exactly the moment you click on the portrait.

CaptainCosmotic avatar Apr 05 '21 14:04 CaptainCosmotic

@SimLV Already has this one on his list to fix. We found a way to reproduce:

  1. Extract the file into your KeeperFX folder: bug.zip
  2. Run the game with the '-packetload 106.pct' command line
  3. Frameskip until you see the cursor turn into a training room (otherwise you'd have to wait too long)
  4. See the camera move slowly from the center down and flip over to back to top

Loobinex avatar Apr 05 '21 14:04 Loobinex

@SimLV Already has this one on his list to fix. We found a way to reproduce:

  1. Extract the file into your KeeperFX folder: bug.zip
  2. Run the game with the '-packetload 106.pct' command line
  3. Frameskip until you see the cursor turn into a training room (otherwise you'd have to wait too long)
  4. See the camera move slowly from the center down and flip over to back to top

Yeah i tested it I think this looks like the issue i was talking about

CaptainCosmotic avatar Apr 05 '21 15:04 CaptainCosmotic

Just a few additions, while I initially also thought this may be caused by a creature just teleporting away, I no longer think that's the issue because it just recently happened to me on a Samurai. On top of that, it can also happen horizontally, not just vertically.

However since the Samurai is quite the fast unit, potentially it is caused if the creature just left the view of where the camera tried to zoom to? Because the same would be the case if the creature teleported away shortly after you zoomed in on it.

CommanderCH avatar Feb 14 '22 12:02 CommanderCH

1. Extract the file into your KeeperFX folder: [bug.zip](https://github.com/dkfans/keeperfx/files/6258748/bug.zip)

works with the provided exe but the latest master does some wierd stuff and crashes not long into the map

PieterVdc avatar Mar 15 '22 21:03 PieterVdc