Key bound to MDK causes crash

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Enjay
 
 
Posts: 26516
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Key bound to MDK causes crash

Post by Enjay »

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!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Key bound to MDK causes crash

Post by Graf Zahl »

No, does not happen.
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Key bound to MDK causes crash

Post by Nash »

Does this happen with a modded enemy, or just the stock Doom enemies?
User avatar
Enjay
 
 
Posts: 26516
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Key bound to MDK causes crash

Post by Enjay »

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

Code: Select all

[Doom.ConsoleVariables]
cl_bloodtype=1

[Doom.Bindings]
j=mdk
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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Key bound to MDK causes crash

Post by Graf Zahl »

That was a crucial omission, considering that it was the particle code that crashed...
User avatar
Enjay
 
 
Posts: 26516
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Key bound to MDK causes crash

Post by Enjay »

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. :)
Post Reply

Return to “Closed Bugs [GZDoom]”