Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Ryan Marcus on September 03, 2005, 04:53 PM

Title: [BNLS] VersionCheck Problem...
Post by: Ryan Marcus on September 03, 2005, 04:53 PM
Call me a moron, but somebody please tell me what is wrong:

Quote

Send option management request (T_OPTMGMT_REQ = 108).

Receive option management ack (T_OPTMGMT_ACK = 131).

Send bind request (T_BIND_REQ = 101).
  Bind to «Any Address»
  Connection Indication Number = 0

Receive bind ack (T_BIND_ACK = 122).
  Bind to port 54071
  Connection Indication Number = 0

Send connection request (T_CONN_REQ = 102).
  Connect to 63.161.183.205:9367

Receive connection confirmation (T_CONN_CON = 123).
  Connect from 63.161.183.205:9367

Send data (73 bytes).
<00000000< 09 4A 00 01  00 00 00 30  00 00 00 41  3D 32 34 38  .J.....0...A=248
<00000010< 33 39 37 39  36 30 20 42  3D 33 30 38  37 35 39 38  397960 B=3087598
<00000020< 30 36 20 43  3D 35 38 32  38 35 34 35  32 35 20 34  06 C=582854525 4
<00000030< 20 41 3D 41  5E 53 20 42  3D 42 2D 43  20 43 3D 43   A=A^S B=B-C C=C
<00000040< 2D 41 20 41  3D 41 5E 42  00                        -A A=A^B.

Receive orderly release indication (T_ORDREL_IND = 132).

Send orderly release request (T_ORDREL_REQ = 109).

Send unbind request (T_UNBIND_REQ = 110).
Title: Re: [BNLS] VersionCheck Problem...
Post by: Spht on September 03, 2005, 05:37 PM
Quote from: Ryan Marcus on September 03, 2005, 04:53 PM
Call me a moron, but somebody please tell me what is wrong:

Quote

Send option management request (T_OPTMGMT_REQ = 108).

Receive option management ack (T_OPTMGMT_ACK = 131).

Send bind request (T_BIND_REQ = 101).
  Bind to «Any Address»
  Connection Indication Number = 0

Receive bind ack (T_BIND_ACK = 122).
  Bind to port 54071
  Connection Indication Number = 0

Send connection request (T_CONN_REQ = 102).
  Connect to 63.161.183.205:9367

Receive connection confirmation (T_CONN_CON = 123).
  Connect from 63.161.183.205:9367

Send data (73 bytes).
<00000000< 09 4A 00 01  00 00 00 30  00 00 00 41  3D 32 34 38  .J.....0...A=248
<00000010< 33 39 37 39  36 30 20 42  3D 33 30 38  37 35 39 38  397960 B=3087598
<00000020< 30 36 20 43  3D 35 38 32  38 35 34 35  32 35 20 34  06 C=582854525 4
<00000030< 20 41 3D 41  5E 53 20 42  3D 42 2D 43  20 43 3D 43   A=A^S B=B-C C=C
<00000040< 2D 41 20 41  3D 41 5E 42  00                        -A A=A^B.

Receive orderly release indication (T_ORDREL_IND = 132).

Send orderly release request (T_ORDREL_REQ = 109).

Send unbind request (T_UNBIND_REQ = 110).

Moron.  Are you supposed to authorize first?

Edit - You've set the version DLL digit to 48 (0x30) in BNLS_VERSIONCHECK.  That could also be the cause.  Version DLL digit ranges 0-7 (for example, for IX86Ver1.mpq this is 1).
Title: Re: [BNLS] VersionCheck Problem...
Post by: Ryan Marcus on September 03, 2005, 06:50 PM
Authorize? That should send me the data I need for SID_AUTH_REPLY (0x51), right?

I set the DLL number to 0, as it says.. Right?
Title: Re: [BNLS] VersionCheck Problem...
Post by: UserLoser. on September 03, 2005, 06:55 PM
Quote from: Ryan Marcus on September 03, 2005, 06:50 PM
Authorize? That should send me the data I need for SID_AUTH_REPLY (0x51), right?

I set the DLL number to 0, as it says.. Right?

0, not "0"