• Welcome to Valhalla Legends Archive.
 

0x1E Question

Started by R.a.B.B.i.T, January 02, 2004, 04:20 PM

Previous topic - Next topic

R.a.B.B.i.T

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..

UserLoser.

#1
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.

R.a.B.B.i.T

of course, i dont wanna translate that c++ over 2 vb, make it easy...would ya?

UserLoser.

#3

Dim TZB as TIME_ZONE_INFORMATION
GetTimeZoneInformation TZB


What to send: TZB.Bias + TZB.StandardBias

ChR0NiC

huh??????
I don't get it  :-[