Jump to content
  • Search Distance doesnt affect Z axis


    prestonjacobs
    • Version: All Product: WRobot General Type: Bug Status: Added

    Search distance is set to 12yrds yet this happens;

    14:00:53 - [Looting] Loot Drakkari Guardian
    [N] 14:00:53 - [Path-Finding] FindPath from -356,5656 ; -592,5488 ; 5,109683 ; "None" to -351,052 ; -597,4797 ; 72,60866 ; "None" (DrakTheronKeep)
    [N] 14:00:54 - [Path-Finding] Path Count: 47 (806,0964y)



    User Feedback

    Recommended Comments

    prestonjacobs

    Posted

    Another example
    13:57:44 - [Looting] Loot Darkweb Recluse
    [N] 13:57:44 - [Path-Finding] FindPath from -283,5313 ; -702,7404 ; 101,7761 ; "None" to -282,2986 ; -709,7983 ; 27,29189 ; "None" (DrakTheronKeep)
    [N] 13:57:44 - [Path-Finding] Path Count: 38 (734,7675y)

    prestonjacobs

    Posted

    [N] 12:54:49 - [Path-Finding] FindPath from -405,8111 ; -595,4749 ; 1,025143 ; "None" to -415,9894 ; -595,5316 ; 72,69058 ; "None" (DrakTheronKeep)
    [N] 12:54:49 - [Path-Finding] Path Count: 44 (773,6609y)

    Droidz

    Posted

    Hello, WRobot check distance 2d

    prestonjacobs

    Posted

    4 minutes ago, Droidz said:

    Hello, WRobot check distance 2d

    possible to make it check 3d? if it doesnt check Z axis, most of my dungeon profiles are worthless since its spends so much time running through entire instance to loot mobs it alrdy looted, cause AOE loot is buggy.

    prestonjacobs

    Posted

    Just now, Droidz said:

    You get only problem to loot?

    I dont use "attack before being attacked", so the only time the bot has to search is for lootable mobs.
    The server that I play on it sometimes still show mobs I've AOE looted as lootable, so the bot runs back through the instance trying to loot a mob that doesnt have any loot.
    Is it possible to increase the blacklist timer for AOE looted mobs?

    Droidz

    Posted

    Try this plugin LootMaxDistanceZ.cs :

    using System.ComponentModel;
    using wManager.Wow.ObjectManager;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            wManager.Events.LootingEvents.OnLootingPulse += delegate (WoWUnit unit, CancelEventArgs cancelable)
            {
                try
                {
                    if (unit.GetDistanceZ > 15)
                    {
                        wManager.wManagerSetting.AddBlackList(unit.Guid, 1000 * 60, true);
                        cancelable.Cancel = true;
                    }
                }
                catch {}
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

    (replace 15 (line 12) by max Z distance)

    Droidz

    Posted

    Changed Status to Added

    Changed Version to All



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