marrvin 8 Posted January 30, 2018 Share Posted January 30, 2018 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 https://wrobot.eu/forums/topic/8449-intercepting-gathering-movement-with-plugin/ Share on other sites More sharing options...
Droidz 2742 Posted January 30, 2018 Share Posted January 30, 2018 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) Avvi 1 Link to comment https://wrobot.eu/forums/topic/8449-intercepting-gathering-movement-with-plugin/#findComment-38629 Share on other sites More sharing options...
marrvin 8 Posted January 30, 2018 Author Share Posted January 30, 2018 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 https://wrobot.eu/forums/topic/8449-intercepting-gathering-movement-with-plugin/#findComment-38647 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now