Resolved Unable to find MultiplayerForcedAvatars after full release

Users who are viewing this thread

Version number
1.0.0.3624
Branch
Main
Modded/unmodded
Unmodded
Summary: I've hosted Warband servers for a few years now and started hosting my own private server after the files were released publicly. I had my servers working fine up until the full release. I use a bat file to launch the server with certain command arguments and have been trying to troubleshoot all day. Attempted to start up the server using my unedited bat files earlier today and received a message about not being able to connect to the multiplayer server manager or something similar. Figured I had to update my server files and did so. Now the new error I get is listed below in the spoiler and haven't been able to get a different one. I have uninstalled and reinstalled all of the associated files to bannerlord and have taken my config files and startup commands to be as basic as they can be with no luck. I see others have their private servers up, so not sure if this is specific to me or others.

How to Reproduce: Download new dedicated server files and attempt to launch the server with your normal means.
Media (Screenshots & Video):
[18:25:54.223] Mount and Blade II Bannerlord Console Started...
[18:25:54.232] 25 Oct 2022 Tuesday 18:25 Greenwich Standard Time
[18:25:54.232] Build Version: 3624
[18:25:54.233] Loading xml file: $BASE/Modules/DedicatedCustomServerHelper/SubModule.xml.
[18:25:54.233] Loading xml file: $BASE/Modules/Multiplayer/SubModule.xml.
[18:25:54.234] Loading xml file: $BASE/Modules/Native/SubModule.xml.
[18:25:54.234] Loading xml file: $BASE/Modules/Native/SubModule.xml.
[18:25:54.235] Loading xml file: $BASE/Modules/Multiplayer/SubModule.xml.
[18:25:54.235] Loading xml file: $BASE/Modules/DedicatedCustomServerHelper/SubModule.xml.
[18:25:54.243] Command Args: /dedicatedcustomserverconfigfile tdm_config.txt /dedicatedcustomserverauthtoken [server token removed] _MODULES_*Native*Multiplayer*DedicatedCustomServerHelper*_MODULES_ /dedicatedcustomserver 7210 USER 0 /playerhosteddedicatedserver
[18:25:54.244] try_to_get_cache_save_privilege result : 1
[18:25:54.244] Loading xml file: $BASE/Modules/Native/ModuleData/project.mbproj.
[18:25:54.244] reading physics_material xml files
[18:25:54.244] file: ModuleData/physics_materials.xml
[18:25:54.244] Loading xml file: $BASE/Modules/Native/ModuleData/physics_materials.xml.
[18:25:54.244] Loading xml file: $BASE/Modules/Native/ModuleData/project.mbproj.
[18:25:54.245] reading physics_material xml files
[18:25:54.245] file: ModuleData/physics_materials.xml
[18:25:54.245] Loading xml file: $BASE/Modules/Native/ModuleData/physics_materials.xml.
[18:25:54.247] Loading xml file: $BASE/Modules/Native/ModuleData/project.mbproj.
[18:25:54.248] reading module_sound xml files
[18:25:54.248] file: ModuleData/module_sounds.xml
[18:25:54.248] Loading xml file: $BASE/Modules/Native/ModuleData/module_sounds.xml.
[18:25:54.249] Loading packages $BASE/Modules/Native/DsAssetPackages...
[18:25:54.298] --------------Mono Loading Step::eek:n_managed_interface_init--------------
[18:25:54.298] --------------Mono Loading Step::managed_interface_init--------------
[18:25:54.329] Registering items...
[18:25:54.358] Unable to find item to add dependency(depender anim_barmaid_start_conversation)
[18:25:54.360] Unable to find item to add dependency(depender conversation_negative_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_positive_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_stand_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_aggressive)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_closed)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_confident2)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_demure)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_hip)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_nervous)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_warrior)
[18:25:54.361] Unable to find item to add dependency(depender conversation_start_weary)
[18:25:54.361] Unable to find item to add dependency(depender conversation_trivial_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_unsure_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_very_negative_confident)
[18:25:54.361] Unable to find item to add dependency(depender conversation_very_positive_confident)
[18:25:54.389] Initializing items
[18:25:54.407] Loading done...
[18:25:54.410] Loading xml file: $BASE/Modules/Native/ModuleData/project.mbproj.
[18:25:54.411] reading face_animation_record xml files
[18:25:54.411] file: ModuleData/voices.xml
[18:25:54.411] Loading xml file: $BASE/Modules/Native/ModuleData/voices.xml.
[18:25:54.411] Loading xml file: $BASE/Modules/Native/ModuleData/flora_kinds.xml.
[18:25:54.423] Loading xml file: $BASE/Modules/Native/ModuleData/project.mbproj.
[18:25:54.423] reading decal_set xml files
[18:25:54.423] file: ModuleData/decal_sets.xml
[18:25:54.423] Loading xml file: $BASE/Modules/Native/ModuleData/decal_sets.xml.
[18:25:54.801] Loading assembly: TaleWorlds.MountAndBlade.AutoGenerated.dll


[18:25:54.803] Loading assembly: TaleWorlds.Library.dll

Unhandled Exception: [18:25:54.803] Assembly load result: SUCCESS
[18:25:54.803] Loading assembly: TaleWorlds.Core.dll

[18:25:54.803] Assembly load result: SUCCESS
[18:25:54.803] Loading assembly: TaleWorlds.MountAndBlade.dll

[18:25:54.803] Assembly load result: SUCCESS
[18:25:54.803] Loading assembly: TaleWorlds.DotNet.dll

[18:25:54.803] Assembly load result: SUCCESS
[18:25:54.803] Loading assembly: TaleWorlds.Engine.dll

