Closed trancefied closed 2 weeks ago
it won't sell any item you have locked. and it obviously only sells the items allowed by the shop.
my bad. didn't work correctly since I enabled selling all item types to any buy/sell NPC. so if anyone is in the same situation and needs a solution: I removed the line below. if (!SellableItemTypes.Contains(itemCell.Item.Info.ItemType)) continue;
it's only selling skillbooks in Inventory for me, and sometimes it doesn't at all. here's my version of InventoryDialog.cs
` using Client.Controls; using Client.Envir; using Client.Models; using Client.UserModels; using Library; using Library.SystemModels; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; using C = Library.Network.ClientPackets;
namespace Client.Scenes.Views { public sealed class InventoryDialog : DXImageControl {
region Properties
}`