Author Topic: [Solved] Desync with 1 human player, not with other human player  (Read 13848 times)

Offline Bridger

  • Newbie Mark II
  • *
  • Posts: 19
and then a screen full of desync messages in white, P0... blah, and an alarm bell in 1.005c.

Desyncing player is re-installing, any other thoughts?
« Last Edit: September 25, 2009, 09:53:56 am by Fiskbit »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #1 on: June 04, 2009, 02:09:42 pm »
Desyncs are not caused by the game being loaded incorrectly -- it is most likely a bug in the 1.005 prerelease versions.  If it happens again, please both save the game on your computer, and if you can upload (or email to chrispark7 at gmail)  the .sav.dmp files that get created by the savegame, I can see if I can find the problem.  As soon as a desync occurs, pause the game and then both do a save.

A desync occurs when two computers diverge in their simulation.  This can happen if you are not both on 1.005c, or it can happen if there is a bug in one of the new features that has not been extensively happened (that's the risk you run with the prereleases, they are less tested than the full releases although generally this does not happen).

First thing to check is that you are both on 1.005c, if one of you is not that's the problem.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Bridger

  • Newbie Mark II
  • *
  • Posts: 19
Re: Desync with 1 human player, not with other human player
« Reply #2 on: June 04, 2009, 02:19:44 pm »
Happened again - emailed to you :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #3 on: June 04, 2009, 02:20:37 pm »
Thanks -- did you send me all three files, though?  So far I only got one player's save, which doesn't help much because I have nothing to compare it against. ;)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Bridger

  • Newbie Mark II
  • *
  • Posts: 19
Re: Desync with 1 human player, not with other human player
« Reply #4 on: June 04, 2009, 02:28:38 pm »
Apols - died again on 1.004, we sending you fresh files now.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #5 on: June 04, 2009, 02:29:53 pm »
Okay, thanks -- it must either be something with one of your machines, or something previously-unfound issue with a specific ship type you are using.  Sorry about that!  Can you give me some info about the machine that is having the desync?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Bridger

  • Newbie Mark II
  • *
  • Posts: 19
Re: Desync with 1 human player, not with other human player
« Reply #6 on: June 04, 2009, 02:34:37 pm »
Arcane is on Vista 64 (SP1 prob) with 4gb mem.
Daemon is on Win 7 RC 64 with 4gb mem.
Bridger is on Vista 64 SP1 with 2gb mem.

Offline Daemon

  • Newbie Mark II
  • *
  • Posts: 13
Re: Desync with 1 human player, not with other human player
« Reply #7 on: June 04, 2009, 02:36:43 pm »
Bridger is getting Desync with Arcanes machine, I dont see any message and neither does arcane.

Bridger is ther server, we are running it over a hamatchi network.

Thanks

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #8 on: June 04, 2009, 02:40:07 pm »
Yep, the server is the only one that gets notified of desyncs, because it is the only one connected to all players directly.  Looks like the Bridger and Daemon machines are in perfect sync, but Arcane is out of sync with both of them for some reason.  Analyzing that now...
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #9 on: June 04, 2009, 02:51:06 pm »
Okay, here's one thing to check -- is Arcane's machine on the same version of .NET 3.5 as the rest of you?  As in, are they all SP1?  You should be able to see that under Add/Remove programs.  Also, what kind of CPUs are these machines using?  AMD or Intel on each?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Daemon

  • Newbie Mark II
  • *
  • Posts: 13
Re: Desync with 1 human player, not with other human player
« Reply #10 on: June 04, 2009, 03:01:20 pm »
All intel.

Arcane does have a .net update, he is downloading and installing now.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #11 on: June 04, 2009, 03:02:29 pm »
Okay, so this isn't something to do with specific unit types.  Looks like one of Bridger's bombers on Ockve got destroyed on Arcane's version of the game, but is still alive on the others.  It also caused a little bit more damage to the special forces command post that it was attacking, and thus things got quickly out of sync there.

The difference of simulation occurred on Arcane's machine, but the difference is actually relating to Bridger's ships and AI 1 (the bright red AI).  So my next questions are for Bridger:  were you using anything in particular when attacking that special forces command post on Ockve?  Such as the free roaming defender mode, or attack move, or group or lone move, anything like that?  Were you using hotkeys for group move (G), or anything of that nature?  Whatever information on that score you can provide will help me find the root bug here more quickly.  I'm going to keep looking into it now, but let me know when you get a chance.  Thanks -- and my apologies again for the inconvenience.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #12 on: June 04, 2009, 03:03:27 pm »
Arcane does have a .net update, he is downloading and installing now.

Can you tell me which update it was?  If this turns out to be the culprit, I'll need to let other people know.  I'm still looking into my code, too, in case the error is there.  Thanks!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Bridger

  • Newbie Mark II
  • *
  • Posts: 19
Re: Desync with 1 human player, not with other human player
« Reply #13 on: June 04, 2009, 03:04:46 pm »
Okay, so this isn't something to do with specific unit types.  Looks like one of Bridger's bombers on Ockve got destroyed on Arcane's version of the game, but is still alive on the others.  It also caused a little bit more damage to the special forces command post that it was attacking, and thus things got quickly out of sync there.

The difference of simulation occurred on Arcane's machine, but the difference is actually relating to Bridger's ships and AI 1 (the bright red AI).  So my next questions are for Bridger:  were you using anything in particular when attacking that special forces command post on Ockve?  Such as the free roaming defender mode, or attack move, or group or lone move, anything like that?  Were you using hotkeys for group move (G), or anything of that nature?  Whatever information on that score you can provide will help me find the root bug here more quickly.  I'm going to keep looking into it now, but let me know when you get a chance.  Thanks -- and my apologies again for the inconvenience.

Nothing - not learnt anything you have mentioned.  Using tech 1 bombers and cruisers.  Dont worry about this - its good to be involved in something like this that has the hallmarks of a great game so early on :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Desync with 1 human player, not with other human player
« Reply #14 on: June 04, 2009, 03:07:27 pm »
Okay, that keeps this simpler -- and mystifies me even more, since most other stuff has not changed in a while and I have not seen any desyncs in my weekly mp testing sessions (we log about 6-8 hours a week, and haven't seen a desync since beta).  I'm wondering if it's that .NET patch, but still checking out my code under the assumption it might not be.  And again, your positive attitude about this is much appreciated.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!