Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: R.a.B.B.i.T on January 23, 2004, 10:40 PM

Title: Evil Diablo II!!
Post by: R.a.B.B.i.T on January 23, 2004, 10:40 PM
Criteria:
0x50/0x51 logins
Valid key
E-Mail Registered Account
Correct VerByte

Problem:
Both BNLS and BNET return Unrecognized Version.
Title: Re:Evil Diablo II!!
Post by: Arta on January 24, 2004, 04:12 AM
Must be putting the packet together incorrectly, or your verbyte is wrong.
Title: Re:Evil Diablo II!!
Post by: R.a.B.B.i.T on January 24, 2004, 12:19 PM
I'm using the handy BNLS_REQUESTVERSIONBYTE you posted in BnetDocs.

I'm pretty sure this is right:

Public Function BNLSVByte() As Long
   Select Case dwProd
       Case "RATS"
           BNLSVByte = &H1
       Case "PXES"
           BNLSVByte = &H2
       Case "NB2W"
           BNLSVByte = &H3
       Case "VD2D"
           BNLSVByte = &H4
       Case "PX2D"
           BNLSVByte = &H5
       ' Where's &H8?
       Case "3RAW"
           BNLSVByte = &H7
       Case "PX3W"
           BNLSVByte = &H8
   End Select
End Function
Title: Re:Evil Diablo II!!
Post by: NetNX on January 25, 2004, 01:26 AM
i c we did like the same shit mabey :) **interested to find out what the hell is wrong**
Title: Re:Evil Diablo II!!
Post by: UserLoser. on January 25, 2004, 01:38 AM
Quote from: R.a.B.B.i.T on January 24, 2004, 12:19 PM
I'm using the handy BNLS_REQUESTVERSIONBYTE you posted in BnetDocs.

I'm pretty sure this is right:

Public Function BNLSVByte() As Long
   Select Case dwProd
       Case "RATS"
           BNLSVByte = &H1
       Case "PXES"
           BNLSVByte = &H2
       Case "NB2W"
           BNLSVByte = &H3
       Case "VD2D"
           BNLSVByte = &H4
       Case "PX2D"
           BNLSVByte = &H5
       ' Where's &H8?
       Case "3RAW"
           BNLSVByte = &H7
       Case "PX3W"
           BNLSVByte = &H8
   End Select
End Function


Quote' Where's &H8?

You have it there, I'm assuming you mean &H6 which is 'JSTR'
Title: Re:Evil Diablo II!!
Post by: R.a.B.B.i.T on January 25, 2004, 03:50 PM
I did mean &H6, and thanks for the info.