[cod] Interesting issue with time calculations

cod4 at divzero.net cod4 at divzero.net
Sat Feb 2 20:04:38 EST 2008


Thanks all, I redid my configs, and changed sv_fps to 20 from 30. Not sure
which did the trick, I'm guessing the fps.

> I had a similar problem on my Debian Etch machine. I just rewrote my
> config
> file leaving out un-needed cvars and then every timer worked.
>
> On 31/01/2008, cod4 at divzero.net <cod4 at divzero.net> wrote:
>>
>> Thanks Peter,
>>
>> I had suspected that but hesitated to build a new kernel due to the fact
>> that other games have run fine in the same environment. Isn't HZ=1000
>> default in the linux kernel these days?
>>
>> I forgot to mention one thing in my original message: scr_sd_timelimit
>> (or
>> any other gametype timelimit) works as expected. So warmups,
>> intermissions
>> and bomb timers are the ones counting down too fast, while the actual
>> round timelimit seems to be dead on.
>>
>> Craig
>>
>> > That can be because of faster kernel Hz.
>> >
>> > The old kernels did almost always run at 300Hz
>> > The new kernels is set to 1000Hz and that will make the game-server do
>> > wierd
>> > things..
>> >
>> > Peter
>> >
>> > ----- Original Message -----
>> > From: <cod4 at divzero.net>
>> > To: <cod at icculus.org>
>> > Sent: Thursday, January 31, 2008 4:35 PM
>> > Subject: [cod] Interesting issue with time calculations
>> >
>> >
>> >> I'm running a cod4 server in FreeBSD. I have run many o game server
>> on
>> >> this box without problems until now. My problem, in a nutshell, is
>> that
>> >> anything involving the clock in cod4 seems to be going way too fast.
>> >> Okay,
>> >> that probably doesn't make any sense, I will try to elaborate.
>> >>
>> >> When sitting in warmup, the numbers for the timer countdown as
>> expected,
>> >> every second. However, the beep that is heard client side happens
>> >> approximately twice per second. Somewhere about halfway through the
>> >> countdown, the match will start. The same thing happens when you
>> plant
>> a
>> >> bomb in search and destroy. The countdown will say 35 seconds, the
>> bomb
>> >> will blow up at 15. The visual timer is likely done client side,
>> which
>> >> would explain why the numbers decrement as expected. What I can't
>> figure
>> >> out is what's going on server side causing this problem.
>> >>
>> >> I'm wondering if this is a problem others are having. Also wondering
>> if
>> >> it
>> >> is specific to FreeBSD or if it exists on Linux machines as well
>> (since
>> >> I'm just using the linux binaries). Unfortunately cod isn't like rtcw
>> or
>> >> et, it doesn't give you the build name other people are running so I
>> >> have
>> >> not been able to track down a linux server to check out.
>> >>
>> >> If this post doesn't make any sense or you'd like to see for
>> yourself,
>> >> send me an email off the list and I'll give you the IP.
>> >>
>> >>
>> >> ---
>> >> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
>> >> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> > ---
>> > To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
>> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>> >
>> >
>> >
>>
>>
>>
>> ---
>> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
>> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>>
>>
>>
>
>
> --
> Thanks,
> Vadim
>





More information about the Cod mailing list