Author Topic: [Solved] Really Laggy In MP  (Read 7426 times)

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Really Laggy In MP
« Reply #15 on: September 03, 2009, 02:30:17 pm »
I'm not saying your router. :)  But even if it was your ISP's router, you'd be hosed, eh?

The ISP I have at home is god awful. It was a feat just getting my Router to work in the first place, and Hamachi certainly almost never works.

Offline GaZ

  • Newbie
  • *
  • Posts: 2
Re: Really Laggy In MP
« Reply #16 on: September 15, 2009, 05:04:51 pm »
Hey guys, I'm the one playing with Hyfrydle (or trying to for so long now).

We gotit working today through Hamachi with no noticable lag, just like the first time we played it - we are using Hamachi.
I will say though that the loading times are incredibly long - the game files aren't that big (500kB for 80 planets) but it still takes 3-5 minutes to load up.  Is this normal?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Really Laggy In MP
« Reply #17 on: September 15, 2009, 05:07:46 pm »
Wonderful that this is working for you now!  The load times are based on how long it takes to transfer the data, and if there are a lot of dropped packets (as evidenced by the lag under the TCP solution), that will make the transfer take longer, unfortunately.  I would not call 3-5 minutes for a 500k file normal, but with a choppy connection that is not unexpected, unfortunately.
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 Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Really Laggy In MP
« Reply #18 on: September 15, 2009, 05:40:55 pm »
Are you sure there couldn't be anything else at work there? I assume people here know what their download and upload speeds are from sending and receiving files, and those have to be perfect byte-for-byte, so it should be the same amount of packet loss and thus similar speeds. If users can normally send that amount of data in 30 seconds at those known speeds and it's taking them 3 minutes or more to do so in AI War for a two player game, I wonder if something else may be at fault.
Have ideas or bug reports for one of our games?  Click here to get started with 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: Really Laggy In MP
« Reply #19 on: September 16, 2009, 11:58:57 am »
Are you sure there couldn't be anything else at work there? I assume people here know what their download and upload speeds are from sending and receiving files, and those have to be perfect byte-for-byte, so it should be the same amount of packet loss and thus similar speeds. If users can normally send that amount of data in 30 seconds at those known speeds and it's taking them 3 minutes or more to do so in AI War for a two player game, I wonder if something else may be at fault.

Bear in mind that upload speed is the key divider here, as well as whatever else is going on with Hamachi and similar.  Sometimes peer-to-peer connections have more hops than those to big servers, and most players do a lot more downloading than uploading.  Also, if there are more than two players in a game, then remember that the uploading is multiplicative

2 players with 500kb = 500kb uploaded
3 players with 500kb = 1000kb uploaded
8 players with 500kb = 3500kb uploaded

Beyond that, there's not a whole lot I can really say, though.  I mean, I pass off the data to the UDP library (Lidgren) that I'm using, and then it brokers stuff with the network card, which also passes stuff along.  It might be that the algorithm for how packets are reconstructed (when packets are dropped or arrive out of order) on the far end is a bit different with other forms of upload, but that's not something I can really control.  Given the new progress bar stuff, I'm breaking up these larger messages into multiple smaller ones, which should help, but I don't know of much else to do.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!