Someone told me there is 2 login methods.....
And I was wondering what differences are made using each one
This is 0x50
With pBuffer
.InsertDWORD &H0
.InsertNonNTString "68XI" & "PXES"
.InsertDWORD "C7"
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertNTString "USA"
.InsertNTString "United States"
.SendPacket frmMain.sckBnet, &H50
End With
This is 0x1E
With pBuffer
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertNTString "."
.InsertNTString "."
.sendPacket &H1E
.InsertNonNTString "68XI" & "PXES"
.InsertDWORD "&H" & "C7"
.InsertDWORD 0
pbuffer.sendPacket &H6
End With
Why might you use one over the other?? Are there any advantages to using one or the other??
0x50 is the new login method
I believe all clients except W2BN use it...
Although 0x1E still works for all clients, its not a good idea to use an outdated protocal on battle.net.
Use 0x50 on battle.net except for W2BN, unless you want battle.net to know you're a bot.
So W2BN still uses 1E??
W2BN clients do, if I remember correctly.
But you can login using 0x50 for W2BN.
ok Thanks Lenny, you really helped me alot
+1 ;D
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
Quote from: DaRk-FeAnOr on December 28, 2003, 07:37 PM
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
But actual W2BN clients do not use 0x50.
Quote from: Lenny on December 28, 2003, 07:43 PM
Quote from: DaRk-FeAnOr on December 28, 2003, 07:37 PM
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
But actual W2BN clients do not use 0x50.
nor does SSHR, DSHR, or DRTL.
But you can logon useing 0x50 at the risk of posibly one day getting caught.
Quote from: DaRk-FeAnOr on December 28, 2003, 07:37 PM
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
0x50 works for JSTR
Quote from: ChR0NiC on December 28, 2003, 07:03 PM
Someone told me there is 2 login methods.....
And I was wondering what differences are made using each one
This is 0x50
With pBuffer
.InsertDWORD &H0
.InsertNonNTString "68XI" & "PXES"
.InsertDWORD "C7"
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertNTString "USA"
.InsertNTString "United States"
.SendPacket frmMain.sckBnet, &H50
End With
This is 0x1E
With pBuffer
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertDWORD 0
.InsertNTString "."
.InsertNTString "."
.sendPacket &H1E
.InsertNonNTString "68XI" & "PXES"
.InsertDWORD "&H" & "C7"
.InsertDWORD 0
pbuffer.sendPacket &H6
End With
Why might you use one over the other?? Are there any advantages to using one or the other??
Those are very ewwish.
InsertNonNTString "68XI" & "PXES" - those are DWORDs, treat them as DWORDs not strings!
InsertDWORD "C7" - That's a DWORD, not a string
InsertDWORD "&H" & "C7" - That's a DWORD, that's also very ugly
InsertNTString "USA" - What if a user in Korea downloaded use your bot? (Not that this makes a big difference)
InsertDWORD &H0 - People always complaining about /time being wrong...
Quote from: ChR0NiC on December 28, 2003, 07:03 PM
Someone told me there is 2 login methods.....
Why might you use one over the other?? Are there any advantages to using one or the other??
Yea =) I would like to know too..
Of course there is an advantage, why use something older, compared to newer? I'm sure you can answer that for yourself. W2BN, JSTR, DRTL and the shareware clients do not support the new login system because there has been no client-updates to implement this feature to the client, but since the server still parses the packets, any client can use it.
In my previous post, wheN I said 0x50, I meant to say 0x50, 0x51 and 0x3A, and 0x51 can not be writen for Japanese SC.