Battle-Modders / mod-reforged

The main repository for the Battle Brothers Reforged mod.
14 stars 0 forks source link

` the index 'DefenderProperties' does not exist` crash to desktop #543

Open kovasap opened 2 hours ago

kovasap commented 2 hours ago

See my log at https://drive.google.com/file/d/1UGuEisHx24459GMg0f_j3K4cAuwOb_CI/view?usp=drive_link

I think this is the most relevant part:

02:47:05SQ
Invincible Spear Syker uses skill Prong
02:47:05Script Error
the index 'DefenderProperties' does not exist
Function:
-> mod_modular_vanilla/hooks/skills/skill.nut : 533
Variables:
hitInfo = Table, injuries = Array, bodyPartDamageMult = 1, bodyPart = 0, partHit = 67, _info = Table, this = Table
Function:
-> scripts/!mods_preload/mod_hitchance_caps_98_2.nut : 227
Variables:
info = Table, isHit = True, r = 12, shield = Null, shieldBonus = 0, skill = 78, toHit = 78, distanceToTarget = 2, levelDifference = 0, defense = 0, defenderProperties = Table, astray = False, userTile = Instance, properties = Table, _allowDiversion = True, _targetEntity = Table, _user = Instance, this = Table
Function:
acall -> NATIVE : -1
Function:
-> career_stats/skill.nut : 12
Variables:
attackEntity = Function, vargv = Array, this = Table
Function:
-> msu/hooks/skills/skill.nut : 317
Variables:
__original = Function, targetEntity = Table, container = Instance, _forFree = False, _targetTile = Instance, this = Table
Function:
executeEntitySkill -> scripts/states/tactical_state.nut : 1343
Variables:
skill = Table, _targetTile = Instance, _activeEntity = Table, this = Table
Function:
setActionStateByMouseEvent -> scripts/states/tactical_state.nut : 1037
Variables:
tile = Instance, activeEntity = Table, _mouseEvent = Instance, this = Table
02:47:05Script Error
the index 'DefenderProperties' does not exist
Function:
-> career_stats/skill.nut : 12
Variables:
attackEntity = Function, vargv = Array, this = Table
Function:
-> msu/hooks/skills/skill.nut : 317
Variables:
__original = Function, targetEntity = Table, container = Instance, _forFree = False, _targetTile = Instance, this = Table
Function:
executeEntitySkill -> scripts/states/tactical_state.nut : 1343
Variables:
skill = Table, _targetTile = Instance, _activeEntity = Table, this = Table
Function:
setActionStateByMouseEvent -> scripts/states/tactical_state.nut : 1037
Variables:
tile = Instance, activeEntity = Table, _mouseEvent = Instance, this = Table
02:47:06Core
A critical exception occured.
02:47:06Core
Modules & Application Stacktrace:
SymInit: Symbol-SearchPath: '.;D:\SteamLibrary\steamapps\common\Battle Brothers;D:\SteamLibrary\steamapps\common\Battle Brothers\win32;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'kovas'
OS-Version: 6.2.9200 () 0x300-0x1
02:47:06Core
Script Stacktrace:
kovasap commented 2 hours ago

This looks like it may be an incompatibility with the mod_hitchance_caps_98_2 mod