1Index: code/server/sv_main.c 2=================================================================== 3--- code/server/sv_main.c (revision 1788) 4+++ code/server/sv_main.c (working copy) 5@@ -602,7 +602,7 @@ 6 ================ 7 */ 8 void SVC_Info( netadr_t from ) { 9- int i, count; 10+ int i, count, humans; 11 char *gamedir; 12 char infostring[MAX_INFO_STRING]; 13 14@@ -621,10 +621,13 @@ 15 return; 16 17 // don't count privateclients 18- count = 0; 19+ count = humans = 0; 20 for ( i = sv_privateClients->integer ; i < sv_maxclients->integer ; i++ ) { 21 if ( svs.clients[i].state >= CS_CONNECTED ) { 22 count++; 23+ if (svs.clients[i].netchan.remoteAddress.type != NA_BOT) { 24+ humans++; 25+ } 26 } 27 } 28 29@@ -638,6 +641,7 @@ 30 Info_SetValueForKey( infostring, "hostname", sv_hostname->string ); 31 Info_SetValueForKey( infostring, "mapname", sv_mapname->string ); 32 Info_SetValueForKey( infostring, "clients", va("%i", count) ); 33+ Info_SetValueForKey( infostring, "g_humanplayers", va("%i", humans ) ); 34 Info_SetValueForKey( infostring, "sv_maxclients", 35 va("%i", sv_maxclients->integer - sv_privateClients->integer ) ); 36 Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) ); 37