2009-04-13, 00:21:23
V8.58 forgets any armor and/or weapon upgrades whenever there is a change in the number of comtrol points and factories owned by either force. This occurs not only in response to change or control conquests, but also apparantly also whenever a purchased factory is created, destroyed or re-packed. The map appears to respond to these events by recomputing the team armor levels simply by counting factories and the elapsed game time only, ignoring purchased armor and weapon upgrades.
It would appear that in the past the map had not stored the number of armor and weapon upgrades purchased indepentently of the team weapon and armor level, since there was no reason to.
There are two possible clasees of bug fix. Either A) create four new persistent data items, the number of purchased armor and weaon upgrades for light and dark force and use these when computing the armor and weapon levels, or B) in response to the pending indicated state changes, compute the difference between the current armor and weapon levels for each force and those that result from adding up the number of factories, and use that to extract the number of weapon and armor upgrades purchased for light and dark and after the change of factory count state offset the computed weapon and armor levels. Method A is preferable because the number of spawn points owned affects so much of the map and gameplay that therefore Method B would needlessly give rise to additional race conditions and synchronization loops in multiplayer games.
It would appear that in the past the map had not stored the number of armor and weapon upgrades purchased indepentently of the team weapon and armor level, since there was no reason to.
There are two possible clasees of bug fix. Either A) create four new persistent data items, the number of purchased armor and weaon upgrades for light and dark force and use these when computing the armor and weapon levels, or B) in response to the pending indicated state changes, compute the difference between the current armor and weapon levels for each force and those that result from adding up the number of factories, and use that to extract the number of weapon and armor upgrades purchased for light and dark and after the change of factory count state offset the computed weapon and armor levels. Method A is preferable because the number of spawn points owned affects so much of the map and gameplay that therefore Method B would needlessly give rise to additional race conditions and synchronization loops in multiplayer games.