Custom Campaign map rotation problem...


(risinglegion) #1

I have created a custom campaign that loads and runs fine until it comes to the original “battery” map released with ET. It runs through battery normally, but after the map completes instead of moving on to the next map in the campaign rotation, it instead reloads battery except it toggles the gametype from being 4/campaign, to 3/stopwatch. It then runs through this twice, then forces a team swith.

This is on a linux dedicated server with ETPro 3.1.0, and if requested I can copy and paste my .cfg(s) into a post here, but it shouldn’t be necessary. What I believe is going on is that ETPro has a script for the original maps that is somehow superceding my campaign rotation upon executing the map. Then again, I could be way off base here.

Any ideas, suggestions, or questions are welcome. Thanks in advance.


(CrazyGuy) #2

We do need to see the Campaign and server cfg script.


(DG) #3

“What I believe is going on is that ETPro has a script for the original maps that is somehow superceding my campaign rotation upon executing the map”

check for a mapdefault_battery.cfg in the etpro folders on the server.


(risinglegion) #4

Looked for mapdefault_battery.cfg, and was unable to locate it. Thanks for the suggestion though. The reason I believe the issue isn’t relative to my server.cfg or my campaign script file, is this issue persists after dusting the install entirely and redoing everything from scratch. I have exactly the same issue. The only lowest common denominator I can think of is using the same tool as a source for my configuration files, but it is entirely possible I have repeated the same mistake twice. Here is a copy of my campaign and server configuration scripts respectively.

//Campaign Configuration script
//WATCHDOG

set com_watchdog_cmd “vstr d_initial ; say watchdog found no map running - restarted mapcycle”

//MAP

set b_mapscriptdirectory etpromapscripts
set b_campaignFile “scripts/test.campaign”

set d1 “campaign cmpgn_test ; set nextcampaign vstr d1”

set d_initial “set g_gametyp 4 ; map mp_theriver_2nd ; set nextcampaign vstr d1”
vstr d_initial

//End of Campaign Configuration script

//Server Configuration script
\Basic\
set dedicated “2”
set net_ip “”
set net_port “27960”

\Clients and passwords\

set sv_maxclients “20”
set g_password “”
set sv_privateclients “4”
set sv_privatepassword “*********”
set rconpassword “*********”
set refereePassword “*********”

\DL & RATE\

set sv_maxRate “8000”
set sv_dl_maxRate “32000”
set sv_allowDownload “1”
set sv_wwwDownload “0”
set sv_wwwBaseURL “”
set sv_wwwDlDisconnected “0”
set sv_wwwFallbackURL “”

\MOTD & Hostname\

set sv_hostname “Server”
set server_motd0 “Yada”
set server_motd1 “Yada”
set server_motd2 “Etc.”
set server_motd3 “”
set server_motd4 “”
set server_motd5 “”

\MISC Settings\

set g_heavyWeaponRestriction “40”
set g_antilag “1”
set g_altStopwatchMode “0”
set g_complaintlimit “6”
set g_ipcomplaintlimit “3”
set g_fastres “0”
set g_friendlyFire “1”
set g_minGameClients “0”
set g_maxlives “0”
set g_alliedmaxlives “0”
set g_axismaxlives “0”
set g_teamforcebalance “1”
set g_noTeamSwitching “0”
set g_voiceChatsAllowed “4”
set g_doWarmup “0”
set g_warmup “30”
set g_spectatorInactivity “0”
set sv_floodProtect “1”
set sv_pure “1”
set sv_minping “0”
set sv_maxping “400”
set match_latejoin “1”
set match_minplayers “4”
set match_mutespecs “1”
set match_readypercent “50”
set match_timeoutcount “0”
set match_warmupDamage “1”
set team_maxplayers “0”
set team_nocontrols “1”
set pmove_fixed “1”
set pmove_msec “8”
set team_maxPanzers “-1”
set sv_fps “20”
set g_autofireteams “1”
set logfile “1”
set g_log “server.log”
set g_gametype “4”
set com_hunkmegs “96”
set com_zonemegs “48”
set sv_allowAnonymous “0”

\PunkBuster\

pb_sv_enable

\Extra\

\sets CPU “”
\sets Connection “”
\sets Administrator “”
\sets ICQ “”
\sets MSN “”
\sets MAIL “”
\sets Location “”
\sets URL “”

\LMS\

set g_lms_teamForceBalance “1”
set g_lms_roundlimit “3”
set g_lms_matchlimit “2”
set g_lms_currentMatch “0”
set g_lms_lockTeams “1”
set g_lms_followTeamOnly “1”

