ajbdev / phpsc2replay

Automatically exported from code.google.com/p/phpsc2replay
0 stars 1 forks source link

Numevents #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think you have a bug with addPlayerAbility and $numevents for zergs players.

For exemple in this replay phpsc2replay return:
- Drone :: x53
- Overlord ::  x11
- Zergling x 2 :: x 26
- Roach :: x 23

In fact in this game i just made 18 drones, 6 overlords, 5 zerlings and 10 
roachs. I try to fix this bug but for now i can't understand why.

I think it's link to the larva production system because only zerg bug and the 
queen number is correct.

Do you have an idea?

Original issue reported on code.google.com by gasque...@gmail.com on 26 Mar 2011 at 6:13

Attachments:

GoogleCodeExporter commented 8 years ago
The replay records extra actions, but there is no way to know which are 
invalid. When running the replay through SC2 the engine itself discards invalid 
actions. This happens especially when selecting multiple production buildings 
(or larvae), with enough resources for multiple units (but less than the queue 
size or number of larvae) and then holding down the hotkey. Therefore this is 
not an issue with the parser, but rather an issue in the way the replays are 
saved by the game and nothing can be done about it.

Original comment by lauri.vi...@gmail.com on 12 Jul 2011 at 7:27