Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: AC_Drkan on July 15, 2004, 09:11 PM

Title: Help?
Post by: AC_Drkan on July 15, 2004, 09:11 PM
I get my Bot Connected then bnls disconnects look:

[10:10:41 PM] BNLS: Connecting...
[10:10:42 PM] BNLS: Connection Established!
[10:10:42 PM] BNLS: Authorization Complete!
[10:10:42 PM] Battle.net: Connecting...
[10:10:42 PM] Battle.net: Connection Established!
[10:10:43 PM] Version check passed.
[10:10:43 PM] CD-Key check passed.
[10:10:44 PM] BNLS: Disconnected!
Title: Re:Help?
Post by: UserLoser. on July 16, 2004, 02:56 PM
[13:46:48] Error 10053 connecting to Battle.net server!

HELP PLZ
Title: Re:Help?
Post by: ChR0NiC on July 16, 2004, 03:00 PM
Quote from: UserLoser. on July 16, 2004, 02:56 PM
[13:46:48] Error 10053 connecting to Battle.net server!

HELP PLZ

Although I'm sure Userloser is joking...
Quote
(10053) Software caused connection abort.

Solution:
Quote
A connection abort was caused internal to your host machine. The software caused a connection abort because there is no space on the socket's queue and the socket cannot receive further connections.

Always remember to use Google first ;D
Title: Re:Help?
Post by: Lenny on July 16, 2004, 03:08 PM
QuoteI get my Bot Connected then bnls disconnects look:

Looked....

(In case you havent noticed the subtlety in these posts, more information is needed)
Title: Re:Help?
Post by: AC_Drkan on July 19, 2004, 01:17 PM
like what?

thats all it gives me,
Bot connects to BNLS,
connection authrized,
connects to battle.net

then after the cdkey is sent, the bot disconnects.
im using CleanSlateBot
Title: Re:Help?
Post by: UserLoser. on July 19, 2004, 01:24 PM
The whole point of my post above is that by pasting outputs of the status of the connection, won't get you much help. (But thanks anyways for sharing what the 10053 is)  If you really want to get some help, you're going to have to paste some packet logs so people can pick through it and find what's going wrong.
Title: Re:Help?
Post by: Warrior on July 19, 2004, 03:02 PM
Post some code.
Title: Re:Help?
Post by: K on July 19, 2004, 03:06 PM
Um, correct me if I'm wrong, but aren't you supposed to disconnect from BNLS once you've successfully logged in?
Title: Re:Help?
Post by: Eli_1 on July 19, 2004, 03:13 PM
Yes, it automaticly disconnections some time after you've logged in. But his is not only disconnecting immediatly, but he's also not finished logging in, I don't think.

I think you need to set a breakpoint and check to make sure none of your variables are empty.
Title: Re:Help?
Post by: Blaze on July 19, 2004, 03:46 PM
Quote from: AC_Drkan on July 15, 2004, 09:11 PM
I get my Bot Connected then bnls disconnects look:

[10:10:41 PM] BNLS: Connecting...
[10:10:42 PM] BNLS: Connection Established!
[10:10:42 PM] BNLS: Authorization Complete!
[10:10:42 PM] Battle.net: Connecting...
[10:10:42 PM] Battle.net: Connection Established!
[10:10:43 PM] Version check passed.
[10:10:43 PM] CD-Key check passed.
[10:10:44 PM] BNLS: Disconnected!


I'd check your 0x0B packet....  Looks like your getting disconnected due to a packet in the wrong format..


Edit: Typos fix
Title: Re:Help?
Post by: Eli_1 on July 19, 2004, 05:11 PM
Quote from: Kk)Blaze(kK on July 19, 2004, 03:46 PM
Quote from: AC_Drkan on July 15, 2004, 09:11 PM
I get my Bot Connected then bnls disconnects look:

[10:10:41 PM] BNLS: Connecting...
[10:10:42 PM] BNLS: Connection Established!
[10:10:42 PM] BNLS: Authorization Complete!
[10:10:42 PM] Battle.net: Connecting...
[10:10:42 PM] Battle.net: Connection Established!
[10:10:43 PM] Version check passed.
[10:10:43 PM] CD-Key check passed.
[10:10:44 PM] BNLS: Disconnected!


I'd check your 0x0B packet....  Looks like your getting disconnected due to a packet in the wrong format..


Edit: Typos fix

He's using CSB, which handles all the packets for you. I think I was able to recreate this error by leaving my Username or Password blank. You might want to check that.
Title: Re:Help?
Post by: AC_Drkan on July 22, 2004, 01:21 PM
Fixed it already,
i read from a database and then i misspelled the strpass causing it to not send the password
Title: Re:Help?
Post by: Adron on July 22, 2004, 02:58 PM
Use Option Explicit?