DeamonHunter / AWBW-Replay-Player

Advance Wars By Web Replay Player
MIT License
38 stars 5 forks source link

Crash in BuildUnitAction due to discovering a Pipe was turned into Rubble. #114

Closed Xirema closed 1 year ago

Xirema commented 1 year ago

This replay shows an error occurring on Day 14, when P2 (Pink) builds a Medium Tank at the top-center base.

Curiously, another Medium Tank was built on Day 15 at the same base, but the same error does not occur.

System.Collections.Generic.KeyNotFoundException: The given key '116' was not present in the dictionary.
   at AWBWApp.Game.Game.Logic.GameMap.RegisterDiscovery(DiscoveryCollection collection)
   at AWBWApp.Game.API.Replay.Actions.BuildUnitAction.PerformAction(ReplayController controller)+MoveNext()
   at AWBWApp.Game.Game.Logic.ReplayController.Update()

Vs Von Bolt.zip

DeamonHunter commented 1 year ago

So the circumstances that caused this is:

I should hopefully have a fix out by tomorrow, fixing the replay issue.

DeamonHunter commented 1 year ago

Was fixed with 509b0bcf380d7bd694ca7497580d521fa7fd2ca8.