Valhalla Legends Forums Archive | Battle.net Bot Development | Packet &H3D Help

AuthorMessageTime
Spilled[DW]
When connecting and recieve packet &H29 with a results of Chr(0) i Send packet &H3D like this:

Code:

(C - S, Sent)
            Hash = String(5 * 4, vbNullChar)
                      InsertNonNTString Hash
            InsertNTString m_User
                      SendPacket &H3D

(S - C, Recieved)
    Select Case Asc(Mid(Data, 5, 1))
        Case &H0
            AddChat vbGreen, "Account Created Succesfully!"
                sck1.Close: sck1.Connect frmConfig.txtServer.Text, 6112
    End Select

After i send &H3D and recieve it back its created successfully but when i go to log onto the account i created, password invalid.

Ideas?
January 18, 2005, 7:59 PM
Myndfyr
[quote author=Spilled[DW] link=topic=10232.msg95655#msg95655 date=1106078367]
Ideas?
[/quote]
Use [ code ] [ /code ] tags around your code to indicate that code is code and improve readability.

Well, the first thing that comes to mind is that you're just creating a 20-character string.  The 20-character string is empty.

Maybe you should actually *hash* the password and put THAT into the packet, instead of nothing.
January 18, 2005, 8:30 PM
shout
Or find out what password hashes to all zeros and have all your passwords be that? </sarcasm>
January 18, 2005, 10:58 PM

Search