InventoryResultToError
function · objectlayer · orchestration
- Address
0x622630· 355 bytes, up to0x622792- Signature
uint32_t __fastcall (uint32_t result)- Meaning
- Maps a server inventory result to an error id through a 67-entry table, ERR_BAG_FULL above it
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#inventory-results
Finding: Inventory results in objectlayer: inventory
0x622630 maps a server inventory result to an error id through a 67-entry table; a result above
66 gives ERR_BAG_FULL and 0 gives none.
| result | error |
|---|---|
| 1 to 3 | ERR_CANT_EQUIP_LEVEL_I, ERR_CANT_EQUIP_SKILL, ERR_WRONG_SLOT |
| 4, 53, 56, 62 | ERR_BAG_FULL |
| 8 | ERR_PROFICIENCY_NEEDED |
| 10, 11 | ERR_CANT_EQUIP_EVER |
| 9, 12, 18 | ERR_NO_SLOT_AVAILABLE |
| 28 | ERR_SPELL_FAILED_REAGENTS_GENERIC |
| 50, 51 | ERR_INV_FULL, ERR_BANK_FULL |
| 63 to 66 | ERR_CANT_EQUIP_RANK, _REPUTATION, ERR_TOO_MANY_SPECIAL_BAGS, ERR_LOOT_CANT_LOOT_THAT_NOW |
The derivation is in the doc.
Callers 5
- HandleSendMailResultPacket ui
- Script::SendMail ui
- CGTradeInfo::GetGameError ui
- HandleAuctionCommandResultPacket ui
- HandlePlayerNotice objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.