Author | Message | Time |
---|---|---|
Nodens | Packet ID: 0x2A Direction: Client -> Server (Sent) Format: Help (DWORD[5]) Hashed password (STRING) Username Remarks: Creates an account. I'm using visual basic and am having difficulties figuring out what method is needed to hash the password on 0x2A. Anyone able to help me or at least point me in a good direction? | April 6, 2004, 7:10 PM |
LoRd | Assuming you're using the public BnetAuth dll, it would be the X(outbuf, password) function. | April 6, 2004, 7:25 PM |
Nodens | I'm using Hash.dll and CheckRevision.dll right now. I'd like to change to bnetauth.dll, but I don't know the API declarations for it. Any help on that? | April 6, 2004, 7:30 PM |
ChR0NiC | [quote author=Nodens link=board=17;threadid=6184;start=0#msg53740 date=1081279802] I'm using Hash.dll and CheckRevision.dll right now. I'd like to change to bnetauth.dll, but I don't know the API declarations for it. Any help on that? [/quote] [quote author=LoRd[nK] link=board=17;threadid=6184;start=0#msg53739 date=1081279509] Assuming you're using the public BnetAuth dll, it would be the X(outbuf, password) function. [/quote] Read lord's post. The answer is in there | April 7, 2004, 3:28 AM |
Eli_1 | [quote author=ChR0NiC link=board=17;threadid=6184;start=0#msg53843 date=1081308489] Read lord's post. The answer is in there [/quote] He wants more than just one declaration, ChR0NiC. | April 7, 2004, 5:20 AM |
laurion | [code] Public Declare Function z Lib "bnetauth.dll" Alias "Z" (ByVal FileExe As String, ByVal FileStormDll As String, ByVal FileBnetDll As String, ByVal HashText As String, ByRef version As Long, ByRef checksum As Long, ByVal exeinfo As String, ByVal MPQName As String) As Long Public Declare Function c Lib "bnetauth.dll" Alias "C" (ByVal outbuf As String, ByVal serverhash As Long, ByVal prodid As Long, ByVal val1 As Long, ByVal val2 As Long, ByVal seed As Long) As Long Public Declare Function A Lib "bnetauth.dll" (ByVal outbuf As String, ByVal ServerKey As Long, ByVal Password As String) As Long Public Declare Function A2 Lib "bnetauth.dll" (ByVal outbuf As String, ByVal key As Long) As Long Public Declare Function x Lib "bnetauth.dll" Alias "X" (ByVal outbuf As String, ByVal Password As String) As Long Public Declare Function G Lib "bnetauth.dll" (ByVal outbuf As String) As Long [/code] | April 7, 2004, 10:34 AM |
Nodens | Thanks a lot Laurion. I really appriciate that. I've been in search of those for quite a while, however, I do have one little problem. I have no clue what each of them are for. I hope I'm not asking for too much, but single letters aren't the best names for functions. Perhaps there's a brief description of them on another site somewhere? If not, it'd be a good idea to post it anyhow for newbies like me. | April 8, 2004, 12:23 AM |
ChR0NiC | I wonder which source Laurion ripped those API Declares out of, even though they are public. | April 8, 2004, 5:21 PM |
Newby | [quote author=ChR0NiC link=board=17;threadid=6184;start=0#msg54046 date=1081444907] I wonder which source Laurion ripped those API Declares out of, even though they are public. [/quote] So if they're public ... why are you accusing him of ripping them? | April 8, 2004, 5:22 PM |
ChR0NiC | [quote author=Nodens link=board=17;threadid=6184;start=0#msg53923 date=1081383802] Thanks a lot Laurion. I really appriciate that. I've been in search of those for quite a while, however, I do have one little problem. I have no clue what each of them are for. I hope I'm not asking for too much, but single letters aren't the best names for functions. Perhaps there's a brief description of them on another site somewhere? If not, it'd be a good idea to post it anyhow for newbies like me. [/quote] Seeming as you said you used to use CheckRevision.dll [quote author=LoRd[nK] link=board=17;threadid=5523;start=0#msg46888 date=1078119125] BnetAuth.dll and CheckRevision.dll have the same CheckRevision functions. [/quote] Or Get The Source For BnetAuth.dll Here Edit: My bad....I guess the source was taken down from there. | April 8, 2004, 5:38 PM |
laurion | [quote author=ChR0NiC link=board=17;threadid=6184;start=0#msg54046 date=1081444907] I wonder which source Laurion ripped those API Declares out of, even though they are public. [/quote] :-\ my own? | April 10, 2004, 12:36 PM |
Maddox | It would probably be more helpful to change the alias from Z to CheckRevision, etc. | April 14, 2004, 5:01 PM |
LoRd | [quote author=Maddox link=board=17;threadid=6184;start=0#msg55081 date=1081962118] It would probably be more helpful to change the alias from Z to CheckRevision, etc. [/quote] Also, you could change the function names from z() to Z(), c() to C(), etc. eliminating the need for an alias. | April 14, 2004, 7:38 PM |
Nodens | Not been on in a while, but wanted to ask if I could have some better aliases like Maddox showed me. Z to CheckRevision was very helpful, but the other 5 are still not known to me. | April 15, 2004, 1:35 PM |
Networks | [quote author=laurion link=board=17;threadid=6184;start=0#msg54367 date=1081600575] [quote author=ChR0NiC link=board=17;threadid=6184;start=0#msg54046 date=1081444907] I wonder which source Laurion ripped those API Declares out of, even though they are public. [/quote] :-\ my own? [/quote] What difference does it make? He helped someone... Far more than you did. | April 15, 2004, 2:16 PM |