Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: UserLoser. on January 23, 2004, 03:57 PM

Title: Packet 0x58 Information
Post by: UserLoser. on January 23, 2004, 03:57 PM
Correct format:

(DWORD) Server Key
(DWORD[5]) XSHA-1 password hash
(DWORD[8]) Salt
(DWORD[8]) Password verifyer
Title: Re:0x58 & SHA
Post by: DarkMinion on January 31, 2004, 01:06 AM
What disassembler do you use?
Title: Re:0x58 & SHA
Post by: Adron on January 31, 2004, 05:24 AM
Quote from: DarkMinion on January 31, 2004, 01:06 AM
What disassembler do you use?

Looks like IDA?

Does it add those comments like SID_AUTH_ACCOUNTUPGRADEPROOF automatically if you tell it that the function takes an enum as an argument?
Title: Re:0x58 & SHA
Post by: UserLoser. on January 31, 2004, 10:42 AM
Quote from: Adron on January 31, 2004, 05:24 AM
Quote from: DarkMinion on January 31, 2004, 01:06 AM
What disassembler do you use?

Looks like IDA?

Does it add those comments like SID_AUTH_ACCOUNTUPGRADEPROOF automatically if you tell it that the function takes an enum as an argument?

DM: IDA
Adron: No, I added those comments (packet names) next to almost every packet; so when opening IDA again, I can just do a search for SID_ to find my way around easier and quicker
Title: Re:0x58 & SHA
Post by: Adron on January 31, 2004, 11:44 AM
Quote from: UserLoser. on January 31, 2004, 10:42 AM
Adron: No, I added those comments (packet names) next to almost every packet; so when opening IDA again, I can just do a search for SID_ to find my way around easier and quicker

Hmmk. I wonder if it shouldn't be possible to have it insert those automagically. I'm thinking, setting a type on the argument to the function and having that type be an enum with those SID_ values...