DeamonHunter / AWBW-Replay-Player

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

Errors when Units are Deleted in-game #106

Closed Xirema closed 2 years ago

Xirema commented 2 years ago

Watching a replay where my opponent deleted a large number of units before resigning, the replay viewer spammed a bunch of errors in response.

image

The following was copied from the player:

System.Collections.Generic.KeyNotFoundException: The given key '0' was not present in the dictionary. at AWBWApp.Game.API.Replay.Actions.DeleteUnitAction.PerformAction(ReplayController controller)+MoveNext() at AWBWApp.Game.Game.Logic.ReplayController.Update()

DeamonHunter commented 2 years ago

Thanks for the report. Do you have the replay that caused this?

Xirema commented 2 years ago

It would be this game, which you can still pull the replay from: https://awbw.amarriner.com/2030.php?games_id=714530

DeamonHunter commented 2 years ago

Thanks. Will look into it.

Leaving this here for when I work on this: 714530.zip