Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

DynaCulture
This topic has been locked
Alex-X-x 8 Nov, 2022 @ 7:46pm
Crash after capturing a castle Epinosa
[2022-11-09T02:10:19.2159127+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying unannotated Harmony patches (domain: com.zijistark.bannerlord.diplomacy)...
[2022-11-09T02:10:19.2229968+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of Apply in type DeclareWarAction (TaleWorlds.CampaignSystem.Actions.DeclareWarAction)
[2022-11-09T02:10:19.2244277+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of ApplyDeclareWarOverProvocation in type DeclareWarAction (TaleWorlds.CampaignSystem.Actions.DeclareWarAction)
[2022-11-09T02:10:19.2249283+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of CalculateInfluenceChange in type DefaultClanPoliticsModel (TaleWorlds.CampaignSystem.GameComponents.DefaultClanPoliticsModel)
[2022-11-09T02:10:19.2364957+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of ConsiderWar in type DiplomaticBartersBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.BarterBehaviors.DiplomaticBartersBehavior)
[2022-11-09T02:10:19.2379954+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of GetEncyclopediaPageInstance in type EncyclopediaData (SandBox.GauntletUI.Encyclopedia.EncyclopediaData)
[2022-11-09T02:10:19.2399954+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of siege_aftermath_contextual_summary_on_init in type SiegeAftermathCampaignBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.SiegeAftermathCampaignBehavior)
[2022-11-09T02:10:19.2440686+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of ConsiderWar in type KingdomDecisionProposalBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.KingdomDecisionProposalBehavior)
[2022-11-09T02:10:19.2465687+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of ConsiderPeace in type KingdomDecisionProposalBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.KingdomDecisionProposalBehavior)
[2022-11-09T02:10:19.2515680+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of DailyTickClan in type KingdomDecisionProposalBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.KingdomDecisionProposalBehavior)
[2022-11-09T02:10:19.2590850+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of MainStoryLineChosen in type SupportKingdomQuest (StoryMode.Quests.FirstPhase.SupportKingdomQuest)
[2022-11-09T02:10:19.2595864+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of DeclareAlliance in type FactionManager (TaleWorlds.CampaignSystem.FactionManager)
[2022-11-09T02:10:19.2620818+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of InitializeListItems in type DefaultEncyclopediaFactionPage (TaleWorlds.CampaignSystem.Encyclopedia.Pages.DefaultEncyclopediaFactionPage)
[2022-11-09T02:10:19.2635969+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of conversation_lord_request_mission_ask_on_condition in type LordConversationsCampaignBehavior (SandBox.CampaignBehaviors.LordConversationsCampaignBehavior)
[2022-11-09T02:10:19.2675967+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of conversation_player_wants_to_make_peace_on_condition in type LordConversationsCampaignBehavior (SandBox.CampaignBehaviors.LordConversationsCampaignBehavior)
[2022-11-09T02:10:19.2680978+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of conversation_player_want_to_join_faction_as_mercenary_or_vassal_on_condition in type LordConversationsCampaignBehavior (SandBox.CampaignBehaviors.LordConversationsCampaignBehavior)
[2022-11-09T02:10:19.2730963+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of conversation_player_threats_lord_verify_on_condition in type LordConversationsCampaignBehavior (SandBox.CampaignBehaviors.LordConversationsCampaignBehavior)
[2022-11-09T02:10:19.2746024+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of village_farmer_loot_on_condition in type VillagerCampaignBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.VillagerCampaignBehavior)
[2022-11-09T02:10:19.2761010+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of caravan_loot_on_condition in type CaravansCampaignBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.CaravansCampaignBehavior)
[2022-11-09T02:10:19.2771059+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of game_menu_village_hostile_action_on_condition in type PlayerTownVisitCampaignBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.PlayerTownVisitCampaignBehavior)
[2022-11-09T02:10:19.2781061+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of AbdicateTheThrone in type KingdomManager (TaleWorlds.CampaignSystem.KingdomManager)
[2022-11-09T02:10:19.2816052+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of OnFinalize in type KingdomManagementVM (TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.KingdomManagementVM)
[2022-11-09T02:10:19.2821063+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of .ctor in type GauntletBannerEditorScreen (SandBox.GauntletUI.BannerEditor.GauntletBannerEditorScreen)
[2022-11-09T02:10:19.2846254+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of OnDone in type GauntletBannerEditorScreen (SandBox.GauntletUI.BannerEditor.GauntletBannerEditorScreen)
[2022-11-09T02:10:19.2861238+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of InvokeWithLog in type Common (TaleWorlds.Library.Common)
[2022-11-09T02:10:19.2866251+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applied 24 patches from 13 patch classes.
[2022-11-09T02:10:29.1921406+01:00] [Diplomacy.SubModule] [INF]: Loaded Diplomacy v0.1.1!
[2022-11-09T02:10:37.4461797+01:00] [Diplomacy.SubModule] [DBG]: Campaign session started.
[2022-11-09T02:26:22.6090958+01:00] [Diplomacy.DiplomaticAction.Alliance.BreakAllianceAction] [VRB]: [Winter 3, 1094] Northern Empire broke their alliance with Вигирия.
[2022-11-09T02:59:33.3828996+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Winter 13, 1094] Western Empire got a war declaration cooldown with Vlandia.
[2022-11-09T02:59:33.3839079+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Winter 13, 1094] Western Empire secured a NAP with Vlandia.
[2022-11-09T03:12:32.4722651+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Winter 16, 1094] Vlandia got a war declaration cooldown with Southern Empire.
[2022-11-09T03:12:32.4722651+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Winter 16, 1094] Vlandia secured a NAP with Southern Empire.
[2022-11-09T03:14:27.6833724+01:00] [Diplomacy.CampaignBehaviors.DiplomaticAgreementBehavior] [VRB]: [Winter 18, 1094] Northern Empire decided to form a NAP with Khuzait.
[2022-11-09T03:14:27.6838722+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Winter 18, 1094] Northern Empire secured a NAP with Khuzait.
[2022-11-09T03:16:22.6162901+01:00] [Diplomacy.SubModule] [DBG]: Campaign session ended.
[2022-11-09T03:16:25.4449701+01:00] [Diplomacy.SubModule] [DBG]: Campaign session started.
[2022-11-09T03:43:36.9119571+01:00] [Diplomacy.SubModule] [DBG]: Campaign session ended.
[2022-11-09T03:43:39.8457247+01:00] [Diplomacy.SubModule] [DBG]: Campaign session started.
[2022-11-09T03:44:19.2080226+01:00] [Diplomacy.CampaignBehaviors.DiplomaticAgreementBehavior] [VRB]: [Winter 21, 1094] Western Empire decided to form a NAP with Battania.
[2022-11-09T03:44:19.2080226+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Winter 21, 1094] Western Empire secured a NAP with Battania.
[2022-11-09T04:21:38.7883500+01:00] [Diplomacy.CampaignBehaviors.WarExhaustionBehavior] [VRB]: [Spring 12, 1095] Battania, due to max war exhaustion, will peace out with Sturgia.
[2022-11-09T04:21:38.7898497+01:00] [Diplomacy.DiplomaticAction.WarPeace.KingdomPeaceAction] [VRB]: [Spring 12, 1095] Battania secured peace with Sturgia (cost: 0).
[2022-11-09T04:21:38.7903517+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Spring 12, 1095] Battania got a war declaration cooldown with Sturgia.
[2022-11-09T04:21:38.7903517+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Spring 12, 1095] Battania secured a NAP with Sturgia.
[2022-11-09T04:21:38.7983569+01:00] [Diplomacy.CampaignBehaviors.WarExhaustionBehavior] [VRB]: [Spring 12, 1095] Battania, due to max war exhaustion, will peace out with Vlandia.
[2022-11-09T04:21:38.7998576+01:00] [Diplomacy.DiplomaticAction.WarPeace.KingdomPeaceAction] [VRB]: [Spring 12, 1095] Battania secured peace with Vlandia (cost: 0).
[2022-11-09T04:21:38.7998576+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Spring 12, 1095] Battania got a war declaration cooldown with Vlandia.
[2022-11-09T04:21:38.7998576+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Spring 12, 1095] Battania secured a NAP with Vlandia.
[2022-11-09T04:26:01.8749741+01:00] [Diplomacy.SubModule] [DBG]: Campaign session ended.
[2022-11-09T04:26:04.9475672+01:00] [Diplomacy.SubModule] [DBG]: Campaign session started.
[2022-11-09T04:27:32.2531033+01:00] [Diplomacy.CampaignBehaviors.WarExhaustionBehavior] [VRB]: [Spring 12, 1095] Battania, due to max war exhaustion, will peace out with Sturgia.
[2022-11-09T04:27:32.2531033+01:00] [Diplomacy.DiplomaticAction.WarPeace.KingdomPeaceAction] [VRB]: [Spring 12, 1095] Battania secured peace with Sturgia (cost: 0).
[2022-11-09T04:27:32.2535453+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Spring 12, 1095] Battania got a war declaration cooldown with Sturgia.
[2022-11-09T04:27:32.2535453+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Spring 12, 1095] Battania secured a NAP with Sturgia.
[2022-11-09T04:27:32.2620443+01:00] [Diplomacy.CampaignBehaviors.WarExhaustionBehavior] [VRB]: [Spring 12, 1095] Battania, due to max war exhaustion, will peace out with Vlandia.
[2022-11-09T04:27:32.2620443+01:00] [Diplomacy.DiplomaticAction.WarPeace.KingdomPeaceAction] [VRB]: [Spring 12, 1095] Battania secured peace with Vlandia (cost: 0).
[2022-11-09T04:27:32.2620443+01:00] [Diplomacy.CampaignBehaviors.CooldownBehavior] [VRB]: [Spring 12, 1095] Battania got a war declaration cooldown with Vlandia.
[2022-11-09T04:27:32.2620443+01:00] [Diplomacy.DiplomaticAction.NonAggressionPact.FormNonAggressionPactAction] [VRB]: [Spring 12, 1095] Battania secured a NAP with Vlandia.
[2022-11-09T04:36:21.5275790+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying unannotated Harmony patches (domain: com.zijistark.bannerlord.diplomacy)...
[2022-11-09T04:36:21.5350869+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of Apply in type DeclareWarAction (TaleWorlds.CampaignSystem.Actions.DeclareWarAction)
[2022-11-09T04:36:21.5360870+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of ApplyDeclareWarOverProvocation in type DeclareWarAction (TaleWorlds.CampaignSystem.Actions.DeclareWarAction)
[2022-11-09T04:36:21.5365872+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Postfix patch of CalculateInfluenceChange in type DefaultClanPoliticsModel (TaleWorlds.CampaignSystem.GameComponents.DefaultClanPoliticsModel)
[2022-11-09T04:36:21.5481032+01:00] [Diplomacy.PatchTools.PatchManager] [DBG]: Applying: Prefix patch of ConsiderWar in type DiplomaticBartersBehavior (TaleWorlds.CampaignSystem.CampaignBehaviors.BarterBehaviors.DiplomaticBartersBehavior)
< >
Showing 1-15 of 21 comments
Manpapper  [developer] 8 Nov, 2022 @ 7:54pm 
Hi I only see logs about Diplomacy nothing about dynaculture.
A crash report would be better than logs
Last edited by Manpapper; 8 Nov, 2022 @ 7:54pm
Alex-X-x 9 Nov, 2022 @ 2:00am 
Originally posted by Manpapper:
Hi I only see logs about Diplomacy nothing about dynaculture.
A crash report would be better than logs
where do i find it?
Manpapper  [developer] 9 Nov, 2022 @ 2:04am 
If you have harmony, uiextender and butterlib a crash report should open
Alex-X-x 9 Nov, 2022 @ 2:12am 
yes i do have them.
Manpapper  [developer] 9 Nov, 2022 @ 2:15am 
Put the exception part on pastebin or something and put the link here
Alex-X-x 9 Nov, 2022 @ 2:23am 
alright, will do
Alex-X-x 9 Nov, 2022 @ 5:55am 
https://drive.google.com/file/d/1rlgoO0tsC18roAQp8VeudSMHRpFH_DZ9/view?usp=sharing there you go, happened just a bit after loading save game
Alex-X-x 9 Nov, 2022 @ 5:56am 
as you see, it says dynaculture. As soon as i desible the mod, the game works fine again without crashing

- Exception
Exception information
Type: System.ArgumentOutOfRangeException
Message: Specified argument was out of the range of valid values. Parameter name: index
Source: System.Core
CallStack:

at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
at DynaCulture.Data.DynaCultureStatus.RemoveNonRevelentCulture(Dictionary`2 currentInfluences)
at DynaCulture.Data.DynaCultureStatus.OnDailyTick()
at DynaCulture.Data.DynaCultureBehavior.DailyTickSettlementMod(Settlement settlement)
at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
at TaleWorlds.CampaignSystem.Campaign.Tick()
at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at TaleWorlds.Core.Game.OnTick(Single dt)
at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, Single dt)
Last edited by Alex-X-x; 9 Nov, 2022 @ 5:57am
Manpapper  [developer] 9 Nov, 2022 @ 6:00am 
Ok it's a known bug I will fix it once I'm back from work
Alex-X-x 9 Nov, 2022 @ 6:40am 
Originally posted by Manpapper:
Ok it's a known bug I will fix it once I'm back from work
thats great, thank you!
Manpapper  [developer] 9 Nov, 2022 @ 9:17am 
New version v1.5.1 should fix it
Alex-X-x 9 Nov, 2022 @ 9:20am 
Originally posted by Manpapper:
New version v1.5.1 should fix it
thats some really good news. I'll try
Alex-X-x 9 Nov, 2022 @ 9:34am 
crash right on, after loading save game

Exception information
Type: System.ArgumentOutOfRangeException
Message: Specified argument was out of the range of valid values. Parameter name: index
Source: System.Core
CallStack:

at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
at DynaCulture.Data.DynaCultureStatus.RemoveNonRevelentCulture(Dictionary`2 currentInfluences)
at DynaCulture.Data.DynaCultureStatus.OnDailyTick()
at DynaCulture.Data.DynaCultureBehavior.DailyTickSettlementMod(Settlement settlement)
at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
at TaleWorlds.CampaignSystem.Campaign.Tick()
at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at TaleWorlds.Core.Game.OnTick(Single dt)
at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, Single dt)

Involved Modules

DynaCulture
Method: System.Void DynaCulture.Data.DynaCultureStatus::RemoveNonRevelentCulture(System.Collections.Generic.Dictionary`2 currentInfluences)
Frame: RemoveNonRevelentCulture at offset 1124 in file:line:column :0:0 (IL Offset: 231)
Method: System.Void DynaCulture.Data.DynaCultureStatus::OnDailyTick()
Frame: OnDailyTick at offset 112 in file:line:column :0:0 (IL Offset: 21)
Method: System.Void DynaCulture.Data.DynaCultureBehavior::DailyTickSettlementMod(TaleWorlds.CampaignSystem.Settlements.Settlement settlement)
Frame: DailyTickSettlementMod at offset 572 in file:line:column :0:0 (IL Offset: 175)
Manpapper  [developer] 9 Nov, 2022 @ 9:46am 
Can you check that you have version 1.5.1 ?
Alex-X-x 9 Nov, 2022 @ 9:54am 
yep it is, 1.5.0.4441

Exception information
Type: System.ArgumentOutOfRangeException
Message: Specified argument was out of the range of valid values. Parameter name: index
Source: System.Core
CallStack:

at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
at DynaCulture.Data.DynaCultureStatus.RemoveNonRevelentCulture(Dictionary`2 currentInfluences)
at DynaCulture.Data.DynaCultureStatus.OnDailyTick()
at DynaCulture.Data.DynaCultureBehavior.DailyTickSettlementMod(Settlement settlement)
at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
at TaleWorlds.CampaignSystem.Campaign.Tick()
at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at TaleWorlds.Core.Game.OnTick(Single dt)
at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, Single dt)
< >
Showing 1-15 of 21 comments
Per page: 1530 50