Discovered that my server thought the year was in the 5000s, instead of 1179, along with the wrong day, hour minute, etc. I edited the time computation based on MithraPride, and checked it afterwards.
Possibly relevent, I'm running this on a Linux server (Linux Mint specifically). I know system time can be reported differently on Windows and Linux depending on the libraries used. I do not know if that is the case with the ones being used in this project. It's possible the old time computatin worked properly on Windows.
Corrected Ingame Time Computation
-
- Posts: 13
- Joined: Sat Jun 29, 2013 12:55 pm
Corrected Ingame Time Computation
- Attachments
-
- vana_time.cpp.patch
- (974 Bytes) Downloaded 301 times
Re: Corrected Ingame Time Computation
This patch gives me the same time. If this works for you i'm going to assume this is correct. Committing.