Add game clock commands, command completions and Cyrene login tooling

This commit is contained in:
CAtlas0784 committed 2026-10-30 15:02:09 +07:00
1 parent 1fa9504176
commit 67a819a4d3
21 files changed
+1194 -7

No files matched your search

+5 -1
View File
@@ -42,7 +42,11 @@ func init() {
PacketLog("CW_GM deferred: " + err.Error())
}
rsp.ClientTimeMs = req.ClientTimeMs
rsp.ServerTimeMs = req.ClientTimeMs
now, err := common.GameTime()
if err != nil {
return err
}
rsp.ServerTimeMs = uint64(now.UnixMilli())
var finalData []byte
finalData = append(finalData, heartbeatLua...)