Jump to content

Droidz

Administrators
  • Posts

    12524
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

144913 profile views
  1. 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(); } } }
  2. Hello, do you get this problem in specific zones?
  3. 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")
  4. But the refund should appear in your bank account now. (5 to 10 days https://docs.stripe.com/refunds )
  5. Hello, You made a refund request which was accepted.
  6. Hello, Can you share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  7. Hello, no https://wrobot.eu/forums/topic/2018-wrobot-old-versions/
  8. Hello, Yes you can use fightclass editor with the option "Not spell, is lua script" with timer option to avoid spamming lua commands. Or you can use C# fightclass (sample of structure) : using System; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : ICustomClass { public float Range { get { return 4.5f; } } private bool _isLaunched; private ulong _lastTarget; public void Initialize() { _isLaunched = true; Logging.Write("[My fightclass] Is initialized."); Rotation(); } public void Dispose() { _isLaunched = false; Logging.Write("[My fightclass] Stop in progress."); } public void ShowConfiguration() { MessageBox.Show("[My fightclass] No setting for this Fight Class."); } internal void Rotation() { Logging.Write("[My fightclass] Is started."); while (_isLaunched) { try { if (Conditions.InGameAndConnectedAndProductStartedNotInPause) { if (ObjectManager.Me.IsAlive) { if (Fight.InFight && ObjectManager.Me.Target.IsNotZero()) { OneTimePerCombatTasks(); CombatTasks(); } else { OutOfCombatTasks(); } } } } catch (Exception e) { Logging.WriteError("[My fightclass] ERROR: " + e); } Thread.Sleep(250); // Pause to reduce the CPU usage, you can increment sleep time. } Logging.Write("[My fightclass] Is now stopped."); } internal void OutOfCombatTasks() { if (ObjectManager.Me.IsMounted) return; Lua.LuaDoString(@" --[[ Your Lua code here ]]-- print('Out of combat tasks'); "); } internal void OneTimePerCombatTasks() { if (ObjectManager.Me.Target == _lastTarget) return; _lastTarget = ObjectManager.Me.Target; Lua.LuaDoString(@" --[[ Your Lua code here ]]-- print('One time per combat tasks'); "); } internal void CombatTasks() { Lua.LuaDoString(@" --[[ Your Lua code here ]]-- print('Combat tasks'); "); } }
  9. Hello, Can you share a log file of a session where the bot should dragon riding please.
  10. Hello, Your code can't work it doesn't have the good structure. Here is some code with a correct structure (although I don't think it works, it would need to be debugged): using System.Collections.Generic; using System.Threading; using robotManager.Helpful; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; using wManager.Wow.Enums; public class Main : wManager.Plugin.IPlugin { public void Initialize() { EventsLuaWithArgs.OnEventsLuaStringWithArgs += OnAuctionHouseShow; } private void OnAuctionHouseShow(string eventName, List<string> args) { if (eventName == "AUCTION_HOUSE_SHOW") { Logging.WriteDebug("Auction House is open"); Thread.Sleep(5000); SellGreenItems(); } } public void SellGreenItems() { foreach (WoWItem item in Bag.GetBagItem()) { if (item.GetItemInfo.ItemRarity == (int)WoWItemQuality.Uncommon) { Logging.WriteDebug($"Selling {item.Name}"); Bag.PickupContainerItem(item.Name); Thread.Sleep(1500); AuctionHelpers.StartAuction(50000, 50000, AuctionHelpers.Duration._12H, 1, 1); //Lua.LuaDoString($@"StartAuction(50000, 50000, 12, 1);"); } } } public void Dispose() { EventsLuaWithArgs.OnEventsLuaStringWithArgs -= OnAuctionHouseShow; } public void Settings() { } }
  11. Hello, sorry, you still get this problem ? Can you share the log, and if you can video of this issue.
  12. Hello, I recommend that you use the default feature in the bot for this. (in advanced general settings tab regen)
  13. Hello, https://wrobot.eu/forums/topic/1717-gatherer-advanced-profile-how-to-change-zone-after-leveltime/
  14. The server is back online
  15. Hello, The host on which the WRobot authentication server is located is currently having an incident that you can follow at this address : https://bare-metal-servers.status-ovhcloud.com/incidents/cdg1nmrrzbvt
×
×
  • Create New...