Invalid custom scores

Tournaments announces and results.

Moderators: FtXCommando, Stups

Re: Invalid custom scores

Postby Ze_PilOt » 19 Feb 2012, 19:31

I've pushed a fix 30 min ago, was it before that ?
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: Invalid custom scores

Postby thygrrr » 19 Feb 2012, 19:34

Ze_PilOt wrote:I've pushed a fix 30 min ago, was it before that ?


YES, 17:55 or so for the first game. Could have been exactly at that time for the first game (maybe check your server logs). But I started a 4th game and it was 0/-1 again.
I waited ten years for Supreme Commander (1997-2007)
and have not a single day felt disappointed with it!

Image
User avatar
thygrrr
Contributor
 
Posts: 783
Joined: 18 Nov 2011, 17:08
Location: Germany
Has liked: 2 times
Been liked: 3 times

Re: Invalid custom scores

Postby Ze_PilOt » 19 Feb 2012, 19:42

0/-1 seems correct if you don't wait for the victory popup.

I've look at the log, I see you don't wait for it (no victory message to the server :)
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: Invalid custom scores

Postby thygrrr » 19 Feb 2012, 19:57

I did wait both times. I did quit with the suiciding commander first, clicking on score, and then leaving the score screen.
I waited ten years for Supreme Commander (1997-2007)
and have not a single day felt disappointed with it!

Image
User avatar
thygrrr
Contributor
 
Posts: 783
Joined: 18 Nov 2011, 17:08
Location: Germany
Has liked: 2 times
Been liked: 3 times

Re: Invalid custom scores

Postby Kryo » 19 Feb 2012, 20:28

still another unreported game (maybe one player left FAF before leaving the game?)

around 19 Feb 2012 17-33 it was 3on3 on cold valley

Kryo techflex bergi84 vs drg alephnull +1 more
Kryo
Evaluator
 
Posts: 518
Joined: 12 Sep 2011, 15:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Kryo

Re: Invalid custom scores

Postby Ze_PilOt » 19 Feb 2012, 21:43

Last update was faulty, new one is correct.

Kryo : someone didn't disconnect properly :(

Seems that there is still one case where FAF cannot send that FA is closed...
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: Invalid custom scores

Postby thygrrr » 19 Feb 2012, 23:14

I can make is to FAF keeps the server connection alive until FA is terminated if it can.

Would that be an option? Currently it just keeps the process alive until the player either finishes FA or tells FAF to kill it.
I waited ten years for Supreme Commander (1997-2007)
and have not a single day felt disappointed with it!

Image
User avatar
thygrrr
Contributor
 
Posts: 783
Joined: 18 Nov 2011, 17:08
Location: Germany
Has liked: 2 times
Been liked: 3 times

Re: Invalid custom scores

Postby Kryo » 20 Feb 2012, 10:13

what about:

If a player closes FAF, check if he is still ingame in FA, and if so, report it as a disconnect or lose
Kryo
Evaluator
 
Posts: 518
Joined: 12 Sep 2011, 15:13
Has liked: 0 time
Been liked: 0 time
FAF User Name: Kryo

Re: Invalid custom scores

Postby thygrrr » 20 Feb 2012, 10:34

That's an interesting approach, but not necessary.
You cannot (!) close FAF without closing FA. all I need to ensure is that the "FA_CLOSED" message is sent before the server connection is severed.

I'll check where and when it disconnects in Client.cleanup() ... Probably a smidgen too early, that's all.
I waited ten years for Supreme Commander (1997-2007)
and have not a single day felt disappointed with it!

Image
User avatar
thygrrr
Contributor
 
Posts: 783
Joined: 18 Nov 2011, 17:08
Location: Germany
Has liked: 2 times
Been liked: 3 times

Re: Invalid custom scores

Postby Ze_PilOt » 20 Feb 2012, 11:22

Most of the problem rely in the game server failing to see the connection as closed.
I've a ping system for the lobby, but I can't implement that for FA.

But if FAF is closed, the gamesocket should be closed too (the disconnection function of FAF send a close socket on any game thread for the user). Seems that in one case it fails, I have to investigate server-side.
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

PreviousNext

Return to Tournaments

Who is online

Users browsing this forum: No registered users and 1 guest