Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: nYko on April 18, 2004, 11:46 PM

Title: Building 0x29
Post by: nYko on April 18, 2004, 11:46 PM
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?

Title: Re:Building 0x29
Post by: UserLoser. on April 19, 2004, 07:55 PM
Also make sure you're sending a client key.  On JSTR, iirc, the session (server) key is the first DWORD of 0x28