Callvote config reset ?

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
Fenris
Posts: 49
Joined: Fri Oct 31, 2003 11:54 pm
Location: Stockholm, Sweden

Callvote config reset ?

Post by Fenris »

Ok, so now we have an excellent way for non-rcon users to callvote a league config but I can't find any way to "undo" this, what I mean is if there's any way to do sort of a "/callvote config reset" to reset the server back to default (public) settings without rcon or restart ?

Or could you "cheat" and make a reset.config that would only execute the "quit" command (provided you had the server set to restart itself upon quit of course) ?

Or is this already available and I've just missed something ?
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

What's wrong with allowing a vote for 'public settings' in your .config? :?

Or if you're using a league .config that has that set to 0, what's wrong with making another .config with your public settings in, and allowing votes to that?
Fenris
Posts: 49
Joined: Fri Oct 31, 2003 11:54 pm
Location: Stockholm, Sweden

Post by Fenris »

Nothing wrong with that of course, just that I then have to check the league config's every setting to see what they might possibly change, and over again in case the config is updated, and for each config used, which will of course work but would take a little more work compared to a "reset" function :)
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

True, I see.

What would you reset to? The cvar values pre the league config vote?
blaz
Posts: 67
Joined: Sat Sep 13, 2003 6:26 am

Post by blaz »

just make a "public.config" containing...

Code: Select all

]ref pub

set g_medicChargeTime 45000
set g_engineerChargeTime 30000
set g_LTChargeTime 40000
set g_soldierChargeTime 20000
set g_covertopsChargeTime 30000
set g_landminetimeout 1
set g_friendlyFire 1
set g_currentRound 0
set g_altStopwatchMode 0
set g_userTimeLimit 0
set g_userAlliedRespawnTime 0
set g_userAxisRespawnTime 0
set g_swapteams 0
set g_speed 320
set g_gravity 800
set g_knockback 1000
set g_fastres 0
set match_mutespecs 0
set match_readypercent 100
set match_timeoutcount 3
set match_timeoutlength 180
set g_lms_currentMatch 0
set g_axiswins 0
set g_alliedwins 0
set g_axismapxp 0
set g_alliedmapxp 0
set g_altStopwatchMode 0
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_doWarmup 0
set g_maxlives 0
set g_teamforcebalance 1
set g_lms_teamForceBalance 1
set g_voicechatsallowed 50
set g_warmup 60
set match_latejoin 1
set match_mutespecs 1
set match_timeoutcount 0
set match_warmupDamage 0
set team_maxplayers 0
set team_nocontrols 1
set sv_allowDownload 1
set sv_floodProtect 0
set sv_fps 20
set vote_limit 5
set b_mapscriptdirectory 
set b_matchmode 0
it doesn't catch everything the league configs set..

you'd have to add etpro server cvars and g_heavyweaponrestriction (what i noticed was missing first)..

as for enforcing cvars.. i'd enforce what the leagues enforce.

once you make *YOUR* public.config.. you wouldnt have to change it much.. that is unless bani creates a new serverside cvar.
User avatar
Lekdevil.NL
Posts: 89
Joined: Fri Sep 12, 2003 8:59 am

Post by Lekdevil.NL »

I'd say that making your server etconfig.cfg read-only and using "quit" is the only way to make sure that you reset everything. There's always some new cvar that you might overlook otherwise.
sneaky1
Posts: 249
Joined: Wed Oct 16, 2002 6:05 pm
Contact:

Post by sneaky1 »

even simpler. to change it back to your custom config, just execute customconfig.cfg.

sign into rcon;

/rcon exec server.cfg
Success is only gained through failure.
Come check out the new bani league at:
http://www.bani-league.com
Post Reply