[fixed]Thrown inventory items causing GZdoom to freeze
Posted: Wed May 24, 2006 23:30
I mentioned this a while back in another thread (which I can't find ATM). At that time, I was having problems with my flare item causing what seemed like random crashes. I messed around with it until it became the version that was released in the Thief WAD. For some reason that didn't seem to cause the problem. However, I have now created another item and it seems to reliably and repeatedly cause what seems like the same/a very similar problem.
Grab the linked file. Load it and pick up the grenade box. Attached to it is a script that simply gives you 25 grenades. GiveInventory ("NJArtiFragGrenade", 25) ). Then walk right up to the door so that you are touching it (as if you were going to open it) but rather than hitting [USE], hit whichever key you have bound to use inventory items to throw a grenade. If it behaves like it does on my system, this will cause GZdoom to get stuck. You can usually Ctrl-Alt-Del to shut GZdoom down, but it can be a pain to do so, and you get stuck with your screen using the game gama settings.
http://www.zen64060.zen.co.uk/gren.zip
[edit]OK, process of elimination stuff by comparing it to my flare...
Reducing the size of the projectile item (NJFragGrenade) to 4x4 and reducing its speed to 20 seems to cure the problem. Restore either thing back to its original value and the problem comes back.[/edit]
Grab the linked file. Load it and pick up the grenade box. Attached to it is a script that simply gives you 25 grenades. GiveInventory ("NJArtiFragGrenade", 25) ). Then walk right up to the door so that you are touching it (as if you were going to open it) but rather than hitting [USE], hit whichever key you have bound to use inventory items to throw a grenade. If it behaves like it does on my system, this will cause GZdoom to get stuck. You can usually Ctrl-Alt-Del to shut GZdoom down, but it can be a pain to do so, and you get stuck with your screen using the game gama settings.
http://www.zen64060.zen.co.uk/gren.zip
[edit]OK, process of elimination stuff by comparing it to my flare...
Reducing the size of the projectile item (NJFragGrenade) to 4x4 and reducing its speed to 20 seems to cure the problem. Restore either thing back to its original value and the problem comes back.[/edit]