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?
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.
Or find out what password hashes to all zeros and have all your passwords be that? </sarcasm>