Jump to content

Droidz

Administrators
  • Posts

    12519
  • Joined

  • Last visited

Everything posted by Droidz

  1. Hello, in "script can condition" put code like : return wManager.Wow.ObjectManager.ObjectManager.Me.Level >= 5 && wManager.Wow.ObjectManager.ObjectManager.Me.Level <= 15; Replace 5 by the minimum level, 15 by the maximum level (in the current code, the bot will buy your item if the level is equal to or bigger than 5 and equal to or lower than 15).
  2. Hello, WRobot uses an older version of the C# compiler that does not support string interpolation with the '$' syntax for variables like {varname}. However, you can use '@' for multiline strings.
  3. Bonjour, Oui, ALT-X pour mettre en pause le bot ou l'enlever, ou ALT-C pour démarrer/arrêter le bot.
  4. https://wrobot.eu/forums/topic/15507-improving-bot-navigation-to-initial-position/?do=findComment&comment=69491&_rid=1
  5. Hello, Check that the positions in your profile are of type 'Flying'. If not that, you can share here the parts of the log where the bot does this problem.
  6. Hello, Have you tried with 'WRobot DX'? But your case seems complicated, whether in relation to Mac and an ARM processor, I have not yet had any feedback on this configuration.
  7. Hello, you can found upgrade invoice here: https://wrobot.eu/clients/orders/ Sincerely
  8. Hello, try to download the game client on another website than the server where you play : https://wowdl.net/files/clients#wrath-of-the-lich-king
  9. Hello, using System.Threading; using robotManager.Helpful; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { private bool _isStarted; public void Initialize() { _isStarted = true; var stopWatch = new System.Diagnostics.Stopwatch(); while (_isStarted) { if (Conditions.InGameAndConnectedAndProductStartedNotInPause) { if (ObjectManager.Me.IsDeadMe && stopWatch.Elapsed.TotalMinutes > 5) { Logging.Write("Bot is dead for more than 5 minutes, closing game."); wManager.Wow.Memory.WowMemory.CloseHookedProcess(); _isStarted = false; } else if (ObjectManager.Me.IsDeadMe) { stopWatch.Start(); } else { stopWatch.Reset(); } } Thread.Sleep(500); } } public void Dispose() { _isStarted = false; } public void Settings() { } }
  10. Hello, in the first task of each, use "ChangeWowPath"
  11. Hello, string[] objectNames = new string[] { "Bonfire" }; foreach (string objectName in objectNames) { var gameObjects = ObjectManager.GetObjectWoWGameObject() .Where(o => o.Name.Contains(objectName) && o.GetDistance <= maxDistance) .OrderBy(o => o.GetDistance) .FirstOrDefault(); if (gameObjects != null) { // ... } }
  12. Hello, you can find the renewal invoice here: https://wrobot.eu/clients/orders/
  13. I will release a version for Dragon Flight in early September.
  14. Hello, To force the relogger to complete the current task and go to the next, you can run from the bot this c# code : System.Environment.Exit(-10); This code will close the bot (you can close the game before that with the code "wManager.Wow.Memory.WowMemory.CloseHookedProcess();") In your relogger add several tasks like : ChangeCharacter Run ChangeCharacter Run ChangeCharacter Run ...
  15. Hello, you can disable pathfinder in advanced general settings or with this c# code : wManager.wManagerSetting.CurrentSetting.UsePathsFinder = false;
  16. sorry I fixed the code of my previous post.
  17. Hello, No tested, but you can try this plugin : CastSpellByName to Cast Macro.cs using robotManager.Helpful; public class Main : wManager.Plugin.IPlugin { public void Initialize() { Logging.Write("CastSpellByName to /cast plugin loaded."); robotManager.Events.Events.OnCustomEvent += OnEventsOnOnCustomEvent; } private void OnEventsOnOnCustomEvent(string name, object[] args, System.ComponentModel.CancelEventArgs cancelable) { if (name.StartsWith("SpellManager.CastSpellByName") && args.Length >= 1 && args[0] is string) { var spellName = (string)args[0]; if (!string.IsNullOrWhiteSpace(spellName)){ string luaUnit = null; if (args.Length >= 2 && args[1] is string) luaUnit = (string)args[1]; cancelable.Cancel = true; if (!string.IsNullOrWhiteSpace(luaUnit) && luaUnit != "player") { Logging.WriteDebug("Casting " + spellName + " on " + luaUnit + " with macro /cast"); wManager.Wow.Helpers.Lua.RunMacroText("/cast [@" + luaUnit + "] " + spellName); } else { Logging.WriteDebug("Casting " + spellName + " with macro /cast"); wManager.Wow.Helpers.Lua.RunMacroText("/cast " + spellName); } } } } public void Dispose() { robotManager.Events.Events.OnCustomEvent -= OnEventsOnOnCustomEvent; } public void Settings() { } } I haven't tested, but this plugin should enable fight classes that use the bot method "CastSpellByNameOn" (which is the case for most fight classes) to force the bot to use "/cast ..." instead. Therefore, use this plugin with your fight class configured normally (without using "/cast").
  18. Hello, your game version is in this list ? https://wrobot.eu/supported-wow-versions/ Do you use an unmodified game client ?
  19. Hello, By default, GoToTask methods don't work when the character is dead. No tested but code should look like: robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) => { if (state is wManager.Wow.Bot.States.Resurrect && ObjectManager.Me.IsDead) { if (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-14284.96f, 288.4472f, 32.33204f)) < 2) { var destination = new Vector3(-14283.13f, 293.2209f, 31.98451f); int npcEntryId = 1000128; var goToSuccess = wManager.Wow.Bot.Tasks.GoToTask.ToPosition( destination, 3.5f, false, c => Conditions.InGameAndConnectedAndProductStartedNotInPause); if (goToSuccess) { var npcs = ObjectManager.GetWoWUnitByEntry(npcEntryId); var npcUnit = npcs.Where(n => n.IsValid).OrderBy(n => n.GetDistance).FirstOrDefault(); if (npcUnit != null) { Interact.InteractGameObject(npcUnit.GetBaseAddress); System.Threading.Thread.Sleep(500); Usefuls.SelectGossipOption(3); System.Threading.Thread.Sleep(3000); cancelable.Cancel = true; } } } } };
  20. Hello, Nodes are probably blacklisted. Can you share full log file of bugged bot session.
  21. Hello, For mailbox and post all items in auction house use the product "Auction", for go to guild bank and deposit gold use "Custom Profile" or "Quester". To switch between "Auction" and "Custom Profile" / "Quester" products, you can use "Relogger" application or "Schedule" product.
  22. Hello, robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelEvent) => { if (state is wManager.Wow.Bot.States.Farming farmingState) { farmingState.IgnoreIfPlayerNear = true; } };
×
×
  • Create New...