Author Topic: [Bug] DM maps stuck in loop on empty server with overtime_0 set  (Read 1522 times)

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
If the overtime cvar is set (i.e. 2) and overtime_0 is enabled, then when a dm map is empty the server is stuck in an overtime loop and prints "<last player> disconnected" when the map reaches 0:00 again.

Code: [Select]
[00:00:38] 2:00 left in match.
[00:01:38] 1:00 left in match.
[00:01:53] 0:45 left in match.
[00:02:08] 0:30 left in match.
[00:02:23] 0:15 left in match.
[00:02:28] 0:10 left in match.
[00:02:33] 0:05 left in match.
[00:02:34] 0:04 left in match.
[00:02:35] 0:03 left in match.
[00:02:36] 0:02 left in match.
[00:02:37] 0:01 left in match.
[00:02:38] 0:00 left in match.
[00:02:38] newbie disconnected.
[00:02:38] 2:00 left in match.
[00:03:38] 1:00 left in match.
[00:03:53] 0:45 left in match.
[00:04:08] 0:30 left in match.
[00:04:23] 0:15 left in match.
[00:04:28] 0:10 left in match.
[00:04:33] 0:05 left in match.
[00:04:34] 0:04 left in match.
[00:04:35] 0:03 left in match.
[00:04:36] 0:02 left in match.
[00:04:37] 0:01 left in match.
[00:04:38] 0:00 left in match.
[00:04:38] newbie disconnected.

If you set overtime=0, the map will finish and load the next one in rotation. If you don't it just floods your logs. Haven't looked much at other game modes.

B27/game165

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: [Bug] DM maps stuck in loop on empty server with overtime_0 set
« Reply #1 on: August 22, 2009, 07:46:32 PM »
Hmm, I'm not sure overtime_0 is a setting you'd ever actually want to use unless it's for a tournament where there HAS to be a winner.  In theory, a match could continue indefinitely if no points are scored.  I guess I could check to see if there are no players and end the match anyway if that's the case.