What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Logic] Now disabling Always Highlight to avoid targeting issues.

sephiro

New Member
Joined
Apr 23, 2014
Messages
16
Reaction score
0
That's what my bot say's when he see a Strongbox : '[Logic] Now disabling Always Highlight to avoid targeting issues.'
So , he dont moove and be kill . I have try to enable and disable the settings :' NeverDisableAlwaysHilight'
And no changement ...
What can i do for stop this please ?:)
 
And sometime he doing that without raison , without strongbox , i really dont understand
 
I'm the only who have this bug ? :'(
 
Last edited:
Please attach a full log if you need Support in the future.

The ExampleRoutine is setup to disable highlighting around strongboxes to avoid targeting issues with the strongbox label that prevents skills from being used due to mouse focus. If you want to remove this logic from ExampleRoutine you can delete the code itself from ExampleRoutine:
Code:
// This logic is now CR specific, because Strongbox gui labels interfere with targeting,
                // but not general movement using Move only.
                if (
                    LokiPoe.ObjectManager.GetObjectsByType<Chest>()
                        .Any(c => c.Distance < 70 && !c.IsOpened && c.IsStrongBox))
                {
                    if (LokiPoe.InGameState.IsAlwaysHighlightEnabled)
                    {
                        Log.InfoFormat("[Logic] Now disabling Always Highlight to avoid targeting issues.");
                        LokiPoe.Input.ToggleAlwaysHighlight();
                        return true;
                    }
                }
                else
                {
                    if (!LokiPoe.InGameState.IsAlwaysHighlightEnabled)
                    {
                        Log.InfoFormat("[Logic] Now enabling Always Highlight.");
                        LokiPoe.Input.ToggleAlwaysHighlight();
                        return true;
                    }
                }

However, you will see more issues with combat around Strongboxes.

Make sure you have read the ExampleRoutine Guide, especially the Gui Overlap Section, to make sure your key bindings aren't causing the bot to be unable to attack due to the GUI labels,
 
Please attach a full log if you need Support in the future.

The ExampleRoutine is setup to disable highlighting around strongboxes to avoid targeting issues with the strongbox label that prevents skills from being used due to mouse focus. If you want to remove this logic from ExampleRoutine you can delete the code itself from ExampleRoutine:
Code:
// This logic is now CR specific, because Strongbox gui labels interfere with targeting,
                // but not general movement using Move only.
                if (
                    LokiPoe.ObjectManager.GetObjectsByType<Chest>()
                        .Any(c => c.Distance < 70 && !c.IsOpened && c.IsStrongBox))
                {
                    if (LokiPoe.InGameState.IsAlwaysHighlightEnabled)
                    {
                        Log.InfoFormat("[Logic] Now disabling Always Highlight to avoid targeting issues.");
                        LokiPoe.Input.ToggleAlwaysHighlight();
                        return true;
                    }
                }
                else
                {
                    if (!LokiPoe.InGameState.IsAlwaysHighlightEnabled)
                    {
                        Log.InfoFormat("[Logic] Now enabling Always Highlight.");
                        LokiPoe.Input.ToggleAlwaysHighlight();
                        return true;
                    }
                }

However, you will see more issues with combat around Strongboxes.

Make sure you have read the ExampleRoutine Guide, especially the Gui Overlap Section, to make sure your key bindings aren't causing the bot to be unable to attack due to the GUI labels,




Great , I have try to configure like the guide say , but the bug on strongbox stay , so i have delete what you say , and now this work good . Thank you and sorry for my bad english
 
Back
Top