-
Hi, I'm new to the modding world and I'm trying to get my feet wet by fixing a bug in the Diplomacy mod. The issue is in the kingdom diplomacy view, whenever you perform an action on a selected kingdom, say declaring a war, it will ignore the selected kingdom and will instead use the last kingdom in the list (always Vlandia). So for example I found where the "Form Alliance" button is called from: https://github.com/DiplomacyTeam/Bannerlord.Diplomacy/blob/f58f9d9261d596c84ee0cee1e4287cdaed88108c/src/Bannerlord.Diplomacy/ViewModelMixin/KingdomTruceItemVmMixin.cs#L385
WrappedMethodInfo.Invoke comes from https://github.com/BUTR/Bannerlord.BUTR.Shared/blob/3d11a8e9303f1c638f716c1bae81bcfcc3f6f850/src/Bannerlord.BUTR.Shared/Utils/WrappedMethodInfo.cs#L92 public override object? Invoke(object? obj, BindingFlags invokeAttr, Binder? binder, object?[]? parameters, CultureInfo? culture) =>
_methodInfoImplementation.Invoke(_instance, invokeAttr, binder, parameters, culture); When I look with the debugger, I see The reason I am asking in this repository is that the only place I found that creates an instance of If there's any pointers on how to debug this further or how to manipulate Thanks! Edit: version is 1.8.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just to point out. I never managed to understand how to see discussion notifications, so this issue was not seen. @artifixer explained this issue again and I found out that this was a nasty UIExtenderEx bug. Fixed in v2.4.0 |
Beta Was this translation helpful? Give feedback.
Just to point out. I never managed to understand how to see discussion notifications, so this issue was not seen. @artifixer explained this issue again and I found out that this was a nasty UIExtenderEx bug. Fixed in v2.4.0