I don't understand why, but I'm being disconnected from BNET after logging in with no error after sending 0x0A.
SENT
FF 1E 2A00
01000000
00000000
00000000
00000000
00000000
4A494D00 (JIM)
416E647265772053616368656E00 (Andrew Sachen)
SENT
FF 12 4800
800BD84D A412C801
803379A1 6912C801
E0010000
09040000
09040000
09040000
454E5500 (ENU)
556E697465642053746174657300 (United States)
55534100 (USA)
556E697465642053746174657300 (United States)
SENT
FF 06 1400
36385849 (IX86)
4C545244 (DRTL)
2A000000
00000000
RECV
FF 05 1400
00000000
00000000
00000000
00000000
RECV
FF 1D 0C00
91793200
6D3C60AC
RECV
FF 25 0800
6E06F440
RECV
FF 06 3200
00F80BCE 72FCC601
6C6F636B646F776E2D495838362D30382E6D707100 (lockdown-IX86-08.mpq)
EE15ADED1A55AE6CE9C124A9BE27A3C800
SENT
FF 25 0800
6E06F440
SENT
FF 07 2A00
36385849 (IX86)
4C545244 (DRTL)
2A000000
01090001
6CD116D9
4BDDB9EB7AF071894FBB640CBEF67F0C0200
RECV
FF 07 0801
02000000
00
00
SENT
FF 29 2E00
27A81101
6D3C60AC
######## ######## ######## ######## ######## (Password)
5265616C697479526970706C6500 (RealityRipple)
RECV
FF 29 0800
01000000
SENT
FF 0A 1300
5265616C697479526970706C6500 (RealityRipple)
00
SENT
FF 0B 0800
4C545244 (DRTL)
SENT
FF 0C 1500
02000000
446961626C6F205553412D3100 (Diablo USA-1)
RECV
FF 0A 2500
5265616C697479526970706C6500 (RealityRipple)
4C54524400 (StatString [DRTL])
5265616C697479526970706C6500 (RealityRipple)
Winsock CLOSED
BNET DISCONNECTED
Can someone please tell me why?
[Edit: deleted long line that was causing wrapping. If you want your posts left alone, do not break the table layout.]
0x0A consists of 2 strings. you appear to be sending 3.
SENT
FF 0A 1300
5265616C697479526970706C6500 (RealityRipple)
00
I only see two.
o my bad i was looking at the recv. you need to send your character statstring in the 2nd 0x0A string. D1 isn't a cd-key'd product//the characters are not stored on the server.
That's a blank statstring. D1 allows anything in that string, even nothing. I've put text in it and it doesn't help either, anyway.
Edit: Just did an Ethereal packet log, and after receiving 0x0A, I receive a BROKEN TCP packet (ACKed Lost Segment):
0000 00 11 2f a8 d3 49 00 13 10 10 1a 5a 08 00 45 00 ../..I.....Z..E.
0010 00 28 d4 0f 00 00 72 06 de fb 3f f1 53 6f 01 01 .(....r...?.So..
0020 01 64 17 e0 10 ff 2b 1a b5 d5 2b 1a b5 d5 50 04 .d....+...+...P.
0030 00 00 2f 5d 00 00 00 00 a4 77 9d 4d ../].....w.M
WTF does that mean?
Edit #2: If I don't send 0x0A, 0x0B, or 0x0C, I don't get disconnected.... But there doesn't seem to be anything wrong with them.
It's NOT MY FAULT! It only happens on uswest.battle.net (63.241.83.111). Someone else wanna try connecting to that IP and see if their bot works on it?
Why don't you try packetlogging the actual game client, and comparing it to a packetlog of your bot to see where it deviates? Perhaps you're doing something slightly different from the game client that only the one server picks up on?
I also remember reading somewhere about a delayed IP-ban where you can make a certain mistake in the first couple packets and not get banned till the end of the login. I forget the details, though, but maybe somebody else will remember.
My connection code was perfect. It had nothing to do with my code or an IP ban. It was only on that one server and it was only temporary. I don't know what caused it, but it's gone now.
I was experiencing similar behavior on useast.battle.net with StealthBot 2.6993 a few days ago, if that helps any.
This sometimes randomly happened to me and Spht in the past. We noticed it when we were reconnecting a lot during a certain period of time I believe.
Ah, ya... That could be what did it... Thanks.