Date: Monday June 4, 2001 @ 17:06 Author: cameron Update of /home/netrek/cvsroot/Vanilla/ntserv In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv23220/ntserv Modified Files: daemonII.c Log Message: ignore observers for t-mode scum checking **************************************** Index: Vanilla/ntserv/daemonII.c diff -u Vanilla/ntserv/daemonII.c:1.36 Vanilla/ntserv/daemonII.c:1.37 --- Vanilla/ntserv/daemonII.c:1.36 Mon Jan 22 16:26:59 2001 +++ Vanilla/ntserv/daemonII.c Mon Jun 4 17:06:28 2001 @@ -381,8 +381,13 @@ if (!(players[j].p_status == PFREE || players[j].p_stats.st_tticks == 0)) { #endif - if ((players[j].p_flags & PFROBOT)) - continue; +#ifdef OBSERVERS + if (players[j].p_status == POBSERV) + continue; +#endif + + if ((players[j].p_flags & PFROBOT)) + continue; #ifndef FULL_HOSTNAMES jptr = &players[j].p_monitor[strlen(players[j].p_monitor)-5]; @@ -407,10 +412,10 @@ ERROR(1,("Unable to open scum file.\n")); return; } - fprintf(fp,"POSSIBLE T-MODE SCUMMERS FOUND!!! (%d,%d)\n",i,who); + fprintf(fp,"POSSIBLE T-MODE SCUMMERS FOUND!!! (slots %d and %d) ",i,who); gmtsecs = time(NULL); today = localtime(&gmtsecs); - fprintf(fp,"on %d-%d-%d at %d:%d.%d\n", + fprintf(fp,"on %d-%02d-%02d at %d:%d.%d\n", today->tm_year+1900,(today->tm_mon)+1,today->tm_mday, today->tm_hour,today->tm_min,today->tm_sec); for (j=0; j<MAXPLAYER; j++) {