Index: code/server/sv_main.c =================================================================== --- code/server/sv_main.c (revision 1788) +++ code/server/sv_main.c (working copy) @@ -602,7 +602,7 @@ ================ */ void SVC_Info( netadr_t from ) { - int i, count; + int i, count, humans; char *gamedir; char infostring[MAX_INFO_STRING]; @@ -621,10 +621,13 @@ return; // don't count privateclients - count = 0; + count = humans = 0; for ( i = sv_privateClients->integer ; i < sv_maxclients->integer ; i++ ) { if ( svs.clients[i].state >= CS_CONNECTED ) { count++; + if (svs.clients[i].netchan.remoteAddress.type != NA_BOT) { + humans++; + } } } @@ -638,6 +641,7 @@ Info_SetValueForKey( infostring, "hostname", sv_hostname->string ); Info_SetValueForKey( infostring, "mapname", sv_mapname->string ); Info_SetValueForKey( infostring, "clients", va("%i", count) ); + Info_SetValueForKey( infostring, "g_humanplayers", va("%i", humans ) ); Info_SetValueForKey( infostring, "sv_maxclients", va("%i", sv_maxclients->integer - sv_privateClients->integer ) ); Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) );