XLabsProject/iw4x-client

GSC funcs GetSystemTime & GetSystemMilliseconds reporting wrong values

Muhlex opened this issue · 0 comments

Ever since 0.7.1 (maybe 0.7.0, didn't test that) both of these GSC functions no longer return the total amount of seconds/milliseconds since the unix epoch but instead return the seconds of the current minute or the milliseconds of the current second respectively.

So GetSystemTime should return seconds since unix epoch but returns values 0-59.
I assume GetSystemMilliseconds should return milliseconds since unix epoch (never used it before) but what it does return is numbers from 0-999. With the way this function is named, the current behaviour could be intended though.