• Welcome to Valhalla Legends Archive.
 

Building 0x29

Started by nYko, April 18, 2004, 11:46 PM

Previous topic - Next topic

nYko

I am trying to login with JSTR. It used to work, but now that I have switched to a newer hashing dll, it doesn't.

After compairing my code to others, it seems I doing everything right.


   Dim outb As String * 28
   Call HashPassword(outb, SessionKey, Password)
    InsertNonNTString outb
    InsertNTString AccountName
    SendPacket &H29


I believe the problem is due to the SessionKey variable being null. SessionKey is defined by the the data recieved in 0x28, but I am not even getting that packet sent to me anymore.

So I guess my question is: How do I define the SessionKey variable?


UserLoser.

Also make sure you're sending a client key.  On JSTR, iirc, the session (server) key is the first DWORD of 0x28