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

AuthorMessageTime
ChR0NiC
Someone told me there is 2 login methods.....
And I was wondering what differences are made using each one

This is 0x50
[code]

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
[/code]

This is 0x1E
[code]
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
[/code]

Why might you use one over the other?? Are there any advantages to using one or the other??
December 29, 2003, 1:03 AM
Lenny
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.
December 29, 2003, 1:27 AM
ChR0NiC
So W2BN still uses 1E??
December 29, 2003, 1:32 AM
Lenny
W2BN clients do, if I remember correctly.

But you can login using 0x50 for W2BN.
December 29, 2003, 1:35 AM
ChR0NiC
ok Thanks Lenny, you really helped me alot

+1 ;D
December 29, 2003, 1:37 AM
DaRk-FeAnOr
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
December 29, 2003, 1:37 AM
Lenny
[quote author=DaRk-FeAnOr link=board=17;threadid=4478;start=0#msg37389 date=1072661852]
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
[/quote]

But actual W2BN clients do not use 0x50.
December 29, 2003, 1:43 AM
dRAgoN
[quote author=Lenny link=board=17;threadid=4478;start=0#msg37390 date=1072662190]
[quote author=DaRk-FeAnOr link=board=17;threadid=4478;start=0#msg37389 date=1072661852]
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
[/quote]

But actual W2BN clients do not use 0x50.
[/quote]

nor does SSHR, DSHR, or DRTL.
But you can logon useing 0x50 at the risk of posibly one day getting caught.
December 29, 2003, 1:48 AM
UserLoser.
[quote author=DaRk-FeAnOr link=board=17;threadid=4478;start=0#msg37389 date=1072661852]
0x50 works for every client except for Starcraft Japanese. 0x1E can not be used for warcraft 3.
[/quote]

0x50 works for JSTR
December 29, 2003, 2:03 AM
UserLoser.
[quote author=ChR0NiC link=board=17;threadid=4478;start=0#msg37383 date=1072659797]
Someone told me there is 2 login methods.....
And I was wondering what differences are made using each one

This is 0x50
[code]

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
[/code]

This is 0x1E
[code]
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
[/code]

Why might you use one over the other?? Are there any advantages to using one or the other??
[/quote]

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...
December 29, 2003, 2:10 AM
o.OV
[quote author=ChR0NiC link=board=17;threadid=4478;start=0#msg37383 date=1072659797]
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??
[/quote]

Yea =) I would like to know too..
December 29, 2003, 2:24 AM
MesiaH
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.
December 29, 2003, 3:42 AM
DaRk-FeAnOr
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.
December 29, 2003, 6:41 AM

Search