Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Lenny on November 09, 2003, 01:38 AM

Title: Simultaneous connect ---> Disconnect?
Post by: Lenny on November 09, 2003, 01:38 AM
My bot connects to battle.net using 2 different winsocks.

1 is able to logon and the other is disconnected after sending 0x51 (recieving an IP Ban afterwards)

But the 2 seem to alternate between which one is able to logon and which one is unable to logon.

Does battle.net detect and disconnect somewhat simultaneous connections?
Title: Re:Simultaneous connect ---> Disconnect?
Post by: Tuberload on November 09, 2003, 02:30 AM
I can not say for sure, but my money is on, no it doesn't. I am pretty sure two completely different people will logon at the same time quite frequently. It would go against better judgment to disconnect one of them.

If one of the bot disconnects part way through your logon sequence, my guess is you are using unstable proxies.
Title: Re:Simultaneous connect ---> Disconnect?
Post by: Lenny on November 09, 2003, 03:31 AM
Both bots aren't on proxies... The connection is comming from the same ipaddress (my own).
Title: Re:Simultaneous connect ---> Disconnect?
Post by: Tuberload on November 09, 2003, 04:03 AM
Quote from: Lenny on November 09, 2003, 03:31 AM
Both bots aren't on proxies... The connection is comming from the same ipaddress (my own).
I am sorry I misread your initial post, please disregard my response.
Title: Re:Simultaneous connect ---> Disconnect?
Post by: Lenny on November 11, 2003, 10:36 AM
When, I add a pause between each socket connecting to battle.net they seem to connect fine.

But its a 3 second pause, I dont believe battle.net needs such a long amount of time between connecting winsocks.
Title: Re:Simultaneous connect ---> Disconnect?
Post by: hismajesty on November 11, 2003, 11:37 AM
iirc, it doesn't. Ever notice how massloaders usually load all of the bots within 0-1 second? At first I was thinking well maybe it needs a delay per connection from one IP..but then I thought of how you can load the limit of 8 (I think) bots and they would all connect at pretty much the same time.