Jump to content

Droidz

Administrators
  • Posts

    12579
  • Joined

  • Last visited

Posts posted by Droidz

  1. Hello,

    To try to fix this, I made a plugin that manages the "Do Not Sell" list automatically.

    Instead of loading a huge list, the plugin updates the "Do Not Sell" list based on what’s actually in your bag.

    Edit the _doNotSellList list in the C# to include the items you don’t want to sell :

    using System.Collections.Generic;
    using System.Linq;
    using wManager.Wow.Helpers;
    
    public class Main : wManager.Plugin.IPlugin
    {
        private List<string> _doNotSellList = new List<string>
        {
            "item name to not sell 1",
            "item name to not sell 2",
            "item name to not sell 3",
        };
        
        public void Initialize()
        {
            robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancel) =>
            {
                if (state is wManager.Wow.Bot.States.ToTown)
                {
                    var bagItems = Bag.GetBagItem().Where(i => !string.IsNullOrWhiteSpace(i.Name)).Select(i => i.Name).ToList();
                    wManager.wManagerSetting.CurrentSetting.DoNotSellList.Clear();
                    foreach (var itemNameToNotSell in _doNotSellList)
                    {
                        if (bagItems.Contains(itemNameToNotSell))
                        {
                            wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemNameToNotSell);
                        }
                    }
                }
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

     

  2. Have you tried with a new installation of WRobot? Without deleting your current installation, download and install WRobot in a new folder, fill in only the flight form option and launch to see if it works, then try with your profile, and then your fight class.

  3. Hi, try this plugin Main.cs :

    using wManager.Wow.Helpers;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            wManager.Events.OthersEvents.OnMount += (name, cancelable) =>
            {
                MovementManager.StopMoveTo(); // or MovementManager.StopMove();
                Lua.LuaDoString(@"RunMacroText(""/cast " + name + @""")");
                Usefuls.WaitIsCasting();
                cancelable.Cancel = true;
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

    or https://wrobot.eu/forums/topic/12585-how-to-use-mount-with-item-id-in-mount-options/?&_rid=1#findComment-60315

     

×
×
  • Create New...