Author | Message | Time |
---|---|---|
UserLoser. | 0x35 (C->S) - Profile request ---------------- (DWORD) Cookie (STRING) Username 0x35 (S->C) ---------------- (DWORD) Cookie (STRING/BYTE) Unknown - Always seen 0 (STRING) profile\description value (STRING) profile\location value (DWORD) Clan name [hr] 0x82 (C->S) - Clan user information ---------------- (DWORD) Cookie (DWORD) Clan tag of user (STRING) Username 0x82 (S->C) ---------------- (DWORD) Cookie (STRING/BYTE) Unknown - Always seen 0 (STRING) Clan name (BYTE) Rank in clan (FILETIME) Date joined | April 17, 2004, 4:07 PM |
evileye | Very thx! btw, is there a 0x80 packet? I've seen description of 0x70 to 0x79 and 0x81, 0x82 packet, but 0x80 lacked | April 17, 2004, 7:37 PM |
Stealth | Can these be requested by Warcraft III clients on the standard (non-beta) servers? | April 18, 2004, 7:31 AM |
Soul Taker | [quote author=Stealth link=board=17;threadid=6337;start=0#msg55630 date=1082273480] Can these be requested by Warcraft III clients on the standard (non-beta) servers? [/quote] Try it...? | April 18, 2004, 7:50 AM |
FuzZ | [quote author=Soul Taker link=board=17;threadid=6337;start=0#msg55632 date=1082274636] [quote author=Stealth link=board=17;threadid=6337;start=0#msg55630 date=1082273480] Can these be requested by Warcraft III clients on the standard (non-beta) servers? [/quote] Try it...? [/quote] Why should he take the risk of getting IP Banned when someone may have already tested it? ;p BTW, grats on your 500 posts Soul Taker | April 18, 2004, 3:20 PM |
Stealth | [quote author=Soul Taker link=board=17;threadid=6337;start=0#msg55632 date=1082274636] [quote author=Stealth link=board=17;threadid=6337;start=0#msg55630 date=1082273480] Can these be requested by Warcraft III clients on the standard (non-beta) servers? [/quote] Try it...? [/quote] Bah. No, they can't. | April 18, 2004, 5:15 PM |
Spht | [quote author=UserLoser. link=board=17;threadid=6337;start=0#msg55523 date=1082218061] 0x35 (S->C) ---------------- (DWORD) Cookie (STRING/BYTE) Unknown - Always seen 0 (STRING) profile\description value (STRING) profile\location value (DWORD) Clan name[/quote] That's the clan's tag, not name. [quote author=UserLoser. link=board=17;threadid=6337;start=0#msg55523 date=1082218061] 0x82 (S->C) ---------------- (DWORD) Cookie (STRING/BYTE) Unknown - Always seen 0 (STRING) Clan name (BYTE) Rank in clan (FILETIME) Date joined [/quote] That "unknown" is a success byte. If non-zero, the message will be 5 bytes. | April 19, 2004, 3:14 AM |
nYko | It would be cool if BNLS supported the 1.15 beta patch, so I could try those packets out. | April 19, 2004, 5:42 AM |
Spht | [quote author=nYko link=board=17;threadid=6337;start=0#msg55769 date=1082353361] It would be cool if BNLS supported the 1.15 beta patch, so I could try those packets out. [/quote] Not really, then we wouldn't be able to use Warcraft III on non-Westfall. But it might be nice if someone were to set up a temporarly BNLS server somewhere which uses Warcraft III 1.15 files. | April 19, 2004, 12:17 PM |
Myndfyr | [quote author=Spht link=board=17;threadid=6337;start=0#msg55792 date=1082377022] [quote author=nYko link=board=17;threadid=6337;start=0#msg55769 date=1082353361] It would be cool if BNLS supported the 1.15 beta patch, so I could try those packets out. [/quote] Not really, then we wouldn't be able to use Warcraft III on non-Westfall. But it might be nice if someone were to set up a temporarly BNLS server somewhere which uses Warcraft III 1.15 files. [/quote] However, wouldn't it be okay to set up an additional two product IDs -- Warcraft III 1.15 = 9, Warcraft III The Frozen Throne 1.15 = 10? Depends on how BNLS works I suppose :P [conjecture] Since I'm getting "unrecognized" version from 0x51 (because I've updated my version byte and the exe version string), I believe that there are two things left for me to update: the second DWORD of 0x51, Exe Version, which I've gotten by packetlogging, and then the EXE hash, the third DWORD of 0x51. The conjecture is this: is the EXE hash a standard double-hash -- with the server and client tokens -- of the EXE version string? [/conjecture] If so, it should be fairly simple, by packetlogging, to get BNLS to do the work (using BNLS_HASHDATA). You might need to play around with your stuff a little bit though. :P | April 19, 2004, 1:30 PM |
iago | [quote author=Myndfyre link=board=17;threadid=6337;start=0#msg55802 date=1082381400] [quote author=Spht link=board=17;threadid=6337;start=0#msg55792 date=1082377022] [quote author=nYko link=board=17;threadid=6337;start=0#msg55769 date=1082353361] It would be cool if BNLS supported the 1.15 beta patch, so I could try those packets out. [/quote] Not really, then we wouldn't be able to use Warcraft III on non-Westfall. But it might be nice if someone were to set up a temporarly BNLS server somewhere which uses Warcraft III 1.15 files. [/quote] However, wouldn't it be okay to set up an additional two product IDs -- Warcraft III 1.15 = 9, Warcraft III The Frozen Throne 1.15 = 10? Depends on how BNLS works I suppose :P [conjecture] Since I'm getting "unrecognized" version from 0x51 (because I've updated my version byte and the exe version string), I believe that there are two things left for me to update: the second DWORD of 0x51, Exe Version, which I've gotten by packetlogging, and then the EXE hash, the third DWORD of 0x51. The conjecture is this: is the EXE hash a standard double-hash -- with the server and client tokens -- of the EXE version string? [/conjecture] If so, it should be fairly simple, by packetlogging, to get BNLS to do the work (using BNLS_HASHDATA). You might need to play around with your stuff a little bit though. :P [/quote] If I correctly understand what you're saying, then no. It's not a hash of the EXE version string, it's a hash of the actual data files. | April 19, 2004, 1:32 PM |
Spht | [quote author=Myndfyre link=board=17;threadid=6337;start=0#msg55802 date=1082381400] However, wouldn't it be okay to set up an additional two product IDs -- Warcraft III 1.15 = 9, Warcraft III The Frozen Throne 1.15 = 10? Depends on how BNLS works I suppose :P [/quote] That'd probably be too much work considering the beta is only lasting a couple weeks. If someone *really* wants to get on the server, they can download the CheckRevision DLL on the bot development web site and run a local CheckRevision on the game (assuming you own Warcraft III 1.15), and use BNLS for everything else. This is probably the fastest solution now. | April 19, 2004, 1:34 PM |
Myndfyr | [quote author=Spht link=board=17;threadid=6337;start=0#msg55805 date=1082381682] [quote author=Myndfyre link=board=17;threadid=6337;start=0#msg55802 date=1082381400] However, wouldn't it be okay to set up an additional two product IDs -- Warcraft III 1.15 = 9, Warcraft III The Frozen Throne 1.15 = 10? Depends on how BNLS works I suppose :P [/quote] That'd probably be too much work considering the beta is only lasting a couple weeks. If someone *really* wants to get on the server, they can download the CheckRevision DLL on the bot development web site and run a local CheckRevision on the game (assuming you own Warcraft III 1.15), and use BNLS for everything else. This is probably the fastest solution now. [/quote] Having looked through BotDev on your suggestion, where is the CheckRevision DLL? I can't seem to find it.... | April 19, 2004, 7:32 PM |
Tuberload | [quote author=Myndfyre link=board=17;threadid=6337;start=0#msg55839 date=1082403148] [quote author=Spht link=board=17;threadid=6337;start=0#msg55805 date=1082381682] [quote author=Myndfyre link=board=17;threadid=6337;start=0#msg55802 date=1082381400] However, wouldn't it be okay to set up an additional two product IDs -- Warcraft III 1.15 = 9, Warcraft III The Frozen Throne 1.15 = 10? Depends on how BNLS works I suppose :P [/quote] That'd probably be too much work considering the beta is only lasting a couple weeks. If someone *really* wants to get on the server, they can download the CheckRevision DLL on the bot development web site and run a local CheckRevision on the game (assuming you own Warcraft III 1.15), and use BNLS for everything else. This is probably the fastest solution now. [/quote] Having looked through BotDev on your suggestion, where is the CheckRevision DLL? I can't seem to find it.... [/quote] http://botdev.valhallalegends.com/files/checkrevision.zip | April 19, 2004, 7:38 PM |
tA-Kane | [quote author=Spht link=board=17;threadid=6337;start=0#msg55805 date=1082381682]If someone *really* wants to get on the server, they can download the CheckRevision DLL on the bot development web site and run a local CheckRevision on the game (assuming you own Warcraft III 1.15)[/quote]Am I missing something? I was under the impression that the implementation of CheckRevision() in that DLL does not work for WarCraft 3 or TFT? | April 21, 2004, 2:43 AM |
LoRd | [quote author=tA-Kane link=board=17;threadid=6337;start=0#msg56043 date=1082515417] [quote author=Spht link=board=17;threadid=6337;start=0#msg55805 date=1082381682]If someone *really* wants to get on the server, they can download the CheckRevision DLL on the bot development web site and run a local CheckRevision on the game (assuming you own Warcraft III 1.15)[/quote]Am I missing something? I was under the impression that the implementation of CheckRevision() in that DLL does not work for WarCraft 3 or TFT? [/quote] Warcraft III uses the same CheckRevision() as all the other products requiring auth use; similar CD-Key decoding/hashing structure too, I believe. | April 21, 2004, 4:25 AM |
UserLoser. | [quote author=LoRd[nK] link=board=17;threadid=6337;start=15#msg56058 date=1082521527] Warcraft III uses the same CheckRevision() as all the other products requiring auth use; similar CD-Key decoding/hashing structure too, I believe. [/quote] IIRC, Warcraft III uses two key value tables, one that's 256 bytes, and another which is 480. I believe the 256 one is almost same, if not, exact to the current Diablo II/Warcraft II CDkey decoding. As far as the hashing, I think it's the same. You take the values returned (in this case, iirc a 10 byte value, and dunno the other one) and hash them the same | April 21, 2004, 4:06 PM |
Myndfyr | Allright, so I recompiled the CheckRevision function into a Win32 DLL with the function exported, and I am successfully calling it with the DllImport("CheckRevision.dll") attribute from my C# code (I checked the packet log). But, I think I'm passing in the wrong files. I'm using (right now) war3.exe, storm.dll, and game.dll for CheckRevision. Here's the exact call: [code] int authcheckver = 0, authcheckcsum = 0; CheckRevision("C:\\Program Files\\Warcraft III\\war3.exe", @"C:\Program Files\Warcraft III\storm.dll", @"C:\Program Files\Warcraft III\game.dll", this.checkForm, ref authcheckver, ref authcheckcsum, this.versionCheckStatString, this.mpqFile); [/code] (Yes, the ref keyword is effectively the same as passing a pointer). this.versionCheckStatString is set correctly when I'm done. this.checkForm is the string that contains the hashing formula. I'm getting "Game version not recognized" back. | April 22, 2004, 5:45 PM |
iago | It's possible you have them in the wrong order, since order does matter. If you want a java version (closer to what you're doing) let me know and I'll send it to you. | April 22, 2004, 6:27 PM |
LordNevar | Your getting "game version incorrect" is not caused by your hash calls or your cdkey calls, it's cause something most people don't know there's 2 cdkey's being swapped around while using wc3. There's the product key that use send to bnet, and the other key that bnet sends back to you in response to identify your cdkey, and game information. As Far as I know skywing's the only one that's been able to emulate that key. If anyone can figure out any info on the other key, or if skywing would give us a hint, than wc3 hashing is indeed very prossible. | April 22, 2004, 6:28 PM |
Soul Taker | [quote author=LordNevar link=board=17;threadid=6337;start=15#msg56329 date=1082658535] Your getting "game version incorrect" is not caused by your hash calls or your cdkey calls, it's cause something most people don't know there's 2 cdkey's being swapped around while using wc3. There's the product key that use send to bnet, and the other key that bnet sends back to you in response to identify your cdkey, and game information. As Far as I know skywing's the only one that's been able to emulate that key. If anyone can figure out any info on the other key, or if skywing would give us a hint, than wc3 hashing is indeed very prossible. [/quote] What? | April 22, 2004, 7:47 PM |
LoRd | [quote author=Soul Taker link=board=17;threadid=6337;start=15#msg56338 date=1082663231] [quote author=LordNevar link=board=17;threadid=6337;start=15#msg56329 date=1082658535] Your getting "game version incorrect" is not caused by your hash calls or your cdkey calls, it's cause something most people don't know there's 2 cdkey's being swapped around while using wc3. There's the product key that use send to bnet, and the other key that bnet sends back to you in response to identify your cdkey, and game information. As Far as I know skywing's the only one that's been able to emulate that key. If anyone can figure out any info on the other key, or if skywing would give us a hint, than wc3 hashing is indeed very prossible. [/quote] What? [/quote] I don't even think he knows what he just said. | April 22, 2004, 11:00 PM |
Myndfyr | [quote author=LoRd[nK] link=board=17;threadid=6337;start=15#msg56364 date=1082674856] [quote author=Soul Taker link=board=17;threadid=6337;start=15#msg56338 date=1082663231] [quote author=LordNevar link=board=17;threadid=6337;start=15#msg56329 date=1082658535] Your getting "game version incorrect" is not caused by your hash calls or your cdkey calls, it's cause something most people don't know there's 2 cdkey's being swapped around while using wc3. There's the product key that use send to bnet, and the other key that bnet sends back to you in response to identify your cdkey, and game information. As Far as I know skywing's the only one that's been able to emulate that key. If anyone can figure out any info on the other key, or if skywing would give us a hint, than wc3 hashing is indeed very prossible. [/quote] What? [/quote] I don't even think he knows what he just said. [/quote] can't you guys see? Since Skywing did it, it's "prossible." Is that a synthesis of "probable" and "possible" ? | April 22, 2004, 11:13 PM |