Re: A few more bot bugs -
04-12-2005
OK, I checked, this looks like an engine bug.
For whatever reason, if you have the sv_privatepassword set on the server, and the client that connects has this password too, the engine overrides the game and declares that clients entity slot as not being in use.
Thats why the bots didn't see you: for both speed and safety reasons, I check first to see if you even exist (by occupying a entity slot) before I have the bots test if they can "see" you.
This safety check is needed, because if you suddenly disconnected, you could crash the game.
I can't fix the engine bug, because it's source isn't avaiable, but I could hack/hardcode it so that private clients didn't work anymore, which is ugly.
Either way, in the mean time, I suggest you take out private clients/password from your config, and just use g_password if you want to run a private server.
I'll play with it more tonight to see if I find a better solution.
Denny: I think this is going to need a wiki entry.
Cheers!
Dum Spiro Spero
|