Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Jaquio on March 09, 2006, 10:20 PM

Title: Account Create Sequences...
Post by: Jaquio on March 09, 2006, 10:20 PM
Umm, I was wondering what is the exact account create Sequence for War3/TFT and what is the Sequence for other games? I am using BNLS so  I would also need to know exactly which BNLS Pakcets I would have to send as well, thanks,
Title: Re: Account Create Sequences...
Post by: Hero on March 09, 2006, 10:57 PM
http://bnetdocs.valhallalegends.com/content.php has all you need
Title: Re: Account Create Sequences...
Post by: Jaquio on March 09, 2006, 11:47 PM
Quote from: HeRo on March 09, 2006, 10:57 PM
http://bnetdocs.valhallalegends.com/content.php has all you need

It doesn't tell the exactly account create sequences..
Title: Re: Account Create Sequences...
Post by: PaiD on March 09, 2006, 11:53 PM
no but a packet logger will.
Title: Re: Account Create Sequences...
Post by: Jaquio on March 10, 2006, 12:08 AM
Quote from: Savior on March 09, 2006, 11:53 PM
no but a packet logger will.

I don't understand packet logs, lmao. I have packet logged myself making a new account and it confused me to hell. :p
Title: Re: Account Create Sequences...
Post by: Hero on March 10, 2006, 12:11 AM
how do you go about creating a bot without having any knowledge of packet logging?
Title: Re: Account Create Sequences...
Post by: Jaquio on March 10, 2006, 12:32 AM
Quote from: HeRo on March 10, 2006, 12:11 AM
how do you go about creating a bot without having any knowledge of packet logging?

By using BNetDocs, lmao. Not that hard to remove a dword here, place it here, blah blah, etc,etc.

But I am slowly learning. :p
Title: Re: Account Create Sequences...
Post by: Hdx on March 10, 2006, 12:44 AM
http://www.javaop.com/~iago/SRP.html
Has all the info on SRP (WC3 logon) that you need.
Poking around on bnetdocs and the BNLS Specks (http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt)
Will enlighten you quite a bit more.
The particular packets you should be interested in are BLS_CREATEACCOUNT(0x04) (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=157) and SID_AUTH_ACCOUNTCREATE(0x52) (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=74)

~-~(HDX)~-~
Title: Re: Account Create Sequences...
Post by: Hero on March 10, 2006, 01:37 AM
Quote from: Jaquio on March 10, 2006, 12:32 AM
Quote from: HeRo on March 10, 2006, 12:11 AM
how do you go about creating a bot without having any knowledge of packet logging?

By using BNetDocs, lmao. Not that hard to remove a dword here, place it here, blah blah, etc,etc.

But I am slowly learning. :p
but i suggested bnetdocs to you and you said

Quote from: Jaquio on March 09, 2006, 11:47 PM
Quote from: HeRo on March 09, 2006, 10:57 PM
http://bnetdocs.valhallalegends.com/content.php has all you need

It doesn't tell the exactly account create sequences..
Title: Re: Account Create Sequences...
Post by: Hdx on March 10, 2006, 01:47 AM
C->S BNCS Protocol Byte (0x01)
C->S BNCS: (0x50) SID_AUTH_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=2)
S->C BNCS: (0x25) SID_PING (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=6)
S->C BNCS: (0x50) SID_AUTH_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=3)
C->S BNCS: (0x25) SID_PING (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=191)
C->S BNCS: (0x51) SID_AUTH_CHECK (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=4)
S->C BNCS: (0x51) SID_AUTH_CHECK (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=27)
C->S BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40) (optional: termsofservice-enUS.txt)
C->S BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40) (optional: newaccount-enUS.txt)
C->S BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40) (optional: chathelp-war3-enUS.txt)
C->S BNCS: (0x2D SID_GETICONDATA (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=42) (optional)
S->C BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=41) (optional: termsofservice-enUS.txt)
S->C BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=41) (optional: newaccount-enUS.txt)
S->C BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=41) (optional: chathelp-war3-enUS.txt)
S->C BNCS: (0x2D) SID_GETICONDATA (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=43) (optional)
C->S BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40) (optional: bnserver-WAR3.ini)
S->C BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=41) (optional: bnserver-WAR3.ini)
C->S BNCS: (0x53) SID_AUTH_ACCOUNTLOGON (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=76)
S->C BNCS: (0x53) SID_AUTH_ACCOUNTLOGON (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=77)
C->S BNCS: (0x54) SID_AUTH_ACCOUNTLOGONPROOF (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=78)
S->C BNCS: (0x54) SID_AUTH_ACCOUNTLOGONPROOF (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=79)
S->C BNCS: (0x75) SID_CLANNFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=384)
C->S BNCS: (0x44) SID_WARCRAFTGENERAL (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=437) (optional)*
S->C BNCS: (0x44) SID_WARCRAFTGENERAL (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=440) (optional)*
C->S BNCS: (0x0A) SID_ENTERCHAT (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=32)
S->C BNCS: (0x0A) SID_ENTERCHAT (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=38)
C->S BNCS: (0x44) SID_WARCRAFTGENERAL (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=437) (optional)**
S->C BNCS: (0x44) SID_WARCRAFTGENERAL (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=440) (optional)**
C->S BNCS: (0x46) SID_NEWS_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=16) (optional)
S->C BNCS: (0x46) SID_NEWS_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=17) (optional)
C->S BNCS: (0x0C) SID_JOINCHANNEL (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=34) (Optional)

*Sub-Command: 0x02
Types: LRU, PAM, EPYT, CSED, RDAL (these are each DWORDS, followed by DWORD 0x00)

**Sub-Command: 0x07
Cookie: 0x01


To create an account, basically send SID_AUTH_ACCOUNTCREATE (0x52) (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=74) before you send (0x53) SID_AUTH_ACCOUNTLOGON (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=76)
~-~(HDX)~-~
Title: Re: Account Create Sequences...
Post by: Joe[x86] on March 11, 2006, 12:25 PM
Quote from: Jaquio on March 10, 2006, 12:08 AM
Quote from: Savior on March 09, 2006, 11:53 PM
no but a packet logger will.

I don't understand packet logs, lmao. I have packet logged myself making a new account and it confused me to hell. :p

The packet starts at position 0x37. In all good packetloggers (those that line-wrap at the 16th character), this will be the 7th character on the 3rd line. 0x37 should be 0xFF (sanity byte), and 0x38 will be the packet ID.