Archaegeo / DualUniverseLuaIssues

DualUniverse LUA Issue Tracking
GNU General Public License v3.0
5 stars 0 forks source link

Reliable Time not available in LUA #25

Closed rainersc closed 2 years ago

rainersc commented 3 years ago

In various situations we need a reliable "time" in game which is the same for all players no matter in which TZ their client runs. Currently the time we can retrieve is depending on local real life PC time and timezone settings which makes it unusable in multiplayer use cases. as it could easily be "cheated" by the player changing local PC time or TZ settings. Ideally just add an API to retrieve e.g. GMT time which does not take local PC time as its base.

NQ-Ligo commented 2 years ago

Hi there !

This issue has been fixed with 0.29 Athena update. We've added following functions and deprecated (not deleted) the getTime function for consistency :

Archaegeo commented 2 years ago

Close as complete