assaultcube / AC

AssaultCube
859 stars 220 forks source link

[release_1.3_beta3] Server not loading expected gamemodes #415

Closed SRV-97 closed 2 years ago

SRV-97 commented 2 years ago

Linux server only loads KTF gamemode for enabled maps. Expected gamemodes are CTF-HTF-KTF-TKTF from current maprot.cfg :

//DISABLE OLD MAPS
ac_alcove ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_aqueous ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_arabian ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_arctic ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_arid ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_avenue ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_complex ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_depot ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_desert ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_desert2 ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_desert3 ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_douze ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_edifice ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_elevation ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_gothic ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_industrial ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_ingress ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_keller ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_lainio ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_lotus ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_mines ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_outpost ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_power ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_rattrap ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_scaffold ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_shine ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_snow ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_stellar ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_sunset ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_swamp ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_terros ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_toxic ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_urban ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_venison ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_wasteland ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_werk ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv manual:1 restrict:9

//FOR NEW MAPS DISABLE ALL MODES EXCEPT CTF-HTF-KTF-TKTF
ac_africa dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_arctic2 dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_coal dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_dusk dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_kazemat dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_nocturne dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_origin dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
ac_rampart dm|lss|osok|pf|surv|tdm|tlss|tosok|tpf|tsurv manual:1 restrict:9
flowtron commented 2 years ago

The new combo style of the map rotation configuration takes some getting used to; we need to update the documentation for it too. I tried around and I think this config should work for you:

* ctf|dm|htf|ktf|lss|osok|pf|surv|tdm|tktf|tlss|tosok|tpf|tsurv time:10 mintime:4 maxtime:30 minplayers:1 maxplayers:16 maxteamsize:12 teamthreshold:4 manual:1 restrict:9

ac_africa ctf teamthreshold:4 manual:0 restrict:0
ac_arctic2 ctf teamthreshold:4 manual:0 restrict:0
ac_coal ctf teamthreshold:4 manual:0 restrict:0
ac_dusk ctf teamthreshold:4 manual:0 restrict:0
ac_kazemat ctf teamthreshold:4 manual:0 restrict:0
ac_nocturne ctf teamthreshold:4 manual:0 restrict:0
ac_origin ctf teamthreshold:4 manual:0 restrict:0
ac_rampart ctf teamthreshold:4 manual:0 restrict:0

ac_africa htf teamthreshold:16 manual:0 restrict:0
ac_arctic2 htf teamthreshold:16 manual:0 restrict:0
ac_coal htf teamthreshold:16 manual:0 restrict:0
ac_dusk htf teamthreshold:16 manual:0 restrict:0
ac_kazemat htf teamthreshold:16 manual:0 restrict:0
ac_nocturne htf teamthreshold:16 manual:0 restrict:0
ac_origin htf teamthreshold:16 manual:0 restrict:0
ac_rampart htf teamthreshold:16 manual:0 restrict:0

ac_africa ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_arctic2 ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_coal ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_dusk ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_kazemat ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_nocturne ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_origin ktf|tktf teamthreshold:6 manual:0 restrict:0
ac_rampart ktf|tktf teamthreshold:6 manual:0 restrict:0

The first line makes some initial settings, adapt to your liking - the "manual:1 restrict:9" makes ALL maps be forbidden, then the three blocks define the scenarios for the gamemodes you want to allow, so they set whatever is needed (in this case only teamthreshold) and undo the global manual/restrict settings.

SRV-97 commented 2 years ago

Thanks, it's much better! Description in maprot.cfg may be sufficient once you read it from the right perspective.