Author Topic: TimeElapsed  (Read 1074 times)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
TimeElapsed
« on: March 22, 2006, 02:36:49 AM »
Is anybody using the TimeElapsed serverinfo cvar for anything?  I think it would make more sense to replace it with a TimeLeft cvar that reads in a min:sec format, so instead of saying TimeElapsed 30.0, it would say TimeLeft 19:30 (assuming the timelimit was 20 minutes).

Eiii

  • Autococker
  • Posts: 4595
Re: TimeElapsed
« Reply #1 on: March 22, 2006, 09:38:50 AM »
Makes sense. While we're talking about serverinfo cvars, is there a 'build' one? I don't see it in your fancy server browser...

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: TimeElapsed
« Reply #2 on: March 22, 2006, 12:57:04 PM »
No, but I can set the build cvar to be a serverinfo value easily enough.

b00nlander

  • Autococker
  • Posts: 784
Re: TimeElapsed
« Reply #3 on: March 23, 2006, 02:45:19 AM »
I currently do use this serverinfo cvar, and just set my own "timeleft" feature by setting a variable to "20 - TimeElapsed", as it only displays my server's info, which is always set to 20 minutes. Changing that would be easy, and the TimeLeft would be better to handle different server's infos.

Eiii

  • Autococker
  • Posts: 4595
Re: TimeElapsed
« Reply #4 on: March 23, 2006, 09:23:56 AM »
Does that actually work? Could you explain HOW exactly it works? (Or what you have to do to make it work?)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: TimeElapsed
« Reply #5 on: March 23, 2006, 01:30:18 PM »
Well, I've already changed it.  Only problem with 20 - TimeElapsed is that overtime might come into play.