Valhalla Legends Forums Archive | Battle.net Bot Development | Warcraft 3 Login

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

[code]String "MindArchonTest"
String "12345"[/code]

And I recieve a response

[code]
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                                        ùò_.............[/code]

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

[code]NonNTString Mid(data, 4)[/code]

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

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

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

[code]NonNTString Mid(data, 9)[/code]

And I get a 0x03 response..

[code]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      [/code]

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

[code]NonNTString Mid(data, 4)[/code]

And I get the response from 0x54..

[code]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              ................[/code]

And its invalid password.

Obviously I'm doing something wrong, so I was hoping you guys would help me out :)
March 20, 2005, 3:34 AM
KkBlazekK
Are you sending BNLS 0x0D?
March 20, 2005, 3:37 AM
MindArchon
[quote author=Blaze link=topic=10967.msg104596#msg104596 date=1111289870]
Are you sending BNLS 0x0D?
[/quote]

Nope :)

Is the NLS revision number this part of 0x50?

[code](VOID) 128-byte Server signature[/code]

If that isn't it, where is it in 0x50?
March 20, 2005, 3:47 AM
KkBlazekK
The first dword in the 0x50 response. Its 2 right now.
March 20, 2005, 3:48 AM
MindArchon
OK So I sent 0x0D right after the 0x51 response, and I get this response

[code]0000: 07 00 0D 01 00 00 00                            ..............[/code]

Then I sent 0x02 and all the other packets and I still recieve Incorrect Password
March 20, 2005, 4:00 AM
KkBlazekK
You need to put your username after the hash in 0x53.
March 20, 2005, 4:08 AM
MindArchon
[quote author=Blaze link=topic=10967.msg104602#msg104602 date=1111291727]
You need to put your username after the hash in 0x53.
[/quote]

Thanks a lot Blaze! I got it working.
March 20, 2005, 4:12 AM

Search