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()
{
}
}