Failed to Transfer items... Failed to pick up 'Entity....' Breaks Statistics Window Display

Issue #111 resolved
Joshua Watson created an issue

When double-clicking the "ring of defense" I equipped from the main game UI (not in a menu), I got the below error, which seems related to the inventory bugs mentioned elsewhere. However, I was playing with statistics config set to III-High, and my statistics windows (as in the attached image) would immediately disappear after the appeared until I changed to another verbosity level and back. Clipboard copy below.

Ultimate ADOM - Caverns of ChaosVersion 0.1.0 - 4/25/2020 10:36:18 PM

Failed to transfer items.

Failed to pick up 'Entity@2580:{Type: RingOfDefense,IsValid: True,Status: Equipped,BaseTemplate:{EntityTemplate@1423:{Type: RingOfDefense,IsValid: True,Components:{[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}}]},Slots:{Material:{EntitySlotHolder:{entity: EntityTemplate@1635:{Type: Gold,IsValid: True,Components:{[HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},Statistics@-1266048128:{PV: "4",TurnBasedData:{null},TurnBasedData:{null}}},inheritType: True}}},Statistics@386941440:{RSz: "1",PV: "4",TurnBasedData:{null},TurnBasedData:{null}}}},Components:{[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},WhenEntered:{effects:[[DisplayHint: PickUpHint]]},HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},WhenEntered:{effects:[[DisplayHint: PickUpHint]]}]},Statistics@1836093184:{RSz: "1",PV: "4",MV: "32",Wt: "50",MaxHP: "12",HP: "12",CZID: "COCTutL",X: "-2147483648",Y: "-2147483648",TurnBasedData:{null},TurnBasedData:{null}}}' at position 'Position: (18, 5)'.

UA.GameEngine.GameEngineException: Failed to pick up 'Entity@2580:{Type: RingOfDefense,IsValid: True,Status: Equipped,BaseTemplate:{EntityTemplate@1423:{Type: RingOfDefense,IsValid: True,Components:{[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}}]},Slots:{Material:{EntitySlotHolder:{entity: EntityTemplate@1635:{Type: Gold,IsValid: True,Components:{[HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},Statistics@-1266048128:{PV: "4",TurnBasedData:{null},TurnBasedData:{null}}},inheritType: True}}},Statistics@386941440:{RSz: "1",PV: "4",TurnBasedData:{null},TurnBasedData:{null}}}},Components:{[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},WhenEntered:{effects:[[DisplayHint: PickUpHint]]},HitPoints:{value:[[Value:{string: ={Default(RelativeSize, 4) * Default(Size, 4) * 3}}]],reason: MaterialHP},Statistic_Protection Value:{attribute: PV,startValue: 4}]},AllComponents:{"Common":[RelativeSize: Tiny,MapAware,Labeled:{singular: RingOfDefenseSingularName,plural: RingOfDefensePluralName,isAlwaysPlural: False},Identifyable:{unknownSingular: RingOfDefenseUnknownSingularNameunknownPlural: RingOfDefenseUnknownPluralName,Fixed_Modifier_Affects_DV_WhenStatus_Equipped_WhenInScope_EquippedOrWielded:{affects: DV,fixedModifier: 1,whenStatus< "Equipped" >,whenInScope: EquippedOrWielded},Slot_Gold{name: Material,templateType: Gold,inheritTypes: True},MinimumLevel: Value:{int: 1},Rarity: Rare,MonetaryValue: Value:{int: 32},Weight: 50 metric grams,Description_Long:{verbosity: Long,gender: *** null ***,description:[]},FullNameDetailSpecification:{pattern: [@+DV@, @+PV@],replacements:{"[, ]": [+0, +0],"[,": [+0,,", ]": , +0]}},WhenEntered:{effects:[[DisplayHint: PickUpHint]]}]},Statistics@1836093184:{RSz: "1",PV: "4",MV: "32",Wt: "50",MaxHP: "12",HP: "12",CZID: "COCTutL",X: "-2147483648",Y: "-2147483648",TurnBasedData:{null},TurnBasedData:{null}}}' at position 'Position: (18, 5)'.at UA.GameEngine.ECS.Systems.ItemManagement.ItemManagementSystem.PickUpEntityFromTheGround (UA.GameEngine.ECS.Entities.IEntity entityPickingSomethingUp, UA.GameEngine.ECS.Entities.IEntity entityToPickUp) [0x0006a] in <1b60a9c6421c4f6eb0705714a4a5e863>:0at UA.GameEngine.ECS.Systems.ItemManagement.ItemManagementSystem.PickUpEntityFor (UA.GameEngine.ECS.Entities.IEntity entityPickingSomethingUp, UA.GameEngine.ECS.Entities.IEntity entityToPickUp, System.Boolean raiseExceptionOnFailure) [0x00018] in <1b60a9c6421c4f6eb0705714a4a5e863>:0at UA.GameEngine.ECS.Systems.GameCommands.InventoryManagement.InventoryManagementSystem.Transfer (UA.GameEngine.GameInfo.DetailedInformation.InventoryInfo inventoryInfo, UA.GameEngine.ECS.Systems.GameCommands.InventoryManagement.InventoryLocation source, UA.GameEngine.ECS.Systems.GameCommands.InventoryManagement.InventoryLocation target, UA.GameEngine.GameInfo.DetailedInformation.ItemInfo itemInfo, UA.GameEngine.GameInfo.DetailedInformation.EquipmentSlotInfo slotInfo) [0x002d8] in <1b60a9c6421c4f6eb0705714a4a5e863>:0at Game.Common.Game.Panel.ItemsOnTheGroundPanel.OnLeftClickAction (Game.Common.Game.Panel.DragAndDrop.IGridCell gridCell) [0x00023] in <1b60a9c6421c4f6eb0705714a4a5e863>:0at Game.Common.Game.Panel.DragAndDrop.GridCell.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00023] in <1b60a9c6421c4f6eb0705714a4a5e863>:0at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <861f0d269cac4984a8fbb8229fe93fd4>:0at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00063] in <861f0d269cac4984a8fbb8229fe93fd4>:0

Comments (4)

  1. Jochen Terstiege

    We've now added a check so that double-clicks in the inventory don't cause any problems.

    But actually you don't need them at all. ;)

  2. Krzysztof Dycha
    • edited description

    Put the error in a text block.
    I wonder if we need better linebreaks for those….

  3. Log in to comment