Jump to content

Droidz

Administrators
  • Posts

    12581
  • Joined

  • Last visited

Bug Report Comments posted by Droidz

  1. Hello,

    Check in the main tab if the remote option is enabled; if it is, try disabling it.

    If that's not the issue, it's likely due to one of your plugins/profiles/fightclasses. Try disabling them one by one to find the source of the problem.

  2. 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();
            }
        }
    }

     

  3. The profile test_ok.xml works for you ? (if not, share your log file)

    I gave you the answer, use hotspots rather than static/fixed paths. You can do this with the 'Grinder' by activating the option, or with the 'Quester' (default).

    If you really want to use a fixed path, you must add the necessary code yourself to take the elevator (the bot does not modify the fixed paths, he trusts the profile creator).

  4. Hello,

    The problem is that you are using a predefined/static path (which doesn't account for the elevator), and when a predefined path is provided, the bot follows it without question.

    You can either add the C# code in "Action" to your path to account for the elevator (which is complex) : https://wrobot.eu/bugtracker/add-offmesh-forced-for-barrens-elevator-r1200/?do=findComment&comment=5561&_rid=1

    Or you can use hotspots and let the pathfinder do its job (this elevator is supported by the pathfinder, I just tried it and it works) test_ok.xml

    If you're still having the issue, please share the session logs where you're using the profile I shared with you.

  5. Hello, I found this example:

    https://github.com/droidzfr/WRobot_Packages/blob/fc6f7455e7c25beb4ce106788ae4d0725099bf2e/Old paid files/enraged/001053_Horde[01-12]Vanilla(Durotar).xml#L1708

    But indeed your code looks good. When you launch Automaton near these mobs, the bot attacks them? Do you have the session log file with you? When you retrieve the target's information with 'Dev... tools' 'Target info' there is erroneous or bad information (like the blacklisted mob for example).

  6. Hello,

    I think that when the game changes continent, the bot changes quest (step) ('return Usefuls.ContinentId == (int) ContinentId.Azeroth' will return false). Try putting the part where the bot leaves the ship in another 'Quest'.

×
×
  • Create New...