Jump to content

Intercepting gathering movement with plugin?


marrvin

Recommended Posts

Hi,

is it possible to "intercept/override" the "move-to-gather node" state of gatherer?

I want to add some basic anti-stuck when flying to a node via a plugin.

Like ascending / strafing some yards when distance to the gathe rnode does not change for like 5 seconds.

Thanks  for any help

Link to comment
Share on other sites

Hello, do you have try with this events 

        wManager.Events.MovementEvents.OnPulseStuckResolver += delegate(CancelEventArgs cancelable)
        {
            
        };

        wManager.Events.MovementEvents.OnSeemStuck += delegate
        {
            
        };

You can try to check status if you want run this code only when you farming

if (robotManager.Helpful.Logging.Status == "Farming")

(you can also read last log)

Link to comment
Share on other sites

Hi, thank you, Droidz!

the

robotManager.Helpful.Logging.Status == "Farming"

trick is working quite well ;)

I also want to add some JumpOrAscend when gatherer detects the "next/new" gatherig node that is "above" the char.
Because currently the movement looks very stuttering when gatherer flies to a node with node.z >  me.z   (looks like it runs up stairs).

How to readout the position of the current  node/POI gatherer is focused on ?

Thank you in advanced.

 

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