Dehacked Incompatibilities

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

Re: Dehacked Incompatibilities

Post by Graf Zahl »

Posting a bug report in a closed bugs thread almost guarantees that it gets forgotten. You of all people should know that! ;)
User avatar
Enjay
 
 
Posts: 27111
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Dehacked Incompatibilities

Post by Enjay »

He he, yeah, but this one has already been forgotten about a few times and it's obscure enough and difficult enough that I don't expect it to be addressed. It just seemed kind of relevant to the topic. :)
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Dehacked Incompatibilities

Post by Xaser »

Enjay wrote:I know that this is a slightly separate issue (given that the originally reported problem is using a shotty pointer and therefore has to spread). If a sniper rifle is made using stacking pistol shots, and the weapon is set up correctly (ie, there is no refire so every shot has to be a single shot so all shots are always concentrated on the same spot) occasionally (ie pretty rarely), and apparently randomly, sometimes the ability to put all shots in exactly the same place gets lost and they do start to spread. Once this happens, the weapon acts pretty much like a shotgun for as long as you play the game. Changing away from it and back again does not fix the issue. Quitting and restarting fixes it and I can't remember what happens across save games. I have reported this in the past but it is very rare and so difficult to reproduce, but it does happen.
I do remember this happening to me long ago, but I think it was "fixed" in game by switching to and firing an actual spreading weapon. Somehow that seemed to set the stacked-shot weapon back in order. :shrug:

DeHackEd is weird. :P
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Dehacked Incompatibilities

Post by wildweasel »

Actually, it's not that weird when you understand what causes it. It all has to do with the Refire pointer.

The best way to reproduce this effect is to fire a weapon that has a spread - say, a machine gun - until it runs out of ammo. Keep holding down the Fire button! When the game switches to your sniper rifle, the game continues spreading successive shots, because the Refire logic last detected that you have the fire button held down, thus hitscan attacks will spread. Since the sniper rifle has no Refire pointer, the game can't detect that you're NOT holding down the fire button, so every time you pull the trigger on the sniper rifle, all the FirePistol calls will still spread. Now as soon as you've got more machine gun ammo, switch to that and fire off a single round. Refire kicks in, detects that you've (finally!) let go of the fire button, and every other weapon will continue to act as normal from then on, until the glitch is triggered again.

So, in essence, that is Not A ZDoom Bug.
User avatar
Enjay
 
 
Posts: 27111
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Dehacked Incompatibilities

Post by Enjay »

Aha! that makes sense. At least that's a mystery that has been at the back of my mind for years solved now. :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Dehacked Incompatibilities

Post by Graf Zahl »

wildweasel wrote: So, in essence, that is Not A ZDoom Bug.

Actually, it is. Switching weapons - even by force should reset the flag.
Post Reply

Return to “Closed Bugs [GZDoom]”