- summary: The server refused an action on an item, and says why.
- area: Game.Inventory
The server refused an action on an item, and says why.
Kind event · Area Game.Inventory
An item action you asked for was refused: equipping, unequipping, dropping, destroying, feeding a living object, and so on.
TO HANDLE IT
1. Read ObjectErrorEvent.reason.
2. Show its message. The client prints one chat line per reason, from the
ui.objectError.* texts (InventoryFull, CannotEquipTwice, CannotDrop,
CannotDropNoPlace, CannotDelete, levelTooLow, cannotUnequip, cannotEquipHere,
criterions, LivingObjectRefusedFood).
3. Assume the item did not move: nothing else changes.
When you may send it
- Requires
character_loadedinferred
Related messages
- Unsolicited - nothing you send causes this it can follow any item action (equip, drop, destroy, feed a living object); no single request owns it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | reason | type not documented yet | Why the item action was refused. Beta's ObjectError: inventory full, cannot equip twice, not tradable, cannot drop (no place), cannot destroy, level too low, living object refused food, cannot unequip, cannot equip here, criterions, symbiotic object error, evolutive object refused food. The values are not named here yet. | never |