Mapscripts not working in campaigns

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

Post Reply
hokfo
Posts: 2
Joined: Fri Jun 30, 2006 6:30 am

Mapscripts not working in campaigns

Post by hokfo »

I help ref/admin a small server for a few mates and we're trying to use a few mapscripts but they don't seem to be working. When I test them on single map objective the scripts work (back door dynoable on battery for example) but when in a campaign the scripts no longer work. Am I missing something obvious here or is it a bug?
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

we'll need to see your configs...
hokfo
Posts: 2
Joined: Fri Jun 30, 2006 6:30 am

Post by hokfo »

That's one problem I've just come across, I can't get access to the server.cfg. Our server's with Game2XS and you do all the changing of cvars through their web interface and upload custom stuff through FTP, but I can't access the server.cfg with FTP as its restricted. The way its set up is that anything that's a stock ET/ETPro file is read-only so can't be deleted or changed. We had b_mapscriptdirectory set to "etpromapscripts" but we didn't like the no tank fuel dump. As we wanted to still have battery with the back door blowable and we couldn't change the existing files we made a new folder called "mapscripts" and set b_mapscriptdirectory to "mapscripts". Its fine when first loaded but once a new campaign starts it resets itself to "".

I'll try and get a list of the cvars and their values from the HTML of the config page but it might take a while and I don't know if there's anything else that's getting set behind the scenes.

