icza / scelight

The source code of the Scelight project with all its modules.
https://sites.google.com/site/scelight/
Apache License 2.0
124 stars 19 forks source link

Fails to parse co-op replays #22

Open CoeJoder opened 5 years ago

CoeJoder commented 5 years ago

For example, in a replay where the Stukov commander builds a barracks, the uie : UnitInitEvent has a name "SIBarracks", but when BuildOrdersComp::rebuildTableData() makes the following call: entity = balanceData.getUnit( uie.getUnitTypeName().toString() ); it returns null. As a result, all of the BoElements for this commander are excluded from the returned data structure.

icza commented 5 years ago

Updating the Balance data might solve this issue, it hasn't been updated for quite a while now. Will check this once BD is updated.