Page MenuHomeFeedback Tracker

serverTime is inaccurate on a dedicated server.
Closed, ResolvedPublic

Description

serverTime does not work on a dedicated server. It returns a useless time format.

Details

Legacy ID
5340732
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Create a mission and drop a trigger then place this in the trigger:
diag_log format ["Time:%1, ServerTime: %2", time, serverTime];

Server Output:
"Time:3.941, ServerTime: 3.51428e+006"
Client Output:
"Time:4.121, ServerTime: 44.937"

Additional Information

It works on clienthosted servers.

Event Timeline

m1nd0 edited Steps To Reproduce. (Show Details)May 22 2013, 11:12 AM
m1nd0 edited Additional Information. (Show Details)
m1nd0 set Category to Scripting.
m1nd0 set Reproducibility to Always.
m1nd0 set Severity to None.
m1nd0 set Resolution to Open.
m1nd0 set Legacy ID to 5340732.May 7 2016, 2:12 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 2:12 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.