EDIT :: Configage
b_anticheat 1
b_antiwarp 1
b_bannerlist
b_bannerlocation 128
b_banners 0
b_bannertime 30
b_brokenlogtimestamps 0
b_campaignfile
b_chargetransfer 1
b_cheatkicktime -1
b_cheatlog etpro_cheats.log
b_configs
b_cursefilter
b_cursefilteraction 3
b_customvoicechat 1
b_damagexp 0
b_defaultbantime 300
b_defaultskills
b_distancefalloff 1
b_emptyscript
b_ettv_flags 3
b_fallingbugfix 1
b_fireteamlatchedclass 0
b_fixedphysics 0
b_fixedphysicsfps 125
b_floodmaxcommands 6
b_flushitems 0
b_headshot 0
b_helmetprotection 1
b_instagibdamage 400
b_intermissiontime 60
b_intreadypercent 75
b_levels_battlesense
b_levels_covertops
b_levels_engineer
b_levels_fieldops
b_levels_lightweapons
b_levels_medic
b_levels_soldier
b_locationjustify 0
b_locationmaxchars 25
b_logrealtimestamps 1
b_mapconfigdirectory
b_mapscriptdirectory mapscripts
b_match_warmupjoin 0
b_maxmortarpitch 0
b_moverscale 1.0
b_multiview 0
b_noskillupgrades 0
b_panzerlevelup 1
b_privatemessages 2
b_pronedelay 0
b_realhead 1
b_riflegrenades 1
b_semiadminlevels 0
b_semiadminlist
b_shoutcastpassword
b_shove 80
b_shove_noz 0
b_showclientcmds 0
b_shrug 0
b_spectatornames 1
b_statsaver 1
b_stickycharge 1
b_sv_hitsounds 1
b_watermark
b_watermarkfadeafter -1
b_watermarkfadetime 1.5
b_wolfrof 0
b_xpstopwatch 0
com_hunkmegs 64
dmflags 0
fraglimit 0
g_alliedmaxlives 0
g_allowvote 1
g_altstopwatchmode 0
g_antilag 1
g_autofireteams 1
g_axismaxlives 0
g_banips
g_bluelimbotime 20000
g_complaintlimit 3
g_covertopschargetime 30000
g_disablecomplaints 0
g_dowarmup 1
g_enablebreath 1
g_enforcemaxlives 1
g_engineerchargetime 30000
g_fastres 0
g_fastresmsec 1000
g_filterban 1
g_forcerespawn 0
g_friendlyfire 1
g_gametype 4
g_gravity 800
g_heavyweaponrestriction 100
g_inactivity 240
g_knifeonly 0
g_knockback 1000
g_landminetimeout 1
g_lms_followteamonly 1
g_lms_lockteams 0
g_lms_matchlimit 2
g_lms_roundlimit 3
g_lms_teamforcebalance 1
g_log games.log
g_logsync 1
g_ltchargetime 40000
g_maxgameclients 0
g_maxlives 0
g_medicchargetime 45000
g_mg42arc 0
g_mingameclients 8
g_motd Everyone smells of wee
g_noteamswitching 0
g_podiumdist 80
g_podiumdrop 70
g_quadfactor 3
g_rankings 0
g_redlimbotime 30000
g_showheadshotratio 0
g_smoothclients 1
g_soldierchargetime 20000
g_spectatorinactivity 0
g_speed 320
g_syncronousclients 0
g_teamautojoin 1
g_teamforcebalance 0
g_useralliedrespawntime 0
g_useraxisrespawntime 0
g_usertimelimit 0
g_voicechatsallowed 4
g_voteflags 0
g_warmup 20
g_warmuplatch 1
g_weaponrespawn 5
g_weaponteamrespawn 30
logfile 1
mapcycle set d1 "campaign cmpgn_northafrica ; set nextcampaign vstr d2" set d2 "campaign cmpgn_centraleurope ; set nextcampaign vstr d1" // server doesn't recognise the campaign command when the gamecode isn't running. set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" vstr d_initial
match_latejoin 1
match_minplayers 4
match_mutespecs 0
match_readypercent 100
match_timeoutcount 3
match_timeoutlength 180
match_warmupdamage 1
server_autoconfig 0
server_motd0 Hello
server_motd1 Megg
server_motd2 Smells
server_motd3 of
server_motd4 Wee
server_motd5
sv_allowdownload 1
sv_dl_maxrate 50000
sv_floodprotect 0
sv_fps 20
sv_hostname fatbob
sv_master1 etmaster.idsoftware.com
sv_master2
sv_master3
sv_master4
sv_master5
sv_maxclients 20
sv_maxping 2000
sv_maxrate 15000
sv_minguidage 0
sv_minping 0
sv_minrate 500
sv_onlyvisibleclients 0
sv_padpackets 0
sv_privateclients 0
sv_privatepassword
sv_pure 1
sv_reconnectlimit 3
sv_screenshake 5
sv_showaveragebps 0
sv_showloss 1
sv_timeout 240
sv_wwwbaseurl http://et.otsegolectric.com/
sv_wwwcheckpath
sv_wwwdldisconnected 1
sv_wwwdownload 1
sv_wwwfallbackurl
sv_zombietime 2
team_maxflamers -1
team_maxmg42s -1
team_maxmines 10
team_maxmortars -1
team_maxpanzers -1
team_maxplayers 0
team_maxriflegrenades -1
team_nocontrols 0
timelimit 30
vote_allow_antilag 1
vote_allow_balancedteams 1
vote_allow_cointoss 1
vote_allow_comp 1
vote_allow_config
vote_allow_friendlyfire 1
vote_allow_gametype 1
vote_allow_kick 1
vote_allow_map 1
vote_allow_matchreset 1
vote_allow_mutespecs 1
vote_allow_muting 1
vote_allow_nextmap 1
vote_allow_pub 1
vote_allow_referee 0
vote_allow_shuffleteams 1
vote_allow_surrender 1
vote_allow_swapteams 1
vote_allow_timelimit 1
vote_allow_warmupdamage 1
vote_limit 5
vote_percent 65
pb_sv_autoss 0
pb_sv_autossfrom 60
pb_sv_autossto 1200
pb_sv_changemax 50
pb_sv_changeperiod 999
pb_sv_cqc 1
pb_sv_cvarchangedpulse 99
pb_sv_cvarfreq 6
pb_sv_cvarlogging 1
pb_sv_cvaruserpulse 99
pb_sv_cvarwalk 0
pb_sv_dupnamegrace 0
pb_sv_emptyname 0
pb_sv_extchar 1
pb_sv_gameauth 1
pb_sv_guidrelax 0
pb_sv_httpaddr 0
pb_sv_httpkey
pb_sv_httpmaps
pb_sv_httpport 0
pb_sv_httprefresh 999
pb_sv_kicklen 2
pb_sv_lanmask
pb_sv_logaddr
pb_sv_logceiling 100
pb_sv_lognext 2
pb_sv_logport 0
pb_sv_logpw
pb_sv_logsync 0
pb_sv_loguser
pb_sv_maxcondls 3
pb_sv_maxdlrate 50
pb_sv_msgprefix ^3PunkBuster Server
pb_sv_powerdef 1
pb_sv_powerkicklen 5
pb_sv_powermin 10
pb_sv_scorekick 0
pb_sv_sleep 100
pb_sv_specname
pb_sv_ssceiling 100
pb_sv_sscmd
pb_sv_ssdelay 0
pb_sv_ssfloor 1
pb_sv_ssheight 240
pb_sv_ssnext 1
pb_sv_sspath
pb_sv_sssrate 1
pb_sv_sswidth 320
pb_sv_ssxpct 50
pb_sv_ssypct 50
pb_sv_updategrace 600
pb_sv_user_commands pb_sv_cvar cg_bobup in 0 0.005 pb_sv_cvar cg_bobpitch in 0 0.002 pb_sv_cvar cg_bobroll in 0 0.002 pb_sv_cvar cg_fov in 90 140 pb_sv_cvar cg_shadows in 0 1 pb_sv_cvar cl_maxpackets in 15 100 pb_sv_cvar cl_timenudge in -50 0 pb_sv_cvar r_gamma in 0 2 pb_sv_cvar r_intensity in 0 1.5 pb_sv_cvar r_mapoverbrightbits in 0 2 pb_sv_cvar r_overbrightbits in 0 2 pb_sv_cvar r_picmip in 0 2 pb_sv_cvar rate in 2500 25000 pb_sv_cvar snaps in 20 40 pb_sv_cvar com_maxfps out 0.000001 40 pb_sv_cvar r_uifullscreen in 0 pb_sv_cvar m_pitch out -0.011 0.011 pb_sv_cvar r_flares in 0 1 pb_sv_cvar cg_thirdperson in 0 ;NOTE: the following 2 lines only work for PB Server v0.991 and later pb_sv_task 300 600 "pb_sv_cvarsrch com_maxfps" pb_sv_task 600 600 "pb_sv_bindsrch com_maxfps"
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

b_mapscriptdirectory mapscripts

Not using the default directory?

If you/your players execute pub/comp settings (but vote) for instance it will fubar the scripts as well, unless those scripts are changed to set the mapscriptdirectory.
Post Reply