[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Partial fix for lan games
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Partial fix for lan games |
Date: |
Thu, 3 Jan 2008 09:34:40 +0100 |
User-agent: |
KMail/1.9.6 (enterprise 0.20070907.709405) |
On Thursday 03 January 2008 04:21:24 Matthew Marshall wrote:
> I've found the problem with not being able to join a lan game. It's a
> simple race condition: the client automatically connects to the first game,
> but doesn't wait for the list of games to arrive. It happly reads the
> first item of an empty list.
>
> I've attached a two-line fix (as both a bundle and a patch, whatever is
> preferred.)
Your patch seems to potentially add an infinite loop. Isn't there a risk that
it freezes the game?
> But there's another problem: the game reports a desync immediately.
> Strangely enough, the world dumps are identical. For now I just disabled
> the desync check and played four or five games without a problem.
Strange.
It would be nice if people could test the patch, because I'm not sure it fixes
the network the right way. Anyway, thank you very much for it! Have a nice
day,
Steph
--
http://stephane.magnenat.net