dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
777 stars 77 forks source link

Slab becomes impossible to cross #3144

Open Loobinex opened 7 months ago

Loobinex commented 7 months ago

To reproduce: 1) Load this map: map00004.zip 2) Make some imps and have them dig straight west from the heart -> Notice imps will not claim beyond this spot: image 3) Make a treasure room and drop the imps west of this slab and notice they will not be able to make their way back.

I did some investigation:

image

I get several reports of this bug in different forms, of pathfinding seemingly broken through open ground:

image

AdamPlenty commented 7 months ago

My Imps can get to the door and back just fine 😕.

Loobinex commented 7 months ago

My Imps can get to the door and back just fine 😕.

What do you do? Just load the map, tag left, build imps and frameskip. You should see the claiming stop partway.

AdamPlenty commented 7 months ago

That's just what I did (sans the frameskip). They hesitated, but claimed all the path, and reached the door.

Loobinex commented 7 months ago

That's just what I did (sans the frameskip). They hesitated, but claimed all the path, and reached the door.

@AdamPlenty See this video:

https://github.com/dkfans/keeperfx/assets/13840686/125c3f3e-5f59-4966-ae24-1dbae6580dac

This is not just for me, it was reported by a user and look at with others too.

AdamPlenty commented 7 months ago

This is what happened when I tried it:

https://github.com/dkfans/keeperfx/assets/58278560/75789dfc-6086-4c97-83c9-48739559b0b9

Loobinex commented 7 months ago

Already weird, but at least you can also reproduce them stopping the claiming past that point. If you reproduce from the start and build the treasure room like I did, can you also get the message that imps cannot get there?

AdamPlenty commented 7 months ago

Already weird, but at least you can also reproduce them stopping the claiming past that point. If you reproduce from the start and build the treasure room like I did, can you also get the message that imps cannot get there?

Yes, but here's the rum thing: I get the bug, but saving the game and reloading the savegame fixes it 😕.

Loobinex commented 7 months ago

Already weird, but at least you can also reproduce them stopping the claiming past that point. If you reproduce from the start and build the treasure room like I did, can you also get the message that imps cannot get there?

Yes, but here's the rum thing: I get the bug, but saving the game and reloading the savegame fixes it 😕.

In the older days the pathfinding bus also reset itself after loading. Something about navigation is cleared on each save/load, possibly the navigation colors.