Jump to content

Droidz

Administrators
  • Posts

    12442
  • Joined

  • Last visited

Posts posted by Droidz

  1. Hi, I'm sorry, but this cannot be implemented securely with a plugin. By default, WRobot should change the machine name (wotlk) (provided that the game is always launched from the Relogger if you want to hide all time the name of your machine).

  2. Hello,

    Have you tried disabling the plugins/fightclass one by one (or replacing them) to see if one of them might be the cause? Also consider WoW addons, the game cache, or even trying with a new client.

    Using the Relogger could be a temporary solution (it will restart the game and the bot in case of a crash).

    But I don't see any errors in the log file.

  3. On 3/12/2024 at 6:50 PM, dravrah said:

    hey  @Droidz

    how to add these codes into the IsCompleteCondition?

    thanks a lot!

    ss.thumb.jpg.8720fc72e3c59f14d61d861f7b59e5aa.jpg

    Hello, you can replace new line by space, or use multiline c# string:
     

    return Lua.LuaDoString<bool>("local id = 6673; local nSearch = GetSpellInfo(id); if nSearch then local i = 1 while true do local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL) if not spellName then break end if nSearch == spellName then return true; end i = i + 1 end end return false;");

     

  4. Hello,

    I'm sorry but WRobot does not support custom game clients.

    You can try to change the behavior with a plugin, but it might be complicated, here is an example of code (not tested):

     

    using System.Linq;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) =>
            {
                if (state is wManager.Wow.Bot.States.Regeneration)
                {
                    var units = wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit();
                    units.AddRange(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWPlayerTargetMe());
                    foreach (var unit in units.OrderBy(u => u.GetDistance))
                    {
                        if (unit.IsValid &&
                            unit.IsAlive &&
                            unit.GetDistance < 40 &&
                            unit.Reaction <= wManager.Wow.Enums.Reaction.Neutral &&
                            //unit.InCombatFlagOnly &&
                            unit.IsTargetingMe)
                        {
                            var failGuid = wManager.Wow.Helpers.Fight.StartFight(unit.Guid);
                            if (failGuid != 0)
                            {
                                wManager.wManagerSetting.AddBlackList(failGuid, 30*1000);
                            }
    
                            return;
                        }
                    }
                }
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

     

  5. Hello,

    For which quest and which version of the game is this? The number of mobs killed is usually in the objectivecount (quest parameter). If that's not the case, it's more complicated, and you'll need to tinker around, it really depends on the quest.

  6. Hello,

    I think the bot is trying to reach a position that is in the instance while it is outside the instance, check if your profile path doesn't have any extra positions.

    You can try to run this c# code when you reset your instance

    wManager.Wow.Helpers.MovementManager.StopMove();

    Or try to restart product

    new System.Threading.Thread(() => robotManager.Products.Products.ProductRestart()).Start();

     

  7. Salut,

    Tout est possible, mais créer un profil qui fonctionne correctement dans un donjon est compliqué et requis de bonnes connaissances (en WRobot, en Wow, en lua et en c#).

    Le mieux est de faire un profil de quête https://wrobot.eu/forums/topic/3552-dungeon-profile-creation-tutorial-video/

    Le plus simple et d'utiliser un profil de grinder ou gatherer et de le compléter avec des plugins et réglages WRobot : https://wrobot.eu/forums/topic/1925-sample-dungeon-profile/

    Pour filtrer les loots le plus simple est d"utiliser un addon Wow (certains font ça très bien), sinon il est toujours possible de créer un plugin ou d'exécuter du code Lua depuis le profil.

     

     

  8. Hello,

    Prefer to add it to your fightclass, or use a plugin like :

    using robotManager.Helpful;
    using System.Threading;
    using wManager.Wow.Helpers;
    
    public class AutoPressKey : wManager.Plugin.IPlugin
    {
        private bool _isRunning;
    
        public void Initialize()
        {
            _isRunning = true;
            PressKeyThread();
        }
    
        public void Dispose()
        {
            _isRunning = false;
        }
    
        private void PressKeyThread()
        {
            while (_isRunning)
            {
                if (Conditions.InGameAndConnected)
                {
                    Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, "1");
                } 
                Thread.Sleep(1000);
            }
        }
    
        public void Settings(){}
    }

     

×
×
  • Create New...