I have noticed that certain settings are not loading right on my server. In particular, the warmup time and allowing warmup damage don't use the settings that are in the setup file that is executed from the command line. Is there something that I am doing wrong? Also, XP saver doesn't work. When I come back to the server, it welcomes me back and says my stats will be restored, but they are not.
Startup script:
#!/bin/bash
# Created by TiCaL - tical@kingpin.com
# Press Ctrl+C to stop the restarting
echo
echo "######################################################################"
echo "# ET Non Stop Server Restarter v1.0 #"
echo "######################################################################"
echo To stop the restarting press Ctrl+C when the server is being restarted
echo
trap 'echo; echo ET Server Restarter has been STOPPED!; exit 1' 2
C1=0
while true
do
C1=$((C1+=1))
# Modify the line bellow to match your server execution command line
./etded +set net_ip 207.44.249.30 +set fs_basepath /home/mharvey/enemy-territory/ +set fs_homepath /home/mharvey/enemy-territory/ +set com_zoneMegs 32 +set com_hunkMegs 196 +set com_soundmegs 16 +set vm_game 2 +set vm_cgame 2 +set vm_ui 2 +set dedicated 2 +set ttycon 0 +set bot_enable 0 +set fs_game etpro +exec etpro.cfg +set public 1 +set sv_punkbuster 1 echo "ET server quit/crash detected, restarting in 10 seconds ..."
sleep 10
echo "ET server restarted $C1 time(s)!"
done
Config File:
//Memory settings
//set com_hunkmegs "192" //Memory allocated to game - nothing >192 is used
//set com_zonemegs "128" //
//set com_soundmegs "36" //Memory allocated to Sound - nothing >36 is used
set dedicated "2" // 1: lan 2: internet
// set net_ip "" // set to override the default IP ET uses
// set net_port "27960" // set to override the default port ET uses
// PASSWORDS & CLIENTS
set sv_maxclients "22" // number of players including private slots
set g_password "" // set to password protect the server
set sv_privateclients "2" // if set > 0, then this number of client slots will be reserved for connections
set sv_privatepassword "xxx" // that have "password" set to the value of "sv_privatePassword"
set rconpassword "xxx" // remote console access password
set refereePassword "xxx" // referee status password
// DL, RATE
set sv_maxRate "25000" // 10000 standard but poor for ET
set sv_dl_maxRate "25000" // increase/decerease if you have plenty/little spare bandwidth
set sv_allowDownload "1" // global toggle for both legacy download and web download
set sv_wwwDownload "0" // toggle to enable web download
set sv_wwwBaseURL "" // base URL for redirection
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side
// MASTER SERVERS TO REPORT TO
set sv_master1 "etmaster.idsoftware.com"
set sv_master2 "master.gamespy.com:27900"
set sv_master3 "master0.gamespy.com"
set sv_master4 "clanservers.net"
set sv_master5 ""
// Server Info
seta sv_hostname "^1Arizona Heat 10 Map"
sets g_needpass "0" // tell's ASE etc the server is passworded
sets sv_pure "1" // so it shows up in server info (optional)
sets .Admin "Raptor"
//sets "*Unlagged" "This Server Has Lag Compensation"
sets .Email "azraptor@cox.net"
sets .Address "207.44.249.30:27960"
sets .Clan "^1Arizona_Heat"
sets .Web "arizonaheat.net"
//sets ".Connection" "oc-48"
//sets .Location "Houston,TX"
//sets ".SkinPak" ""
sets .Plug "God_Bless_America"
//sets .Host "www.battle-haven.com"
//sets .Info1 ""
//sets .Info2 ""
//sets .Info3 ""
sets username "somebody" //block out your computer account name
//Message Of The Day
set server_motd0 "^1W^7e^4l^1c^7o^4m^1e"
set server_motd1 "^1B^HE^6N^HS^5T^HE^8R^7's"
set server_motd2 "10Map Rotation"
set server_motd3 "Have fun!"
set server_motd4 "^3Please visit us:"
set server_motd5 "^1arizonaheat.net"
// MISC SETTINGS
set g_heavyWeaponRestriction "100" //maximum percentage of heavy weapons
set team_maxMortars "-1" //max allowed mortars -1 is no limit
set team_maxFlamers "-1" //max allowed flammers
set team_maxMg42s "-1" //max allowed MG 42s
set team_maxPanzers "-1" //max allowed panzers
set g_antilag "1"
set g_altStopwatchMode "0"
set g_autofireteams "1"
set g_complaintlimit "6"
set g_ipcomplaintlimit "3"
set g_fastres "0"
set g_friendlyFire "1"
//set g_gametype "4" // Game type should be set from map rotation script
set g_minGameClients "0"
//set g_gameClients "20"
set g_maxlives "0"
set g_alliedmaxlives "0"
set g_axismaxlives "0"
set g_teamforcebalance "1"
set g_noTeamSwitching "0"
set g_voiceChatsAllowed "6"
set g_doWarmup "0"
set g_warmup "30"
set g_spectatorInactivity "0"
set sv_floodProtect "1"
set sv_allowDownload "1"
set sv_pure "1"
set sv_minping "0"
set sv_maxping "0"
set match_latejoin "1"
set match_minplayers "0"
set match_mutespecs "0"
set match_readypercent "100"
set match_timeoutcount "0"
set match_warmupDamage "1"
set team_maxplayers "0" //can cap number of players
set team_nocontrols "0"
set pmove_fixed "0"
set pmove_msec "8"
// LMS ONLY SETTINGS
set g_lms_teamForceBalance "1"
set g_lms_roundlimit "3"
set g_lms_matchlimit "2"
set g_lms_currentMatch "0"
set g_lms_lockTeams "0"
set g_lms_followTeamOnly "1"
// MAX LIVES ~ settings for limited life servers
set g_maxlives "0" // set this to limit lives per player
set g_alliedmaxlives "0" // set this to limit lives for allies team
set g_axismaxlives "0" // set this to limit lives for axis team
// VOTING
set g_allowVote "1"
//set g_voteflags "0"
set vote_limit "5"
set vote_percent "51"
set vote_allow_comp "0"
set vote_allow_gametype "0"
set vote_allow_kick "1"
set vote_allow_map "0"
set vote_allow_matchreset "0"
set vote_allow_mutespecs "0"
set vote_allow_nextmap "1"
set vote_allow_pub "0"
set vote_allow_referee "0"
set vote_allow_shuffleteams "1"
set vote_allow_swapteams "1"
set vote_allow_friendlyfire "0"
set vote_allow_timelimit "0"
set vote_allow_warmupdamage "0"
set vote_allow_antilag "0"
set vote_allow_balancedteams "0"
set vote_allow_muting "1"
// PUNKBUSTER
// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
pb_sv_enable
pb_sv_cvarempty
pb_sv_kicklen 1
pb_sv_autoUpdBan 1
pb_sv_CQC 1
pb_sv_EmptyName 0
pb_sv_minName 1
pb_sv_extChar 1
pb_sv_dupNameGrace 20
Pb_sv_noguidgrace 30
pb_sv_updategrace 300
pb_sv_guidrelax 0
pb_sv_scoreKick -6
// BAD NAMES
pb_sv_badname 30 TEAMMATE
pb_sv_badname 30 teamate
pb_sv_badname 30 disguised
pb_sv_badname 30 disgised
pb_sv_badname 30 desguised
pb_sv_badname 30 desgised
//Banned IPs
//set g_banIPs ""
//These limits set the acceptable range for setting change as mandated by the TWL
pb_sv_cvar cl_maxpackets in 30 100
pb_sv_cvar cl_timenudge in 0 0
pb_sv_cvar rate in 5000 25000
pb_sv_cvar snaps in 20 40
pb_sv_cvar cl_freelook in 1
pb_sv_cvar cg_bobup in 0 0.005
pb_sv_cvar cg_fov in 90 120
pb_sv_cvar cg_shadows in 0 1
pb_sv_cvar cg_thirdperson in 0
pb_sv_cvar com_maxfps out 0.00001 40
pb_sv_cvar m_pitch out -0.015 0.015
pb_sv_cvar m_yaw in 0.022
pb_sv_cvar r_flares in 0 1
pb_sv_cvar r_gamma in 1 3
pb_sv_cvar r_intensity in 1 1.5
pb_sv_cvar r_mapoverbrightbits in 2 3
pb_sv_cvar r_overbrightbits in 0 1
pb_sv_cvar r_picmip in 0 3
pb_sv_cvar r_rmse in 0
pb_sv_cvar r_nv_fogdist_mode INCLUDE NV // this cvar displays a violation that doesnt exist , pub bug.
pb_sv_cvar r_primitives IN 0 2
pb_sv_cvar cg_reticleType IN 0 1
pb_sv_cvar cg_errordecay IN 100
pb_sv_cvar r_drawentities in 1
pb_sv_cvar r_lightmap in 0 1
pb_sv_cvar r_showtris in 0
pb_sv_cvar r_showmodelbounds in 0
pb_sv_cvar r_shownormals in 0
pb_sv_cvar r_wolffog in 1
// ET Pro
set b_defaultskills "0 0 0 0 0 0 0" //skills started with (0-4) bs,eng,med,fo,light wep,hev wep,co in that order
set b_noskillupgrades "0" //levels can't be raised
set b_shove "80" //move out of the way
set b_shove_noz "0" //0=can't shove up (over wall)
set b_statsaver "1" //savesstats until new campaign
set b_intermissiontime "30"
set b_privatemessages "2"
set b_match_warmupjoin "1"
set b_xpstopwatch "0"
set b_multiview "0" //disabled, takes powerful server
set b_stickycharge "0"
set b_spectatornames "2"
set b_mapscriptdirectory "mapconfigs"
//Set the amount of xp to raise level 4 sets of 4digit numbers representing levels 1 2 3 4 -1 disables
//example: "20 50 90 140" all levels reached in succession by xps stated, "20 50 -1 140" Level 3 will not be reached
set b_levels_battlesense ""
set b_levels_engineer ""
set b_levels_medic ""
set b_levels_fieldops ""
set b_levels_lightweapons ""
set b_levels_soldier ""
set b_levels_covertops ""
// LOGGING
set g_log "etpro.log" // Game logging
set g_logsync "0"
set logfile "1" // Console logging ( 1: enable 2: enable and sync )
// MAP ROTATION
exec campaign_benster10map.cfg // Campaign mode
//exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing mode
// WATCHDOG
// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd "exec campaign_benster10map.cfg" // defaults to quit
Settings don't take?
Moderators: Forum moderators, developers
Settings don't take?
-------------------------------------
www.terminal-insanity.com
www.terminal-insanity.com
- =FF=im2good4u
- Posts: 3821
- Joined: Wed Feb 05, 2003 7:30 am
- Location: The Netherlands, HOLLAND
- Contact:
Code: Select all
#!/bin/bash
# Created by TiCaL - tical@kingpin.com
# Press Ctrl+C to stop the restarting
echo
echo "######################################################################"
echo "# ET Non Stop Server Restarter v1.0 #"
echo "######################################################################"
echo To stop the restarting press Ctrl+C when the server is being restarted
echo
trap 'echo; echo ET Server Restarter has been STOPPED!; exit 1' 2
C1=0
while true
do
C1=$((C1+=1))
<a href="http://bunnyherolabs.com/adopt/showpet. ... dQ=="><img src="http://petimage.bunnyherolabs.com/adopt ... Q0dQ==.png" width="80" height="100" border="0"></a>
Don't use quotes on the settings for ETPro
instead of
set b_statsaver "1"
use
set b_statsaver 1
instead of
set b_statsaver "1"
use
set b_statsaver 1
WSF|Otter
Founder and Leader
Wolf Strike Force
http://wolfstrikeforce.com
WSF ET Pro Game Server - 69.57.143.174:27960
Founder and Leader
Wolf Strike Force
http://wolfstrikeforce.com
WSF ET Pro Game Server - 69.57.143.174:27960
I tried that, still no dice. It still gives the welcome back message, but it only restores medals, not xp or skill level. What is the difference between set and seta? Should I be using one over the other? Is there another cvar that is conflicting with statsave?
-------------------------------------
www.terminal-insanity.com
www.terminal-insanity.com
Here's something to try to test the cvar.....
Add the set b_statsaver 1 after you load the cvars instead of before and see if it fixes it....
Couldn't hurt could it?
I always call my pb.cfg file prior to the ETPro server settings....
Add the set b_statsaver 1 after you load the cvars instead of before and see if it fixes it....
Couldn't hurt could it?
I always call my pb.cfg file prior to the ETPro server settings....
WSF|Otter
Founder and Leader
Wolf Strike Force
http://wolfstrikeforce.com
WSF ET Pro Game Server - 69.57.143.174:27960
Founder and Leader
Wolf Strike Force
http://wolfstrikeforce.com
WSF ET Pro Game Server - 69.57.143.174:27960
That might be your problem.set b_defaultskills "0 0 0 0 0 0 0"
If your not changing the default settings, I find it best to not even have the command line in the config.
{Zer0}'s House of Torment 67.19.67.118:27960
{Zer0}'s RTCW server 67.19.67.119:27960
Now Lets Go Kick Some ASS
And thats an Order.
{Zer0}'s RTCW server 67.19.67.119:27960
Now Lets Go Kick Some ASS
And thats an Order.
Nope, none of that works. When I come back it welcomes me, places me on my old team with old class and restores medals, but it does not restore XP or skill level.
-------------------------------------
www.terminal-insanity.com
www.terminal-insanity.com