Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

bryan2986

Plugin for attacking specific mobs?

Recommended Posts

Hello,

I'm currently gathering dreamleaf using WROBOT with Sky Golem so I have the option "Do not attack while mounted in Sky Golem" on.

But what I want is a plugin or whatevers needed to let my bot get off Sky Golem and attack the mob that spawns after herbing those random dreamleaf nodes that drops extra dreamleafs.

Can anybody help me with this matter?

Thanks in advance

Share this post


Link to post
Share on other sites

Hello, Try this plugin: GatheringMobSpawns.cs

using System.Collections.Generic;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Bot.States;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        var grinderState = new Grinding {EntryTarget = new List<int> {98232, 98234, 98235, 98233 } }; // http://www.wowhead.com/npc=98232/withered-hungerer , http://www.wowhead.com/npc=98234/nightmare-creeper , http://www.wowhead.com/npc=98235/frenzied-fox, http://www.wowhead.com/npc=98233/withered-hungerer
        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state != null && state.DisplayName == "Farming")
            {
                if (grinderState.NeedToRun)
                {
                    grinderState.Run();
                    cancelable.Cancel = true;
                }
            }
        };
        Logging.Write("[GatheringMobSpawns] Loadded.");
    }

    public void Dispose()
    {
        Logging.Write("[GatheringMobSpawns] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[GatheringMobSpawns] No settings for this plugin.");
    }
}

 

Share this post


Link to post
Share on other sites
On 13/2/2017 at 11:45 AM, Droidz said:

Hello, Try this plugin: GatheringMobSpawns.cs

using System.Collections.Generic;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Bot.States;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        var grinderState = new Grinding {EntryTarget = new List<int> {98232, 98234, 98235 } }; // http://www.wowhead.com/npc=98232/withered-hungerer , http://www.wowhead.com/npc=98234/nightmare-creeper , http://www.wowhead.com/npc=98235/frenzied-fox
        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state != null && state.DisplayName == "Farming")
            {
                if (grinderState.NeedToRun)
                {
                    grinderState.Run();
                    cancelable.Cancel = true;
                }
            }
        };
        Logging.Write("[GatheringMobSpawns] Loadded.");
    }

    public void Dispose()
    {
        Logging.Write("[GatheringMobSpawns] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[GatheringMobSpawns] No settings for this plugin.");
    }
}

 

Hello, I downloaded that and I put it in "wrobot / plugins" but when I open the bot I can't activate it, what can I do?

thanks!

Share this post


Link to post
Share on other sites

Just enable the plugin in plugins tab it should show up as GatheringMobSpawns.cs and set it to on. The second thing is this is plugin created to kill specific mobs with ids like

new List<int> {98232, 98234, 98235 } };

To make the bot kill other kind of mob you must find the id on wowhead and add it to list.

For now that list let the bot attack 3 mobs :

www.wowhead.com/npc=98232

www.wowhead.com/npc=98234

www.wowhead.com/npc=98235

To add mob you must go to wowhead find the mob id and add it to that list directly into the plugin code.

 

 

Share this post


Link to post
Share on other sites
On 2/13/2017 at 8:45 AM, Droidz said:

Hello, Try this plugin: GatheringMobSpawns.cs

using System.Collections.Generic;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Bot.States;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        var grinderState = new Grinding {EntryTarget = new List<int> {98232, 98234, 98235 } }; // http://www.wowhead.com/npc=98232/withered-hungerer , http://www.wowhead.com/npc=98234/nightmare-creeper , http://www.wowhead.com/npc=98235/frenzied-fox
        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state != null && state.DisplayName == "Farming")
            {
                if (grinderState.NeedToRun)
                {
                    grinderState.Run();
                    cancelable.Cancel = true;
                }
            }
        };
        Logging.Write("[GatheringMobSpawns] Loadded.");
    }

    public void Dispose()
    {
        Logging.Write("[GatheringMobSpawns] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[GatheringMobSpawns] No settings for this plugin.");
    }
}

 

I didn't think this plugin was working but then I disabled the option to ignore fighting while in sky golem and travel form and now it seems like this is working great. Looks like it ignores other mobs and is just attacking withered hungerers on my starlight farm. Thanks :)!

Share this post


Link to post
Share on other sites

Thank you.

Edit: Does this interfer with setting the option "Ignore fights while in travel form/shredder" ? I have just activated the plugin and the bot ignored a Nightmare Creeper.. @Droidz

