[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
OpenBW • [FIXED] replay module freezes
Page 1 of 1

[FIXED] replay module freezes

Posted: Fri Feb 24, 2017 2:26 am
by Poly_Optimize
Hi,

I watched a lot of replays and everything usually works perfectly. But this particular replay keeps freezing when I open the production tab (pressing "1"). Does it happen to someone else?

http://bwreplays.com/nii7y

Thank you.

Re: replay module freezes

Posted: Mon Mar 20, 2017 8:18 pm
by IMP
The problem could be reproduced.
It seems like there are more than two players in the game (possibly due to the observer).
The replay viewer attempts to show the production queue for the third player, which makes it crash.

Usually observers are filtered by checking supply and available supply for each player.
But in this case there is an additional neutral player, which also has used supply = 4, available supply = 10.
See the white command center in the middle of the map at the beginning of the game. The fact that the command center floats to its location at the start lets me believe this wasn't a melee game.
Only melee games are supported.

Nevertheless, this will be "fixed" with the next bugfix release by just taking the first two players with available/used supply > 0.