Jump to content
  • Unpause bot on combat


    Stauffenberg
    • Version: All Product: WRobot General Type: Suggestion Status: Not a Bug
     Share

    Servus,

    if you have set the security option "Pause bot if nearby player" the bot will enter a pause after n seconds (where n is set to 20 by default).
    Unfortunately, if this player hangs around you will be killed if an enemy npc comes along (or respawns).

    Could you please add the option "unpause if attacked" so the bot strikes back on emergency?
    If the player(s) are still around, the bot would anyhow pause again after n seconds... voilá


     Share


    User Feedback

    Recommended Comments

    I would like to confim this.

    The option to pause bot if a player is nearby is great to avoid player reports - but if a character is attacked by a npc in free world it looks like a bot because no human would go afk on a unsafe place.
    If the bot wakes up while beeing attacked all would be great because it would look like the character was just grabbing in inventory...

    Beyond danger the bot would go to pause if the other player is still in range and all is fine.

    Great idea!!

    Link to comment
    Share on other sites

    Thank you Atreides, so i think i am not alone with the problem.

    Worst annoying is if the other player is a foreign bot with this option set - so both will pause and the last killed mob will respawn one minute later...
    Nevertheless i would not like to go without this security option because the most danger is to be reported by a human

    Stauffenberg

    Link to comment
    Share on other sites

    Hello, try plugin like:

    using System.Threading;
    using robotManager.Products;
    using wManager.Wow.Helpers;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            while (Products.IsStarted)
            {
                if (Conditions.ProductInPause && Conditions.InGameAndConnectedAndAlive && Conditions.IsAttackedAndCannotIgnore)
                {
                    Products.InPause = false;
                }
                Thread.Sleep(500);
            }
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

     

    Main.cs

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...