gzdoom-g3.8pre-232-g395d61391
I have a key bound to MDK. If I press that key to kill an enemy, the game crashes.
If I press my bound key while pointing at something that is not an enemy (e.g. a wall) a bullet puff appears and no crash.
If I place the crosshair over an enemy, bring down the console and type MDK, the enemy gets killed and no crash.
Steps to replicate:
Start a normal game of GZDoom.
Bring down the console and type
bind [type key of choice here] mdk
e.g. I use bind j mdk
close the console
place the crosshair over an enemy
press your bound key
crash!
Key bound to MDK causes crash
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Key bound to MDK causes crash
No, does not happen.
Re: Key bound to MDK causes crash
Does this happen with a modded enemy, or just the stock Doom enemies?
Re: Key bound to MDK causes crash
Absolutely stock. Nothing else loaded.
However, I just tried deleting my ini and giving it another go - no crash. So, I went through my old ini and found the one setting needed to make this happen reliably.
Starting GZDoom with an ini that contains nothing more than
will cause a crash when I centre the view on an enemy and press j.
Blood types of "sprites and particles" and "particles" cause the crash. Sprites only does not.
However, I just tried deleting my ini and giving it another go - no crash. So, I went through my old ini and found the one setting needed to make this happen reliably.
Starting GZDoom with an ini that contains nothing more than
Code: Select all
[Doom.ConsoleVariables]
cl_bloodtype=1
[Doom.Bindings]
j=mdk
Blood types of "sprites and particles" and "particles" cause the crash. Sprites only does not.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Key bound to MDK causes crash
That was a crucial omission, considering that it was the particle code that crashed...
Re: Key bound to MDK causes crash
Thanks for the fix.
I didn't even think about the particles being responsible until you said it didn't crash for you. So I whittled down the possibilities in my ini and there it was.
I didn't even think about the particles being responsible until you said it didn't crash for you. So I whittled down the possibilities in my ini and there it was.