Page 1 of 1

Sync errors

Posted: 03 Jul 2007, 17:58
by Lefty
Hi,
I played a match with my friend, we have compiled Spring 0.74b3 (Gentoo), but lots of Sync errors occured - example:

Code: Select all

Sync error for  93 XYZ
Sync error for  153 XYZ
Sync error for  214 XYZ
Sync error for  274 XYZ
Sync error for  334 XYZ
Sync error for  394 XYZME
Sync error for  454 XYZME
And we wasnt able to see others units (except commander and some factory)
I know svn versions are sometimes incompatable, but we have the same stable version so ... how is it possible :idea:

Posted: 03 Jul 2007, 18:00
by jcnossen
There are also bugs that cause sync errors...

bugs ?

Posted: 03 Jul 2007, 18:27
by Lefty
So what should I do ? This occurs every time and for a whole game :(

btw I am running amd64 if it helps

Posted: 03 Jul 2007, 18:37
by BrainDamage
some AIs causes desync here, try to play without them

what lobby do you use?

Posted: 03 Jul 2007, 18:46
by Relative
I got those errors when AFlobby's script generation wasn't working correctly. Although AF had fixed that a while ago.

Sync

Posted: 03 Jul 2007, 19:18
by Lefty
I tried it without lobby, only with "Comanders" script. (I hosted the game and my friend connected with spring -c and IP address)

Posted: 03 Jul 2007, 20:12
by AF
If you try it using the commanders script then that isnt the same as that immediatly rules out a vast quantity of possible errors. At which point the only way to desync is to desync with yourself aka A != A, which is ludicrous.

Posted: 04 Jul 2007, 19:03
by Lefty
AF wrote:If you try it using the commanders script then that isnt the same as that immediatly rules out a vast quantity of possible errors. At which point the only way to desync is to desync with yourself aka A != A, which is ludicrous.
Today I tried my own script (as written in http://spring.clan-sy.com/wiki/Linux_multiplayer_games) and still the same ! :(
btw: when I dont specify the script on client, the game wont start ("Waiting for script")

Server side script: http://owportal.info/~lefty/spring/single.txt
Client (currently me) script: http://owportal.info/~lefty/spring/single_l.txt

Does anyone want to test it with me ? Or may tcpdump of network communication help ? (I hope Spring uses only UDP port specified in script)

Posted: 04 Jul 2007, 19:53
by AF
Your scripts arent identical and at the very minimum would cause "Message recieved from A claiming to be B" type messages.

In one script you're team 1, in the other you're team 0, and vice versa for the other person. This is all wrong.

Why dont you just use a lobby? AFLobby works well and is tried and tested, and it wont be long before you can use springlobby either.

Posted: 10 Jul 2007, 12:08
by CautionToTheWind
Once a binary compiled by me also desynced all the time. I redid the whole process and it worked fine, so i just assumed i had made some error the first time around. You should do the same.

sync

Posted: 13 Jul 2007, 13:17
by Lefty
I tried lobby and recompiling (with optimize on and off using gentoo ebuilds) and still the same .. maybe precompiled linux binary can help .. ? (runnning amd64) ... or wrong ebuild ?

Posted: 13 Jul 2007, 14:04
by CautionToTheWind
I compiled following the HOWTO in this forum, and on kubuntu 32bits.