Edit2: Done, thanks. Will test it out right now

Share this post


Link to post
Share on other sites
22 minutes ago, testingz said:

Thank you.

Edit: Does this interfer with setting the option "Ignore fights while in travel form/shredder" ? I have just activated the plugin and the bot ignored a Nightmare Creeper.. @Droidz

You have to disable the option "ignore fighting while in sky golem and travel form".

Share this post


Link to post
Share on other sites
39 minutes ago, Runaro said:

My message was to @testingz and was about the plugin?

Yes yes! Sry, just quoted to post my problem, but i made another thread since i have another one related to this :D

edit: Actually, i have checked "ignore fighting etc." in mount and in gathering options too, but seems working fine.

If someone needs here's my log

27 feb 2017 18H30.log.html

Share this post


Link to post
Share on other sites

Does anyone know how to setup loot distance? Not search radius in wrobot options, but exactly loot radius. I need it to avoid looting every mob in 300 radius. And if I turn off "Loot mobs" option bot doesn't loot spawned mobs (e.g. withered hungerer).

Share this post


Link to post
Share on other sites
On 27.2.2017 at 7:04 PM, Runaro said:

My message was to @testingz and was about the plugin?

Does this also work during stealth? I have noticed it works very well with the mobs that spawn on gathering procs on nodes, but attacking mobs on the path (e.g felfire basilisk) when being stealthed, does not seem to work. I've switched to attack first, but then the bot also goes out of stealth with a few withered and some other non-minable basilisk and I dont want that. What fix do you recommend? I have not found one so far that does the described (ignore all other mobs as usual, but include felfire basilisks during run.  Is any of that influenced by attack  before being attack here? I've added the ID and link into the .cs file http://www.wowhead.com/npc=101868/felfire-basilisk

Edit: Seems to magically work now

Share this post


Link to post
Share on other sites
On 4.3.2017 at 10:22 AM, scsfl said:

Erm, I don't get, does option "Loot mobs" should be turned ON?

if you want to loot a mob then loot mobs has to be turned on, naturally, yes.

Share this post


Link to post
Share on other sites

Plugin works super good with mob wich you need to attack, but you need to add http://www.wowhead.com/npc=98233/withered-hungerer for Suramar proc. 

If you farm  Foxflower and you have a few enemies near spot bot try to attack fox and after few fail attack bot switch to another target. But if you dont have enemies and agro bot try to attack only fox and follow gather :) 

For fox need anorher good solution (follow the fox before it disappears for example)

i am sorry for my bad english

Share this post


Link to post
Share on other sites

it seems that plugin works not really correct

with option "ignore while in travel form" bot gather herb and continue runnin, but if he was attacked right after gathering - he begin to fight, what he didnt with ignore option

Share this post


Link to post
Share on other sites
On 13.2.2017 at 3:45 PM, Droidz said:

Hello, Try this plugin: GatheringMobSpawns.cs

using System.Collections.Generic;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Bot.States;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        var grinderState = new Grinding {EntryTarget = new List<int> {98232, 98234, 98235, 98233 } }; // http://www.wowhead.com/npc=98232/withered-hungerer , http://www.wowhead.com/npc=98234/nightmare-creeper , http://www.wowhead.com/npc=98235/frenzied-fox, http://www.wowhead.com/npc=98233/withered-hungerer
        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state != null && state.DisplayName == "Farming")
            {
                if (grinderState.NeedToRun)
                {
                    grinderState.Run();
                    cancelable.Cancel = true;
                }
            }
        };
        Logging.Write("[GatheringMobSpawns] Loadded.");
    }

    public void Dispose()
    {
        Logging.Write("[GatheringMobSpawns] Disposed.");
    }

    public void Settings()
    {
        MessageBox.Show("[GatheringMobSpawns] No settings for this plugin.");
    }
}

 

Awesome thanks alot! This works like a charm :)

Share this post


Link to post
Share on other sites

is there a way to make the plugins hit every foxflower from frenzied fox instead of attacking ? got a plugins like that with HB, i dont know if is possible with this bot

Share this post


Link to post
Share on other sites

if i using this for fishing npc spawns after lure use in Legion, bot only attack after 2-4 fished and dont loot dead npc in fisherbot mode how to fix `?

Share this post


Link to post
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
Reply to this topic...

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