• Welcome to Valhalla Legends Archive.
 

WAR3 works on USWest, but not USEast ?

Started by tA-Kane, March 28, 2004, 11:46 AM

Previous topic - Next topic

tA-Kane

#15
Quote from: o.OV on March 29, 2004, 07:11 PMIt ipbans as soon as the key hash is sent
and bnet's response is that the key is invalid.
I'm sure it isn't the same situation that ta-kane has.
It's not.

I'm getting disconnected (and about 1/2 to 1/3 of the time, IP banned for an hour) when I send 0x0A.

Since I'm not able to run WarCraft 3, I'm not able to do packetlogging myself.

Instead, I had a friend packetlog his connection (admittedly, it's W3XP instead of WAR3, but should that make a difference?). And now I've modified my code to emulate very closely (it would require quite an overhaul of my code to make it any closer) according to what I see, and I'm still getting IP banned.

Either I don't see what's wrong, or Battle.net's too picky   :P

I wonder why only USEast is banning me, and not ANY other gateway?

I suppose the difference would be that the account for each gateway is different (even though the username/password/email is the same, each gateway would presumably hold different account data). One notable difference is that tA-Kane@Azeroth is a member of a clan, whereas all other accounts are not.

But then, why is mAc-RoX@Azeroth also getting the problem, because it's not a member of a clan?

It's the these reasons combined that makes me think it's a problem with USEast's server.

Unless I'm being totally oblivious, even noobish?  :-[


Edit: Meanwhile, I'm IP banned YET AGAIN, so I have to wait another HOUR before I can verify that mAc-RoX@Azeroth is definitely exhibiting the same problem :'(
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

o.OV

#16
Have you tried not sending a channel list request packet?

Add-On:
I seriously doubt 0x0A is the problem if you are getting a proper reply.

Though skywing did mention something about protocol violation not disconnecting the client until logged in.. I don't know if that is the case.

Are you absolutely positive nothing else is being sent after 0x0A without your knowledge?

The out going buffer is malformed perhaps?
If the facts don't fit the theory, change the facts. - Albert Einstein

iago

I was going to suggest that you should send somebody else your bot and see if the same thing happens to them.  Then I realized you use a stupid OS.

Do you know anybody else who can run it and try it out?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Kp

I've never logged a war3 connection, but one thing that immediately jumps out at me from the MBB dump is that you're sending both strings empty in 0xA.  Since I've never looked at war3, I don't know if that's correct for it - however, it's definitely not correct for Starcraft/Brood War (or Diablo, but SC/BW is a closer relative of War3 than Diablo).  Under SC, the first string is a reiteration of your account name and the second is blank (under Diablo, the second is your statstring - but since games can no longer choose their own statstring, it's now set to "").  I suggest taking a closer look at the exact contents of your friend's trace around that message (and possibly even post it here, after editing out his cdkey info).
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

ChR0NiC

Quote from: UserLoser. on March 29, 2004, 06:59 PM
This happened to me one day on Warcraft II, I posted back a while ago on these forums and I believe the response I got was that I was reconnecting too much on the same name & CD-key, but I don't know how true that is

Quote from: o.OV on March 29, 2004, 07:11 PM
Reconnecting too many times on the same cdkey does get a person ipbanned.
It ipbans as soon as the key hash is sent
and bnet's response is that the key is invalid.
I'm sure it isn't the same situation that ta-kane has.

You couldn't be closer to being off-topic.......

tA-Kane

Quote from: ChR0NiC on March 29, 2004, 10:49 PMYou couldn't be closer to being off-topic.......
He might not be able to, but you could.

Quote from: Kp on March 29, 2004, 10:23 PMI've never logged a war3 connection, but one thing that immediately jumps out at me from the MBB dump is that you're sending both strings empty in 0xA.  Since I've never looked at war3, I don't know if that's correct for it - however, it's definitely not correct for Starcraft/Brood War (or Diablo, but SC/BW is a closer relative of War3 than Diablo).  Under SC, the first string is a reiteration of your account name and the second is blank (under Diablo, the second is your statstring - but since games can no longer choose their own statstring, it's now set to "").  I suggest taking a closer look at the exact contents of your friend's trace around that message (and possibly even post it here, after editing out his cdkey info).
This is another friend's WAR3 packet log froma  year ago that I origionally used to add WAR3 support to my bot:
http://linkware.clan-mac.com/kanebot/misc/private/war3-3-20-03.txt

This is the first friend I told you about's W3XP packet log:
http://linkware.clan-mac.com/kanebot/misc/private/w3xp-3-29-04.txt

And then this is the packetlog of my bot just 15 minutes ago:
http://linkware.clan-mac.com/kanebot/misc/private/mbb-war3-3-30-04.txt

I'm emulating the W3XP connection as closely as possible because I'm going to assume the (major) differences between the WAR3 and the W3XP connection was added after I got my first WAR3 packetlog.

However, you'll notice that even on my packetlog that I linked to earlier, I was getting IP banned, and I was more following the WAR3 connection than the W3XP connection, minus sending 0x45 and the filetime requests (the filetime requests shouldn't make a difference, though? oh well, it's just that much closer to emulating the W3XP connection).

Kp, I had already thought about the 0x0A packet being empty, but you'll notice that in BOTH of the games' packetlogs, it's empty.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

tA-Kane

#21
30 minutes ago: http://linkware.clan-mac.com/kanebot/misc/private/still%20broken.txt

I'm still getting disconnected when logging in..., and thusly could still use some help.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Soul Taker

Quote from: Skywing on March 29, 2004, 09:00 AM
Note that there are certain protocol violations which cause the server to wait until you have completed logging on to disconnect you.
A long time ago, I used to occasionally do something wrong with login stuff, and it would wait until I had logged in and joined a channel, and the instant I sent a chat command, would disconnect me.  Incredibly frustrating!

Soul Taker

#23
Quote from: tA-Kane on April 01, 2004, 11:31 PM
30 minutes ago: http://linkware.clan-mac.com/kanebot/misc/private/still%20broken.txt

I'm still getting disconnected when logging in..., and thusly could still use some help.
Send data (58 bytes).
<00000001< FF 50 3A 00  00 00 00 00  36 38 58 49  33 52 41 57  .P:.....68XI3RAW
<00000011< 0E 00 00 00  53 55 6E 65  27 FF 10 AC  B0 41 44 04  ....SUne'....AD.
<00000021< 09 04 00 00  09 04 00 00  00 41 53 55  55 6E 69 74  .........ASUUnit
<00000031< 65 64 20 53  74 61 74 65  73 00                     ed States.

Looks like there's no null terminator on your country abbreviation.  Dunno if that's the problem of course.
Edit: and it's being sent as a DWORD?

UserLoser.

Kane: Why do you use IX86?  Shouldn't you be using PMAC or XMAC? :P

Eric

Quote from: UserLoser. on April 02, 2004, 04:31 PM
Kane: Why do you use IX86?  Shouldn't you be using PMAC or XMAC? :P
Does BNLS have *MAC support?

Skywing

Quote from: LoRd[nK] on April 02, 2004, 08:41 PM
Quote from: UserLoser. on April 02, 2004, 04:31 PM
Kane: Why do you use IX86?  Shouldn't you be using PMAC or XMAC? :P
Does BNLS have *MAC support?
No.  I don't have up-to-date version check files for the Mac product versions, and the autopatcher doesn't support the Mac patch format.

iago

Quote from: Soul Taker on April 02, 2004, 04:16 AM
Quote from: tA-Kane on April 01, 2004, 11:31 PM
30 minutes ago: http://linkware.clan-mac.com/kanebot/misc/private/still%20broken.txt

I'm still getting disconnected when logging in..., and thusly could still use some help.
Send data (58 bytes).
<00000001< FF 50 3A 00  00 00 00 00  36 38 58 49  33 52 41 57  .P:.....68XI3RAW
<00000011< 0E 00 00 00  53 55 6E 65  27 FF 10 AC  B0 41 44 04  ....SUne'....AD.
<00000021< 09 04 00 00  09 04 00 00  00 41 53 55  55 6E 69 74  .........ASUUnit
<00000031< 65 64 20 53  74 61 74 65  73 00                     ed States.

Looks like there's no null terminator on your country abbreviation.  Dunno if that's the problem of course.
Edit: and it's being sent as a DWORD?

Actually, it would read the country code as ASUU then, and the country as "nited States".  Perhaps that's why it doesn't ban you when you try to join the channel and it notices that you sent an invalid country?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Adron

Quote from: Soul Taker on April 02, 2004, 04:14 AM
A long time ago, I used to occasionally do something wrong with login stuff, and it would wait until I had logged in and joined a channel, and the instant I sent a chat command, would disconnect me.  Incredibly frustrating!

I wonder if I didn't suggest that at some time.

MyndFyre

Quote from: iago on April 03, 2004, 04:21 AM
Quote from: Soul Taker on April 02, 2004, 04:16 AM
Quote from: tA-Kane on April 01, 2004, 11:31 PM
30 minutes ago: http://linkware.clan-mac.com/kanebot/misc/private/still%20broken.txt

I'm still getting disconnected when logging in..., and thusly could still use some help.
Send data (58 bytes).
<00000001< FF 50 3A 00  00 00 00 00  36 38 58 49  33 52 41 57  .P:.....68XI3RAW
<00000011< 0E 00 00 00  53 55 6E 65  27 FF 10 AC  B0 41 44 04  ....SUne'....AD.
<00000021< 09 04 00 00  09 04 00 00  00 41 53 55  55 6E 69 74  .........ASUUnit
<00000031< 65 64 20 53  74 61 74 65  73 00                     ed States.

Looks like there's no null terminator on your country abbreviation.  Dunno if that's the problem of course.
Edit: and it's being sent as a DWORD?

Actually, it would read the country code as ASUU then, and the country as "nited States".  Perhaps that's why it doesn't ban you when you try to join the channel and it notices that you sent an invalid country?

No, I went through and counted the bytes, it would be read in as

cid      db 'USA',0


Besides, it would ban him here if he had an invalid country, not at 0x0a.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

|