Lexius 1 Posted March 18 Share Posted March 18 Hello, I want basically to blacklist everything except ores and herbs for mailing to my alt, however i can't input more than about 1800 items in the blacklist, i've tried editig the general settings code but when i paste all the items in the blacklist (4900) game crashes like there is some sort of limitation so i have two questions: 1. Is there a smarter way of making bot mailing only selected items and selling everything else 2. if not how can I insert more items in the mail blacklist? Thanks Link to comment https://wrobot.eu/forums/topic/15635-mailing-items-blacklist/ Share on other sites More sharing options...
Droidz 2755 Posted March 19 Share Posted March 19 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() { } } Link to comment https://wrobot.eu/forums/topic/15635-mailing-items-blacklist/#findComment-70040 Share on other sites More sharing options...
Lexius 1 Posted March 22 Author Share Posted March 22 Thank you so much for your answer, I'll try this. One last question, Since I'm using Wholesome plugin for inventory management (also selling) do you think there will be some conflicts with that or it will integrate well? Link to comment https://wrobot.eu/forums/topic/15635-mailing-items-blacklist/#findComment-70046 Share on other sites More sharing options...
gornov.12345 1 Posted Sunday at 04:28 AM Share Posted Sunday at 04:28 AM It will work, because Wholesome taking Don't Sell List from basic setting Wrobot Link to comment https://wrobot.eu/forums/topic/15635-mailing-items-blacklist/#findComment-70047 Share on other sites More sharing options...
Lexius 1 Posted Sunday at 11:29 AM Author Share Posted Sunday at 11:29 AM Thank you very much for your support. Cheers Link to comment https://wrobot.eu/forums/topic/15635-mailing-items-blacklist/#findComment-70048 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now