BattletechModders / CBTBehaviorsEnhanced

Applies Classic BattleTech behaviors to the HBS BattleTech Game
MIT License
5 stars 6 forks source link

Melee softlocks reported by BTA #110

Open IceRaptor opened 2 years ago

IceRaptor commented 2 years ago

@FrostRaptor, we've been getting melee softlocks again. In this case, I drove my Hunter Light Tank onto some ice, enemy mechs dropped nearby, and then it froze on the AI's first turn. I'm pretty sure they were planning to melee my tank - they were in perfect position to, and there's an error in the logs related to it.

2021-09-08T22:27:13 CombatLog.InvocationHandler [LOG] Invoking INVOCATION: ID = P1TDG.35, type = MechChargeInvocation, seed = 7142, netRouted = True, wasNetRouted = False @ Thu Sep 9 2021 05:27:13
2021-09-08T22:27:13 <CBTBE> [WARNING] 05:27:13.945 <CBTBE> Melee sequence 420 has no pre-selected attack state, will have to autoselected. Let Frost know as this should not happen!
2021-09-08T22:27:13 <CBTBE> [WARNING] 05:27:13.946 <CBTBE> Could not select a valid attack for the selected sequence - this should NEVER happen!
2021-09-08T22:27:13 CombatLog.InvocationHandler [DEBUG] [InvocationStackSequenceCreated]
2021-09-08T22:27:13 GameInfo [ERROR] Attempted to set a melee target that we could not path to!
2021-09-08T22:27:13 MessageCenter [ERROR] CRITICAL ERROR, PLEASE REPORT:
Delegate AddStackSequence - Standard for message type AddSequenceToStackMessage failed with exception 
Object reference not set to an instance of an object
  at (wrapper dynamic-method) BattleTech.Pathing.UpdateMeleePath_Patch2(object,bool)
  at BattleTech.Pathing.Update (UnityEngine.Vector3 mousePos, System.Boolean calledFromUI) [0x00008] in <1a492b01dc4142479b77fcfea5a4a4b7>:0 
  at BattleTech.MechMeleeSequence.GenerateMeleePath () [0x0005e] in <1a492b01dc4142479b77fcfea5a4a4b7>:0 
  at (wrapper dynamic-method) BattleTech.MechMeleeSequence.OnAdded_Patch1(object)
  at BattleTech.StackManager.AddNormalStackSequence (BattleTech.IStackSequence sequence, System.Int32 messageIndex) [0x00069] in <1a492b01dc4142479b77fcfea5a4a4b7>:0 
  at BattleTech.StackManager.AddStackSequence (BattleTech.IStackSequence sequence, System.Int32 messageIndex) [0x000ff] in <1a492b01dc4142479b77fcfea5a4a4b7>:0 
  at BattleTech.StackManager.AddStackSequence (MessageCenterMessage message) [0x0000e] in <1a492b01dc4142479b77fcfea5a4a4b7>:0 
  at MessageCenter.SendMessagesForType (MessageCenterMessageType messageType, MessageCenterMessage message) [0x00037] in <1a492b01dc4142479b77fcfea5a4a4b7>:0
IceRaptor commented 2 years ago

BTALogs-20210908_223241.zip

IceRaptor commented 2 years ago

Another from RT

2022-01-12T13:19:49 GameInfo [ERROR] Attempted to set a melee target that we could not path to! 2022-01-12T13:19:49 MessageCenter [ERROR] CRITICAL ERROR, PLEASE REPORT: Delegate AddStackSequence - Standard for message type AddSequenceToStackMessage failed with exception Object reference not set to an instance of an object at (wrapper dynamic-method) BattleTech.Pathing.UpdateMeleePath_Patch2(object,bool) at BattleTech.Pathing.Update (UnityEngine.Vector3 mousePos, System.Boolean calledFromUI) [0x00008] in <4184af8dbeb44635831353f4d349631c>:0 at BattleTech.MechMeleeSequence.GenerateMeleePath () [0x0005e] in <4184af8dbeb44635831353f4d349631c>:0 at (wrapper dynamic-method) BattleTech.MechMeleeSequence.OnAdded_Patch1(object) at BattleTech.StackManager.AddNormalStackSequence (BattleTech.IStackSequence sequence, System.Int32 messageIndex) [0x00069] in <4184af8dbeb44635831353f4d349631c>:0 at BattleTech.StackManager.AddStackSequence (BattleTech.IStackSequence sequence, System.Int32 messageIndex) [0x000ff] in <4184af8dbeb44635831353f4d349631c>:0 at BattleTech.StackManager.AddStackSequence (MessageCenterMessage message) [0x0000e] in <4184af8dbeb44635831353f4d349631c>:0 at MessageCenter.SendMessagesForType (MessageCenterMessageType messageType, MessageCenterMessage message) [0x00037] in <4184af8dbeb44635831353f4d349631c>:0