Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception triggered when even about companion being kidnapped triggers and ends #88

Open
bicobus opened this issue Mar 16, 2023 · 2 comments
Labels
question Further information is requested

Comments

@bicobus
Copy link
Member

bicobus commented Mar 16, 2023

Not quite sure about this one, happen to see the exceptions in the logs just after closing the game following this event. Not sure which module the event comes from either, is it hot buttered girls?

You sometimes get a notification that your companion's been abducted. You can pay ransom, ambush with scouts or duel the leader. I chose to duel the leader.

Events ids are in the traceback. The first ANE is triggered by BC_companion_debut_f_player_f. Second one is TB_companion_kidnapped_duel_f.

Additional context

03/16/2023 19:08:01 -- Incorrect ConsequenceCompanions heroSelected: System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x0000d] in <5c5fa49bfcb245569447e7edd431f418>:0 
  at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value) [0x0000a] in <5c5fa49bfcb245569447e7edd431f418>:0 
  at CaptivityEvents.Events.CECompanionSystem.ConsequenceForceMarry (CaptivityEvents.Custom.Companion companion, TaleWorlds.CampaignSystem.Hero hero) [0x00006] in <b59733b1ecdc4c51b2efb223dec2b6d1>:0 
  at CaptivityEvents.Events.CECompanionSystem.ConsequenceCompanions (TaleWorlds.CampaignSystem.CharacterObject hero, TaleWorlds.CampaignSystem.Party.PartyBase party) [0x004c3] in <b59733b1ecdc4c51b2efb223dec2b6d1>:0 BC_companion_debut_f_player_f
03/16/2023 20:16:03 -- Couldn't find  in events.
03/16/2023 20:16:04 -- Couldn't find  in events.
03/16/2023 20:45:55 -- FinalizeBattle: System.NullReferenceException: Object reference not set to an instance of an object
  at TaleWorlds.CampaignSystem.Party.PartyComponents.WarPartyComponent.OnFinalize () [0x00006] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at TaleWorlds.CampaignSystem.Party.PartyComponents.PartyComponent.Finish () [0x00000] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at TaleWorlds.CampaignSystem.Party.MobileParty.OnRemoveParty () [0x00076] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at TaleWorlds.CampaignSystem.Party.MobileParty.RemoveParty () [0x00199] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at TaleWorlds.CampaignSystem.Actions.DestroyPartyAction.ApplyInternal (TaleWorlds.CampaignSystem.Party.PartyBase destroyerParty, TaleWorlds.CampaignSystem.Party.MobileParty destroyedParty) [0x00051] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at TaleWorlds.CampaignSystem.Actions.DestroyPartyAction.Apply (TaleWorlds.CampaignSystem.Party.PartyBase destroyerParty, TaleWorlds.CampaignSystem.Party.MobileParty destroyedParty) [0x00000] in <bab4ee595657421bbfdf456d445ca0ee>:0 
  at CaptivityEvents.CESubModule.BattleStateCheck () [0x0018a] in <b59733b1ecdc4c51b2efb223dec2b6d1>:0 
03/16/2023 20:45:57 -- Incorrect ConsequenceCompanions heroSelected: System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x0000d] in <5c5fa49bfcb245569447e7edd431f418>:0 
  at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value) [0x0000a] in <5c5fa49bfcb245569447e7edd431f418>:0 
  at CaptivityEvents.Events.CECompanionSystem.ConsequenceForceMarry (CaptivityEvents.Custom.Companion companion, TaleWorlds.CampaignSystem.Hero hero) [0x00006] in <b59733b1ecdc4c51b2efb223dec2b6d1>:0 
  at CaptivityEvents.Events.CECompanionSystem.ConsequenceCompanions (TaleWorlds.CampaignSystem.CharacterObject hero, TaleWorlds.CampaignSystem.Party.PartyBase party) [0x004c3] in <b59733b1ecdc4c51b2efb223dec2b6d1>:0 TB_companion_kidnapped_duel_f
@SkipWestcott
Copy link
Contributor

This is a CE-log exception which does not bubble to the game UI.

@TheBadListener
Copy link
Member

Interesting triggering a few catches.

@TheBadListener TheBadListener added the question Further information is requested label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants