You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SW mode, the console will print some clock information after each round, such as:
Clock set to: 12:34 (1st round)
Objective reached at 12:12 (original: 12:34) or Objective NOT reached in time (12:34) (2nd round)
While working on #495, I observed a weird discrepancy between the clock calculation in SW mode when the time difference between the 2 rounds is typically small.
Here's a screenshot to illustrate, with some debug values:
display the delta time in msec (would otherwise be shown as 0:00)
[original time][original time in msec][actual time][actual time in msec]
The server time (in console) displays Objective NOT reached in time (allies failed), while the client side shows that allies won the game (set by CS_MULTI_MAPWINNER).
the time used for delta time display are computed on the server
delta time is surprisingly displayed as a negative number, which indicates it is the client side that is wrong (as opposed to some error due to int/float rounding on the console message)
when displayed in msec, time is a multiple of 50 msec, due to 1/sv_fps default value I guess
Lastly, I am not sure of the range of time that results in such discrepancy (the lowest delta time I got while testing that was good was 1300msec, but I got some discrepancy with -350 msec too). But at first sight, I'd say around ~1 sec, maybe less).
The text was updated successfully, but these errors were encountered:
In SW mode, the console will print some clock information after each round, such as:
Clock set to: 12:34
(1st round)Objective reached at 12:12 (original: 12:34)
orObjective NOT reached in time (12:34)
(2nd round)While working on #495, I observed a weird discrepancy between the clock calculation in SW mode when the time difference between the 2 rounds is typically small.
Here's a screenshot to illustrate, with some debug values:
msec
(would otherwise be shown as 0:00)[original time][original time in msec][actual time][actual time in msec]
The server time (in console) displays
Objective NOT reached in time
(allies failed), while the client side shows that allies won the game (set byCS_MULTI_MAPWINNER
).Notes:
1/sv_fps
default value I guessLastly, I am not sure of the range of time that results in such discrepancy (the lowest delta time I got while testing that was good was
1300msec
, but I got some discrepancy with-350 msec
too). But at first sight, I'd say around ~1 sec, maybe less).The text was updated successfully, but these errors were encountered: