Author Topic: [(p) fixed] Server still does not wait for slow clients ( rev between 4452 and 4458 )  (Read 702 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
I forgot to report this but it was a revision between 4452 and 4458 when I saw it.

The client ( Pizza90) was falling back in a game and was not able to catchup. Me ( the server) got a message about Pizza90 beeing slow. The next message I got was that he got disconnected without any kind of pausing for all, to give him a chance to catch up.

 Looking at the message I got he got disconnected because of big lag. ( I am not 100% he wasn't disconnected due to its connection, but I think not )
« Last Edit: 16 June 2013, 19:11:56 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
I improved the lag response checking so try svn and let me know if it feels better: 4467

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
We talked in irc about it and you told me that the server just waits some seconds for the client to catchup. I think this is correct so he waits.

But in general wouldn't it bee better to wait a lot longer ?
The server waits if a client falls back for 20(25?) seconds! thats a lot.  If waiting should make any real sense he should wait 20 seconds so let the client catch up.
This kind of waiting should then be done 3 times, before we give up and he gets disconnected .

( this is nothing we really need for a alpha/beta is it was always like this. )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything