pluggable tournament config file format

ET Pro Documentation Project

Moderators: Forum moderators, developers, ET Pro Documentation

Post Reply
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

several admins have suggested etpro support versioning for configs.

this is how the current warmup looks with a certified config:

http://etpro.anime.net/certified.jpg

i'm open to suggestions how to present the versioning information.
<hr>
i'm also open to suggestions how players can verify the config is the most current (or at least, oldest acceptable) version for the league.

one possibility is to verify the most recent version via DNS. a config version could be defined like this:

version 3.0.0.0 twl-sw.teamwarfare.com

the server would DNS lookup the IP for twl-sw.teamwarfare.com.

if the IP returned was e.g. 3.0.0.0 or lower, the server would display 'version 3.0.0.0 : current' or something like that. if however the IP returned was e.g. 3.1.0.0 or 4.0.0.0 or whatnot, the players would be notified the server's config 3.0.0.0 was out of date.

this is completely hypothetical of course. it also means the leagues should have rock solid DNS servers, or else DNS lookup failures would mess up league matches.
BOTA
Posts: 136
Joined: Wed Oct 23, 2002 3:53 am

Post by BOTA »

bani I think that would be difficult.
DNS servers especialy for major providers and gamesites like Clanbase.
Are already running heavy loads. Perhaps there is another way.
For example. Retrieving a file with only the proper version number.
From the server that hosts the league?
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

you forget the aspects of dns caching. dns load is nearly 0, almost nothing.

dns server of one ISP runs on k6/500 cpu, 256mb ram and has ~ 1500 domains on it. cpu is always ~75% idle.

the problem wouldn't be load, but rather network/OS reliability. don't run your DNS server on windows 8)
BOTA
Posts: 136
Joined: Wed Oct 23, 2002 3:53 am

Post by BOTA »

In that case there should not be a problem.
I am involved in a new league being set up.
I run Linux which I have always found more stable for server issues.
In that case I like it :)
CAL-Beumer
Posts: 1
Joined: Sun Feb 15, 2004 4:15 pm

CAL config for critique

Post by CAL-Beumer »

(blatantly ripped off from Palbin's config)
(Edited with moverscale changes, removed Battery-specific weapon list)
(edited to gametype 3 oops...)

Code: Select all

configname CAL
init
&#123;
        setl g_gametype 3
        setl g_doWarmup 1
        setl g_warmup 30       
        set g_minGameClients 2
        setl g_heavyWeaponRestriction 25
        setl g_antilag 1
        setl g_altStopwatchMode 0
        setl g_autofireteams 0
        setl g_complaintlimit 0
        setl g_ipcomplaintlimit 0
        setl g_fastres 0
        setl g_friendlyFire 1
        setl g_maxlives 0
        setl g_alliedmaxlives 0
        setl g_axismaxlives 0
        setl g_teamforcebalance 0
        setl g_noTeamSwitching 0
        setl g_voiceChatsAllowed 99
        setl g_spectatorInactivity 0 
        setl g_speed 320
        setl g_gravity 800
        setl g_knockback 1000       

        setl g_medicChargeTime 45000
        setl g_engineerChargeTime 30000
        setl g_LTChargeTime 40000
        setl g_soldierChargeTime 20000
        setl g_covertopsChargeTime 30000
       
        set g_log CAL_match.log

        setl team_maxMortars 2
        setl team_maxFlamers 2
        setl team_maxMg42s 2
        setl team_maxPanzers 2
        setl team_maxplayers 0
        setl team_nocontrols 0
        setl team_maxMines 10       

        setl match_latejoin 1
        setl match_minplayers 2
        setl match_mutespecs 0
        setl match_readypercent 100
        setl match_timeoutcount 2
        setl match_timeoutlength 120
        set match_warmupDamage 2

        setl sv_privateclients  0       
        setl sv_maxRate 25000
        setl sv_dl_maxRate 42000
        setl sv_floodProtect 0
        setl sv_pure 1         
        setl sv_minping 0
        setl sv_maxping 0

        setl pmove_fixed 0
        setl pmove_msec 8

        setl g_allowVote 1
        setl vote_limit 99
        setl vote_percent 51
        setl vote_allow_comp 0
        setl vote_allow_gametype 0
        setl vote_allow_kick 1
        setl vote_allow_map 1
        setl vote_allow_matchreset 1
        setl vote_allow_mutespecs 1
        setl vote_allow_nextmap 0
        setl vote_allow_pub 0
        setl vote_allow_referee 1
        setl vote_allow_shuffleteams 0
        setl vote_allow_swapteams 1
        setl vote_allow_friendlyfire 0
        setl vote_allow_timelimit 1
        setl vote_allow_warmupdamage 1
        setl vote_allow_antilag 0
        setl vote_allow_balancedteams 0
        setl vote_allow_muting 1
       

         setl b_headshot 0
        setl b_floodMaxCommands 6     
        setl b_allowlandminehax 0       
        setl b_cursefilteraction 1       
        setl b_damagexp 0         
        setl b_customVoiceChat 1       
        setl b_banners 0
        setl b_watermark ""
        setl b_semiAdminLevels 0       
        setl b_shove 0
        setl b_statsaver 1
        setl b_intermissiontime 30
        setl b_intreadypercent 100       
        setl b_privatemessages 0
        setl b_match_warmupjoin 0
        setl b_xpstopwatch 0
        setl b_multiview 1
        setl b_stickycharge 1
        setl b_spectatornames 1
        setl b_panzerlevelup 1
        setl b_noskillupgrades 0         
        setl b_defaultskills ""         
        setl b_levels_battlesense ""
        setl b_levels_engineer ""
        setl b_levels_medic ""
        setl b_levels_fieldops ""
        setl b_levels_lightweapons ""
        setl b_levels_soldier ""
        setl b_levels_covertops ""

        setl b_mapscriptdirectory etpromapscripts
        setl b_mapconfigdirectory ""

        setl b_anticheat 0
        setl b_cheatkicktime -1
        setl b_cheatlog CAL_cheatlog

        command "pb_sv_enable"
        command "pb_sv_kicklen 1"         
        command "pb_sv_cvarempty"         
        command "sv_cvarempty"       
       
        command "sv_cvar rate in 5000 25000"
        command "sv_cvar snaps in 20 40"
        command "sv_cvar cl_maxpackets in 30 100"
        command "sv_cvar cl_timenudge eq 0"
        command "sv_cvar cl_freelook eq 1"
        command "sv_cvar cg_bobup in -0.005 0.005"
        command "sv_cvar cg_fov in 90 120"
        command "sv_cvar cg_shadows in 0 1"       
       
        command "sv_cvar m_pitch out -0.015 0.015"
        command "sv_cvar m_yaw out -0.022 0.022"         
       
        command "sv_cvar r_clampToEdge EQ 1"
       
        command "sv_cvar r_flares in 0 1"             
        command "pb_sv_cvar r_nv_fogdist_mode INCLUDE NV"
        command "sv_cvar r_primitives IN 0 2"
        command "sv_cvar cg_errordecay eq 100"
&#125;
map default
&#123;
        setl g_userTimeLimit 0
        setl g_useraxisrespawntime 0
        setl g_useralliedrespawntime 0
        command "forcecvar r_drawfoliage 1"
	setl team_maxFlamers 2
	setl team_maxMG42s 2
	setl team_maxMortars 2
	setl team_maxPanzers 2
	setl b_moverscale 1
&#125;
map radar
&#123;
        setl g_userTimeLimit 10
        command "forcecvar r_drawfoliage 0"
&#125;
map railgun
&#123;
        setl g_userTimeLimit 15
        setl g_useralliedrespawntime 30
&#125;
map fueldump
&#123;
        setl g_userTimeLimit 15
	setl b_moverscale 1.5
&#125;
map oasis
&#123;
        setl g_userTimeLimit 15
        setl g_useralliedrespawntime 15
&#125;
map battery
&#123;
        setl g_userTimeLimit 10
&#125;
map goldrush
&#123;
        setl g_userTimeLimit 20
	setl b_moverscale 1.25
&#125; 
map supplydepot
&#123;
        setl g_userTimeLimit 15
&#125; 
Last edited by CAL-Beumer on Wed Mar 31, 2004 12:17 pm, edited 2 times in total.
User avatar
Palbin
Posts: 103
Joined: Tue Oct 07, 2003 2:53 pm

Re: CAL config for critique

Post by Palbin »

CAL-Beumer wrote:(blatantly ripped off from Palbin's config)
Its hard to mess with perfection ;)
CAL-Beumer wrote:

Code: Select all

 map default
&#123;
        setl g_userTimeLimit 0
        setl g_useraxisrespawntime 0
        setl g_useralliedrespawntime 0
        command "forcecvar r_drawfoliage 1"
	setl team_maxFlamers 2
	setl team_maxMG42s 2
	setl team_maxMortars 2
	setl team_maxPanzers 2

&#125;    
map radar
&#123;
        setl g_userTimeLimit 10
        command "forcecvar r_drawfoliage 0"
&#125;
map railgun
&#123;
        setl g_userTimeLimit 15
        setl g_useralliedrespawntime 30
 	setl b_moverscale 1
&#125;
map fueldump
&#123;
        setl g_userTimeLimit 15
	setl b_moverscale 1.5
&#125;
map oasis
&#123;
        setl g_userTimeLimit 15
        setl g_useralliedrespawntime 15
&#125;
map battery
&#123;
        setl g_userTimeLimit 10
	setl team_maxFlamers 2
	setl team_maxMG42s 2
	setl team_maxMortars 1
	setl team_maxPanzers 1
&#125;
map goldrush
&#123;
        setl g_userTimeLimit 20
	setl b_moverscale 1.25
&#125; 
map supplydepot
&#123;
        setl g_userTimeLimit 15
	setl b_moverscale 1
&#125; 
You should take the b_moverscale 1 out of your map specific configs and just put it in map default and leave the 1.25 and 1.5. The reason is if you don't if somone goes from say fueldump to some custom and they want to use cal settings the mover speed will be messed up. Will also be easier if you happen to add another map with a mover. Maybe you won't have to release another config.
Palbin-OGL
www.metamule.com
OGL Admin ET Campaign & SW Ladder / [url=irc://irc.gamesurge.net/ogl]#OGL[/url] / www.worldogl.com
User avatar
D.Devil
Posts: 11
Joined: Sun Mar 28, 2004 3:06 am
Location: Stuttgart // Germany

Post by D.Devil »

Hm.....I seem 2 B blind...

I really can't find the damagebased XP cvar...I thougt it'll B included in Pro3....where is it?
An I'm not sure how it's done now in Pro3...is it with the stupid 3sec-respawn-noxp-4-enemy :> ?
User avatar
defragga
Posts: 162
Joined: Sun Mar 21, 2004 3:54 am
Location: Austria

Post by defragga »

add this:

Code: Select all

set b_damagexp 1
to your server config, then damage based XP is enabled, ... and what ya mean with 3 sex respawn no xp 4 enemies? o_O
blaz
Posts: 67
Joined: Sat Sep 13, 2003 6:26 am

Post by blaz »

Palbin wrote:configname OGL-SW
init
{
setl g_gametype 4
setl g_doWarmup 1
setl g_warmup 30
set g_minGameClients 2
...
:roll:

Beumer might want to adjust that too? :lol:
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

bani wrote:we now have an alternative to the pb_sv_cvar r_nv_fogdist_mode INCLUDE NV issue.

sv_cvar <cvarname> INCLUDE <substring> <default>
sv_cvar <cvarname> EXCLUDE <substring> <default>

example:
sv_cvar r_nv_fogdist_mode INCLUDE NV GL_EYE_RADIAL_NV

this requires clients to have "NV" as a substring somewhere in their r_nv_fogdist_mode cvar. if it's missing, the server forces them to the default of GL_EYE_RADIAL_NV.

the EXCLUDE mode works the opposite. the player's cvar must not contain the substring, or the server will force the defined default.

this should eliminate the need for pb cvar enforcement for most admins, i think...
AWESOME man, cheers. Not only does this mean we can turn off PB and hopefully give low-bandwidth players a break, but it looks like you found a safe snap-to value!

I'll using that for sure.
User avatar
Palbin
Posts: 103
Joined: Tue Oct 07, 2003 2:53 pm

Post by Palbin »

BANI is the man :)
Palbin-OGL
www.metamule.com
OGL Admin ET Campaign & SW Ladder / [url=irc://irc.gamesurge.net/ogl]#OGL[/url] / www.worldogl.com
blaz
Posts: 67
Joined: Sat Sep 13, 2003 6:26 am

Post by blaz »

is it wise to completely disable pb?

afaik the anticheat db's have to be manually updated by the server admins.

pb auto-updates itself (usually).

shouldn't the best solution to cheating be to use them both?
User avatar
Palbin
Posts: 103
Joined: Tue Oct 07, 2003 2:53 pm

Post by Palbin »

bani wrote: [2:05pm] <[av]bani> use pb for anticheat, not for cvar limits anymore
[2:05pm] <[av]bani> imo
[2:06pm] <[av]bani> only thing preventing us from replacing pb is screenshot and autoupdate ...
that is what bani had to say :)
Palbin-OGL
www.metamule.com
OGL Admin ET Campaign & SW Ladder / [url=irc://irc.gamesurge.net/ogl]#OGL[/url] / www.worldogl.com
User avatar
Chairman Kaga
Posts: 64
Joined: Mon Aug 04, 2003 9:00 pm

Post by Chairman Kaga »

bani wrote:[2:06pm] <[av]bani> only thing preventing us from replacing pb is screenshot and autoupdate ...
And those never work right, so we might as well ditch PB :)
Steve (aka Chairman Kaga)
Proud member of Major League Killers
=MLK= International House of Panzer: 64.185.229.60:27960
BOTA
Posts: 136
Joined: Wed Oct 23, 2002 3:53 am

Post by BOTA »

They work well for me, I will use both for now.
Post Reply