Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: minzliu on June 08, 2003, 07:06 PM

Title: BNLS disconnect
Post by: minzliu on June 08, 2003, 07:06 PM
Hi, i made this bot using BNLS and it keeps disconnecting after about 2-5 min can any one tell me y plz? thx
Title: Re:BNLS disconnect
Post by: smoke on June 08, 2003, 07:45 PM
Are you replying to battle.net pings?  There are many ways you can get disconnected from battle.net, you need to be more specific than essentially saying "My program is busted, what's wrong with it?"

-smoke
Title: Re:BNLS disconnect
Post by: UserLoser on June 08, 2003, 07:48 PM
Quote from: smoke on June 08, 2003, 07:45 PM
Are you replying to battle.net pings?  There are many ways you can get disconnected from battle.net, you need to be more specific than essentially saying "My program is busted, what's wrong with it?"

-smoke
He didn't say Battle.net....

minzliu: The BNLS server disconnects from you after one minute of the client not sending any packets to the server, you can send a null packet every minute to keep the connection to the BNLS server alive.
Title: Re:BNLS disconnect
Post by: Crypticflare on June 08, 2003, 07:49 PM
If its BNLS that disconnects you can ignore the Error message, after BNLS logs you on with your client to battle.net it disconnects since you now have a stable connection with bnet itself. (I think thats whats going on)
Title: Re:BNLS disconnect
Post by: minzliu on June 09, 2003, 02:48 AM
Yeah, Crypticflare
thats what happens, i accidentally put CBS.disconnected under BNLS_disconnected event, thx