As a debugger, it seems simple (Destiny)
I production tested games for more than 12 years. This bug was definitely found in the very early stages of the game, but was probably marked as a "C" class bug (unimportant, not worth fixing) because (shock) there were no PvE situations where heavy ammo was both scarce and necessary at the time the bug was found (because the raids weren't in yet), and since heavy ammo resets to zero on death in PvP, the bug didn't apply there.
Later, when raids became a thing, no one bothered to upgrade the bug. At that point, it was already a "legacy" issue and therefore was effectively signed off on by the producers. In addition, heavy ammo synthesis is a thing, so the bug isn't game breaking by any stretch of the imagination.
--
The failure here seems to be more systemic than individual. Lots of individuals are doing their individual jobs correctly, but no one took the initiative to step outside of their fiefdoms and see the big picture in this one case. Guaranteed there were many other bugs that were squashed, such that we never saw them and don't know about them.
Now, I get why this feels like a dumb bug. It seems like counting should be a thing that computers are good at, and that programmers should be good at, too. Remembering a single number also seems easy. Common sense does dictate that the fix should be easy because: Counting.
But there's another thing at play here: Heavy Ammo isn't a number. Notice how when have 5 rockets, and change to a machine gun, you don't have 5 bullets, but more like 63 or something? That's because Heavy Ammo is a percentage, not a number. Player X has 100% heavy ammo. Because he has boots of awesome on, his max value is 5 (rockets) + 2(boots) = 7. So he has 7 heavy ammo. Oh, he died? Well he's still at 100%, which is 5 (rockets). Now add boots back in, and he's at 71%. So he died again, and was at 71%? Okay, so 71% of 5 is 3.6 Well, the game rounds down, so he's got 3 rockets out of 5. Oh yeah, he has boots, 3 of 7 is 43%... and so forth.
So obviously the order of operations is ass backwards for figuring out what the max heavy ammo is for a player, and then applying the percentage of heavy ammo that they have. But the order of operations is, as others have mentioned, probably a fundamental thing.
The work around fix, as far as I can guess, would be something really wonky like when a player dies, creating invisible ammo packs that are percentages equal to what they had when they died, respawning the player, and then dropping those invisible packs onto the player. Super weird, and then there's a chance that that something unexpected happens, like the player spawns in midair and the ammo packs hover above their head and then the player has to jump after spawning to get any ammo at all.
--
I don't know why I'm so forgiving about obvious bugs and so unforgiving about terrible design decisions. Oh wait, yes I do.
Complete thread:
- I can fix the heavy ammo bug -
Cody Miller,
2015-01-26, 17:19
- I can fix the heavy ammo bug -
Claude Errera,
2015-01-26, 17:54
- I can fix the heavy ammo bug -
Cody Miller,
2015-01-26, 17:59
- I can fix the heavy ammo bug - Xenos, 2015-01-26, 18:24
- My limited experience with coding: -
CruelLEGACEY,
2015-01-26, 19:14
- This is a frighteningly accurate metaphor. -
CyberKN,
2015-01-26, 19:59
- This is a frighteningly accurate metaphor. - someotherguy, 2015-01-27, 07:29
- This is a frighteningly accurate metaphor. -
CyberKN,
2015-01-26, 19:59
- I can fix the heavy ammo bug -
Cody Miller,
2015-01-26, 17:59
- I can fix the heavy ammo bug -
uberfoop,
2015-01-26, 18:36
- As a programmer, seems like a pain... -
slycrel,
2015-01-26, 19:30
- As a programmer, seems like a pain... - stabbim, 2015-01-26, 21:49
- As a programmer, seems like a pain... -
BeardFade,
2015-01-27, 22:15
- As a programmer, seems like a pain... - Ragashingo, 2015-01-27, 22:22
- As a programmer, seems like a pain... -
stabbim,
2015-01-27, 22:49
- They must be dead in some way - Earendil, 2015-01-28, 09:13
- As a programmer, seems like a pain... -
slycrel,
2015-01-26, 19:30
- I can fix the heavy ammo bug - narcogen, 2015-01-27, 06:13
- FAIL -
Durandal,
2015-01-27, 06:27
- haha - SonofMacPhisto, 2015-01-27, 06:28
- FAIL... to see a problem here. We should do this. :D - INSANEdrive, 2015-01-27, 07:48
- FAIL -
Cody Miller,
2015-01-27, 08:06
- Um -
RaichuKFM,
2015-01-27, 08:16
- Um -
Cody Miller,
2015-01-27, 08:23
- Um -
RaichuKFM,
2015-01-27, 08:28
- Exploitable fix? - dogcow, 2015-01-27, 09:03
- Um -
Cody Miller,
2015-01-27, 09:09
- So, what happens if -
Earendil,
2015-01-27, 09:20
- Earendil be like: - iconicbanana, 2015-01-27, 09:24
- So, what happens if -
Cody Miller,
2015-01-27, 17:13
- So, what happens if - RaichuKFM, 2015-01-27, 18:13
- So, what happens if -
Earendil,
2015-01-28, 09:24
- So, what happens if -
ZackDark,
2015-01-28, 09:55
- That, sir... - Earendil, 2015-01-28, 10:11
- So, what happens if - dogcow, 2015-01-28, 11:00
- So, what happens if -
Cody Miller,
2015-01-28, 11:12
- So, what happens if - Earendil, 2015-01-28, 11:33
- You're assuming the bug is a single-frame thing -
ZackDark,
2015-01-28, 11:42
- You're assuming the bug is a single-frame thing - Ragashingo, 2015-01-28, 12:42
- Depends how ammo is normally calculated - someotherguy, 2015-01-28, 13:47
- So, what happens if -
ZackDark,
2015-01-28, 09:55
- So, what happens if -
Earendil,
2015-01-27, 09:20
- Um -
RaichuKFM,
2015-01-27, 08:28
- Um -
Cody Miller,
2015-01-27, 08:23
- Um -
RaichuKFM,
2015-01-27, 08:16
- why not just increase the drop rate -
Schedonnardus,
2015-01-27, 06:43
- make heavy weap packs cheaper for people who wear the boots? - scarab, 2015-01-27, 07:38
- add ammo synth to blue engram tables - Schedonnardus, 2015-01-27, 08:46
- Seemingly Easy Workaround... -
DiscipleN2k,
2015-01-27, 08:51
- I don't like that -
Earendil,
2015-01-27, 09:22
- How about a toggle... - DiscipleN2k, 2015-01-27, 09:36
- I don't like that -
Earendil,
2015-01-27, 09:22
- Worse than a defect... -
Earendil,
2015-01-27, 09:26
- Worse than a defect... -
Cody Miller,
2015-01-27, 09:32
- Worse than a defect... -
JDQuackers,
2015-01-27, 09:53
- +1 Yep. - BeardFade, 2015-01-28, 08:44
- Worse than a defect... - Earendil, 2015-01-27, 09:55
- Worse than a defect... -
JDQuackers,
2015-01-27, 09:53
- A wise post. - Kermit, 2015-01-28, 09:06
- Worse than a defect... -
Cody Miller,
2015-01-27, 09:32
- Exotic Helmet idea -
Schedonnardus,
2015-01-27, 09:49
- That exotic would destroy crucible -
Spec ops Grunt,
2015-01-27, 16:29
- Non Guardian kills have a chance to… there fixed - Cody Miller, 2015-01-27, 17:12
- Better Yet... - DiscipleN2k, 2015-01-27, 18:02
- That exotic would destroy crucible -
Spec ops Grunt,
2015-01-27, 16:29
- Good attempt. -
BeardFade,
2015-01-27, 22:29
- Good attempt. -
Claude Errera,
2015-01-28, 06:56
- Good attempt. - BeardFade, 2015-01-28, 08:43
- Good attempt. -
Claude Errera,
2015-01-28, 06:56
- I can fix the heavy ammo bug -
Claude Errera,
2015-01-26, 17:54