Forged Alliance Forever Forged Alliance Forever Forums 2020-04-22T21:27:59+02:00 /feed.php?f=3&t=18990 2020-04-22T21:27:59+02:00 2020-04-22T21:27:59+02:00 /viewtopic.php?t=18990&p=183531#p183531 <![CDATA[Re: game freeze when trying to launch with Random spawn]]>
After clicking "start game" button whole game freeze in lobby. But only for host. For everyone else it look like host is afk. Also connections are stable and the lobby is fully visible in the game list. Its imposobile to minimalize or do anything on that screen in windows. The game in the task manager has the status "not responding", and consumes 100% CPU power on one core.

I took a closer look and it turns out that the game just calculates the algorithm for random spots. If every player just wait, game will start after freeze.
For 11 FFA players, game freeze for 0:19 (tested multiple times)
For 12 FFA players, game freeze for 3:34 (tested multiple times)
For 13 FFA players, game freeze for 42:30 (tested only one time)
However, the problem is not related to the number of players but the number of "teams". After setting up 12 players in 11 teams, the game was loading as fast as it was with 11 players. For every more team, game freeze about 11 times longer. For 16 players, the game would freeze for over a month.


An easy solution may be to apply an exception for games over 11 teams (or over 8). I can't imagine a situation where the use of the current algorithm would make any sense to games with so many teams.

Statistics: Posted by Davax — 22 Apr 2020, 21:27


]]>
2020-04-22T20:10:32+02:00 2020-04-22T20:10:32+02:00 /viewtopic.php?t=18990&p=183527#p183527 <![CDATA[Re: game freeze when trying to launch with Random spawn]]>
https://github.com/FAForever/fa/blob/720a72f5eca5330ba497320a618a57c7b981cda2/lua/ui/lobby/trueskill.lua#L83
https://github.com/FAForever/fa/blob/720a72f5eca5330ba497320a618a57c7b981cda2/lua/ui/lobby/trueskill.lua#L95

Sadly i have no clue how the trueskill calculation works, so i can't fix it.
But i added a bugreport to the FAF repository and it will be fixed, but don't ask me when ^^

Statistics: Posted by Uveso — 22 Apr 2020, 20:10


]]>
2020-03-31T19:27:32+02:00 2020-03-31T19:27:32+02:00 /viewtopic.php?t=18990&p=182992#p182992 <![CDATA[Re: game freeze when trying to launch with Random spawn]]>
i didnt assign teams, because it was 16 players FFA

does it possible to use 16 players random spawn and not assign a team number to every AI ? i want to spawn every AI in random location.

i just dont understand why,
with 10 players, random spawn and and not assign a team number to every AI everything works perfect
with 16 players random spawn and and not assign a team number to every AI not working

But anyway thank you for support.

Statistics: Posted by Dess — 31 Mar 2020, 19:27


]]>
2020-03-31T18:46:40+02:00 2020-03-31T18:46:40+02:00 /viewtopic.php?t=18990&p=182988#p182988 <![CDATA[Re: game freeze when trying to launch with Random spawn]]>
it looks like you did not assign teams to all players/AIs.

Like the tooltip says:
AutoTeamOption.png

Assign a team number to every Player:
(click on the map for assigning teams, don't use "teamcount" if you fill up slots with AIs)
MapTeams.png

Then try to start the game.

---

For programmers:
Deadloop in "\lua\ui\lobby\trueskill.lua"
function Matrix:getDeterminant() calls Matrix:getCofactor() and this function recalls Matrix:getDeterminant()
So these functions are playing pingpong forever (with 16 players.)

GitHub Issue: https://github.com/FAForever/fa/issues/3041

Statistics: Posted by Uveso — 31 Mar 2020, 18:46


]]>
2020-03-31T15:41:45+02:00 2020-03-31T15:41:45+02:00 /viewtopic.php?t=18990&p=182980#p182980 <![CDATA[Re: game freeze when trying to launch with Random spawn]]> Statistics: Posted by Dess — 31 Mar 2020, 15:41


]]>
2020-03-30T23:35:42+02:00 2020-03-30T23:35:42+02:00 /viewtopic.php?t=18990&p=182970#p182970 <![CDATA[Re: game freeze when trying to launch with Random spawn]]>
Dess wrote:
since this issue is so easy to test I didn't attach any logs....


There is a big difference between just testing something or debugging and fix something.

So do us a favor and post your logs.

Thank's.

Statistics: Posted by Uveso — 30 Mar 2020, 23:35


]]>
2020-03-30T20:17:41+02:00 2020-03-30T20:17:41+02:00 /viewtopic.php?t=18990&p=182966#p182966 <![CDATA[Re: game freeze when trying to launch with Random spawn]]> Statistics: Posted by PhilipJFry — 30 Mar 2020, 20:17


]]>
2020-03-30T13:26:19+02:00 2020-03-30T13:26:19+02:00 /viewtopic.php?t=18990&p=182956#p182956 <![CDATA[game freeze when trying to launch with Random spawn]]>
Game freeze when trying to launch with Random spawn.

tested on two different machines.

when starting a custom game on any 16 players map VS a AI or VS Players (with numbers of players 12-16) and the "Spawn" setting is changed from the default "Fixed" to "Random" , team option changed to "Manual Select", the game will not launch. After Pressing the "Launch" button game will freeze forever.

Aborting the game, relaunching it and changing the Spawn option back to "Fixed" or changing team option to "Top vs Bottom", will solve all these issues and let you launch the game as normal....

any 16 players map
If the numbers of players or AI on the map is 1-10, and the "Spawn" setting is changed from the default "Fixed" to "Random(Unbalanced)",team option changed to "Manual Select" - the game works OK

If the numbers of players or AI on the map is 12-16, and the "Spawn" setting is changed from the default "Fixed" to "Random(unbalanced)",team option changed to "Manual Select" - the game freeze and not launching.

If the numbers of players or AI on the map is 12-16, and the "Spawn" setting is changed from the default "Fixed" to "Random(unbalanced)",team option changed to "Top VS Bottom" - the game works OK


since this issue is so easy to test I didn't attach any logs....

Statistics: Posted by Dess — 30 Mar 2020, 13:26


]]>