• Welcome to Valhalla Legends Archive.
 

0x26 last game key

Started by l2k-Shadow, February 23, 2007, 06:36 PM

Previous topic - Next topic

l2k-Shadow

For the record\game\0\last game key, the server sends back:

9817155 3780018076


Starcraft outputs: 10/26/2006 14:15 for the time last game was played, does anyone know how to convert the value into that time?
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Hdx

#1
It's jsut a Filetime structure like in 0x50.
1st is the Hi, 2nd is the low. I think, it might be the other way around.
Same goes for Last Login, Account created, Last Logoff, etc...
Its just cuz they send them as strings.
~Hdx

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

l2k-Shadow

Oh that makes sense, I tried that prior to posting but made a coding mistake so I thought it could be something else since I was receiving crap results. thx.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

brew

Uh... HDX how would you extract the date from the second filetime? The only one I (really) got so far, is the account logged. (it's in seconds). I already tried parsing the filetimes by using my system uptime function and it returned a far-off value. help :(
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

l2k-Shadow

Quote from: brew on February 23, 2007, 08:59 PM
Uh... HDX how would you extract the date from the second filetime? The only one I (really) got so far, is the account logged. (it's in seconds). I already tried parsing the filetimes by using my system uptime function and it returned a far-off value. help :(

Put the data into a FILETIME struct then call FileTimeToSystemTime(FILETIME, SYSTEMTIME), look FileTimeToSystemTime up on MSDN.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

brew

This will work for converting a filetime to a date too, correct? (the first filetime)
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

l2k-Shadow

Quote from: brew on February 23, 2007, 10:05 PM
This will work for converting a filetime to a date too, correct? (the first filetime)

Look into the SYSTEMTIME struct, http://msdn2.microsoft.com/en-us/library/ms724950.aspx
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

brew

<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P