With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Discuss & improve the game engine.

Moderators: sparcdr, torhu, Tequila

molotov-dynamite exploit fix

Postby TheDoctor » Tue Sep 14, 2010 12:44 am

To disallow immediate dynamite explosions on kill when the victim is holding a burning molotov and carries dynamite (molotov-dynamite exploit), add the following lines in code/game/g_combat.c, function player_die( gentity_t, gentity_t, gentity_t, int, int):
Code: Select all
if (self->client->ps.weapon == WP_MOLOTOV) {
   self->client->ps.stats[STAT_WP_MODE]=-1;// reset timer for dynamite
}
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



reply

Postby Lon' » Tue Sep 14, 2010 2:16 am

this is a funny way to killing!!! always work!! heheh
User avatar
Lon'
Gunslinger
 
Posts: 201
Joined: Tue Jul 28, 2009 4:41 am
Location: Brazil - BA



Re: reply

Postby TheDoctor » Tue Sep 14, 2010 3:04 am

Lon' wrote:this is a funny way to killing!!! always work!!

Not any longer on Baller and Special Bude :D .
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Lon' » Tue Sep 14, 2010 3:10 am

oh no!!!!! I love to be like Bin Laden bomber in dm ... I always laught a lot especially with that bomb-molotov killing!! the only problem is that u die together!!!!
hihihi
:roll:

but anyway !!!
nice fixxx
User avatar
Lon'
Gunslinger
 
Posts: 201
Joined: Tue Jul 28, 2009 4:41 am
Location: Brazil - BA



Postby Pardner » Tue Sep 14, 2010 2:40 pm

I wouldn't call it an exploit... more like a feature. Molotov cocktails don't really do much damage on their own, but if you add some TNT...... 8O

It makes sense too if you think about it. Fire + someone holding TNT = boom!
User avatar
Pardner
SG Team
 
Posts: 1786
Joined: Fri Nov 18, 2005 5:48 am
Location: MD, USA



Postby kaiyouw » Wed Sep 15, 2010 3:47 am

Yeah, I think I agree with pardner. However, sometimes I get really pissed when I kill someone at close range, and while the other guy dies the dynamits he had flies up in the air before falling, and sometimes I shoot that dynamite and die. That sucks! Happens a lot when you use Sawedoff...
User avatar
kaiyouw
Gunslinger
 
Posts: 118
Joined: Thu Jul 08, 2010 7:43 am



Postby TheDoctor » Sun Oct 03, 2010 10:59 pm

Pardner wrote:I wouldn't call it an exploit... more like a feature.

It's clearly a bug: the time it takes for the dynamite to explode depends on how long your molotov did burn.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby LuckyGenDago » Mon Oct 04, 2010 7:30 pm

i think its more realistic if the tnt explode if you hold a burning cocktail in your hand while you are dead.
[IngameName] mS.Dago
TS Admin
Image
LuckyGenDago
Gunslinger
 
Posts: 139
Joined: Fri Apr 10, 2009 1:05 am



Postby TheDoctor » Tue Oct 26, 2010 2:51 pm

LuckyGenDago wrote:I think its more realistic if the tnt explodes if you hold a burning cocktail in your hand while you are dead.

It is lit and will still explode, but not immediately. There is no point in rewarding the use of dynamite as an immediate revenge device.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Postby Twig » Tue Oct 26, 2010 5:26 pm

TheDoctor wrote:
Pardner wrote:I wouldn't call it an exploit... more like a feature.

It's clearly a bug: the time it takes for the dynamite to explode depends on how long your molotov did burn.



^what TheDoctor said.
SG name: mS//Twig
User avatar
Twig
Pistolero
 
Posts: 34
Joined: Fri Oct 23, 2009 11:52 am




Return to Code

Show Sidebar
Show Sidebar

User Control Panel

cron