[18:25:54.803] Assembly load result: SUCCESS
[18:25:54.803] Assembly load result: SUCCESS
[18:25:54.830] Creating module...
[18:25:54.986] Module Initialize begin...
[18:25:55.038] Couldn't find .dll: ..\..\Modules\DedicatedCustomServerHelper\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedCustomServer.WebPanel.dll
[18:25:55.038] Couldn't find .dll: ..\..\Modules\DedicatedCustomServerHelper\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedCustomServer.MapServer.dll
[18:25:55.038] Couldn't find .dll: ..\..\Modules\DedicatedCustomServerHelper\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedCustomServer.ClientHelper.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.View.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.GauntletUI.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedServer.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedCustomServer.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.DedicatedCustomServer.Official.dll
System.TypeInitializationException: The type initializer for 'TaleWorlds.Avatar.PlayerServices.AvatarServices' threw an exception. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Dedicated Server\Modules\Native\MultiplayerForcedAvatars'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at TaleWorlds.PlayerServices.Avatar.ForcedAvatarService.Initialize()
at TaleWorlds.Avatar.PlayerServices.AvatarServices.InitializeFallbackAvatarService()
at TaleWorlds.Avatar.PlayerServices.AvatarServices..cctor()
--- End of inner exception stack trace ---
at TaleWorlds.Avatar.PlayerServices.AvatarServices.UpdateAvatarServices(Single dt)
at TaleWorlds.DotNet.Managed.ApplicationTick(Single dt)
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Platform.PC.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Platform.PS.dll
[18:25:55.040] Couldn't find .dll: ..\..\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Platform.GDK.dll
[18:25:55.047] opening ..\..\Modules\Native/ModuleData/Languages\language_data.xml
[18:25:55.048] Loading localized text xml: #document
[18:25:55.052] opening ..\..\Modules\Native/ModuleData/Languages\BR\language_data.xml
[18:25:55.052] Loading localized text xml: #document
[18:25:55.052] opening ..\..\Modules\Native/ModuleData/Languages\CNs\language_data.xml
[18:25:55.052] Loading localized text xml: #document
[18:25:55.052] opening ..\..\Modules\Native/ModuleData/Languages\CNt\language_data.xml
[18:25:55.052] Loading localized text xml: #document
[18:25:55.052] opening ..\..\Modules\Native/ModuleData/Languages\DE\language_data.xml
[18:25:55.053] Loading localized text xml: #document
[18:25:55.053] opening ..\..\Modules\Native/ModuleData/Languages\FR\language_data.xml
[18:25:55.053] Loading localized text xml: #document
[18:25:55.053] opening ..\..\Modules\Native/ModuleData/Languages\IT\language_data.xml
[18:25:55.053] Loading localized text xml: #document
[18:25:55.053] opening ..\..\Modules\Native/ModuleData/Languages\JP\language_data.xml
[18:25:55.053] Loading localized text xml: #document
[18:25:55.053] opening ..\..\Modules\Native/ModuleData/Languages\KO\language_data.xml
[18:25:55.053] Loading localized text xml: #document
[18:25:55.053] opening ..\..\Modules\Native/ModuleData/Languages\PL\language_data.xml
[18:25:55.054] Loading localized text xml: #document
[18:25:55.054] opening ..\..\Modules\Native/ModuleData/Languages\RU\language_data.xml
[18:25:55.054] Loading localized text xml: #document
[18:25:55.054] opening ..\..\Modules\Native/ModuleData/Languages\SP\language_data.xml
[18:25:55.054] Loading localized text xml: #document
[18:25:55.054] opening ..\..\Modules\Native/ModuleData/Languages\TR\language_data.xml
[18:25:55.054] Loading localized text xml: #document
[18:25:55.055] opening ..\..\Modules\Native/ModuleData/global_strings.xml
[18:25:55.156] Loading submodules...
[18:25:55.165] Loading assembly: TaleWorlds.MountAndBlade.DedicatedCustomServer.dll

[18:25:55.165] Loading assembly: TaleWorlds.MountAndBlade.dll

[18:25:55.165] Assembly load result: SUCCESS
Computer Specs:
OS: Windows Server 2022
 
Then to clarify. This is before the server ever becomes available in the server list. I attempt to launch the server and then it just exits out. I've had to catch this error before the cmd window closes.
 
I also had the same issue, as did our custom servers in the Oceanic region.

The solution to this issue is:

To copy the MultiplayerForcedAvatars from your Mount & Blade II game directory, e.g.,:
C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Native\MultiplayerForcedAvatars

And copy and paste those files to the following path:
'C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Dedicated Server\Modules\Native\MultiplayerForcedAvatars'.

Your server should now be operational when you run your .bat.

Please let me know if it isn't.
 
I also had the same issue, as did our custom servers in the Oceanic region.

The solution to this issue is:

To copy the MultiplayerForcedAvatars from your Mount & Blade II game directory, e.g.,:
C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Native\MultiplayerForcedAvatars

And copy and paste those files to the following path:
'C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Dedicated Server\Modules\Native\MultiplayerForcedAvatars'.

Your server should now be operational when you run your .bat.

Please let me know if it isn't.
The hero TW needs.
 
I also had the same issue, as did our custom servers in the Oceanic region.

The solution to this issue is:

To copy the MultiplayerForcedAvatars from your Mount & Blade II game directory, e.g.,:
C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Native\MultiplayerForcedAvatars

And copy and paste those files to the following path:
'C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Dedicated Server\Modules\Native\MultiplayerForcedAvatars'.

Your server should now be operational when you run your .bat.

Please let me know if it isn't.

Give this man a metal. God tier hero.
 
Back
Top Bottom