public override void Start() { ProtectedItemsManager.Add((uint)FisherSettings.Instance.LureId); // Load an empty profile if (Directory.Exists(Path.Combine(Logging.ApplicationPath, "Bots")) && Directory.Exists(Path.Combine(Logging.ApplicationPath, @"Bots\MrFishIt"))) { string emtpyProfile = Path.Combine(Logging.ApplicationPath, @"Bots\MrFishIt\EmptyProfile.xml"); if (File.Exists(emtpyProfile)) { ProfileManager.LoadNew(emtpyProfile, false); return; } throw new HonorbuddyUnableToStartException("Couldn't find empty profile for MrFishIt!"); } Lua.Events.AttachEvent("LOOT_OPENED", HandleLootOpened); // Make sure we don't get logged out StyxSettings.Instance.LogoutForInactivity = false; }