SRCDS Steam group


[TF2] rtv: autonomus mapchange, votescramble unfunctionally
#1
Hi

BASIC INFO
Server OS: Linux 2.6.18-6-686 Debian 4.0
Processor: GenuineIntel, Intel® Core™2 Duo CPU E4500 @ 2.20GHz
Ram: 4GB
Game(s): Team Fortress 2
Start Up Command:
Code:
./srcds_run -game tf +map pl_badwater +maxplayers 26 -port 27015 -autoupdate
Admin Mods:
metamod, sourcemod
Active sourcemod plugins:
admin-flatfile
adminhelp
adminmenu
antiflood
basebans
basechat
basecommands
basecomm
basetriggers
basevotes
classrestrict
clientprefs
hpk_lite
mapchooser
nextmap
nominations
playercommands
reservedslots
rockthevote
smdr
sounds
spraytrace
votescramble

My config file:
Code:
//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*               SRCDS Team Fortress 2 SERVER CONFIGURATION              *\\
//*                              VERSION 1.0                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

say "Loading Team Fortress 2 SERVER CONFIGURATION"

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          Miscellaneous                                *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Defualt: Counter-Strike: Source
hostname "***"


// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "***"

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 10

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 3

// Define your Server password, so only people who knows it can connect.
// Defualt: None.
sv_password "***"

// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at http://forums.srcds.com/viewtopic/9366
// Or this is if the other one doesn't work: www.downloadurl.net
// Defualt: None.
sv_downloadurl ""


// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1


// Allow clients to downnload files.
// Default: 1
sv_allowdownload 1


// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Defualt: ?
fps_max "300"

// This controls your server framerate.
// Default: 0
host_framerate 0


// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 30


// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0


// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 3

// This could be your own email or another email who do business withing this server.
// Defualt: None.
sv_contact "sorry no contact yet"

// Enables or disables whether the server can be paused. 0 is off 1 is on
sv_pausable 0

// Forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure 1

// Kicks clients that do not have content that matches what is on the server
sv_pure_kick_clients 1

// Max download file size. Default is 15
net_maxfilesize 15


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          Brandwidth Rates                             *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 33


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 15


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75


// Enables player lag compensation.
// Default: 1
sv_unlag 1


// Sets the maximum ammount of seconds that the netcode compensates for someone's ping.
// Default: 0.5
sv_maxunlag 1


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                            Game Settings                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

//*Team Auto Balancing*\\

// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance 1

// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_delay 60

// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other (0 disables)
mp_teams_unbalance_limit 2

mp_scrambleteams "cmd"

//*Ending Team Auto Balancing*\\



//*Round & Game Times*\\

// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_enableroundwaittime 1

// Time after round win until round restarts (in seconds)
mp_bonusroundtime 20

// Time the current round will restart (in seconds)
mp_restartround 20

// Timelimit (in seconds) of the stalemate round
mp_stalemate_timelimit 120

// Game time per map in minutes
//Default is 0
//0=unlimited
mp_timelimit 30

// Max number of rounds to play before server changes maps
mp_maxrounds 1

// Max number of rounds one team can win before a server changes maps
mp_winlimit 3


//*Ending Round & Game Times*\\



//*Client Specific CVARS*\\

// Force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_forcecamera 0

// Enable or disable spectators on the server. 0 is off 1 is on
mp_allowspectators 1

// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_friendlyfire 0

// Footsteps on or off. 0 is off and 1 is on
mp_footsteps 1

// Allow cheats to be used by the client. 0 is off 1 is on
sv_cheats 0

// The amount of time in seconds that a client is booted for no input
sv_timeout 300

// The maximun speed a client can move at
sv_maxspeed 320

// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
sv_consistency 1

// The pause in seconds between a decal being sprayed
decalfrequency 10

//*End Client Specific CVARS*\\


//*Communication*\\

// Allow players to use a microphone. 0 is off 1 is on
sv_voiceenable 1

// Toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
sv_alltalk 0

// Players can chat for this amount of time (in seconds) after a game is over
mp_chattime 15

//*End Communication*\\

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                             Log Settings                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Enable or disable server logging. on is on off is off
log on

// Log server bans in the server logs
sv_logbans 1

// Echo log information to the console. 0 is off 1 is on
sv_logecho 1

// Log server information in the log file. 0 is off 1 is on
sv_logfile 0

// Log everything in one file
sv_log_onefile 0


//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                          EXECUTING CONFIGS                            *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*               SRCDS Team Fortress 2 SERVER CONFIGURATION              *\\
//*                              VERSION 1.0                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

My RTV.cfg:

Code:
// This file was auto-generated by SourceMod (v1.2.3)
// ConVars for plugin "rockthevote.smx"


// When to change the map after a succesful RTV: 0 - Instant, 1 - RoundEnd, 2 - MapEnd
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_rtv_changetime "0"

// Time (in seconds) before first RTV can be held
// -
// Default: "30.0"
// Minimum: "0.000000"
sm_rtv_initialdelay "30.0"

// Time (in seconds) after a failed RTV before another can be held
// -
// Default: "240.0"
// Minimum: "0.000000"
sm_rtv_interval "240.0"

// Number of players required before RTV will be enabled.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "64.000000"
sm_rtv_minplayers "0"

// Percentage of players needed to rockthevote (Def 60%)
// -
// Default: "0.60"
// Minimum: "0.050000"
// Maximum: "1.000000"
sm_rtv_needed "0.60"

// What to do with RTV's after a mapvote has completed. 0 - Allow, success = instant change, 1 - Deny
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_rtv_postvoteaction "0"

My votescramble.cfg:

Code:
// This file was auto-generated by SourceMod (v1.2.3)
// ConVars for plugin "votescramble.smx"


// sm_scramble_delay - After a scramble has been initiated, this amount of seconds must pass before the scramble is executed.
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_scramble_delay "5"

// sm_scramble_minplayers - Minimum amount of players to be playing before the scramble can be selected.
// -
// Default: "3"
// Minimum: "3.000000"
sm_scramble_minplayers "3"

// sm_scramble_percent - Minimum percent of people who should have voted before scramble will take effect.
// -
// Default: "0.65"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_scramble_percent "0.65"

// sm_scramble_strategy - algorithm used for scramble (1 = random shuffle, 2 = random shuffle with minimum change)
// -
// Default: "2"
// Minimum: "1.000000"
sm_scramble_strategy "2"

// sm_scramble_timeleft - Minimum time left on the map. If less is remaining, the vote cannot start.
// -
// Default: "0"
// Minimum: "0.000000"
sm_scramble_timeleft "0"

// sm_scramble_timepassed - Minimum time which should have passed before the vote can be activated.
// -
// Default: "180"
// Minimum: "0.000000"
sm_scramble_timepassed "180"

// Version number of advanced vote scramble.
// -
// Default: "1.1"
sm_scramble_version "1.1"

// sm_scramble_words - Comma separated list of words that will allow users to vote for activating the scramble.
// -
// Default: "!teamscramble, !scramble, scramble"
sm_scramble_words "!teamscramble, !scramble, scramble"

Problem:

My problem with rtv is, that when i join my server after its empty and type rtv, the server switches to a random map by its own, after i have the chance to specify a map. I just see "rtv has decided... switching to *whatever*". its a bit annoying. anyone knows this problem?

and votescramble doesnt work at all, im not sure why? its listed in "sm plugins list" so it must be active?


// this forum sure could use a spoilter tag...
Reply
#2
The map change is normal.
Reply
#3
Code:
sm_rtv_minplayers "0"
maybe you want to rise this to prevent rtv being used by a single player...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
sounds good. thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)