azetoy 0 Posted October 30, 2017 Share Posted October 30, 2017 salut je suis sur un serveur privé légèrement bugée pour dépecer les mob je doit fair 2 clique gauche est-ce possible de modifier le bot pour qu'il fasse 2 clique gauche sur chaque mob tuer ? Link to comment Share on other sites More sharing options...
Droidz 2674 Posted October 31, 2017 Share Posted October 31, 2017 Bonjour, essayé ce plugin: SkinDoubleClick.cs 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.Unit) { var u = new WoWUnit(o.GetBaseAddress); if (u.IsValid && u.Skinnable) { 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."); } } Link to comment Share on other sites More sharing options...
azetoy 0 Posted October 31, 2017 Author Share Posted October 31, 2017 merci beaucoup ca marche Link to comment 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