• Welcome to Valhalla Legends Archive.
 

Connection Dropped... WHY?

Started by Barabajagal, October 19, 2007, 06:29 PM

Previous topic - Next topic

Barabajagal

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

l2k-Shadow

0x0A consists of 2 strings. you appear to be sending 3.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Barabajagal

SENT
FF 0A 1300
  5265616C697479526970706C6500 (RealityRipple)
  00

I only see two.

l2k-Shadow

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.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Barabajagal

#4
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.

Barabajagal

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?

iago

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.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Barabajagal

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.

Joe[x86]

I was experiencing similar behavior on useast.battle.net with StealthBot 2.6993 a few days ago, if that helps any.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

UserLoser

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.

Barabajagal

Ah, ya... That could be what did it... Thanks.