[quake3-bugzilla] [Bug 5272] New: ioq3 server drops off master list after ~23 days

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Mon Oct 10 16:54:51 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5272

           Summary: ioq3 server drops off master list after ~23 days
           Product: ioquake3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: signaljammed at gmail.com
         QAContact: quake3-bugzilla at icculus.org


The server will drop off ID software's master server list when the q3 server
performs a shutdown.  I believe the problem happens after the below code in
sv_main.c is run:

// if time is about to hit the 32nd bit, kick all clients
// and clear sv.time, rather
// than checking for negative time wraparound everywhere.
// 2giga-milliseconds = 23 days, so it won't be too often
if ( svs.time > 0x70000000 ) {
        SV_Shutdown( "Restarting server due to time wrapping" );
        Cbuf_AddText( va( "map %s\n", Cvar_VariableString( "mapname" ) ) );
        return;
}

The odd thing is that when the server is manually killed and restarted, it will
reappear in the masters list in the same position it was at previously.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list