Undefined liquid configuration #12294

https://attnam.com/topics/Undefined-liquid-configuration-12294

The Cathedral of Attnam > Trouble Shooting and Bugs

#1 Mar 10, 12:41 am Hide

imaginarypowerunit

Hi,

I attached a zip of a save that can somewhat reliably crash the game in two different ways:
1) Usually the game crashes with the pop-up message "Undefined liquid configuration #12294"
2) Sometimes the game just crashes without showing any message

To reproduce the crash:
1) Extract the zip
2) Load the save
3) Hold '5' key on the numpad to pass the time without moving
The game usually crashes by move 8300. If the game hasn't crashed by that point, re-extract the zip, reload the save and try again.

The game version is the v0.60 dev build shared by red_kangaroo in the thread "Saved game successfully but can't load save file." on Feb 14, 2025, 5:50 pm.

I'm using Windows 10 Pro.

The level is infested with magical mushrooms that are causing all sorts of chaos, a great breeding ground for unexpected scenarios.

Good luck trying to figure out what's going on!
#2 Mar 10, 12:56 am Hide

vasiliy

it looks like there is a skeleton dog somewhere on the level, and in this build it tries to drool ectoplasm. which is a gas, not a liquid. hence the crash.

p.s.: i haven't tested the save, just noticed that 12294 is the value of ECTOPLASM constant. and there was a test commit to make skeleton dog drool ectoplasm without actually converting ectoplasm to liquid. so the attempt to spill it crashes the game.

p.p.s.: easy to check, btw. start a new game, and go down the Attnam catacombs. there is a necromancer on the last level, and several skeleton dogs. if the game will crash with the same message, then i'm right.
#3 Mar 10, 7:18 pm Hide

imaginarypowerunit

Ah, ok thanks for letting me know. I guess I'll stick with v0.59 then.
#4 Mar 10, 7:58 pm Hide

vasiliy

(shameless self-promotion) try k8IVAN, it has better UI, some unique features, and many more new crashes!
#5 Mar 11, 12:57 am Hide

imaginarypowerunit

Nice, looks interesting. I'm still just trying to kill Elpuri for the first time in the vanilla game though, haha.
#6 Mar 11, 1:16 am Hide

vasiliy

i never did it for almost two decades. hacking the game code is MUCH easier.
#7 Mar 13, 5:07 am Hide

red_kangaroo

Fixed here, BTW:

https://github.com/Attnam/ivan/pull/665/commits/38d11ac7f841...