Custom Maps & Campaigns


(Raffle) #1

Hi all,

I don’t know if this is the best place to post this problem but I know there are some people that run servers on this forum as well as a lot of people who make custom maps :smiley: I admin a server where we have 10-map campaign and the current rotation is goldrush, fuel dump, oasis, battery, caen and then repeated a 2nd time. Over the past week our server has crashed 3 times on the last map of the campaign (caen) when Axis has the docs and they are at the boat. The crash is so severe that our server watch script doesn’t restart the server and it has to be manually restarted. With it happening a 3rd time, I have pretty much decided against there being any coincidence between the crashes, but it is odd that this problem is all of the sudden occurring considering we have had the map in the rotation for close to a month.

So my questions are (a) are there known problems with running a campaign and ending it with a custom map, (b) if not, are there known problems with the map, caen, and © if neither of the first 2 questions apply, is there something else I may be overlooking on the server side?

Thanks in advance for all your help!

Raffle


(Fenris) #2

a. No
b. Not to my (limited) knowledge, had an earlier version on my rotation before, now running the latest version (afaik)
c. Hopefully you’ll get someone more qualified to answer, but I’d guess 10 maps in one campaign is pushing the limit of what the server will handle.


(Superfreak) #3

Usually if you see a crash on the last map of a campaign, it’s an issue with your campaign rotation. It can also be a flaw in the custom .pk3 file…couple quick things to check:

An example of a working campaign cycle:

set d1 “campaign bzlarge1128 ; set nextcampaign vstr d1”
set d_initial “set g_gametype 4;map 2hide;campaign bzlarge1128;set nextcampaign vstr d1”
vstr d_initial

Second line - if ‘map 2hide’ in the example above was an invalid mapname, that’ll crash it out - but you probably wouldn’t get the server to start at all.

In the custom .pk3 file, the most common error I’ve seen is putting a ; at the end of the map list:
{
name “Campaign name”
shortname “mycampaign”
description “Campaign description, includes maps foo1 foo2”
maps “foo1;foo2;foo3;foo4”
mapTC 374 374
type “wolfmp”
}

In the above example, if the ‘maps’ line reads “foo1;foo2;foo3;foo4;” , it will frequently crash out…I think it’s expecting another mapname after the last semicolon.

Hope one of these helps
Superfreak[Ballz]