Originally Posted by Halja
@NWDD
I like the theory of nice round number you picked. When I first glanced at your add-on I scanned too fast and missed that one line where you are getting the ratio and attempting to get in-game time.
We can get to a few more nice round numbers "slightly less than five days." What if ZOS is using OS Ticks (864,000,000,000 in day)?
Then these three ratios also align for a Tamriel day?
--halja
|
Code is way too messy, I'm rewriting it right now ( maintenance D: )
The code is prepared in order to use the "number of seconds per day a Tamriel day lasts", and then It calcs everything else (day, month, year in calendar taking into account that server started arround 1/1/582 E2)
The current bad sync is mainly because a tamriel day/night cycle lasts a bit "less than 6 hours" rather than "less than 5" as said by ZO.
I kind of forgot ZO code games for trolls by trolls.
I'll probably release an v0.9.7 within 1h after EU servers are back.