Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unclear behaviour after connection loss in MP #4120

Open
sevu opened this issue Jun 15, 2019 · 2 comments

Comments

Projects
None yet
4 participants
@sevu
Copy link
Member

commented Jun 15, 2019

The server message in the screenshot look suspicious to me, especially the "has surrendered"

Situation:
side1=red/VincentClay
side2=blue/niewiem
side3=green/Alastor25
side4=violett/Aquamarin
original host= I don't know

What happened: side 4 lost connection (told so in chat afterwards). That's what the first three lines from <server> is about.
4th <server> line: gives control back, so far clear
5th to 7th <server> line: what happened here? Maybe the host accidentally made him an observer? But if so, why the surrendered message...
8th <sever> line: so quickly after the others, that there was no chance that side 3 could have surrendered+left the game and rejoined since then.

dc

game data:
game still runs on the MP server now.
title: Aquamarins Partie
happened around turn 12/13
savefile: ANL_DC.txt

@sevu

This comment has been minimized.

Copy link
Member Author

commented Jun 15, 2019

There are more strange moments, this game is worth an analysis:

in turn 14:
ctrl
there also was another connection loss in-between since then (which may be completely fine)

@soliton-

This comment has been minimized.

Copy link
Member

commented Jun 17, 2019

It certainly looks odd when Aquamarin gets control back of side 4 and Alastor25 (side 3) becomes an observer for some reason, yet the chat messages still come in as side 3 and the server agrees or it would have rewritten the side... Looks like an off-by-one error but there must be some special circumstances or giving control would do weird things all the time.

Perhaps relevant is that the server noted Alastor25 left the game as an observer before the game started but it then started fine with him. He originally joined as an observer so maybe that comes from switching him to a player. Still could be an inconsistency that leads to the weirdness when control is passed around later.

Btw, I suggest to find the cause of the very first error, not much use in guessing what follow-up craziness happens. Especially without knowing exactly what commands the players sent.

Link to the replay: http://replays.wesnoth.org/1.14/20190615/4p__A_New_Land_Turn_17_(37787).bz2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.