2008-11-07, 04:52 PM
(This post was last modified: 2008-11-07, 05:12 PM by haha01haha01.)
first: sorry if this was posted already.
i looked into the source of that clock on the pirates promo page, that shows how many days are left till the patch. well, basically, it works like this:
1. get nexon's date\time using this aspx: http://maplestory.nexon.net/common/serverdate.aspx
2.converting the date\time in the aspx above to timestamp (the number of milliseconds passed from the 1.1.1970 00:00 untill the date\time in the aspx)
3.loading the variable holding the pirate's patch timestamp (the number of milliseconds passed from the 1.1.1970 00:00 untill the pirates patch)
4.subtracting the pirate's timestamp from nexon's time timestamp
5.computing how many years\months\weeks\days\hours\mins\secs the result of the subtraction is
6.showing the "day" result
what i did is basically forcing the flash file to also show the hours\mins\secs left, and the result was that the pirate patch will start on the 11.11.2008, in 14:00 (nexon's time). this is not 100% sure, because nexon might have just inserted this time into the flash file, but actually plan to start the patch sometime else. however, this is the most we know now.
i looked into the source of that clock on the pirates promo page, that shows how many days are left till the patch. well, basically, it works like this:
1. get nexon's date\time using this aspx: http://maplestory.nexon.net/common/serverdate.aspx
2.converting the date\time in the aspx above to timestamp (the number of milliseconds passed from the 1.1.1970 00:00 untill the date\time in the aspx)
3.loading the variable holding the pirate's patch timestamp (the number of milliseconds passed from the 1.1.1970 00:00 untill the pirates patch)
4.subtracting the pirate's timestamp from nexon's time timestamp
5.computing how many years\months\weeks\days\hours\mins\secs the result of the subtraction is
6.showing the "day" result
what i did is basically forcing the flash file to also show the hours\mins\secs left, and the result was that the pirate patch will start on the 11.11.2008, in 14:00 (nexon's time). this is not 100% sure, because nexon might have just inserted this time into the flash file, but actually plan to start the patch sometime else. however, this is the most we know now.