\Master Servers\

seta sv_master1 “master.idsoftware.com
seta sv_master2 “master0.gamespy.com
seta sv_master3 “wolfmaster.idsoftware.com
seta sv_master4 “clanservers.net
seta sv_master5 “monster.idsoftware.com

\Votes\
set g_allowVote “1”
set vote_limit “6”
set vote_allow_comp “0”
set vote_allow_gametype “0”
set vote_allow_kick “1”
set vote_allow_map “1”
set vote_allow_matchreset “1”
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 “1”
set vote_allow_warmupdamage “1”
set vote_allow_antilag “0”
set vote_allow_balancedteams “0”
set vote_allow_muting “1”

\Rotation or map\
\exec campaigncycle.cfg
exec test.cfg

\End of Server Configuration script

Thanks again.


(Kendle) #5

And what’s in scripts/test.campaign? Could it be the map after Battery has been incorrectly specified? If you use an invalid map name it just repeats the previous map. (remember, map names are not necessailry the same as the name of the .pk3)


(risinglegion) #6

I wanted to say thank you to everyone who answered, and all suggestions were good ones. Kendle pegged it with I assumed the map’s bsp was the same name as the Pak file for the next map in the rotation. Opening the Pak I saw that the BSP name was different, and upon modifying the campaign configuration rotation to reflect the correct map name, the problem was solved. Thank you again, I sincerely appreciate the assistance.


(Snoman) #7

I too have a problem with my custom campaign, It rotates through 3 separate campaigns in my custom campaign.cfg. The campaign loads but… I get no description. gaaa. I am pretty sure I have all things setup properly. But if you people would like a look at them here they are

(campaign.cfg)
set d1 “campaign cmpgn_gat1 ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_gat2 ; set nextcampaign vstr d3”
set d3 “campaign cmpgn_gat3 ; set nextcampaign vstr d1�
// server doesn’t recognise the campaign command when the gamecode isn’t running yet.
set d_initial “set g_gametype 4 ; map tc_base ; set nextcampaign vstr d2”
vstr d_initial

(campaign files)
{
name “=GAT=!Style #1
shortname “cmpgn_gat1”
description “^?=^9G^0.^?A^0.^9T^?=^7Campaign: 1 of 3Maps:Base, Carnage Canyon, Temple Final, Venice, Base Race,All ARE welcome, have fun. No Whining, or TKs.Find us at:*www.globalassaultteam.com"
maps “tc_base;carnage2;temple_final;venice;bacerace_beta2;”
mapTC 374 374
type “wolfmp”
}
{
name “=GAT=!Style #2
shortname “cmpgn_gat2”
description "^?=^9G^0.^?A^0.^9T^?=^7
Campaign: 2 of 3
Maps:Caen, Beach, Radar, Stalingrad, Tram.
All ARE welcome, have fun. No Whining or TKs. ** Find us at:www.globalassaultteam.com"
maps "caen;et_beach;radar;Stalingrad;et_tram "
mapTC 374 374
type “wolfmp”
}
{
name “=GAT=!Style #3
shortname “cmpgn_gat3”
description "^?=^9G^0.^?A^0.^9T^?=^7Campaign: 3 of 3Maps:Fuel Dump,1944 Beach, Gold Rush, Oasis.
All ARE welcome, have fun. No Whining or TKs. ** Find us at:*www.globalassaultteam.com
maps “fuledump;1944_beach;goldrush;oasis”
mapTC 374 374
type “wolfmp”
}

any help would be nice


(eRRoLfLyNN) #8

How many .pk3 files do you have in the server’s etmain folder, including custom maps and campaign files?


(Snoman) #9

well we just got the server, so there is about maybe 10 at the max. I’ve heard about the pk3 count bug so I try to keep it clean. So I’m just baffeled as to why the description is not showing.


(Snoman) #10

well and now that I removed all but the vital pk3’s now I get “invalid game folder”. But if I reconnect the campaign is running.
grrrr.


(CrazyGuy) #11

maps "caen;et_beach;radar;Stalingrad;et_tram "

Only thing i see wrong ATM


(eRRoLfLyNN) #12

ah missed that, put stalingrad with lower case “s” - should fix it


(Snoman) #13

well I replaced all that stuff and still the darn description does not show it’s self. I think that ET just hates me.


(eRRoLfLyNN) #14

In the third campaign you have
maps “fuledump;1944_beach;goldrush;oasis”

Try changin that spelling and see if it works