Bugfix for network error in 0.75b1
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Bugfix for network error in 0.75b1
I think I found the bug causing the networking problems.
When your infolog keeps saying "Unknown net msg in read ahead #", than its this one. Unfortunately I cant find anyone who has svn access so I post it here:
http://freenet-homepage.de/auswaschbar/bugfix.diff
This bug was caused by the new fragmentation buffer. There was only 1!!! buffer for all!!! network connections so if the server recieved the first part of a message, and then read data from another client, the half message was copied before the new one, messing up the server completely.
When your infolog keeps saying "Unknown net msg in read ahead #", than its this one. Unfortunately I cant find anyone who has svn access so I post it here:
http://freenet-homepage.de/auswaschbar/bugfix.diff
This bug was caused by the new fragmentation buffer. There was only 1!!! buffer for all!!! network connections so if the server recieved the first part of a message, and then read data from another client, the half message was copied before the new one, messing up the server completely.
- Spawn_Retard
- Posts: 1248
- Joined: 21 Dec 2006, 14:36
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
you know, its pretty hard to find bugs when nobody is testing it...
If you want to help, you may test the new build http://www.osrts.info/~buildbot/spring/ ... vn3977.exe
If you want to help, you may test the new build http://www.osrts.info/~buildbot/spring/ ... vn3977.exe
Last edited by Auswaschbar on 16 Jul 2007, 21:13, edited 1 time in total.
And if I want to test I need to compile Spring myself.
But this isn´t realy a problem. Downloading and installing each source packages is a problem. Hope it will get Linux packages for stable, unstable and svn releases. And not only for one distribution or package format. Maybe a bit not related to the topic.
Good to have some bug-hunters and developers who are fixing bugs.
But this isn´t realy a problem. Downloading and installing each source packages is a problem. Hope it will get Linux packages for stable, unstable and svn releases. And not only for one distribution or package format. Maybe a bit not related to the topic.
Good to have some bug-hunters and developers who are fixing bugs.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
yeah, i was hosting with his version and he was the only other player in it who had the svn version. so it seems to work. great job :)Auswaschbar wrote:we have been able to play a 4v4 tangerine game for about 45 mins (includeing big armies, nukes etc.) without any problems (after that 1 player desynced, but game reached end anyways) so i assume this bug is fixed
altho we had 1 player unable to join (said he crashed, maybe it would have worked for him with the svn client), so we played a 4:4 without him.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Don't ask what spring can give you, ask what you can do to help spring! Like, test.Spawn_Retard wrote:this new version of spring makes me so angry just thinking about it.
thanks for a patch, i should be able to play A game today . :/
i cant beleive you guys actually released a version of spring with so many problems.
- Tim Blokdijk
- Posts: 1242
- Joined: 29 May 2005, 11:18
-
- Posts: 272
- Joined: 30 May 2006, 17:06