public void Initialize() { try { Directory.CreateDirectory(Application.StartupPath + "\\Profiles\\Fisherbot\\"); FisherbotSetting.Load(); if (string.IsNullOrWhiteSpace(FisherbotSetting.CurrentSetting.FishingPoleName)) { FisherbotSetting.CurrentSetting.FishingPoleName = Fishing.FishingPolesName(); } if (string.IsNullOrWhiteSpace(FisherbotSetting.CurrentSetting.WeaponName)) { FisherbotSetting.CurrentSetting.WeaponName = EquippedItems.GetEquippedItem(WoWInventorySlot.INVTYPE_WEAPONMAINHAND).Name; FisherbotSetting.CurrentSetting.ShieldName = EquippedItems.GetEquippedItem(WoWInventorySlot.INVTYPE_SHIELD).Name; if (FisherbotSetting.CurrentSetting.WeaponName == FisherbotSetting.CurrentSetting.ShieldName) { FisherbotSetting.CurrentSetting.ShieldName = ""; } } Others.ProductStatusLog(Products.ProductName, 1); } catch (Exception e) { Logging.WriteError("Fisherbot > Main > Initialize(): " + e); } }
public void Initialize() { try { Others.ProductStatusLog(Products.ProductName, 1); } catch (Exception e) { Logging.WriteError("Profiles Converters > Main > Initialize(): " + e); } }
public void Initialize() { try { // Directory.CreateDirectory(Application.StartupPath + "\\Profiles\\Test_Product\\"); Others.ProductStatusLog(Products.ProductName, 1); } catch (Exception e) { Logging.WriteError("Test_Product > Main > Initialize(): " + e); } }
public void Settings() { try { MessageBox.Show(string.Format("{0}.", Translate.Get(Translate.Id.No_setting_for_this_product))); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Grinder > Main > Settings(): " + e); } }
public void Dispose() { try { Stop(); Others.ProductStatusLog(Products.ProductName, 2); } catch (Exception e) { Logging.WriteError("Flying To Ground Profiles Converter > Main > Dispose(): " + e); } }
public void Initialize() { try { HealBotSettings.Load(); Others.ProductStatusLog(Products.ProductName, 1); } catch (Exception e) { Logging.WriteError("Heal Bot > Main > Initialize(): " + e); } }
public void Initialize() { try { GarrisonFarmingSetting.Load(); Others.ProductStatusLog(Products.ProductName, 1); } catch (Exception e) { Logging.WriteError("GarrisonFarming > Main > Initialize(): " + e); } }
public void Dispose() { try { Stop(); Others.ProductStatusLog(Products.ProductName, 2); } catch (Exception e) { Logging.WriteError("Heal Bot > Main > Dispose(): " + e); } }
public void Stop() { try { _isStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Prospecting > Main > Stop(): " + e); } }
public void Settings() { try { MessageBox.Show(Translate.Get(Translate.Id.No_setting_for_this_product) + "."); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Profiles Converters > Main > Settings(): " + e); } }
public void Settings() { try { GarrisonFarmingSetting.CurrentSetting.ToForm(); GarrisonFarmingSetting.CurrentSetting.Save(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("GarrisonFarming > Main > Settings(): " + e); } }
public void Settings() { try { var f = new DungeonFarmerSettingsFrame(); f.ShowDialog(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("DungeonFarmer > Main > Settings(): " + e); } }
public void Start() { try { Prospecting.Prospecting.Pulse(); _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } catch (Exception e) { Logging.WriteError("Prospecting > Main > Start(): " + e); } }
public void Settings() { try { var f = new HealBotSettingsForm(); f.ShowDialog(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Heal Bot > Main > Settings(): " + e); } }
public void Settings() { try { ArchaeologistSettingsFrame f = new ArchaeologistSettingsFrame(); f.ShowDialog(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Archaeologist > Main > Settings(): " + e); } }
public void Stop() { try { Bot.Dispose(); _isStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Heal Bot > Main > Stop(): " + e); } }
public void Settings() { try { QuesterSettings.CurrentSettings.ToForm(); QuesterSettings.CurrentSettings.Save(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Quester > Main > Settings(): " + e); } }
public void Settings() { try { SettingsBattlegrounderForm f = new SettingsBattlegrounderForm(); f.ShowDialog(); Others.ProductStatusLog(Products.ProductName, 7); } catch (Exception e) { Logging.WriteError("Battlegrounder > Main > Settings(): " + e); } }
public void Start() { try { _formTracker = new FormTracker(); _formTracker.Show(); _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } catch (Exception e) { Logging.WriteError("Tracker > Main > Start(): " + e); } }
public void Start() { try { _welcomeForm = new WelcomeForm(); _welcomeForm.Show(); IsStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } catch (Exception e) { Logging.WriteError("Flying To Ground Profiles Converter > Main > Start(): " + e); } }
public void Stop() { try { ConfigWowForThisBot.StartStopClickToMove(); Bot.Dispose(); _isStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Damage Dealer > Main > Stop(): " + e); } }
public void Initialize() { try { ArchaeologistSetting.Load(); Others.ProductStatusLog(Products.ProductName, 1); if (nManagerSetting.ActivateProductTipOff) { GetProductTipOff(); } } catch (Exception e) { Logging.WriteError("Archaeologist > Main > Initialize(): " + e); } }
public void Stop() { try { if (_welcomeForm != null) { _welcomeForm.Dispose(); } IsStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Flying To Ground Profiles Converter > Main > Stop(): " + e); } }
public void Stop() { try { if (formMain != null) { formMain.Dispose(); } _isStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Profiles Converters > Main > Stop(): " + e); } }
public void Initialize() { try { Directory.CreateDirectory(Application.StartupPath + "\\Profiles\\Grinder\\"); GrinderSetting.Load(); Others.ProductStatusLog(Products.ProductName, 1); if (nManagerSetting.ActivateProductTipOff) { GetProductTipOff(); } } catch (Exception e) { Logging.WriteError("Grinder > Main > Initialize(): " + e); } }
public void Start() { try { Others.ProductStatusLog(Products.ProductName, 3); if (Bot.Pulse()) { _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } else { Others.ProductStatusLog(Products.ProductName, 5); } } catch (Exception e) { Logging.WriteError("Heal Bot > Main > Start(): " + e); } }
public void RemoteStart(string[] args) { Others.ProductStatusLog(Products.ProductName, 1); try { Others.ProductStatusLog(Products.ProductName, 3); if (Bot.Pulse()) { _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } else { Others.ProductStatusLog(Products.ProductName, 5); } } catch (Exception e) { Logging.WriteError("GarrisonFarming > Main > RemoteStart(): " + e); } }
public void Stop() { try { if (ObjectManager.Me.IsCasting) { MovementManager.MicroMove(); } // Cancel cast if we were fishing else the weapon wont be replaced. ItemsManager.EquipItemByName(FisherbotSetting.CurrentSetting.WeaponName); if (!string.IsNullOrEmpty(FisherbotSetting.CurrentSetting.ShieldName)) { ItemsManager.EquipItemByName(FisherbotSetting.CurrentSetting.ShieldName); } Bot.Dispose(); _isStarted = false; Others.ProductStatusLog(Products.ProductName, 6); } catch (Exception e) { Logging.WriteError("Fisherbot > Main > Stop(): " + e); } }
public void RemoteStart(string[] args) { GathererSetting.CurrentSetting.ProfileName = args[0]; Others.ProductStatusLog(Products.ProductName, 1); try { Others.ProductStatusLog(Products.ProductName, 3); if (Bot.Pulse(true)) { _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } else { Others.ProductStatusLog(Products.ProductName, 5); } } catch (Exception exception) { Logging.WriteError("Gatherer > Main > Start(): " + exception, true); } }
public void Start() { try { if (!DamageDealerSettings.CurrentSetting.ActivateMovements) { ConfigWowForThisBot.StartStopClickToMove(false); } Others.ProductStatusLog(Products.ProductName, 3); if (Bot.Pulse()) { _isStarted = true; Others.ProductStatusLog(Products.ProductName, 4); } else { Others.ProductStatusLog(Products.ProductName, 5); } } catch (Exception e) { Logging.WriteError("Damage Dealer > Main > Start(): " + e); } }