From 80f64e394b53301516999060764a75a66eb8e712 Mon Sep 17 00:00:00 2001 From: div0 Date: Fri, 30 May 2008 08:45:55 +0000 Subject: [PATCH] +//g_maplist_check_waypoints in server.cfg; fix small bug in rcon script displaying colors wrong git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3666 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- Docs/server/rcon.pl | 2 +- Docs/server/rcon2irc/rcon2irc.pl | 2 +- Docs/server/server.cfg | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Docs/server/rcon.pl b/Docs/server/rcon.pl index d9a05924d..f99d06a62 100755 --- a/Docs/server/rcon.pl +++ b/Docs/server/rcon.pl @@ -142,7 +142,7 @@ sub color_dp2ansi($) $c =~ /^[0-9]$/ ? do { my $oldcolor = $color; $color = $color_dp2ansi_table[$c]; - ($color == $oldcolor) ? '' : + ($color eq $oldcolor) ? '' : "\000[${color}" # " } : "^$c"; }esg; diff --git a/Docs/server/rcon2irc/rcon2irc.pl b/Docs/server/rcon2irc/rcon2irc.pl index d71bde401..ed3f95c94 100755 --- a/Docs/server/rcon2irc/rcon2irc.pl +++ b/Docs/server/rcon2irc/rcon2irc.pl @@ -537,7 +537,7 @@ sub color_dp2ansi($) $c =~ /^[0-9]$/ ? do { my $oldcolor = $color; $color = $color_dp2ansi_table[$c]; - ($color == $oldcolor) ? '' : + ($color eq $oldcolor) ? '' : "\000[${color}" # " } : "^$c"; }esg; diff --git a/Docs/server/server.cfg b/Docs/server/server.cfg index baacee53d..f8bab2ddc 100644 --- a/Docs/server/server.cfg +++ b/Docs/server/server.cfg @@ -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 -- 2.39.2