"Failed to apply the SettlementIcons patch: Patching exception in method virtual System.Void TaleWorlds.Library.ViewModel::ExecuteCommand(System.String commandName, System.Object[] parameters) Non-static method requires a target"
After some investigating it seems to me that the above error is due to an interaction UIExtenderEx which comes packaged with MCMv3. I have absolutely 0 ideas how to fix it if I'm gonna completely honest with you. From my testing it seems the game will launch anyway after you Ok past the error message, as will the mod, and there shouldn't be any lasting effects on your saves or any stability issues if that worries you.
Alternatively, I strongly suggest using MCMv4 over MCMv3. It works perfectly fine for me and doesn't lead to any such errors. Make sure you load ALL MCM modules aswell as its requirements above Native, as instructed on the MCM's mod page.
Should look something like this: https://i.imgur.com/vLW8eD3.png
jiros, i'm so glad you and a few others been taking up so many of these mods and fixing em we appreciate all of u guys =) and once I look at the engine i might start helping out aswel P_P
After installing Harmony, ButterLib, UIExtender and Mod configuration Menu(MCMv4 McMv3 Integration) I lauched the game successfull. This was the first mod I installed, the mods mentioned above as first in load order, then the TaleWorld mods and finaly Settlement Icons.
During Launch of the game I got the pop up:
"Failed to apply the SettlementIcons patch: Patching exception in method virtual System.Void TaleWorlds.Library.ViewModel::ExecuteCommand(System.String commandName, System.Object[] parameters) Non-static method requires a target"
Game continued to launch and managed to start up an old save file, when the save file was done loading the game crashed. Figured that I might needed to start a new game, managed to make a character, got the option to start the tutorial or not, decided not to. Game starts to load the world map -> Game crashes again.
Not sure how to fix it, tested another mod while this one was disabled and the game worked fine.
Author's pinned post is confusing. What do you mean, "I strongly suggest using MCMv4 over MCMv3"? Having one means having the other, and enabling one means enabling the other.
EDIT: Seems you didn't mean the Beta MCM, either, because I just tried that and got the same error.
157 comments
Not extensively tested. Please report any issues and I'll look into them as soon as I can.
"Failed to apply the SettlementIcons patch:
Patching exception in method virtual System.Void
TaleWorlds.Library.ViewModel::ExecuteCommand(System.String
commandName, System.Object[] parameters)
Non-static method requires a target"
After some investigating it seems to me that the above error is due to an interaction UIExtenderEx which comes packaged with MCMv3.
I have absolutely 0 ideas how to fix it if I'm gonna completely honest with you.
From my testing it seems the game will launch anyway after you Ok past the error message, as will the mod, and there shouldn't be any lasting effects on your saves or any stability issues if that worries you.
Alternatively, I strongly suggest using MCMv4 over MCMv3. It works perfectly fine for me and doesn't lead to any such errors. Make sure you load ALL MCM modules aswell as its requirements above Native, as instructed on the MCM's mod page.
Should look something like this:
https://i.imgur.com/vLW8eD3.png
I've tested it on 1.5.5, but it should be backwards compatible to 1.5.4 as well. If it's not, use the 1.5.4 link in this thread.
https://github.com/Jirow13/SettlementIcons/raw/1.5.5.0-beta/SettlementIcons.1.5.5.0.zip
Yay!
Thank you.
I don't understand English
But you are very good
Thank
Is there a reason you just put these fixes on your github and not here, so you can't get as much credit, and/or let people know the fixes are there?
I also make use of Bannerlord tweaks and diplomacy fixes updates.
If it truly seems 'abandoned' then I may post an 'update to the update' as a separate mod but in my book I'm just lending a hand for now. :)
Thank YOU!
Any chance for an update for 1.5.6?
This was the first mod I installed, the mods mentioned above as first in load order, then the TaleWorld mods and finaly Settlement Icons.
During Launch of the game I got the pop up:
"Failed to apply the SettlementIcons patch:
Patching exception in method virtual System.Void
TaleWorlds.Library.ViewModel::ExecuteCommand(System.String
commandName, System.Object[] parameters)
Non-static method requires a target"
Game continued to launch and managed to start up an old save file, when the save file was done loading the game crashed.
Figured that I might needed to start a new game, managed to make a character, got the option to start the tutorial or not, decided not to.
Game starts to load the world map -> Game crashes again.
Not sure how to fix it, tested another mod while this one was disabled and the game worked fine.
I would appreciate some help.
Forgot to mention I'm playing on 1.5.7.
thanks in advance!
BetterExceptionWindow log: https://crash.butr.dev/report/C83CAB20.html
Author's pinned post is confusing. What do you mean, "I strongly suggest using MCMv4 over MCMv3"? Having one means having the other, and enabling one means enabling the other.
EDIT: Seems you didn't mean the Beta MCM, either, because I just tried that and got the same error.
And about the error on launch, you should consult with @Aragasas !!!
Thanks for "reviving" this most helpfull mod!!!