r3666 - in trunk/Docs/server: . rcon2irc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri May 30 04:46:06 EDT 2008


Author: div0
Date: 2008-05-30 04:45:55 -0400 (Fri, 30 May 2008)
New Revision: 3666

Modified:
   trunk/Docs/server/rcon.pl
   trunk/Docs/server/rcon2irc/rcon2irc.pl
   trunk/Docs/server/server.cfg
Log:
+//g_maplist_check_waypoints in server.cfg; fix small bug in rcon script displaying colors wrong


Modified: trunk/Docs/server/rcon.pl
===================================================================
--- trunk/Docs/server/rcon.pl	2008-05-30 07:24:04 UTC (rev 3665)
+++ trunk/Docs/server/rcon.pl	2008-05-30 08:45:55 UTC (rev 3666)
@@ -142,7 +142,7 @@
 		$c =~ /^[0-9]$/ ? do {
 			my $oldcolor = $color;
 			$color = $color_dp2ansi_table[$c];
-			($color == $oldcolor) ? '' :
+			($color eq $oldcolor) ? '' :
 			"\000[${color}" # "
 		} : "^$c";
 	}esg;

Modified: trunk/Docs/server/rcon2irc/rcon2irc.pl
===================================================================
--- trunk/Docs/server/rcon2irc/rcon2irc.pl	2008-05-30 07:24:04 UTC (rev 3665)
+++ trunk/Docs/server/rcon2irc/rcon2irc.pl	2008-05-30 08:45:55 UTC (rev 3666)
@@ -537,7 +537,7 @@
 		$c =~ /^[0-9]$/ ? do {
 			my $oldcolor = $color;
 			$color = $color_dp2ansi_table[$c];
-			($color == $oldcolor) ? '' :
+			($color eq $oldcolor) ? '' :
 			"\000[${color}" # "
 		} : "^$c";
 	}esg;

Modified: trunk/Docs/server/server.cfg
===================================================================
--- trunk/Docs/server/server.cfg	2008-05-30 07:24:04 UTC (rev 3665)
+++ trunk/Docs/server/server.cfg	2008-05-30 08:45:55 UTC (rev 3666)
@@ -68,6 +68,7 @@
 //minplayers 0 // add bots if less then that number of players playing. MAKE SURE ITS LESS THEN maxplayers or people will get blocked by bots!
 //bot_prefix [BOT] // prepend this to all botnames
 //bot_suffix "" // append this to all botnames
+//g_maplist_check_waypoints 0 // set this to 1 to skip maps without waypoints if there aren't enough players to play without bots
 
 //g_maplist_votable 5 // number of maps to vote between.  set to 0 to disable the map voting screen (please enable g_maplist_shuffle above when this is enabled, or votes will be repetitive)
 //g_maplist_votable_suggestions 2 // number of suggestions to accept using the suggestmap command




More information about the nexuiz-commits mailing list