Jump to content

Droidz

Administrators
  • Posts

    12630
  • Joined

  • Last visited

Posts posted by Droidz

  1. Hello,

    What do you mean by "trying to log out" exactly? Is WoW going AFK and showing the disconnect dialog because the bot isn't sending any input?

    If that's the case, try enabling "Use Lua to move" in the general settings.

    Can you also share a log file (from the Logs folder) so I can see what's going on?

  2. Hello,

    Can you share a log file (from the Logs folder) showing the issue? It would help see what's happening when the bot says your mining level is too low.

    Also, which exact WoW client version is this (check the game login screen, bottom left)? And which server?

    For the ground mount running in circles - are you using "Use Lua to move" in the general settings? On some private servers CTM (click to move) behaves differently and can cause circular movement.

  3. Hello,

    You can do this with a C# plugin. Save this as a .cs file in your Plugins folder (no tested):

    using System;
    using System.Collections.Generic;
    using robotManager.Helpful;
    using wManager.Wow.Helpers;
    using wManager.Wow.ObjectManager;
    using Math = System.Math;
    
    public class Main : wManager.Plugin.IPlugin
    {
        private bool _isRunning;
    
        public void Initialize()
        {
            _isRunning = true;
            EventsLuaWithArgs.OnEventsLuaStringWithArgs += OnCombatLogEvent;
            Logging.Write("[MoveOnSpell] Started.");
        }
    
        public void Dispose()
        {
            _isRunning = false;
            EventsLuaWithArgs.OnEventsLuaStringWithArgs -= OnCombatLogEvent;
            Logging.Write("[MoveOnSpell] Stopped.");
        }
    
        public void Settings() { }
    
        private void OnCombatLogEvent(string eventid, List<string> args)
        {
            if (eventid != "COMBAT_LOG_EVENT_UNFILTERED" || args.Count < 9)
                return;
    
            string subEvent = args[1];
            string spellId = args[8];
    
            if (subEvent == "SPELL_SUMMON" && spellId == "95074")
            {
                Logging.Write("[MoveOnSpell] Detected spell 95074, moving away!");
                var me = ObjectManager.Me.Position;
                float angle = (float)(new Random().NextDouble() * Math.PI * 2);
                float dist = 10f;
                var safePos = new Vector3(
                    me.X + (float)Math.Cos(angle) * dist,
                    me.Y + (float)Math.Sin(angle) * dist,
                    me.Z
                );
                MovementManager.Go(new List<Vector3> { safePos });
            }
        }
    }

    This listens to combat log events and when it sees SPELL_SUMMON with spell ID 95074, it moves 10 yards in a random direction. You can adjust the distance if needed.

    If the random direction sometimes sends you into a wall or off a cliff, you could replace the random angle with a backward movement (opposite of your facing direction) instead.

×
×
  • Create New...