Bug #603

Throwing smokegreande + \kill won't detonate the smokegrenade

Added by Saukko over 4 years ago. Updated about 3 years ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:winrid
Category:Mod QAGAME
Target version:2.75
OS: Arch:

Description

So the title explains almost everything but here’s how to reproduce the bug:

1. Take covert ops and equip smokegrenade
2. Throw the smokegrenade and instantly \kill yourself
3. Smokegrenade won’t detonate

Doing the same with normal grenade will make it explode but with smokegrenade there’s this bug that it won’t detonate.

-*S

demo0009.dm_84 (114 KB) Saukko, 10.11.2014 22:10

demo0000.dm_84 (115 KB) winrid, 11.11.2014 08:21

Associated revisions

Revision 254b19bc
Added by Zecklar over 3 years ago

game: Added weapon_smokeBombExplode call to G_ExplodeMissile, fixes #603

History

#1 Updated by winrid over 4 years ago

  • Assignee set to winrid

#2 Updated by winrid over 4 years ago

Saukko wrote:

So the title explains almost everything but here’s how to reproduce the bug:

1. Take covert ops and equip smokegrenade
2. Throw the smokegrenade and instantly \kill yourself
3. Smokegrenade won’t detonate

Doing the same with normal grenade will make it explode but with smokegrenade there’s this bug that it won’t detonate.

-*S

I can’t replicate this... Is it still broken for you?

#3 Updated by Saukko over 4 years ago

I’m unable to record due to the Unknown event: 129 error. But yeah, I still can reproduce this bug. It kind of throws the smokegrenade behind you, but you are also able to throw it a little bit forward too if timed right. And still it won’t detonate. It’s all if you kill yourself too fast, even visually you have thrown the smokegrenade or it has dropped, it won’t detonate.

-*S

#4 Updated by IR4T4 over 4 years ago

I can’t reproduce.

#5 Updated by Spyhawk over 4 years ago

Cannot reproduce either.

Saukko, please ensure this issue is also not related to #614. There are always weird issues if your qgame/cgame file version diverge.

#6 Updated by Saukko over 4 years ago

Ok since now I was able to take a demo, now you can see what I mean. This bug is reproducible 100% of the time. I also threw grenade to show that it explodes but smokegrenade doesn’t. I have removed the unnecessary files so, there should be no problem with that.

See the demo attached.

-*S

#7 Updated by Spyhawk over 4 years ago

  • Category changed from Mod CGAME to Mod QAGAME
  • Status changed from New to Confirmed

All right, I can see the issue now. You basically have to /kill at the same time you "shoot" the smoke can.

I first thought of fireDelayTime (in weapon table, see bg_misc.c), but the set value is similar to nades.

#8 Updated by winrid over 4 years ago

Spyhawk wrote:

All right, I can see the issue now. You basically have to /kill at the same time you "shoot" the smoke can.

I first thought of fireDelayTime (in weapon table, see bg_misc.c), but the set value is similar to nades.

Perhaps I’m not doing it fast enough. Will try again.

#9 Updated by winrid over 4 years ago

Okay I still can’t reproduce this. Replay attached.

#10 Updated by Spyhawk over 4 years ago

winrid wrote:

Okay I still can’t reproduce this. Replay attached.

Yes, not fast enough. You can reproduce the bug when you died before you get the time to fully throw the can ahead of you (so the can falls where you are, or sometimes even behind you).

I’m actually not even sure if this is really a bug, as it looks like the smoke can isn’t fully armed. But yes, a similar issue exists with grenades and they however explode in any case.

#11 Updated by Saukko over 4 years ago

You can try airstrike canister too. It will detonate, grenades will detonate but not smokegrenades.

-*S

#12 Updated by winrid over 4 years ago

Saukko wrote:

You can try airstrike canister too. It will detonate, grenades will detonate but not smokegrenades.

-*S

Yeah I can replicate this now. Looking into it.

#13 Updated by Zecklar over 3 years ago

  • Status changed from Confirmed to Fixed
  • % Done changed from 0 to 100

#14 Updated by IR4T4 about 3 years ago

  • Target version changed from 2.78 to 2.75

Also available in: Atom PDF