Author Topic: Multiplayer disconnections  (Read 1778 times)

Offline TelcontarVI

  • Newbie Mark II
  • *
  • Posts: 11
Multiplayer disconnections
« on: September 30, 2014, 03:50:32 am »
Hi, i'm triying to play a coop campaing with a new player, but we are facing disconection issues:

- First we try a direct connection, at first it was working fine, but suddenly the other player (i'm the host) was disconnected and it didn't work again  for many retrys and reset we done, he never hit's the 100% sync again, althought it rearches about 30%. We both use the same port and mi port is forwarded.

- Then we try hamachi, and it works again, i teach it the first steps on an AI War campaing, we scouted our sorroundings, survive two weak waves and when we were going to atack the first Ai planet the game disconnects. We load the game and the same happens: it allways discconnects when i move about 200 ships in two transports to his planet to join forces. We both have done the steps of this post: http://www.arcengames.com/forums/index.php?topic=2055.0 but with no results.

Can you advise how to go on? can we send you a savegame, a log... something to understand whats happening?


Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Multiplayer disconnections
« Reply #1 on: September 30, 2014, 08:23:12 am »
Hi there,

Sorry to hear about your troubles.  Generally if you're getting disconnected like that, it's going to be a matter of the amount of data flooding a network adapter or similar.  The first job is to each make sure that you have the very latest version of your network card drivers -- sometimes that can solve it right there.

The next thing to look at is the MTU, or Maximum Transmission Unit, on the game settings window.  It is set by default at 1400, which is a very standard sort of value for games, but can be too high for some routers or ISPs.  There is a more detailed article about this elsewhere, but basically what that causes is a bunch of packet splits and wrappering when it goes through the network.

Almost always Hamachi would avoid this sort of problem, though, so that's kind of curious that it would be an issue -- I don't think I've ever heard of this issue happening through Hamachi, to be honest.

Anyway, you can turn down the Maximum Transmission Unit on both of your machines to be something like 1200 or 1000.  The values do not have to match between your machines, but it doesn't hurt if they're in the same ballpark for purposes of just testing out the network.

Honestly since you are having problems even through Hamachi, I am thinking that there is a network card that is having a buffer overflow or something, so a driver update might be all that is needed.

I hope that helps!
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 TelcontarVI

  • Newbie Mark II
  • *
  • Posts: 11
Re: Multiplayer disconnections
« Reply #2 on: September 30, 2014, 01:20:15 pm »
I have done both: actualice the network adapter drivers, and changed the MTU to 1000 and in a little test so far so good, two guardpost down. I hope it last, if so i expect to attract two or three new players for the IA to have a feast

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Multiplayer disconnections
« Reply #3 on: September 30, 2014, 01:40:26 pm »
Awesome!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!