HelpConnection issues with java client...

Posts 1–4 of 4 · Page 1 of 1
Connection issues with java client...
A couple of questions I want to throw out there in hopes someone knows the answers to...

1) Anyone ever get a failure packet with the description: 'NoneType' object has no attribute 'split'? Recently got this error with one of my mules and curious why it's popping up.

2) Also, does anyone know of a quick way to kick yourself from the server? I'm thinking sending a packet to the server that doesn't exist. The aim is to make sure I'm booted from the server to avoid account in use errors. Perhaps there is a better more proper way?
Quote Originally Posted by nilly View Post
1) Anyone ever get a failure packet with the description: 'NoneType' object has no attribute 'split'? Recently got this error with one of my mules and curious why it's popping up.
The fail packet with 'NoneType' object has no attribute 'split'? I Am guessing the object status data is incorrectly formed or corrupt, or the object type being passed is incorrect.


Quote Originally Posted by nilly View Post
2) Also, does anyone know of a quick way to kick yourself from the server? I'm thinking sending a packet to the server that doesn't exist. The aim is to make sure I'm booted from the server to avoid account in use errors. Perhaps there is a better more proper way?
Set the bots x and y position really far from it’s current position, will give the failed packet “lost connection to server ”

one way to avoid account in use, is to wait into the current connection is closed, I do this with a couple of sleep functions, inside the reconnect packet(works 80percent of the time), but there are better methods .
Quote Originally Posted by Botmaker View Post
The fail packet with 'NoneType' object has no attribute 'split'? I Am guessing the object status data is incorrectly formed or corrupt, or the object type being passed is incorrect.




Set the bots x and y position really far from it’s current position, will give the failed packet “lost connection to server ”

one way to avoid account in use, is to wait into the current connection is closed, I do this with a couple of sleep functions, inside the reconnect packet(works 80percent of the time), but there are better methods .
You were right about the corrupt part. Turned out my mule sorter managed to create a character that ended up with a corrupt <char> tag. I did get a dataserver error around the same time so I figure it was google's app engine.

I'll check out the force disconnecting thing and post results. Since the mule sorter connects and disconnects a lot, account in use is somewhat of a problem.
Ok after further investigation, I think I found out why I was pestered with account in use. Turns out I was terminating the client(s) before closing the socket. I'm guessing if you don't close the socket that it just lingers open even though everything that used it was left for garbage collection... Thanks for pointing out the need to wait for the connection to close @Botmaker.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us