Jump to content

Droidz

Administrators
  • Posts

    12535
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

146576 profile views
  1. Hello, try this WRobot plugin : using System; using robotManager.Helpful; using wManager.Plugin; using wManager.Wow.Helpers; public class Main : IPlugin { private bool _isLaunched; public void Initialize() { _isLaunched = true; while (_isLaunched) { CheckBags(); } } private void CheckBags() { if (Conditions.InGameAndConnectedAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore && Bag.GetContainerNumFreeSlots == 0) { Logging.Write("Bags are full, stopping profile."); wManager.Wow.Memory.WowMemory.CloseHookedProcess(); // Close game Environment.Exit(-20); // Exit code -20 stops relogger profile } } public void Dispose() { _isLaunched = false; } public void Settings() { Logging.Write("No settings available."); } } Main.cs
  2. To add offmesh Connectionsin your profile your should use "Easy profiles creator" (tab "Product settings" > "Tools" menu > "OffMesh Connections". You can also add it in the tab "Tools" > "OFFMESH CONNECTIONS" (this option will fix path for all products). https://wrobot.eu/forums/topic/5283-offmesh-connections/
  3. Hello, try to use a lower value in "Cost per yard" and activate the option "Can be used even when path success".
  4. Hello, try this plugin : using System.Linq; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.Events.OnCustomEvent += (eventName, args, cancelEvent) => { try { if (eventName =="SpellManager.CastSpellByNameOn" && args != null && args.Length == 2 && args[0] != null && args[0] is string && args[1] != null && args[1] is string) { var spellName = (string)args[0]; var luaUnitId = (string)args[1]; var spell = SpellManager.SpellBook().FirstOrDefault(s => s.NameInGame == spellName); if (spell != null) { var englishSpellName = spell.Name; if (!string.IsNullOrWhiteSpace(englishSpellName)) { Lua.LuaDoString(string.Format("CastSpellByName('{0}', '{1}');", englishSpellName.Replace("'", @"\'"), luaUnitId.Replace("'", @"\'"))); cancelEvent.Cancel = true; } } } } catch{} }; } public void Dispose() { } public void Settings() { } } Main.cs
  5. Hello, yes. Use https://wrobot.eu/forums/topic/2202-profile-positions-and-action-column/ With the action : c#: robotManager.Products.Products.ProductStop();
  6. Hello, in advanced general settings, use "Edit list of items at buy"
  7. Hello, you can use https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch?view=net-9.0 or WRobot Timer https://wrobot.eu/byme/doc/html/AllMembers.T-robotManager.Helpful.Timer.htm ( https://github.com/droidzfr/WRobot_Packages/blob/60ae2bf88708e27e1b461244dcc1cbac17485eb4/vanilla/FightClass/Mage.cs#L159 )
  8. Hello, WRobot works only on old Wow versions (private servers) https://wrobot.eu/supported-wow-versions/
  9. Droidz

    changewowpath error

    Hi, your use case is not common, the relogger checks at startup if the paths are good. Here is a plugin (to test) that should do what you want: using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Windows.Forms; using Relogger.Classes; using robotManager.Helpful; namespace MyNamespace { public class MyPlugin : Relogger.ReloggerPlugin { public override string Name { get { return "Stop profile if wow path not found"; } } bool IsRunning { get; set; } public override void OnStart() { IsRunning = true; var timer = Stopwatch.StartNew(); while (IsRunning) { if (timer.ElapsedMilliseconds > 10000) { timer.Restart(); try { for (int i = 0; i < ReloggerGeneralSettings.CurrentSetting.Profiles.Count; i++) { var p = ReloggerGeneralSettings.CurrentSetting.Profiles[i]; if (p.Status == Relogger.Classes.Status.Running) { var changeWowPathTasks = p.Settings.Tasks .Where(t => t.Task.TaskType == TaskType.ChangeWowPath).ToList(); if (changeWowPathTasks.Any()) { foreach (var task in changeWowPathTasks) { if (task.Task is ChangeWowPathReloggerTask taskTask) { if (!File.Exists(taskTask.WowPath)) { Logging.WriteError(Name + " > Wow path not found: " + taskTask.WowPath); p.Stop(); break; } } } } } } } catch (Exception e) { Logging.WriteError(Name + " > " + e); } } System.Threading.Thread.Sleep(500); } } public override void OnStop() { IsRunning = false; } public override void OnButtonPress() { MessageBox.Show("No available."); base.OnButtonPress(); } } }
  10. Hello, do you get this problem in specific zones?
  11. Hello, try to launch the bot with the shortcut "WRobot (DX hook)". If your problem is not solved, can you share your log file please (you can found it in the folder "Logs")
  12. But the refund should appear in your bank account now. (5 to 10 days https://docs.stripe.com/refunds )
×
×
  • Create New...