public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText) { ActGlobals.oFormActMain.LogFileFilter = "Chat*.log"; ActGlobals.oFormActMain.LogPathHasCharName = false; ActGlobals.oFormActMain.ResetCheckLogs(); ActGlobals.oFormActMain.TimeStampLen = 0x16; ActGlobals.oFormActMain.GetDateTimeFromLog = new FormActMain.DateTimeLogParser(ParseDateTime); ActGlobals.oFormActMain.ZoneChangeRegex = new Regex(@"[\d :\.]{22}You have joined the (?<channel>.+?) region channel. ", RegexOptions.Compiled); ActGlobals.oFormActMain.BeforeLogLineRead += new LogLineEventDelegate(this.BeforeLogLineRead); ActGlobals.oFormActMain.OnCombatEnd += new CombatToggleEventDelegate(this.OnCombatEnd); // private variables that must be set before UI ContinuousDamageSet = new UsingSkillRecordSet() { new UsingSkillRecord("Unknown (Templar)", "Slash Artery"), new UsingSkillRecord("Unknown (Assassin)", "Apply Poison"), new UsingSkillRecord("Unknown (Ranger)", "Poison Arrow"), new UsingSkillRecord("Unknown (Ranger)", "Poisoning Trap"), new UsingSkillRecord("Unknown (Priest)", "Promise of Wind I"), new UsingSkillRecord("Unknown (Priest)", "Light of Renewal I"), new UsingSkillRecord("Unknown (Chanter)", "Promise of Wind"), new UsingSkillRecord("Unknown (Assassin)", "Blood Rune"), new UsingSkillRecord("Unknown (Sorcerer)", "Wind Cut Down"), new UsingSkillRecord("Unknown (Sorcerer)", "Delayed Blast"), new UsingSkillRecord("Unknown (Sorcerer)", "Flame Cage"), new UsingSkillRecord("Unknown (Mage)", "Erosion I"), new UsingSkillRecord("Unknown (Spiritmaster)", "Erosion"), new UsingSkillRecord("Unknown (Spiritmaster)", "Chain of Earth"), new UsingSkillRecord("Unknown (Spiritmaster)", "Blessing of Fire"), new UsingSkillRecord("Unknown (Spiritmaster)", "Sandblaster"), new UsingSkillRecord("Unknown (Spiritmaster)", "Spirit Erosion"), new UsingSkillRecord("Unknown (Cleric)", "Earth's Wrath"), new UsingSkillRecord("Unknown (Cleric)", "Chastise"), new UsingSkillRecord("Unknown (Cleric)", "Chastisement"), new UsingSkillRecord("Unknown (Cleric)", "Chain of Suffering"), new UsingSkillRecord("Unknown (Cleric)", "Word of Destruction") }; HealerRecordSet = new UsingSkillRecordSet() { new UsingSkillRecord("Unknown (Priest)", "Healing Light"), new UsingSkillRecord("Unknown (Cleric)", "Radiant Cure"), new UsingSkillRecord("Unknown (Cleric)", "Healing Wind"), new UsingSkillRecord("Unknown (Cleric)", "Splendor of Recovery"), new UsingSkillRecord("Unknown (Cleric)", "Splendor of Rebirth"), new UsingSkillRecord("Unknown (Cleric)", "Flash of Recovery"), new UsingSkillRecord("Unknown (Cleric)", "Light of Recovery"), new UsingSkillRecord("Unknown (Cleric)", "Light of Rejuvenation"), new UsingSkillRecord("Unknown (Cleric)", "Acquittal"), new UsingSkillRecord("Unknown (Cleric)", "Yustiel's Light"), new UsingSkillRecord("Unknown (Cleric)", "Yustiel's Splendor"), new UsingSkillRecord("Unknown (Cleric)", "Ancestral Yustiel's Light"), new UsingSkillRecord("Unknown (Cleric)", "Brilliant Protection"), ////new UsingSkillRecord("Unknown (Chanter)", "Promise of Aether"), // NOTE: Promise of Aether is self-cast only, therefore, removed from this list. Default handling of mp-gain skills is that it is assumed self-cast. new UsingSkillRecord("Unknown (Chanter)", "Revival Mantra"), new UsingSkillRecord("Unknown (Chanter)", "Word of Life"), new UsingSkillRecord("Unknown (Chanter)", "Word of Revival"), new UsingSkillRecord("Unknown (Chanter)", "Healing Conduit"), new UsingSkillRecord("Unknown (Chanter)", "Recovery Spell"), new UsingSkillRecord("Unknown (Chanter)", "Clement Mind Mantra"), new UsingSkillRecord("Unknown (Chanter)", "Invincibility Mantra"), new UsingSkillRecord("Unknown (Chanter)", "Magic Recovery"), new UsingSkillRecord("Unknown (Chanter)", "Ancestral Word of Spellstoping"), new UsingSkillRecord("Unknown (Chanter)", "Ancestral Aetheric Field"), new UsingSkillRecord("Unknown (Spiritmaster)", "Spirit Armor of Darkness") }; BlockedHistory = new BlockedSet(); SummonerRecordSet = new UsingSkillRecordSet(); PartyMembers = new PartyRecordSet(); PartyMembers.Add(new AionData.Player() { Name = ActGlobals.charName }); // UI initialization ui = new AionParseForm(this, ActGlobals.charName); pluginScreenSpace.Controls.Add(ui); ui.Dock = DockStyle.Fill; }