Arry Posted January 22, 2008 Report Posted January 22, 2008 Trying to troubleshoot why occasionally, my bot will not be in the zone, but still think its connected. I'm wondering if I need to handle the close events instead of just watching disconnects? Or maybe I need to add some code to process lag outs or lag coma? There's a wreckage, There's a fire, There's a weakness, In my loveThere's a hunger, I can't control.Hallelujah, death is overcome and we are breathing.Hallelujah, our stone hearts become flesh that's beating.Hallelujah, chains have been undone and we are singing.Hallelujah, the fire has begun, can u feel it
★ Ceiu Posted January 23, 2008 Report Posted January 23, 2008 Disconnect is fired when a connection simply disconnects from the server (for any reason). Close is fired when the connection not only disconnects but also closes, rendering it unusable for further communication. Regarding the other issue, note that CNConnection.isConnected() only returns the state of the connection; it does not check if it's actually in the zone or not. D1st0rt> while(it.age < 13) { hit(it); } quit(it);
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now