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

    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.

    Link to comment
    Share on other sites

    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
    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...