Jump to content
  • [FSM] State wManager.Wow.Bot.States.... already launched, ignore it.


    Pudge
    • Product: WRobot General Type: Bug Status: Unconfirmed

    This appears after stopping bot using stop button and launch bot again, after this messages bot doesnt do anything until kill the process and start the bot again. It happens very often. I made the function in my plugin that kill wrobot.exe after this messages appears in log, but the plugin is usually loaded after these entries appears in log and in 99% of cases this does not work.

    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.
    [D] 12:12:33 - [FSM] State   already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.ProspectingState already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.MillingState already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Farming already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Looting already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Regeneration already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.FarmingRange already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.LootingRange already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.BattlePetState already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.IsAttacked already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.MyMacro already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Resurrect already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Pause already launched, ignore it.
    [D] 12:12:33 - [FSM] State wManager.Wow.Bot.States.Relogger already launched, ignore it.



    User Feedback

    Recommended Comments

    Pudge

    Posted

    4 hours ago, TheSmokie said:

    restart your bot.

    Hey, do you read what I wrote? And what, bug will be fixed this way? Man, I've restated bot above 100500 times, and now I'm totally bored of this, that's really annoying, ugh.

    TheSmokie

    Posted (edited)

    try something like this

    public static class block
    {
    	public static readonly List<string> Logs = new List<string>
    	{
    		"[FSM] State wManager.Wow.Bot.States.Idle already launched, ignore it.",
    		"[FSM] State   already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Trainers already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Talents already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.FlightMasterDiscoverState already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.ToTown already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.FlightMasterTakeTaxiState already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.ProspectingState already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.MillingState already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Farming already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Looting already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Regeneration already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.FarmingRange already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.LootingRange already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.BattlePetState already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.IsAttacked already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.MyMacro already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Resurrect already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Pause already launched, ignore it.",
    		"[FSM] State wManager.Wow.Bot.States.Relogger already launched, ignore it.",
    
    	};
    
    	public static void CloseWrobot()
    	{
    		robotManager.Events.LoggingEvents.OnAddLog += delegate (Logging.Log log)
    		{
    			foreach (string errorlogs in Logs)
    			{
    				if (log.Text.Contains(errorlogs))
    					System.Diagnostics.Process.GetCurrentProcess().Kill();
    			}
    
    		};
    	}
    }

     

    Edited by TheSmokie
    Matenia

    Posted

    He said he already uses a plugin like that...

    That's not the solution. It's when you either click "start" too quickly twice in a row or reload the context/produt incorrectly through code.



    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...