oh. BTW by that I mean I have the same problem. Set name before connect than thats it. I am not entirely sure but I think the server can change the name (since its the one handling everything)
Assault Andy Administrator
I make other people create vaporware
16th April, 2007 at 06:54:07 -
Firstly, yes you're meant to set the name of your player before connecting to the server. I've never run into any problems with it, so there is probably a confliction in code at your end.
Secondly, needing to change username once connected? I can't see why you would want to do that. I've never tried to do it, but if changing your name once connected doesn't work (which I think it does, because there are conditions to check if your name has been changed.) then you can simply create your own naming system based on assigning names to IDs. Simply send your new name through a channel and then when the other clients receive it, they permanently assign and display your new name.
same here.. Right now I got the server returning a message to the client that his username was " ", and the user reconnects with a slightly higher cooldown (delay between setting name, connecting, signing on, logging in, etc) for every time. It works well really, it just takes abit longer to login.