Author Topic: Server using wrong map size?  (Read 390 times)

Offline icarus86

  • Newbie
  • *
  • Posts: 17
    • View Profile
Server using wrong map size?
« on: 23-12-2014, 07:12:27 »
Ive made a cooperative dedicated server using 64 player sized maps BUT the following maps are only loading 32 player versions:

Invasion of crete

Pointe du hoc

Mount Olympus

Pointe du hoc is unplayable in particular as all the points immidiatly drain out for the us side.

Offline gavrant

  • (Almost) retired dev
  • Developer
  • ******
  • Posts: 598
    • View Profile
Re: Server using wrong map size?
« Reply #1 on: 23-12-2014, 13:12:49 »
The way you launched the coop server - was it via FH2ServerLauncher.exe?
If yes, you encountered the following feature of vBF2 dedicated servers: the launcher does not explicitly say what layers of the selected maps to play. In that case the server chooses the layer based on the MaxPlayers setting. The problem is that for coop the MapPlayers upper limit is 32, no matter what the setting in the launcher says. So if a map has a 32 layer, you always get the 32 layer in coop, otherwise the server defaults to the 64 layer.

To circumvent this behavior, instead of using the launcher try running the fh2_w32ded.exe server via command line with your custom map list edited by hand, for example:
Quote
maplist.append pointe_du_hoc gpm_coop 64

An example of the command line:
Quote
Fh2_w32ded.exe +ai 1 +gameMode gamemode +config "@HOME@/ServerConfigs/_serverSettings.con" +mapList "<Path to your map list>" +modPath mods/fh2 +ignoreAsserts 1

Offline icarus86

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Server using wrong map size?
« Reply #2 on: 23-12-2014, 20:12:02 »
Ah, that makes sense then, i may need to do the whole thing by hand by this point as it seems like alot more options aren't going trough, i still have people waiting for incapacitation time despite disabling it.