Drop weapon glitch for ammo

These bugs do plan to be resolved, when they can be.

Moderator: GZDoom Developers

Drop weapon glitch for ammo

Postby Agent ME » Tue Sep 30, 2008 5:49 pm

This has probably been known since forever, but, in cooperative mode, if you pick up a gun such as a rocketlauncher, drop the gun with the "drop rocketlauncher" console command, and then re-grab the rocketlauncher (not the one dropped), you get 2 extra rockets. And this can be repeated to build up ammo.

This glitch can also be used in deathmatch mode if "weapons stay" is turned on.

Maybe it could be changed so if you drop a weapon, you drop the original ammo amount (if you have that much in your inventory). That would at most allow you to regain the original given amount of ammo, which I'd think is not a bad thing for the game to do.
User avatar
Agent ME
Title Not Found
 
Joined: 23 Mar 2004
Location: California, USA

Re: Drop weapon glitch for ammo

Postby Remmirath » Wed Oct 01, 2008 12:09 pm

It is the same as this one:

viewtopic.php?f=7&t=17110

Fixed a while ago...
User avatar
Remmirath
Slowest mapper on Earth
 
Joined: 23 Dec 2007
Location: My house
Discord: Remmirath#0424
Twitch ID: TheRemmirath
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Drop weapon glitch for ammo

Postby Project Dark Fox » Wed Oct 01, 2008 12:16 pm

No, it's not. This one references the DROP command in the console. Confirmed.
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 15 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Drop weapon glitch for ammo

Postby randi » Thu Oct 02, 2008 4:05 pm

I'm not really sure what to do here besides disallow the dropping of weapons entirely, which I'd rather avoid. (Weaponstay can be toggled on and off with immediate effects, so it wouldn't be enough to just prevent dropping when weaponstay is on.)
User avatar
randi
Site Admin
 
Joined: 10 Jul 2003

Re: Drop weapon glitch for ammo

Postby HotWax » Thu Oct 02, 2008 4:24 pm

Do you currently drop any ammo with the dropped weapon? What happens when other people pick it up, do they get ammo?

I would think, if possible, the best solution would be to do as Agent ME suggests and drop the weapon along with the amount of ammo you normally start with (or whatever ammo you have for the weapon, whichever is less). Then the worst you could do is drop a weapon you have no ammo for and pick up another copy of it to get back up to the starting ammo. Admittedly, that's still an issue, but it's a lesser one...

Or, given that dropping a weapon is presumably to help out a teammate, maybe you could refuse to drop the weapon if the player's ammo is empty, since that shouldn't be useful to anyone anyway....
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 19 Jul 2003
Location: Idaho Falls, ID

Re: Drop weapon glitch for ammo

Postby Project Dark Fox » Thu Oct 02, 2008 5:55 pm

HotWax wrote:Do you currently drop any ammo with the dropped weapon?

No.
What happens when other people pick it up, do they get ammo?

That specific weapon you dropped has zero ammo. I'm not sure why it's a special case.

ED: A suggestion is to flag weapons as picked up even when they're dropped. The only way they can recover the weapon is through another dropped weapon, whether by death, or here.
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 15 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Drop weapon glitch for ammo

Postby Graf Zahl » Fri Oct 03, 2008 2:13 am

All suggestions being done here are hacks. I think the only solution is to flag a weapon as being picked up so that each player can only get ammo once from it. Everything else is just doctoring at the symptoms without a cure.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Drop weapon glitch for ammo

Postby Project Dark Fox » Fri Oct 03, 2008 3:20 am

Yay, I feel smart. <3
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 15 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Drop weapon glitch for ammo

Postby Graf Zahl » Fri Oct 03, 2008 5:01 am

No, your suggestion doesn't help. The handling for dropped weapons is ok. It's the handling for placed weapons that isn't.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Drop weapon glitch for ammo

Postby Project Dark Fox » Fri Oct 03, 2008 5:49 am

Killjoy. :(
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 15 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Drop weapon glitch for ammo

Postby Agent ME » Fri Mar 20, 2009 1:48 pm

Graf Zahl wrote:I think the only solution is to flag a weapon as being picked up so that each player can only get ammo once from it.

That sounds like the perfect solution. Could this be implemented?
User avatar
Agent ME
Title Not Found
 
Joined: 23 Mar 2004
Location: California, USA

Re: Drop weapon glitch for ammo

Postby Spleen » Fri Feb 19, 2010 9:26 am

Graf Zahl wrote:All suggestions being done here are hacks. I think the only solution is to flag a weapon as being picked up so that each player can only get ammo once from it. Everything else is just doctoring at the symptoms without a cure.

So basically, each weapon would have a flag for every player. Sounds like a lot.

It seems simpler to flag a player, whether they picked up a certain kind of weapon at some point, or even started with it. For example, Bob can only get ammo from shotguns once, even if he drops a shotgun and tries to pick up another one. This would be exactly the same behavior as disabling dropping weapons in terms of ammo (each player can get ammo from each weapon type once), but it would allow players to drop weapons in order to give them to other players.

I'd be willing to work on this, but I wish to clarify the best solution first.


HotWax wrote:Or, given that dropping a weapon is presumably to help out a teammate, maybe you could refuse to drop the weapon if the player's ammo is empty, since that shouldn't be useful to anyone anyway....

Not necessarily. How about giving someone a chaingun? They might have bullets from their pistol already.
User avatar
Spleen
I'm drunnk1 hehahohee111!!!one
 
Joined: 29 Nov 2008

Re: Drop weapon glitch for ammo

Postby Graf Zahl » Fri Feb 19, 2010 11:12 am

Spleen wrote:
It seems simpler to flag a player, whether they picked up a certain kind of weapon at some point, or even started with it. For example, Bob can only get ammo from shotguns once, even if he drops a shotgun and tries to pick up another one.




And that would whack the balance of how many existing multiplayer WADs?
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Drop weapon glitch for ammo

Postby Spleen » Fri Feb 19, 2010 11:21 am

Graf Zahl wrote:
Spleen wrote:
It seems simpler to flag a player, whether they picked up a certain kind of weapon at some point, or even started with it. For example, Bob can only get ammo from shotguns once, even if he drops a shotgun and tries to pick up another one.




And that would whack the balance of how many existing multiplayer WADs?

Not many I would think, since the amount of ammo players get would be exactly the same as playing with weapon stay right now, without abusing the drop glitch. With weapon stay off, Bob would still be able to get ammo from every shotgun. This is just for weapon stay on.
User avatar
Spleen
I'm drunnk1 hehahohee111!!!one
 
Joined: 29 Nov 2008

Re: Drop weapon glitch for ammo

Postby Graf Zahl » Fri Feb 19, 2010 11:49 am

Spleen wrote:And that would whack the balance of how many existing multiplayer WADs?

Not many I would think, since the amount of ammo players get would be exactly the same as playing with weapon stay right now, without abusing the drop glitch. With weapon stay off, Bob would still be able to get ammo from every shotgun. This is just for weapon stay on.[/quote]

This change won't be implemented because it's not a fix! It's replacing one problem with a much more serious one. Better forget it immediately.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Next

Return to On Hold Bugs

Who is online

Users browsing this forum: No registered users and 1 guest