Jump to content

Recommended Posts

j'ai le meme probleme jai suivie ton conseille et augmenter a 1000 et 1500 toujours la meme chose.

 

Pour etre plus precis. il descend au sol depop la monture volante mais tente toute suite apres de miner ce qui cree impossible en cours de déplacement. il faudrait quil est une latence entre le moment ou il depop la monture et le minage.

Un peut dans le meme genre que ce probleme --> 

faudrait faire un double clic pour le faire miner

 

 

using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Enums;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) =>
        {
            try
            {
                if (Var.GetVar<object>("LastTargetSkin") == (object)target)
                    return;
                Var.SetVar("LastTargetSkin", target);
                var o = ObjectManager.GetObjectByGuid(target);
                if (o.IsValid && o.Type == WoWObjectType.GameObject)
                {
                    var u = new WoWGameObject(o.GetBaseAddress);
                    if (u.IsValid)
                    {
                        new Thread(delegate ()
                        {
                            Thread.Sleep(500 + Usefuls.Latency);
                            Interact.InteractGameObject(u.GetBaseAddress);
                        }).Start();
                    }
                }
            }
            catch { }
        };


    }

    public void Dispose()
    {
    }

    public void Settings()
    {
        MessageBox.Show("No settings for this plugin.");
    }
}

C'est le double cliques pour les gameobjects

Vous pouvez également essayer cette version (pour que wrobot depop la monture avant de cliquer):

using System.Threading;
using System.Windows.Forms;
using wManager.Wow.Bot.Tasks;
using wManager.Wow.Enums;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
using Timer = robotManager.Helpful.Timer;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        wManager.Events.InteractEvents.OnInteractPulse += (target, cancelable) =>
        {
            try
            {
                if (!ObjectManager.Me.IsMounted && !ObjectManager.Me.GetMove)
                    return;
                var o = ObjectManager.GetObjectByGuid(target);
                if (o.IsValid && o.Type == WoWObjectType.GameObject)
                {
                    MountTask.DismountMount();
                    Thread.Sleep(Usefuls.Latency + 500);
                    var t = new Timer(2000 + Usefuls.Latency);
                    while (!t.IsReady && (ObjectManager.Me.IsMounted || ObjectManager.Me.GetMove))
                    {
                        Thread.Sleep(50);
                    }
                }
            }
            catch { }
        };
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
        MessageBox.Show("No settings for this plugin.");
    }
}

 

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