Jump to content

Stop looting with full bags


Recommended Posts

Hey @Droidz Since vendoring is Not perfect on wrobot, sometimes i have problems with bots grinding with full bags, The problem is even if bot relog and he get correct vendor in database, he trying to go ToTown, but he loop between 2 unlooted mobs forever, before mob corpse disappears, but most likely new mob will respawn and bot kill him, making another corpse unlooted, Any fixes for disable loot when you go toTown etc? Probably default blacklist unit timer can solve it, my server has high respawn rate and i'm on 12 sec

Link to comment
Share on other sites

Hey,

You can increment option "wManager.wManagerSetting.CurrentSetting.BlacklistUnitDefaultTimeMs" (default: 120000 ms (2 minutes))

Or you can increment option "wManager.wManagerSetting.CurrentSetting.MinFreeBagSlotsToGoToTown" (default 2) (you can found this option in advanced general settings)

Or you can try plugin like:

using wManager.Wow.Bot.States;
using wManager.Wow.Helpers;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
        {
            if (state is Looting && Bag.GetContainerNumFreeSlotsNormalType == 0)
                cancelable.Cancel = true;
        };
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

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