So, what happens if (Destiny)
What happens if I die, and before resurrecting I swap either my heavy weapon OR my armor?
I don't see the problem. If you are dead, and you swap armor, then the game would adjust the value as if you were alive. There would be literally no difference.
I'll write it out a little bit longer.
If you simply save off a number, swapping weapons will be very broken.
If I save off the number "7", then swap to a machine gun, I would expect to have more than 7 bullets. Very broken, and in a worse way than it currently is.
If you simply save a percentage, swapping armor will be very broken.
If I save off "50%" ammo, and in death remove two armor pieces that increase my max ammo by 2, than when "50%" is applied upon respawn I will have 1 less rocket than expected. More concisely, I would go from 3 of 6 to 2 of 4, even though my original ammo count was within the bounds of the maximum count.
We also don't know what methods are being used to save or configure this information. Good development is finding an operation that is done in multiple locations and using a single method/function for it. It could be that "save ammo" is used in dozens of different situations, and this bug only shows up in 3 of them. Obviously the method wasn't as multi purpose as they hoped, but they can't simply rewrite the method without breaking the 9 cases where it DOES work.
It really is sort of hard to understand, but it's very much like any sort of architecture. Beautiful, simple, fast architecture is also some of the most interdependent and hardest to "move a wall" or "move a beam" without having to modify lots of other pieces. It really can be like Janga, which is when a developer looks into a bug and instead of it being a one line fix they start swearing and banging their head into the desk.
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 debugger, it seems simple - Kahzgul, 2015-01-27, 00:21
- 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... -
stabbim,
2015-01-26, 21:49
- 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