im not great with the login packets....but..w/e
Public Sub Send1E()
InsertDWORD 0
InsertDWORD 0
InsertDWORD 0
InsertDWORD 0
InsertDWORD 0
InsertNTString "SB"
InsertNTString "SB"
sendPacket &H1E
InsertNonNTString "68XI" & strClient
InsertDWORD GetVerByte()
InsertDWORD 0
sendPacket &H6
If sPing = 0 Then
InsertDWORD &H0
sendPacket &H25
End If
End Sub
just wondering what i should change to get EST in local time..
Edit: Neither 0x06 or 0x1e have anything to do with sending your time zone information, if you want to get the correct time (ex: /time), you should either use a newer logon sequence, or use 0x12 (SID_LOCALEINFO). The 5th DWORD of 0x12 is your time zone information, which can be retrieved by using GetTimeZoneInformation (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/gettimezoneinformation.asp).
of course, i dont wanna translate that c++ over 2 vb, make it easy...would ya?
Dim TZB as TIME_ZONE_INFORMATION
GetTimeZoneInformation TZB
What to send: TZB.Bias + TZB.StandardBias
huh??????
I don't get it :-[