URL:
<http://gna.org/bugs/?9820>
Summary: Teams list could probably be unsynchronized over
the network
Project: Wormux
Submitted by: gentildemon
Submitted on: mardi 21.08.2007 à 07:39
Category: Network
Severity: 4 - Important
Priority: 9 - Immediate
Status: None
Assigned to: gentildemon
Originator Email:
Open/Closed: Open
Release: svn3200+
Discussion Lock: Any
_______________________________________________________
Details:
Yesterday, we have seen some strange bugs that could be explain by this...
When adding a team in the network game menu, the team is directly added
locally in the list and a message ACTION_MENU_ADD_TEAM is sent to the other
side.
In a game with more than 2 players, if 2 players add their team nearly in the
same time, this could results in a difference in team order.
For instance, on computer A:
Add team from server (Konqui)
Add local team (Beastie) (it sends ACTION_MENU_ADD_TEAM Beastie)
Add team from other client (Firefox)
On computer B:
Add team from server (Konqui)
Add local team (Firefox) (it sends ACTION_MENU_ADD_TEAM Firefox)
Add team from other client (Beastie)
On server
Add local team (Konqui)
Add team from client (Firefox)
Add team from client (Beastie)
Then, imagine server begins to play. Server decides that next turn will be
Firefox turn (computer B). At the end of his turn Computer B decides that it
will be Beastie turn (computer A). Then computer A decides that it will be
Firefox turn (computer B). => Oups, Konqui has lost his turn!
Then computer B decides that it will be Beastie turn (computer A)...
again and again...
(the fix of this bug could be done managing task #5361)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9820>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna