Issue with triggering via combat end since ACT patch 3.3.3.258
Hello.
I am using ActGlobals.oFormActMain.OnCombatEnd (
?) to trigger a method to handle some parse data.
The relevant code:
ActGlobals.oFormActMain.OnCombatEnd += ActGlobals_OFormActMain_OnCombatEnd;
Ever since the latest update (3.3.3.258), this method isn't triggering. Any help is appreciated. I can provide more information if needed. Thanks.
Comments
To clarify, it was working flawlessly, until after the 3.3.3.258 patch.
using Advanced_Combat_Tracker; using System; using System.Windows.Forms; namespace ActPlugin { public class CombatEndPlugin : IActPluginV1 { Label lblPluginStatus; public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText) { lblPluginStatus = pluginStatusText; lblPluginStatus.Text = "Started."; ActGlobals.oFormActMain.OnCombatEnd += OFormActMain_OnCombatEnd; } private void OFormActMain_OnCombatEnd(bool isImport, CombatToggleEventArgs encounterInfo) { ThreadInvokes.ControlSetText(ActGlobals.oFormActMain, lblPluginStatus, DateTime.Now.ToLongTimeString()); } public void DeInitPlugin() { ActGlobals.oFormActMain.OnCombatEnd -= OFormActMain_OnCombatEnd; lblPluginStatus.Text = "Stopped"; } } }