Giter VIP home page Giter VIP logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
I added some sort of timeout system in r563. It still needs some testing.
Also, the check is done only when someone tries to login.

Original comment by [email protected] on 17 Dec 2010 at 2:08

  • Changed state: Accepted

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
this indeed needs more testing, would be good if we can get this fixed for 7.5
I set the value to 5 sec, which seems reasonable - which causes random 
disconnects, directly in the middle of actually playing 40L games on netplay.
I'll keep it at 5000 for now, that you can debug this.

Original comment by [email protected] on 5 Jan 2011 at 12:17

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
ok I tested some more and saw in the server logs that these random disconnects 
seem to be realted to new players login in the server, e.g.:

00:36:44,196 [main] INFO  NetServer: Logout: **ip**
00:36:44,196 [main] INFO  NetServer: xlro !NANNANNANA has logged out
00:36:44,215 [main] INFO  NetServer: RoomDelete ID:18 Title:Single:LINE RACE
00:36:44,224 [main] INFO  NetServer: Logout: **ip**
00:36:44,224 [main] INFO  NetServer: Cedevita has logged out
00:36:44,224 [main] INFO  NetServer: Killed 2 dead connections
00:36:44,226 [main] INFO  NetServer: Paradox  !botJudpywY has logged in 
(Host:**ip** Team:)
00:36:44,981 [main] INFO  NetServer: Hyper Zircean !Ya.GWW5jkg has logged in 
(Host:**ip** Team:)

I will increase the timeout delay now till the issue doesnt show up anymore, 
since the server is not playable like this, as soon as someone joins others get 
dropped

let me know if you want to debug this on nullpo.it.cx, then I can change the 
settings for you

Original comment by [email protected] on 5 Jan 2011 at 12:40

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
just to note and rule out any coincidences: I also increased 
netserver.maxLobbyChatHistory and netserver.maxRoomChatHistory when I lowered 
netserver.timeoutTime

Original comment by [email protected] on 5 Jan 2011 at 12:47

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
5 seconds? That's too short.
Currently NullpoMino sends a ping message every 10 seconds. So 
random-disconnection will happen if you set the timeout below 10 seconds.
Maybe we should set ping interval to 5 or less seconds?

Original comment by [email protected] on 5 Jan 2011 at 11:23

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
okay, I was under the impression from the description that the timeoutTime 
value defined the ping/pong interval and that this is not hardcoded. Maybe add 
it as another config value? 5 sec makes sense to me, I have it set to 10 atm, 
and it seems to work ok. But giving this value to the server admin to control, 
is pbbly best.

Original comment by [email protected] on 5 Jan 2011 at 1:08

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
That's a good idea.
I added server-controlled Ping interval option in r618. Please try it.

Original comment by [email protected] on 5 Jan 2011 at 2:12

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
ok great, updated the server to r618, running with

netserver.timeoutTime=15000
netserver.clientPingInterval=5000

now for testing - looks ok so far.

Original comment by [email protected] on 5 Jan 2011 at 2:38

from nullpomino.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024

Original comment by [email protected] on 21 Jan 2011 at 3:26

  • Changed state: Fixed

from nullpomino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.