Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on March 16, 2004, 01:46 AM

Title: [C>0x06] BNLS_CHANGEPROOF
Post by: ChR0NiC on March 16, 2004, 01:46 AM
I am trying to send 0x06 to BNLS but I am not getting a response from BNLS. So I am guessing I am sending it incorrectly....

Format:
(DWORD[16])  Data from SID_AUTH_ACCOUNTCHANGE (0x55).

Case &H0 = Change Accepted (According to the BNLS ProtoSpec)

Case &H0
AddChat vbGreen, "Change accepted!"
With pBuffer
.InsertNonNTString Mid(Data, 8)
.SendBNLSPacket &H6
End With


The place where the data starts to where the data ends is 64 characters long and it is 16 DWORDS. This of course starting at Mid(Data, 8 ) and I send BNLS Packet &H6....so I don't know why I am not getting a response....does anyone know why?

Please don't suggest that I packet log W3 as I do not own the game....thanks
Title: Re:[C>0x06] BNLS_CHANGEPROOF
Post by: UserLoser. on March 16, 2004, 10:34 AM
I'm pretty sure BNLS responds, even if you send wrong data, then it would probably hash that bad data and send it back.  Or, it would close the connection.. Like I said, I highly doubt you'll get no response at all from BNLS.
Title: Re:[C>0x06] BNLS_CHANGEPROOF
Post by: ChR0NiC on March 16, 2004, 11:28 AM
ok well.......I just specified the length and it works now.....
but I wasn't getting any response before......

Case &H0
AddChat vbGreen, "Change accepted!"
With pBuffer
.InsertNonNTString Mid(Data, 8, 64)
.SendBNLSPacket &H6
End With
Title: Re:[C>0x06] BNLS_CHANGEPROOF
Post by: Skywing on March 16, 2004, 05:48 PM
The server will not process the contents of your message until it has received all of the data associated with that message.