devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Pathfinding is bad

Open qndel opened this issue 2 years ago • 4 comments

Operating System

Windows x64

DevilutionX version

Other (please specify version number)

Describe

Probably a vanilla bug that only became visible while using https://github.com/diasurgical/devilutionX/pull/6101 single_2.zip

To Reproduce

Run debug build Enable seeing path (drawpath) Load the save and behold the mess

Expected Behavior

Pathfinding should be smarter than that

Additional context

Looks like if you get stunned, current movement simply gets consumed from the path which causes the rest of it to get shifted and usually end in walls/stuff = useless poopath

qndel avatar May 12 '23 15:05 qndel

Damn.... nice find. This explains a lot of erratic movement in the game.

julealgon avatar May 12 '23 17:05 julealgon

Every time we get visual data on something we discover bugs - hp bars / floating dmg numbers, now path :D

qndel avatar May 12 '23 19:05 qndel

and vision

AJenbo avatar May 12 '23 19:05 AJenbo

don't forget the first monster in the level not giving xp. so xp bar too :P

galaxyhaxz avatar May 13 '23 04:05 galaxyhaxz