April 10, 2019 MMOViperBot Version 2.2.4.3
All Bots:
- Added: Scripting Event: OnNextTask -> Fired when a new patrol/campaign task is about to be executed.
- Bugfix: Adding Tasks to plugins works again, Add tasks, set NeedsToRun to be true if tasks.count > 0, bot will perform all tasks then take back control.
- Removed: Removed Scripting Events, OnRez, OnDeath
- Added: Scripting Event: OnBotStatusChanged -> Fired when the bot status changes. See ENUMS. ie. isPausesd, isDead, isRezzing, isRunningPlugin
- Fixed: Scaled Right Click Task (was pressing left click by mistake)
ESO Bot:
 - Bugfix: Fixed crash bug when logging chat to window tab 2
Note: How to use OnNext task in your plugin:
        private bool bNeedsToRun = false;
        public bool NeedsToRun
        {
            get
            {
                //If plugin needs processing time from bot, edit bNeedsToRun to be true...
                //Bot will then call DoRun below... Once done, it will flag needs to run as false again...
                if (_Tasks.Count > 0)
                    bNeedsToRun = true;
                //NeedsToRun = false in OnIdle -> Means we finished our _Tasks!
                // Return true if plugin needs processor time
                return bNeedsToRun;
            }
        }
       public void OnBotStart(IGame bot)
        {
            // Instantiate the Bot Field
            myGame = bot;
            ITaskManager tm = myGame.GetTaskManager;
            tm.OnNextTask += Tm_OnNextTask;
        }
        private void Tm_OnNextTask(ref string txtTask, ref bool bHandled)
        {
            if (bHandled)
                return;
            myGame.Log.WriteLine("Plugin OnNextTask -> " + txtTask + " : handled= " + bHandled);
            if (txtTask.Contains("Pause"))
            {
                _Tasks.Add("Rest: 5000");
                myGame.Log.WriteLine("PluginTask -> Adding Pause 5000");
                bHandled = true;
            }
        }
        public void OnIdle()
        {
            bNeedsToRun = false;
            /* Do Nothing */
        }
			
			
									
									
						ESO bot 2.2.4.3 Scripting Fixes
Read-only announcements from the team.
Moderator: ScreamingEagle
Message
		Author
	
			
				Jump to
				
			
		
			
			
	
	- MMOViper Forums (PUBLIC)
 - ↳ Announcements
 - ↳ General Discussion Area
 - ↳ BugTracker
 - ↳ Viper Testimonials
 - Everquest 2 (EQ2) (PREMIUM ONLY)
 - ↳ EQ2 - Bugs / Feature Request
 - ↳ EQ2 - Setup / Help
 - ↳ EQ2 - ViperBot
 - ↳ EQ2 - Radar
 - Final Fantasy XI Bot (FFXI) (PREMIUM ONLY)
 - ↳ FFXI - Bugs / Feature Request
 - ↳ FFXI - Suggestions/Requests
 - ↳ FFXI - ViperBot
 - ↳ FFXI - Radar
 - Final Fantasy XIV Bot (FFXIV) (PREMIUM ONLY)
 - ↳ FFXIV - Help and Requests
 - ↳ FFXIV - ViperBot
 - ↳ FFXIV - User Shared Campaigns, Patrols, and Profiles
 - ↳ FFXIV Campaigns
 - ↳ FFXIV Crafting
 - ↳ FFXIV Botany
 - ↳ FFXIV Fishing
 - ↳ FFXIV Hunting
 - ↳ FFXIV Mining
 - ↳ FFXIV Fates
 - Lord of the Rings Bot (LOTRO) (PREMIUM ONLY)
 - ↳ LOTRO - Bugs / Feature Request
 - ↳ LOTRO - Setup / Help
 - ↳ LOTRO - ViperBot
 - ↳ LOTRO - Radar
 - Star Wars The Old Republic Bot (SWTOR) (PREMIUM ONLY)
 - ↳ SWTOR - Bugs / Feature Request
 - ↳ SWTOR - Setup / Help
 - ↳ SWTOR - ViperBot
 - ↳ SWTOR - Radar
 - Tree of Savior (TOS)
 - ↳ Tree of Savior Bot (TOS Bot) - Discussions
 - ↳ TOS Bot - - User Shared Campaigns, Patrols, and Profiles
 - ↳ TOS Hunting Patrols
 - ↳ TOS Profiles
 - ↳ TOS Scripting Plugins
 - ↳ TOS Game Mods (LUA)
 - ↳ Wildstar - Profiles
 - ↳ Wildstar - Hunting Patrols
 - ↳ Wildstar - Gathering Patrols
 - ↳ TERA - Bugs / Feature Request
 - ↳ TERA - Setup / Help
 - ↳ TERA - ViperBot
 - ↳ TERA - User Shared Campaigns, Patrols, and Profiles
 - ↳ TERA Hunting
 - ↳ TERA Gathering
 - ↳ ESO - General Discussions
 - ↳ ESO Bot - ViperBot
 - ↳ ESO - Guides
 - ↳ ESO - User Shared Campaigns, Patrols, and Profiles
 - ↳ ESO - Profiles
 - ↳ ESO - Hunting Patrols
 - ↳ ESO - Gathering Patrols
 - ↳ Aion - ViperBot
 - ↳ Aion - Help and Requests
 - ↳ Blade and Soul Bot - Help and Requests
 - ↳ Blade and Soul Bot - Discussions
 - ↳ BNS Bot - User Shared Campaigns, Patrols, and Profiles
 - ↳ BNS Hunting
 - ↳ GW2 - Bugs / Feature Request
 - ↳ GW2 - Setup / Help
 - ↳ GW2 - ViperBot
 - ↳ GW2 Campaigns
 - ↳ NWO - ViperBot
 - ↳ NWO - Setup / Help
 - ↳ NWO - Bugs / Feature Request
 - ↳ NWO - Campaigns
 - ↳ Revelation Online Bot - General Discussions
 - ↳ REVO Bot - - User Shared Campaigns, Patrols, and Profiles
 - ↳ REVO Profiles and Combat Scripts
 - ↳ REVO Campaigns/Patrols
 - ↳ REVO Scripting Plugins
 - ↳ REVO Game Mods (Python)