Lobby still has the bug, showing too many players in a game

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Lobby still has the bug, showing too many players in a game

Postby Kryo » 07 May 2012, 09:17

yeah,

i dunno how I should report as this is not in a log or replay. But zep should know what I mean.

What I can say:

Happens more often in game lobbies with many players (>6).

Happens more often if the FAF lobby seems to be laggy at the moment. (also will raise the chances of 0 ping (Nil))

Happens not if host kicks someone. Rather if someone loses connection by timeout or sth.
Kryo
Evaluator
 
Posts: 518
Joined: 12 Sep 2011, 15:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Kryo

Re: Lobby still has the bug, showing too many players in a g

Postby Ze_PilOt » 07 May 2012, 10:48

There is this in the lua code :

Code: Select all
quietTimeout = 10000.0 # milliseconds to wait before booting people
maxPlayerSlots = 12
maxConnections = 15 # count doesn't include ourself.



Probably, FA fails to clean old connections, goes to more than 15 and crashes. I will try to increase the maxConnections and decrease the quietTimeout.

The server is sending "DisconnectFromPeer" command to each players, but maybe it's not enough for FA to kill them.

But at some point, it's up to the host to be very careful and kick observers and nil player as soon as possible.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Lobby still has the bug, showing too many players in a g

Postby Kryo » 07 May 2012, 13:16

Ze_PilOt wrote:There is this in the lua code :

Code: Select all
quietTimeout = 10000.0 # milliseconds to wait before booting people
maxPlayerSlots = 12
maxConnections = 15 # count doesn't include ourself.



Probably, FA fails to clean old connections, goes to more than 15 and crashes. I will try to increase the maxConnections and decrease the quietTimeout.

The server is sending "DisconnectFromPeer" command to each players, but maybe it's not enough for FA to kill them.

But at some point, it's up to the host to be very careful and kick observers and nil player as soon as possible.


what does fa do if maxconnections is reached? is there a command:
if connections > maxConnections
crash game
end if;

? :D
Kryo
Evaluator
 
Posts: 518
Joined: 12 Sep 2011, 15:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Kryo

Re: Lobby still has the bug, showing too many players in a g

Postby Ze_PilOt » 07 May 2012, 13:45

No idea but the crash message is clearly a memory allocation/interrogation problem.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest