Topic: [Solved] BInfMod the count bots as player
There is a server that count server-sided bots as player in the server list: 92.222.95.67:8306
If you try to kick one of them, you get "you can't ban bots", meaning that they are server-sided bots and the responsibility of the owner.
This server should be masterban. However, if the owner want to fix it, here is the solution:
In engine/server/server/cpp, function SendServerInfo(), each time you see this loop for(int i = 0; i < MAX_CLIENTS; i++), replace this line
if(m_aClients[i].m_State != CClient::STATE_EMPTY)
by something like this:
if(m_aClients[i].m_State != CClient::STATE_EMPTY && !m_aClients[i].m_IsBot)