Incorrect creature combat behavior
There is a new bug where units behave weirdly in combat. Attached are 2 packet files that reproduce 2 different situations:
-
The top left salamander will behave like a ranged unit and only back out of combat.
-
Out of the 8 goblins that should attack the 2 black knights, a bunch refuse to fight and will stand still inside the knight.
To reproduce:
- install Alpha 3972
- Extract this file over the folder, giving you custom configs, creatures, a testmap and the packets: reproduce.zip
- Run the game with
-packetload pack1.pckfor the first bug, or-packetload pack2.pckfor the second bug
I have traced the bug down to be introduced in Alpha 3935. Revert the commit from 2024-04-26, 19:22 and run the packets again to see both the salamander and the goblins behave correctly.
I get broken Hell Hounds when I run the packets.
Warning: The global creature model config file "./creatrs/goblin.cfg" doesn't exist or is too small. Warning: The global creature model config file "./creatrs/salamander.cfg" doesn't exist or is too small. Warning: The global creature model config file "./creatrs/maiden.cfg" doesn't exist or is too small. Warning: The global creature model config file "./creatrs/black_knight.cfg" doesn't exist or is too small.
Was the zip supposed to include these configs too?
Was the zip supposed to include these configs too?
Yes. I updated the file in the first post to include them now too.
I've loaded this up on alpha (4084) and combat is working as it should, above bugs were not present.
I've loaded this up on alpha (4084) and combat is working as it should, above bugs were not present.
I can reproduce it still, but can also reproduce it in the 1.1.0.3944 build (the full release).
Maybe it has something to do with max melee/ranged opponents?