Author | Message | Time |
---|---|---|
KkBlazekK | I am constantly getting the error Account does not exist in the response to 0x3A. I do know that the account that I am logging into does exist. Here is my code for 0x3A [code] Packet.InsertDWORD GTC Packet.InsertDWORD Servers Packet.InsertNonNTString Mid(Data, 4, Len(Data) - 3) Packet.InsertNTString GetStuff("Login", "Username") Packet.SendPacket &H3A [/code] Here is my code for 0x0B (BNLS) [code] Packet.InsertDWORD Len(GetStuff("Login", "Password")) Packet.InsertDWORD &H2 Packet.InsertNonNTString LCase(GetStuff("Login", "Password")) Packet.InsertDWORD GTC Packet.InsertDWORD Servers Packet.SendBNLSPacket &HB [/code] Here is my code for parsing 0x3A [code] Select Case Asc(Mid(Data, 5, 1)) Case &H0 AddChat "[Inferno] ", vbCyan, "BNET: Login Successfull", vbGreen BNET "0x0A" BNET "0x0B" BNET "0x0C" Case &H1 AddChat "[Inferno] ", vbCyan, "BNET: Error, Account does Not Exist.", vbRed Case &H2 AddChat "[Inferno] ", vbCyan, "BNET: Error, Incorrect password!", vbRed Case Else AddChat "Received Unknown 0x3A Response", &HFFFFC0 AddChat StrToHex(Data), &HFFFFC0 End Select [/code] Does anyone see any errors that might cause me to get Account does not exist? | July 19, 2004, 5:17 PM |
UserLoser. | What does GetStuff("Login", "Username") return? Is it a null string? What happens if you try creating the account? | July 19, 2004, 6:27 PM |
KkBlazekK | Woopsy, I was thinking about the old config when I wrote that... Its now getstuff("Login", "User"). Thank you userloser. | July 19, 2004, 7:00 PM |