Jump to content
  • [Vanilla] Sometimes not selling items


    Matenia
    • Version: All Product: WRobot General Type: Bug Status: Confirmed

    Suspicion: This happens if the DoNotSellList contains the same item twice. For example, I call this method multiple times:

    wManagerSetting.CurrentSetting.DoNotSellList.Add(waterName);

     

    9NUSptJ.jpg

    Full list of items:

    Refreshing Spring Water  (ID= 159 )
    Hearthstone  (ID= 6948 )
    Hallowed Letter  (ID= 9548 )
    Broken Fang  (ID= 7073 )
    Ruined Pelt  (ID= 4865 )
    Ice Cold Milk  (ID= 1179 )
    Broken Boar Tusk  (ID= 3171 )
    Chunk of Boar Meat  (ID= 769 )
    William's Shipment  (ID= 957 )
    Flimsy Chain Bracers  (ID= 2651 )
    Stringy Wolf Meat  (ID= 2672 )
    Linen Cloth  (ID= 2589 )
    Chipped Boar Tusk  (ID= 771 )
    Chipped Bear Tooth  (ID= 3169 )
    Ruined Leather Scraps  (ID= 2934 )
    Rabbit's Foot  (ID= 3300 )
    Copper Ore  (ID= 2770 )
    Shiny Seashell  (ID= 779 )
    Loose Chain Gloves  (ID= 2645 )
    Withered Staff  (ID= 1411 )
    Haunch of Meat  (ID= 2287 )
    Crystal Kelp Frond  (ID= 1256 )
    Magic Candle  (ID= 1399 )

    Full list of memory info:

    Spoiler
    
    ==================================
    PLAYER INFO:
    ==================================
    Name = Testqt
    MeCreatureTrack = None
    MeObjectTrack = None
    IsCast = False
    GetDurabilityPercent = 100
    Experience = 916
    ExperienceMax = 7600
    LevelDecimal = 10,1205263157895
    PositionCorpse = 0 ; 0 ; 0 ; "None"
    IsDead = False
    IsDeadMe = False
    InCombat = False
    InvSlots = System.Collections.Generic.List`1[System.UInt64]
    IsMounted = False
    MapPositionLua = System.String[]
    GetMoneyCopper = 338
    Gender = Female
    GetHonorPoint = 0
    PlayerUsingVehicle = False
    IsInPetBattle = False
    IsPartyMember = False
    IsInParty = False
    IsInGroup = False
    GlobalCooldownEnabled = False
    GlobalCooldownTimeLeft = 0
    CastingTimeLeft = 0
    BreathTimerLeft = 0
    BreathActive = False
    FatigueTimerLeft = 0
    FatigueActive = False
    HasNewMail = False
    WowRace = Human
    PlayerFaction = Alliance
    IsHorde = False
    IsAlliance = True
    IsNeutral = False
    PlayerRace = Human
    PlayerRaceString = Human
    BarTwo = 517
    BarTwoMax = 517
    PowerType = Mana
    BarTwoPercentage = 100
    ComboPoint = 0
    IsSitting = False
    GetEquipedItem = 36
    GetDynamicFlags = 0
    GetUnitDynamicFlags = None
    WowClass = Priest
    IsLocalPlayer = True
    Position = -8904,979 ; -113,671 ; 81,86299 ; "None"
    PositionWithoutType = -8904,979 ; -113,671 ; 81,86299 ; "None"
    PositionRelativeWithoutType = -8904,979 ; -113,671 ; 81,86299 ; "None"
    Health = 207
    MaxHealth = 207
    MyCharacterInFrontHim = True
    HealthPercent = 100
    HealthRatio = 1
    IsGoodInteractDistance = True
    InteractDistance = 4,2
    CombatReach = 1,5
    IsSwimming = False
    IsMovingForward = False
    IsMovingBackwards = False
    IsStrafingLeft = False
    IsStrafingRight = False
    IsTurningLeft = False
    IsTurningRight = False
    IsFlying = False
    IsStunned = False
    AggroDistance = 0
    Rotation = 0,2747302
    CreatureTypeTarget = 
    FactionTemplate = wManager.Wow.Helpers.WoWFactionTemplate
    Mana = 517
    MaxMana = 517
    ManaPercentage = 100
    Rage = 0
    MaxRage = 100
    RagePercentage = 0
    Focus = 0
    MaxFocus = 0
    FocusPercentage = 0
    Energy = 100
    MaxEnergy = 100
    EnergyPercentage = 100
    Chi = 1
    MaxChi = 0
    ChiPercentage = 0
    Runes = 207
    MaxRunes = 6
    RunesPercentage = 3450
    RunicPower = 51
    MaxRunicPower = 0
    RunicPowerPercentage = 0
    SoulShards = 1000
    MaxSoulShards = 66817
    SoulShardsPercentage = 1
    UnitClassification = normal
    IsElite = False
    IsWorldBoss = False
    HolyPower = 100
    MaxHolyPower = 0
    HolyPowerPercentage = 0
    Alternate = 0
    MaxAlternate = 0
    AlternatePercentage = 0
    DarkForce = 10
    MaxDarkForce = 0
    DarkForcePercentage = 0
    LightForce = 1
    MaxLightForce = 0
    LightForcePercentage = 0
    ShadowOrbs = 66817
    MaxShadowOrbs = 0
    ShadowOrbsPercentage = 0
    BurningEmbers = 0
    MaxBurningEmbers = 0
    BurningEmbersPercentage = 0
    DemonicFury = 0
    MaxDemonicFury = 0
    DemonicFuryPercentage = 0
    ArcaneCharges = 0
    MaxArcaneCharges = 0
    ArcaneChargesPercentage = 0
    Faction = 1
    DisplayId = 50
    GetMove = False
    GetMoveFlag = 0
    SpeedMoving = 0
    GetDistance = 0
    GetDistance2D = 0
    GetDistanceZ = 0
    IsAlive = True
    IsLootable = False
    IsTaggedByOther = False
    TaggedByMe = False
    IsTapDenied = False
    IsMyPet = False
    HasTarget = True
    IsTargetingMe = False
    IsTargetingMyPet = False
    IsTargetingPartyMember = False
    IsTargetingMeOrMyPet = False
    IsTargetingMeOrMyPetOrPartyMember = False
    IsMyTarget = False
    IsMyPetTarget = False
    IsPartyMemberTarget = False
    IsMeOrMyPetTarget = False
    IsMeOrMyPetOrPartyMemberTarget = False
    Target = 17379390964572960846
    TargetObject = Brother Danil (Unit) : 0x1EAB3C08 : 17379390964572960846 : F13000009801384E
    Level = 10
    IsBoss = False
    PetNumber = 0
    DBCacheRow = 0
    UnitFlags = PlayerControlled
    UnitNPCFlags = None
    Skinnable = False
    IsNpcSpiritHealer = False
    IsNpcRepair = False
    IsNpcVendor = False
    IsFlightMaster = False
    IsNpcInnkeeper = False
    IsAuctioneer = False
    IsNpcTrainer = False
    IsNpcWildPets = False
    Summon = 0
    CreatedBy = 0
    CreatedBySpell = 0
    SummonedBy = 0
    IsPet = False
    PetOwnerGuid = 0
    InCombatFlagOnly = False
    InCombatWithMe = False
    CastingSpellId = 0
    CastingSpell =  (Id found: 0, Name found: , NameInGame found: , Know = False, IsSpellUsable = False, IsInActionBar = False (required to check if IsSpelUsable)))
    MountDisplayId = 0
    TransportGuid = 0
    InTransport = False
    Reaction = Friendly
    IsTracked = False
    IsOnTaxi = False
    NotSelectable = False
    IsAttackable = False
    PlayerControlled = True
    Silenced = False
    Rooted = False
    Influenced = False
    Confused = False
    Pacified = False
    Fleeing = False
    Possessed = False
    NpcMarkerId = 0
    NpcFlightMastrerIsDiscover = True
    NpcMarker = None
    IsOutdoors = True
    IsIndoors = False
    IsPartyLeader = False
    GetBaseAddress = 212074504
    IsValid = True
    GetDescriptorStartAddress = 212082040
    Guid = 11323368
    Type = Player
    Entry = 0
    Scale = 1
    Skill.GetValue(SkillLine.Herbalism)/Skill.GetMaxValue(SkillLine.Herbalism) = 0/0
    Skill.GetValue(SkillLine.Mining)/Skill.GetMaxValue(SkillLine.Mining) = 0/0
    BuffStack("Ghost") = -1
    HaveBuff("Ghost") = False
    BuffCastedBy("Ghost") = 0
    Auras:
     -  Power Word: Fortitude: ID=1243, Stack=1, TimeLeft=0 ms, Owner=0
     -  Arcane Intellect: ID=1459, Stack=1, TimeLeft=0 ms, Owner=0
     
    ==================================
    TARGET INFO:
    ==================================
    GetDynamicFlags = 0
    GetUnitDynamicFlags = None
    WowClass = Warrior
    IsLocalPlayer = False
    Position = -8901,59 ; -112,716 ; 81,84941 ; "None"
    PositionWithoutType = -8901,59 ; -112,716 ; 81,84941 ; "None"
    PositionRelativeWithoutType = -8901,59 ; -112,716 ; 81,84941 ; "None"
    Health = 100
    MaxHealth = 100
    MyCharacterInFrontHim = True
    HealthPercent = 100
    HealthRatio = 1
    IsGoodInteractDistance = True
    InteractDistance = 4,2
    CombatReach = 1,5
    IsSwimming = False
    IsMovingForward = False
    IsMovingBackwards = False
    IsStrafingLeft = False
    IsStrafingRight = False
    IsTurningLeft = False
    IsTurningRight = False
    IsFlying = False
    IsStunned = False
    AggroDistance = 0
    Rotation = 3,31613
    CreatureTypeTarget = Humanoid
    FactionTemplate = wManager.Wow.Helpers.WoWFactionTemplate
    Mana = 0
    MaxMana = 0
    ManaPercentage = 100
    Rage = 0
    MaxRage = 0
    RagePercentage = 0
    Focus = 0
    MaxFocus = 0
    FocusPercentage = 0
    Energy = 0
    MaxEnergy = 0
    EnergyPercentage = 0
    Chi = 11
    MaxChi = 7
    ChiPercentage = 157
    Runes = 100
    MaxRunes = 6
    RunesPercentage = 1666
    RunicPower = 0
    MaxRunicPower = 1
    RunicPowerPercentage = 0
    SoulShards = 0
    MaxSoulShards = 16777472
    SoulShardsPercentage = 0
    UnitClassification = normal
    IsElite = False
    IsWorldBoss = False
    HolyPower = 0
    MaxHolyPower = 0
    HolyPowerPercentage = 0
    Alternate = 0
    MaxAlternate = 0
    AlternatePercentage = 0
    DarkForce = 5
    MaxDarkForce = 218235906
    DarkForcePercentage = 0
    LightForce = 11
    MaxLightForce = 7
    LightForcePercentage = 157
    ShadowOrbs = 16777472
    MaxShadowOrbs = 0
    ShadowOrbsPercentage = 0
    BurningEmbers = 7443
    MaxBurningEmbers = 0
    BurningEmbersPercentage = 0
    DemonicFury = 0
    MaxDemonicFury = 0
    DemonicFuryPercentage = 0
    ArcaneCharges = 0
    MaxArcaneCharges = 0
    ArcaneChargesPercentage = 0
    Faction = 11
    DisplayId = 3277
    GetMove = False
    GetMoveFlag = -2147483392
    SpeedMoving = 0
    GetDistance = 3,520695
    GetDistance2D = 3,520669
    GetDistanceZ = 0,01358032
    IsAlive = True
    IsDead = False
    IsLootable = False
    IsTaggedByOther = False
    TaggedByMe = False
    IsTapDenied = False
    IsMyPet = False
    HasTarget = False
    IsTargetingMe = False
    IsTargetingMyPet = False
    IsTargetingPartyMember = False
    IsTargetingMeOrMyPet = False
    IsTargetingMeOrMyPetOrPartyMember = False
    IsMyTarget = True
    IsMyPetTarget = False
    IsPartyMemberTarget = False
    IsMeOrMyPetTarget = True
    IsMeOrMyPetOrPartyMemberTarget = True
    Target = 0
    TargetObject =  (Object) : 0x00000000 : 0 : 0
    Level = 5
    IsBoss = False
    PetNumber = 0
    Name = Brother Danil
    DBCacheRow = 178980896
    UnitFlags = NotAttackable, _Flag_0x200, PvPFlagged, _Flag_15_0x8000
    UnitNPCFlags = CanSell
    Skinnable = False
    IsNpcSpiritHealer = False
    IsNpcRepair = False
    IsNpcVendor = True
    IsFlightMaster = False
    IsNpcInnkeeper = False
    IsAuctioneer = False
    IsNpcTrainer = False
    IsNpcWildPets = False
    Summon = 0
    CreatedBy = 0
    CreatedBySpell = 0
    SummonedBy = 0
    IsPet = False
    PetOwnerGuid = 0
    InCombat = False
    InCombatFlagOnly = False
    InCombatWithMe = False
    CastingSpellId = 0
    CastingSpell =  (Id found: 0, Name found: , NameInGame found: , Know = False, IsSpellUsable = False, IsInActionBar = False (required to check if IsSpelUsable)))
    CastingTimeLeft = 0
    IsCast = False
    IsMounted = False
    MountDisplayId = 0
    TransportGuid = 0
    InTransport = False
    Reaction = Friendly
    IsTracked = False
    IsOnTaxi = False
    NotSelectable = False
    IsAttackable = False
    PlayerControlled = False
    Silenced = False
    Rooted = False
    Influenced = False
    Confused = False
    Pacified = False
    Fleeing = False
    Possessed = False
    NpcMarkerId = 0
    NpcFlightMastrerIsDiscover = True
    NpcMarker = None
    IsOutdoors = True
    IsIndoors = False
    IsPartyMember = False
    IsPartyLeader = False
    GetBaseAddress = 514538504
    IsValid = True
    GetDescriptorStartAddress = 514542192
    Guid = 17379390964572960846
    Type = Unit
    Entry = 152
    Scale = 1
    BuffStack("Ghost") = -1
    HaveBuff("Ghost") = False
    BuffCastedBy("Ghost") = 0
    Auras:
     
    ==================================
    PET INFO:
    ==================================
    Target no valid.
     
    ==================================
    NEAR GAMEOBJECT INFO:
    ==================================
    CreatedBy = 0
    DisplayId = 603
    FlagsInt = 0
    Flags = 0
    Position = -8888,92 ; -151,535 ; 81,9261 ; "None"
    Name = Wooden Bench
    GetDistance = 41,12864
    GetDistance2D = 41,1286
    Data0 = 4
    Data1 = 207888344
    Data8 = 0
    GOType = Chair
    IsMailbox = False
    LockEntry = 0
    CanOpen = False
    SkillLineRequired = None
    IsOutdoors = False
    IsIndoors = True
    Matrix = [[M11:-0,1993691 M12:-0,9799246 M13:0 M14:0] [M21:0,9799246 M22:-0,1993691 M23:0 M24:0] [M31:0 M32:0 M33:1 M34:0] [M41:-8888,92 M42:-151,535 M43:81,9261 M44:1]]
    GetBaseAddress = 513438824
    IsValid = True
    GetDescriptorStartAddress = 513439472
    Guid = 17370386312149887076
    Type = GameObject
    Entry = 151955
    Scale = 1
    Rotation() = 0
     
    ==================================
    RANDOM ITEM INFO:
    ==================================
    Name = Neophyte's Shirt
    GetItemInfo = wManager.Wow.Class.ItemInfo
    StackCount = 1
    Durability = 0
    MaxDurability = 0
    Owner = 11323368
    ContainedIn = 11323368
    InBag = True
    GetBaseAddress = 515047432
    IsValid = True
    GetDescriptorStartAddress = 515048272
    Guid = 4611686020919740255
    Type = Item
    Entry = 53
    Scale = 1
    Position = 0 ; 0 ; 0 ; "None"
    GetDistance = 0
    ItemEquipLoc = INVTYPE_BODY
    ItemLevel = 0
    ItemLink = item:53:0:0:0
    ItemMinLevel = 0
    ItemName = Neophyte's Shirt
    ItemRarity = 1
    ItemSellPrice = 0
    ItemStackCount = 1
    ItemSubType = Miscellaneous
    ItemTexture = Interface\Icons\INV_Shirt_01
    ItemType = Armor
     
    ==================================
    BAG INFO:
    ==================================
    GetBagItem() = Refreshing Spring Water : 159, Hearthstone : 6948, Hallowed Letter : 9548, Broken Fang : 7073, Ruined Pelt : 4865, Ice Cold Milk : 1179, Broken Boar Tusk : 3171, Chunk of Boar Meat : 769, William's Shipment : 957, Flimsy Chain Bracers : 2651, Stringy Wolf Meat : 2672, Linen Cloth : 2589, Chipped Boar Tusk : 771, Chipped Bear Tooth : 3169, Ruined Leather Scraps : 2934, Rabbit's Foot : 3300, Copper Ore : 2770, Shiny Seashell : 779, Loose Chain Gloves : 2645, Withered Staff : 1411, Haunch of Meat : 2287, Crystal Kelp Frond : 1256, Magic Candle : 1399
    GetContainerNumFreeSlots = 2
    GetContainerNumFreeSlotsNormalType = 2
    GetContainerNumFreeSlotsHerbBags = 999
    GetContainerNumFreeSlotsMiningBags = 999
     
    ==================================
    BATTLEGROUNDER INFO:
    ==================================
    IsInBattleground() = False
    GetCurrentBattleground() = None
    BattlegroundIsStarted() = True
    IsFinishBattleGround() = False
     
    ==================================
    CTM INFO:
    ==================================
    GetClickToMovePosition() = -8901,59 ; -112,716 ; 81,84941 ; "None"
    GetClickToMoveTypePush() = Idle
     
    ==================================
    PARTY INFO:
    ==================================
    Party.IsInGroup() = False
    Party.IsInGroupHome() = False
    Party.IsInGroupInstance() = False
    Party.CurrentPlayerIsLeader() = False
    Party.GetPartyNumberPlayers() = 0
    Party.GetPartyNumberPlayers() = 0
    Party.GetPartyGUIDHomeAndInstance() = 
     
    ==================================
    FIGHTCLASS INFO:
    ==================================
    IsAliveCustomClass = False
    GetRange = 4,5
     
    ==================================
    COMBAT INFO:
    ==================================
    InCombat = False
    GetNumberAttackPlayer() = 0
    GetUnitAttackPlayer() =
     
    ==================================
    EQUIPED ITEMS INFO:
    ==================================
    GetEquippedItems() = Neophyte's Shirt : 53, Neophyte's Robe : 6098, Neophyte's Pants : 52, Neophyte's Boots : 51, Worn Mace : 36
     
    ==================================
    USERFULS INFO:
    ==================================
    LastHardwareAction = 690999625
    InGame = True
    IsLoadingOrConnecting = False
    IsFlyableArea = False
    Latency = 150
    LatencyReal = 23
    RealmName = Lightbringer
    MapZoneName = Elwynn Forest
    SubMapZoneName = Northshire Valley
    ContinentNameMpq = Azeroth
    ContinentId = 0
    AreaId = -1
    WowVersion = 5875
    Usefuls.FrameTime_GetCurTimeMs() = 691031109
    Usefuls.WowAddon() = 
     
    ==================================
    OBJECTMANAGER INFO:
    ==================================
    ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Count = 0
    ObjectManager.BlackListObjectManagerGuid.Count = 0
     
    ==================================
    Execute time: 406
    ==================================

     

     



    User Feedback

    Recommended Comments

    Droidz

    Posted

    You get this problem only in vanilla?

    Matenia

    Posted

    I had this problem once on TBC. But ages ago and once I sold ONE item manually on TBC, it would instantly fix itself.
    On Vanilla, this does not fix it and this problem occurs more frequently. I think it's related to the exception being thrown.

    Matenia

    Posted

    I don't modify this list on an extra thread anymore - but maybe applying a lock to it or choosing a CopyOnWrite implementation of List might be a good idea anyway.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...