Fuerte -> (11/22/2000 12:26:00 AM)
|
Thanks for your comments!
I'll add the SAVE directory support later (this week?), I personally use only secure PBEM.
In fact I don't know if there is any problem with different time zones, but I presume that when a file is compressed into a zip file, then it has the local time, not universal time. And when the file is extracted from the zip, it still has the local time from a different time zone, which means that the modification time is incorrect for the current time zone.
So if the clock is 21:00:00 in Sweden, then it is 22:00:00 in Finland. If I make a turn at 21:00:00 in Finland and send it to Sweden, my opponent receives it at 21:01:00 local time in Sweden, but the modification time is already 22:00:00, IN THE FUTURE. And when the opponent makes a turn at 21:02:00 and sends it to me, then my time is about 22:03:00 and the turn time is EARLIER than the time when I sent the file to my opponent.
My program does not like this, because it checks the modification times so that you do not accidentally overwrite files with older ones. Of course there is an option to overwrite with older files, so you can still play the game.
That's why I added an automatic file time conversion. When a file is received from Sweden, one hour is added to the modification time. Unfortunately I have not yet tested this in practice at all. [img]http://www.matrixgames.com/ubb/smile.gif[/img]
[This message has been edited by Fuerte (edited November 21, 2000).]
|
|
|
|