EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ErrorDefs.h
Go to the documentation of this file.
1 
10  // Latest change - 12 July 2019
11 
15 #ifndef EVE_CORE_ERROR_DEFS_H_
16 #define EVE_CORE_ERROR_DEFS_H_
17 
18 // EVEmu error code defs
19 /* Error Code layout (wip)
20  * code # ABCDE
21  * A = category (0-server, 1-player, 2-command, 3-destiny, 4-cosmic mgr, 5-market, 6-inventory, 7-service, 8-, 9-other)
22  * B = system (0-character, 1-location, 2-system, 3-item, 4-planet, 5-ship, 6-module, 7-agent, 8-, 9-effects)
23  * C = subsystem (0-other, 1-self, 2-target, 3-charge, 4-calculate, 5-init, 6-pilot, 7-skill, 8-bind, 9-timer)
24  * D = type (0-create, 1-destroy, 2-check, 3-change, 4-move, 5-update, 6-save, 7-load, 8-decode, 9-encode)
25  * E = error (0-undef, 1-not init, 2-oob, 3-not found, 4-offline, 5-overflow/max, 6-, 7-unknown, 8-invalid, 9-not implemented)
26  *
27  *
28  * Ref: ServerError 04421. << PlanetMgr::CreatePin - cost is 0
29  * Ref: ServerError 04588. << PlanetMgr - various decode invalid
30  * Ref: ServerError 02808. << CorpRegistryService::_CreateBoundObject - object is not tuple
31  * Ref: ServerError 06428. << MiningLaser::ProcessCycle() - cycleVol < oreVolume
32  * Ref: ServerError 07208. << Agent::MakeOffer() - Error when creating mission destination.
33  * Ref: ServerError 10781. << Client::BoardShip()
34  * Ref: ServerError 10928. << Client::MoveTimer() - no move pending
35  * Ref: ServerError 15107. << Client::ResetAfterPopped() - error when creating pod SE
36  * Ref: ServerError 15610. << ShipItem::GetEffectiveness() - effectiveness <= 0
37  * Ref: ServerError 15611. << ShipItem::GetEffectiveness() - module has invalid state
38  * Ref: ServerError 15628. << MiningLaser::CanActivate() - Invalid Target
39  * Ref: ServerError 15693. << EnergyTurret::Activate() - Cannot find loaded charge for this module
40  * Ref: ServerError 16222. << ActiveModule::CanActivate() - target outside module range
41  * Ref: ServerError 16228. << ActiveModule::CanActivate() - attempt to attack non-combatant (invalid target)
42  * Ref: ServerError 25163. << ShipItem::ValidateAddItem() - FitModuleSkillCheck = false
43  * Ref: ServerError 25165. << ShipItem::ValidateAddItem() - ValidateItemSpecifics = false
44  * Ref: ServerError 25153. << m_ModuleManager->GetModule(flag) = nullptr
45  * Ref: ServerError 25164. << ModuleManager::Activate() - module offline
46  * Ref: ServerError 25263. << ModuleManager::Activate() - pSE == NULL
47  * Ref: ServerError 25268. << ModuleManager::Activate() - targetID == 0
48  * Ref: ServerError 31110. << commandDispatcher::Execute()
49  * Ref: ServerError 35412. << DestinyManager::_Orbit() - distance checks oob
50  * Ref: ServerError 35928. << DestinyManager::Process() - warpState checks invalid
51  * Ref: ServerError 65125. << MiningLaser::CanActivate() - cargo full
52  * Ref: ServerError 65282. << ShipItem::ModifyHoldVolumeByFlag() - flag not in map
53  * Ref: ServerError 75520. << Ship::InsureShip() - fraction is 0
54  * Ref: ServerError 75521. << Ship::InsureShip() - fraction is < 0.05 -- ship is insured @ 30% (which gives error in client)
55  */
56 // client->SendErrorMsg("Internal Server Error. Ref: ServerError 65202"));
57 
58 
59 #endif //EVE_CORE_ERROR_DEFS_H_