Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#2464 closed defect (invalid)

Multiplayer : player leaving : lag, notice, connecting back,

Reported by: openoliv Owned by:
Priority: Must Have Milestone:
Component: Network Keywords:
Cc: Patch:

Description

Hi,

I'm on Linux (Arch). When a player is leaving a few things happens :

  • first everything starts to lag and the characters are stop on track (well, they are just walking in place). Maybe some kind of connection/network bugs ?
  • when the player left a notice appears but leaves quickly. It should be nice have a way to be reminded that this player is "dead"
  • More importantly, it's not possible to reconnect. It should be fixed if possible !
  • After the civ is left, nothing happens. I see some possible options :

1) The IA takes control

2) In case of a team play, the other player can take control or absorb the other player

Change History (5)

in reply to:  description comment:1 by leper, 10 years ago

Keywords: player leaving lag connecting back removed
Milestone: Backlog
Resolution: invalid
Status: newclosed

Replying to openoliv:

When a player is leaving a few things happens :

  • first everything starts to lag and the characters are stop on track (well, they are just walking in place). Maybe some kind of connection/network bugs ?

The game waits a bit before it decides that a player has timed out (as it could just be network lag or something else. (This could be represented better though)

  • when the player left a notice appears but leaves quickly. It should be nice have a way to be reminded that this player is "dead"

The player name is displayed as '[OFFLINE] playername', just select a building/unit to see that. It possibly displays that in the diplomacy window too (though I haven't checked).

  • More importantly, it's not possible to reconnect. It should be fixed if possible !

Should work fine. An issue could be that the player timed out from the lobby which explains why the game is not listed anymore. You can rejoin by getting the ip from the current log though (see GameDataPaths). The issue with players timing out from the lobby is fixed in SVN.

Closing this as this is not really a bug report. Please use the forums and/or IRC for that.

comment:2 by openoliv, 10 years ago

I do see your point about that not being a bug report but still it does look problematic in my eyes :

  • in the case of an enemy civ we cannot select its buidling/unit if we haven't meet it. And in the diplomacy window instead of the name of the player it's written "player 1" which in the heat of the fight could be missed.
  • I have to disagree about your last point : it doesn't work. Two cases:

A)

1)We see the message that Player X has disconnected.

2) A few minutes later we see a message that Player X has reconnected

3) However Player X has not reconnected

B)

1) I'm disconnected (network issue) or I have to disconnect

2) I come back in the lobby, I see the game name.

3) I select the game but I cannot reconnect.

Regards,

in reply to:  2 comment:3 by leper, 10 years ago

Replying to openoliv:

I do see your point about that not being a bug report but still it does look problematic in my eyes :

  • in the case of an enemy civ we cannot select its buidling/unit if we haven't meet it. And in the diplomacy window instead of the name of the player it's written "player 1" which in the heat of the fight could be missed.

I'm not saying that it is perfect, if you (and others) come up with a nice way to handle that better (possibly on the forums) we can create a bug report for that.

  • I have to disagree about your last point : it doesn't work. Two cases:

A)

1)We see the message that Player X has disconnected.

2) A few minutes later we see a message that Player X has reconnected

3) However Player X has not reconnected

Sort of related to #1949 and possibly #2240. (I think there might be a crash with rejoining (at least I remember a report of that), but it seems there is no ticket for that, so if you experience that you should create a nice bug report for that (see ReportingErrors)).

B)

1) I'm disconnected (network issue) or I have to disconnect

2) I come back in the lobby, I see the game name.

3) I select the game but I cannot reconnect.

Why, what happens? Do you have the same nick as when you were in the game? Do you get a crash? ...

comment:4 by openoliv, 10 years ago

Sorry I don't get the "quoting" mechanism ;-)

1) I'm not saying that it is perfect, if you (and others) come up with a nice way to handle that better (possibly on the forums) we can create a bug report for that.
=> Ok, I'll launch a topic on the forum (now I've got it about what should be in Trac or in the forum, sorry for the "spamming")

2) Sort of related to #1949 and possibly #2240. (I think there might be a crash with rejoining (at least I remember a report of that), but it seems there is no ticket for that, so if you experience that you should create a nice bug report for that (see ReportingErrors)). => it sounds definitely like #2240. (which doesn't explain a lot, like my report) I'll try to get some data or log next time

3) Why, what happens? Do you have the same nick as when you were in the game? Do you get a crash? .
=> sorry I don't have much details. I remember that I had to quit 0ad (some keyboard issue, it was non working after a few alt+enter and messing around in other apps). So I quit Oad, I start again( keyboard fine), I log (same nick), I can see the game I was playing, I select it. Then ... I don't remember ;-) I'm pretty sure I didn't get a crash, maybe I was back to the lobby or disconnected. TBC

comment:5 by elexis, 8 years ago

Component: Core engineNetwork

(changed component to network)

Note: See TracTickets for help on using tickets.