Bannerlord has encountered a problem and will close itself.
This is a community Crash Report. Please save it and use it for reporting the error. Do not provide screenshots, provide the report!
Most likely this error was caused by a custom installed module.

If you were in the middle of something, the progress might be lost.


+ Exception

Exception information
Type: System.MissingMethodException
Message: Metoda nebyla nalezena: Void TaleWorlds.Core.EquipmentElement..ctor(TaleWorlds.Core.ItemObject, TaleWorlds.Core.ItemModifier).
Source: BetterLooting
CallStack:
  1. at BetterLooting.BetterLootingModel.GetLootedItemFromTroop(CharacterObject character, Single targetValue)
  2. at TaleWorlds.CampaignSystem.LootCollector.LootCasualties(ICollection`1 shareFromCasualties, Single lootFactor)
  3. at TaleWorlds.CampaignSystem.LootCollector.GiveShareOfLootToParty(TroopRoster memberRoster, TroopRoster prisonerRoster, ItemRoster itemRoster, PartyBase winnerParty, Single lootAmount)
  4. at TaleWorlds.CampaignSystem.MapEventSide.CalculateContributionAndGiveShareToParty(LootCollector lootCollector, MapEventParty partyRec, Int32 totalContribution)
  5. at TaleWorlds.CampaignSystem.MapEventSide.DistributeLootAmongWinners(LootCollector lootCollector)
  6. at TaleWorlds.CampaignSystem.MapEvent.CalculateLootShares(LootCollector lootCollector)
  7. at TaleWorlds.CampaignSystem.MapEvent.CalculateBattleResults(Boolean forScoreBoard)
  8. at TaleWorlds.CampaignSystem.PlayerEncounter.UpdateInternal()
  9. at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.EncounterGameMenuBehavior.game_menu_encounter_on_init(MenuCallbackArgs args)
  10. at TaleWorlds.CampaignSystem.GameMenus.GameMenu.RunOnInit(Game game, MenuContext menuContext)
  11. at TaleWorlds.CampaignSystem.MenuContext.HandleStates()
  12. at TaleWorlds.CampaignSystem.MapState.OnActivate()
  13. at TaleWorlds.Core.GameState.HandleActivate()
  14. at TaleWorlds.Core.GameStateManager.OnPopState(Int32 level)
  15. at TaleWorlds.Core.GameStateManager.DoGameStateJobs()
  16. at TaleWorlds.Core.GameStateManager.PopState(Int32 level)
  17. at TaleWorlds.MountAndBlade.MissionState.OnTick(Single realDt)
  18. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
  19. at TaleWorlds.Core.Game.OnTick(Single dt)
  20. at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
  21. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  22. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)

+ Involved Modules

  • BetterLooting
    • Method: virtual TaleWorlds.Core.EquipmentElement BetterLooting.BetterLootingModel::GetLootedItemFromTroop(TaleWorlds.CampaignSystem.CharacterObject character, System.Single targetValue)
      Frame: GetLootedItemFromTroop at offset 0 in file:line:column C:\Users\Paladin\source\repos\BetterLooting\BetterLooting\BetterLootingModel.cs:42:9

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.30.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Native (Native, e1.6.4.0)
  • + SandBox Core (SandBoxCore, e1.6.4.0)
  • + Sandbox (Sandbox, e1.6.4.0)
  • + StoryMode (StoryMode, e1.6.4.0)
  • + CustomBattle (CustomBattle, e1.6.4.0)
  • + Better Looting (BetterLooting, v1.0.1.0)
  • + AttributePerLevel (AttributePerLevel, v0.1.1.0)
  • + Xorberax's Cut Through Everyone (XorberaxCutThroughEveryone, e0.3.1.0)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.MBSubModuleBase.OnMissionBehaviourInitialize
    • Postfixes
      • Owner: Bannerlord.ButterLib.SubModuleWrappers; Namespace: Bannerlord.ButterLib.SubModuleWrappers.Patches.MBSubModuleBasePatchCallPostfix;

  • TaleWorlds.MountAndBlade.Module.FinalizeSubModules
    • Postfixes
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchFinalizeSubModulesPostfix;

  • TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameStart
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameEnd
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.SaveSystem.TypeExtensions.IsContainer
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.TypeExtensionsPatchIsContainerPrefix;

  • TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultCharacterDevelopmentModel.get_LevelsPerAttributePoint
    • Postfixes
      • Owner: harmonyPatch; Namespace: AttributePerLevel.Patches+GetLevelsPerAttributePointPatchPostfix;

  • TaleWorlds.MountAndBlade.Mission.DecideWeaponCollisionReaction
    • Postfixes
      • Owner: xorberax.cutthrougheveryone; Namespace: CutThroughEveryone.CutThroughEveryonePatchDecideWeaponCollisionReactionPostfix;

  • TaleWorlds.MountAndBlade.Mission.MeleeHitCallback
    • Postfixes
      • Owner: xorberax.cutthrougheveryone; Namespace: CutThroughEveryone.CutThroughEveryonePatchMeleeHitCallbackPostfix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnGameLoaded
    • Prefixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnGameLoadedPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnBeforeSave
    • Postfixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnBeforeSavePostfix;