• Welcome to Valhalla Legends Archive.
 

Warcraft 3 Login

Started by MindArchon, March 19, 2005, 09:34 PM

Previous topic - Next topic

MindArchon

I am having a problem with logging in on Warcraft 3.

I assume I got past the CD-Key part because I got a valid response with 0x51.

Then I send BNLS 0x02, BNET 0x53, BNLS 0x03, and BNET 0x54..

And I get an invalid password response. It doesn't matter what name im using, or if it is a correct password (I know its correct, I checked).

Im going to be thorough and tell you guys everything I can.


First I send 0x02..

String "MindArchonTest"
String "12345"


And I recieve a response


0000: 23 00 02 99 39 C3 0D B6 4C E3 BA 6E 05 38 87 AB  #.™9Ã.¶Lãºn8‡«
0010: 17 5B FE 85 90 43 9C 0F 2D 7C DE F1 F6 6E F2 BA  [þ...?Cœ-|Þñönòº
0020: F9 F2 5F                                         ùò_.............


Then I just take that data and stick it into 0x53

NonNTString Mid(data, 4)

And here's the response for 0x53...

0000: FF 53 48 00 00 00 00 00 FB C2 61 2C FA 98 23 0B  ÿSH.....ûÂa,ú˜#

And I just stick that data and put it into 0x03

NonNTString Mid(data, 9)

And I get a 0x03 response..

0000: 17 00 03 C7 74 3C E8 05 9C 8A 69 EC 77 F3 F8 E7  .Çt<蜊iìwóøç
0010: 64 46 6E 49 86 A2 0A     


And finally I just stick the data from 0x03 into 0x54...

NonNTString Mid(data, 4)

And I get the response from 0x54..

0000: FF 54 1C 00 02 00 00 00 00 00 00 00 00 00 00 00  ÿT............
0010: 00 00 00 00 00 00 00 00 00 00 00 00              ................


And its invalid password.

Obviously I'm doing something wrong, so I was hoping you guys would help me out :)

Blaze

Are you sending BNLS 0x0D?
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

MindArchon

Quote from: Blaze on March 19, 2005, 09:37 PM
Are you sending BNLS 0x0D?

Nope :)

Is the NLS revision number this part of 0x50?

(VOID) 128-byte Server signature

If that isn't it, where is it in 0x50?

Blaze

The first dword in the 0x50 response. Its 2 right now.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

MindArchon

OK So I sent 0x0D right after the 0x51 response, and I get this response

0000: 07 00 0D 01 00 00 00                             ..............

Then I sent 0x02 and all the other packets and I still recieve Incorrect Password

Blaze

You need to put your username after the hash in 0x53.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

MindArchon

Quote from: Blaze on March 19, 2005, 10:08 PM
You need to put your username after the hash in 0x53.

Thanks a lot Blaze! I got it working.