Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: DeCeP7ioN on June 12, 2004, 06:51 PM

Title: IP banned when account doesn't exist?
Post by: DeCeP7ioN on June 12, 2004, 06:51 PM
I am getting disconnected and IP banned when trying to login to an account that doesn't exist on WAR3/W3XP.

Here is where I get disconnected:

[16:48:22] BNLS: Sent 0x0E
[16:48:22] BNLS: Received 0x0E
[16:48:22] BNLS: Sent 0x0F
[16:48:22] BNLS: Received 0x0F
[16:48:22] BNLS: Sent 0x0D
[16:48:22] BNLS: Received 0x0D
[16:48:22] Sent 0x50
[16:48:23] Recieved 0x25
[16:48:23] Sent 0x25
[16:48:23] Recieved 0x50
[16:48:23] BNLS: Sent 0x09
[16:48:23] BNLS: Received 0x09
[16:48:23] BNLS: Sent 0x01
[16:48:23] BNLS: Received 0x01
[16:48:23] Sent 0x51
[16:48:23] Recieved 0x51
[16:48:23] BNLS: Sent 0x02
[16:48:23] BNLS: Received 0x02
[16:48:23] Sent 0x53
[16:48:24] Recieved 0x53
[16:48:24] BNLS: Sent 0x03
[16:48:24] BNLS: Received 0x03
[16:48:24] Sent 0x54


As you can see, I am disconnected right after sending SID_AUTH_ACCOUNTLOGONPROOF. This only happens when trying to login to an account that doesn't exist.

Has this happened to anyone else?
Why would this be happening?

Wouldn't I just get a response from SID_AUTH_ACCOUNTLOGONPROOF saying the account doesn't exist instead of being disconnected?
Title: Re:IP banned when account doesn't exist?
Post by: UserLoser. on June 12, 2004, 07:47 PM
Since SID_AUTH_ACCOUNTLOGON from the server is telling you the account doesn't exist, you can't send SID_AUTH_ACCOUNTLOGONPROOF.  The server would have no way to check your password in SID_AUTH_ACCOUNTLOGONPROOF if it doesn't exist

0x53 responses:

0x00: Send logon proof
0x01: ERROR_ID_UNKNOWNACCOUNT (Send account create)
0x05: ERROR_ID_UNSUPPORTEDACCOUNT (Send upgrade request)
Else: NETERROR_DEFAULTERROR
Title: Re:IP banned when account doesn't exist?
Post by: DeCeP7ioN on June 13, 2004, 04:10 AM
Ah, I was sending 0x54 regardless of what response I was getting from 0x53. My mistake. Thanks.