Page 1 of 1

[1.1.0] Game freezes upon death with le-guns3.wad

Posted: Wed Mar 05, 2008 21:43
by wildweasel
http://www.sendspace.com/file/wp5q64

When playing with this wad file (Duducrazy's Guns 3), nearly any death (getting shot by zombies, gibbed by a cyberdemon, typing Kill in the console) results in GZDoom freezing. Duducrazy sent me this wad himself, and I offered to look over it for him to see if I could find any obvious issues in his decorate coding - I found none. I honestly have no idea why the game would hang like this, but it is reproducible with this wad in particular.

Posted: Thu Mar 06, 2008 2:40
by Enjay
It freezes for me too but, interestingly, if I kill myself with that big BFG-like gun, it doesn't freeze. If an enemy kills me it does.

Posted: Thu Mar 06, 2008 3:27
by wildweasel
I've noticed that as well - the only way to prevent GZDoom from freezing is to commit suicide with the BFG. The thing is, there is nothing in the custom player class that would cause this (as it inherits from DoomPlayer). I even tried working around it just now by including all of DoomPlayer's unchanged states, to little effect.

Posted: Thu Mar 06, 2008 10:50
by Graf Zahl
0-duration deselect states don't work. Plain and simple. There is no way that the player's death code can get out of the infinite loop. There has to be at least one non-zero-duration state eventually. If you want instant lowering you can put 10 or 20 0-duration states before that but it has to be there.