Author Topic: Scoreboard Time Messup  (Read 1175 times)

Spydie

  • VM-68
  • Posts: 175
Scoreboard Time Messup
« on: March 28, 2006, 07:56:18 PM »
Take a look at the times and tell me what's wrong. Everybody in the server was seeing this. I was only in there but.. maybe 5 minutes.


Spydie

  • VM-68
  • Posts: 175
Re: Graffiti Classic 2 MESSUP
« Reply #1 on: March 28, 2006, 07:58:34 PM »
Ohh looks like you have to make your browser window fullscreen to see it.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Graffiti Classic 2 MESSUP
« Reply #2 on: March 28, 2006, 11:06:56 PM »
Your subject is a bit misleading.  I don't know that this is specific to the server, unless it's always like that.  My guess is that the system ticks overflowed, causing the time difference to appear negative.  Was it like this on just the client-side scoreboard, or did it show it at the end of the map as well?

b00nlander

  • Autococker
  • Posts: 784
Re: Graffiti Classic 2 MESSUP
« Reply #3 on: March 29, 2006, 04:53:45 AM »
jitspoe, that is something that happens on all servers once in a while, its nothing specifially on that server, nor is it clientside.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Graffiti Classic 2 MESSUP
« Reply #4 on: March 29, 2006, 01:03:06 PM »
If it is what I think it is, it'll be hard to test.  Computers store time in a 32bit value which counts the number of milliseconds the computer has been on.  This is used for timing in various applications (read: games).  After about 7 weeks, this value overflows.  It gets so big a 32bit value can't hold it anymore, so it wraps around to 0 again.  At that point, the current time (0) is less than the previous time (something like 4294967295), making the difference between them negative.  I think I can fix it, but it'll be hard to tell if the fix worked or not.