Resolved Launching server with Custom Maps and Admin Panel - Sample Config Doesn't Work

Users who are viewing this thread

Version number
v1.2.7
Branch
Main
Modded/unmodded
Unmodded
Summary:
I'm attempting to launch a server on my Windows PC that has custom maps and the new Admin Panel.

I used the add_map_to_usable_maps option on the server config with the vanilla maps, this worked but then the server would fail to launch when adding custom maps to the same config in the same fashion that the Vanilla maps were added (yes I only added them into the Multiplayer folder (SceneObj), I reverted the config file I was using and then the server wouldn't even launch, bringing up the "Disconnected from Custom Battle Server Manager" error.

I eventually gave up and completely uninstalled and reinstalled the server, I ran the unedited sample config called ds_config_sample_skirmish_long_warmup_w_admin_panel. I still get the "Disconnected from Custom Battle Server Manager" error and the server fails to launch... The standard ds_config_sample_battle works fine but that doesn't achieve what I'm after which is a server running with custom maps and a working Admin Panel.

I also updated and changed my Auth Token, this made no difference but it's clearly not the issue as the standard sample battle config file works and launches.

Does anyone happen to have a config file setup that works for them and gets the Admin panel going?

How to Reproduce:
Install Bannerlord Dedicated Server v1.2.7 and run the sample config ds_config_sample_skirmish_long_warmup_w_admin_panel using the startup command.

Startup Command:

.\DedicatedCustomServer.Starter.exe /port 7216 /dedicatedcustomserverconfigfile ds_config_sample_skirmish_long_warmup_w_admin_panel.txt /dedicatedcustomserverauthtoken [token] _MODULES_*Native*Multiplayer*_MODULES_

Media:
2OVRQ2V.png


Sample Config File Text:
ServerName Skirmish Long Warmup
GameType Skirmish
Map mp_skirmish_map_002f
add_map_to_automated_battle_pool mp_skirmish_map_002f
set_automated_battle_count -1
CultureTeam1 khuzait
CultureTeam2 battania
RespawnPeriodTeam1 5
RespawnPeriodTeam2 5
RoundPreparationTimeLimit 25
MaxNumberOfPlayers 12
AutoTeamBalanceThreshold 0
FriendlyFireDamageMeleeFriendPercent 50
FriendlyFireDamageMeleeSelfPercent 0
FriendlyFireDamageRangedFriendPercent 50
FriendlyFireDamageRangedSelfPercent 0
MinNumberOfPlayersForMatchStart 0
SpectatorCamera 6
RoundTotal 5
MapTimeLimit 8
RoundTimeLimit 420
WarmupTimeLimit 60
AdminPassword 123
add_map_to_usable_maps mp_skirmish_map_002f Skirmish
add_map_to_usable_maps mp_skirmish_map_003_skinc Skirmish
add_map_to_usable_maps mp_skirmish_map_010 Skirmish
add_map_to_usable_maps mp_siege_map_009 Siege
add_map_to_usable_maps mp_siege_map_010 Siege
add_map_to_usable_maps mp_siege_map_011_b Siege
add_map_to_usable_maps mp_tdm_map_001 TeamDeathmatch
add_map_to_usable_maps mp_tdm_map_001_spring TeamDeathmatch
add_map_to_usable_maps mp_tdm_map_003 TeamDeathmatch
add_map_to_usable_maps mp_sergeant_map_001 Captain
add_map_to_usable_maps mp_sergeant_map_005 Captain
add_map_to_usable_maps mp_sergeant_map_007 Captain
add_map_to_usable_maps mp_duel_mode_map_004 Duel
add_map_to_usable_maps mp_battle_map_001 Battle
add_map_to_usable_maps mp_battle_map_002 Battle
add_map_to_usable_maps mp_battle_map_003 Battle

enable_automated_battle_switching
start_game_and_mission
 
Last edited:
Update for the above:
I've done some more tinkering and found that the config works when enable_automated_battle_switching is removed from the list. This is a bit of a hassle as that command is required for the Admin Panel to work. Through my testing, I've had my game crash whenever I select the Admin Panel if it's not set up exactly how the documentation says here: https://moddocs.bannerlord.com/multiplayer/hosting_server/#:~:text=Please note that if,on the Admin Panel (including enable_automated_battle_switching).
Media:
V4ueXM8.png

ptqOHFn.png


Crash Report Number: 2023-12-15_09.00.44_30efd98e283778b8487a278955927bf7
 
Last edited:
The issue you have reported has been forwarded to our QA team for further investigation. We might need additional information regarding this issue, such as screenshots or videos, save files or dump reports. Thanks for reporting and sorry for any inconvenience!
 
The issue you have reported has been forwarded to our QA team for further investigation. We might need additional information regarding this issue, such as screenshots or videos, save files or dump reports. Thanks for reporting and sorry for any inconvenience!
Update for the situation: I noticed a 200MB update occurred for my game client, prompting me to test again. I launched the server using the config below and can confirm it launched allowing me to connect accessing the admin panel.

Update for the above:
I've done some more tinkering and found that the config works when enable_automated_battle_switching is removed from the list. This is a bit of a hassle as that command is required for the Admin Panel to work. Through my testing, I've had my game crash whenever I select the Admin Panel if it's not set up exactly how the documentation says here: https://moddocs.bannerlord.com/multiplayer/hosting_server/#:~:text=Please note that if,on the Admin Panel.
Media:
V4ueXM8.png

ptqOHFn.png


Crash Report Number: 2023-12-15_09.00.44_30efd98e283778b8487a278955927bf7
I will note that this is still an issue ^. If the config isn't set up exactly as mentioned here: https://moddocs.bannerlord.com/multiplayer/hosting_server/#:~:text=Please note that if,on the Admin Panel then the game crashes right when you click on Admin Panel.


Working Config File
ServerName OCE (AU) | Realm Server Test | www.therealmoceania.com
GameType Battle
AdminPassword [password]
Map mp_skirmish_map_002f
add_map_to_automated_battle_pool mp_skirmish_map_020
add_map_to_automated_battle_pool mp_skirmish_map_008_skin
add_map_to_automated_battle_pool mp_skirmish_map_014
add_map_to_automated_battle_pool mp_skirmish_map_002f
add_map_to_automated_battle_pool mp_skirmish_map_007
add_map_to_automated_battle_pool mp_skirmish_map_010
add_map_to_automated_battle_pool mp_skirmish_map_014
add_map_to_automated_battle_pool mp_sergeant_map_011
add_map_to_automated_battle_pool mp_skirmish_map_008_skin
add_map_to_automated_battle_pool mp_skirmish_map_007
add_map_to_automated_battle_pool mp_skirmish_map_009
add_map_to_automated_battle_pool mp_sergeant_map_007
add_map_to_automated_battle_pool mp_sergeant_map_018
add_map_to_usable_maps mp_skirmish_map_020 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_008_skin Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_014 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_002f Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_007 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_010 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_014 Skirmish, Battle
add_map_to_usable_maps mp_sergeant_map_011 Battle, Sergeant
add_map_to_usable_maps mp_skirmish_map_008_skin Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_007 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_009 Skirmish, Battle
add_map_to_usable_maps mp_sergeant_map_007 Battle, Sergeant
add_map_to_usable_maps mp_sergeant_map_018 Battle, Sergeant
CultureTeam1 battania
CultureTeam2 battania
MaxNumberOfPlayers 500
AutoTeamBalanceThreshold 0
MinNumberOfPlayersForMatchStart 0
FriendlyFireDamageMeleeFriendPercent 80
FriendlyFireDamageRangedFriendPercent 40
FriendlyFireDamageMeleeSelfPercent 0
FriendlyFireDamageRangedSelfPercent 60
RoundPreparationTimeLimit 15
RoundTotal 9
MapTimeLimit 10
RoundTimeLimit 420
WarmupTimeLimit 5
UnlimitedGold false
SingleSpawn true
enable_automated_battle_switching
set_automated_battle_count -1
start_game_and_mission
 
Last edited:
Are you still experiencing this issue on the latest version of the game?
Server launching and working with the admin panel using the following config.txt:

ServerName OCE (AU/NZ) | Sunday Battle | www.bannerlord.au
GameType Battle
AdminPassword [pass]

Map mp_skirmish_map_002f

add_map_to_automated_battle_pool mp_skirmish_map_020
add_map_to_automated_battle_pool mp_skirmish_map_002f
add_map_to_automated_battle_pool mp_skirmish_map_010
add_map_to_automated_battle_pool mp_skirmish_map_014
add_map_to_automated_battle_pool mp_sergeant_map_011
add_map_to_automated_battle_pool mp_skirmish_map_008_skin
add_map_to_automated_battle_pool mp_skirmish_map_007
add_map_to_automated_battle_pool mp_skirmish_map_009
add_map_to_automated_battle_pool mp_sergeant_map_007
add_map_to_automated_battle_pool mp_sergeant_map_018
add_map_to_automated_battle_pool mp_siege_map_009
add_map_to_automated_battle_pool mp_siege_map_010
add_map_to_automated_battle_pool mp_siege_map_012
add_map_to_automated_battle_pool mp_siege_map_012_w
add_map_to_automated_battle_pool mp_siege_map_003
add_map_to_automated_battle_pool mp_siege_map_004
add_map_to_automated_battle_pool mp_siege_map_004_rs
add_map_to_automated_battle_pool mp_siege_map_005
add_map_to_automated_battle_pool mp_siege_map_005_winter
add_map_to_automated_battle_pool mp_siege_map_006
add_map_to_automated_battle_pool mp_siege_map_007_battania
add_map_to_automated_battle_pool mp_siege_map_007_battania_w
add_map_to_automated_battle_pool mp_siege_map_007_winter

add_map_to_usable_maps mp_skirmish_map_020 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_002f Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_010 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_014 Skirmish, Battle
add_map_to_usable_maps mp_sergeant_map_011 Battle, Sergeant
add_map_to_usable_maps mp_skirmish_map_008_skin Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_007 Skirmish, Battle
add_map_to_usable_maps mp_skirmish_map_009 Skirmish, Battle
add_map_to_usable_maps mp_sergeant_map_007 Battle, Sergeant
add_map_to_usable_maps mp_sergeant_map_018 Battle, Sergeant
add_map_to_usable_maps mp_siege_map_009 Siege
add_map_to_usable_maps mp_siege_map_010 Siege
add_map_to_usable_maps mp_siege_map_012 Siege
add_map_to_usable_maps mp_siege_map_012_w Siege
add_map_to_usable_maps mp_siege_map_003 Siege
add_map_to_usable_maps mp_siege_map_004 Siege
add_map_to_usable_maps mp_siege_map_004_rs Siege
add_map_to_usable_maps mp_siege_map_005 Siege
add_map_to_usable_maps mp_siege_map_005_winter Siege
add_map_to_usable_maps mp_siege_map_006 Siege
add_map_to_usable_maps mp_siege_map_007_battania Siege
add_map_to_usable_maps mp_siege_map_007_battania_w Siege
add_map_to_usable_maps mp_siege_map_007_winter Siege

CultureTeam1 vlandia
CultureTeam2 empire

MaxNumberOfPlayers 500
AutoTeamBalanceThreshold 0
MinNumberOfPlayersForMatchStart 0

FriendlyFireDamageMeleeFriendPercent 80
FriendlyFireDamageRangedFriendPercent 40
FriendlyFireDamageMeleeSelfPercent 0
FriendlyFireDamageRangedSelfPercent 60

RoundPreparationTimeLimit 15
RoundTotal 9
MapTimeLimit 10
RoundTimeLimit 420
WarmupTimeLimit 5

UnlimitedGold false

SingleSpawn true

enable_automated_battle_switching
set_automated_battle_count -1
start_game_and_mission
 
Back
Top Bottom