Valhalla Legends Forums Archive | Battle.net Bot Development | 0x1E Question

AuthorMessageTime
R.a.B.B.i.T
im not great with the login packets....but..w/e
[code]
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
[/code]
just wondering what i should change to get EST in local time..
January 2, 2004, 10:20 PM
UserLoser.
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.
January 2, 2004, 11:08 PM
R.a.B.B.i.T
of course, i dont wanna translate that c++ over 2 vb, make it easy...would ya?
January 3, 2004, 12:24 AM
UserLoser.
[code]
Dim TZB as TIME_ZONE_INFORMATION
GetTimeZoneInformation TZB
[/code]

What to send: TZB.Bias + TZB.StandardBias
January 3, 2004, 1:01 AM
ChR0NiC
huh??????
I don't get it :-[
January 4, 2004, 10:19 AM

Search