• Welcome to Valhalla Legends Archive.
 

Packet &H3D Help

Started by Spilled, January 18, 2005, 01:59 PM

Previous topic - Next topic

Spilled

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?

MyndFyre

Quote from: Spilled[DW] on January 18, 2005, 01:59 PM
Ideas?
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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

shout

Or find out what password hashes to all zeros and have all your passwords be that? </sarcasm>