Valhalla Legends Forums Archive | Battle.net Bot Development | Building 0x29

AuthorMessageTime
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.

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

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?

April 19, 2004, 4:46 AM
UserLoser.
Also make sure you're sending a client key. On JSTR, iirc, the session (server) key is the first DWORD of 0x28
April 20, 2004, 12:55 AM

Search