package opcodes // Protocol const ( OpSessionRequest = 0x01 // Initial connection request from client OpSessionResponse = 0x02 // Server response to session request OpCombined = 0x03 // Multiple packets combined into single transmission OpSessionDisconnect = 0x05 // Clean session termination OpKeepAlive = 0x06 // Heartbeat to maintain connection OpServerKeyRequest = 0x07 // Request for server encryption key OpSessionStatResponse = 0x08 // Session statistics response OpPacket = 0x09 // Standard data packet OpFragment = 0x0D // Large packet fragmented for transmission OpOutOfOrderAck = 0x11 // Acknowledgment for out-of-sequence packet OpAck = 0x15 // Standard packet acknowledgment OpAppCombined = 0x19 // Application-level combined packets OpOutOfSession = 0x1D // Packet received outside valid session ) // Login server const ( // Core login operations OpLoginRequestMsg = 0x2000 // Initial login request from client OpLoginByNumRequestMsg = 0x2001 // Login request using account number OpWSLoginRequestMsg = 0x2002 // World server login request OpESLoginRequestMsg = 0x2003 // EverQuest station login request OpLoginReplyMsg = 0x2004 // Server response to login attempt // World server operations OpWorldListMsg = 0x2010 // List of available world servers OpWorldStatusChangeMsg = 0x2011 // World server status update notification OpAllWSDescRequestMsg = 0x2012 // Request all world server descriptions OpWSStatusReplyMsg = 0x2013 // World server status response // Character management operations OpAllCharactersDescRequestMsg = 0x2020 // Request descriptions of all characters OpAllCharactersDescReplyMsg = 0x2021 // Response with character descriptions OpCreateCharacterRequestMsg = 0x2022 // Client character creation request OpReskinCharacterRequestMsg = 0x2023 // Character appearance modification request OpCreateCharacterReplyMsg = 0x2024 // Server response to character creation OpWSCreateCharacterRequestMsg = 0x2025 // World server character creation request OpWSCreateCharacterReplyMsg = 0x2026 // World server character creation response OpDeleteCharacterRequestMsg = 0x2027 // Character deletion request OpDeleteCharacterReplyMsg = 0x2028 // Character deletion confirmation OpPlayCharacterRequestMsg = 0x2029 // Request to enter game with character OpPlayCharacterReplyMsg = 0x202A // Response to character play request OpServerPlayCharacterRequestMsg = 0x202B // Server-side character play request OpServerPlayCharacterReplyMsg = 0x202C // Server-side character play response // Key mapping operations OpKeymapLoadMsg = 0x2030 // Load saved key mappings OpKeymapNoneMsg = 0x2031 // No key mappings available OpKeymapDataMsg = 0x2032 // Key mapping data transmission OpKeymapSaveMsg = 0x2033 // Save current key mappings // Account security operations OpLSCheckAcctLockMsg = 0x2040 // Check account lock status OpWSAcctLockStatusMsg = 0x2041 // Account lock status update // Logging and crash reporting operations OpLsRequestClientCrashLogMsg = 0x2050 // Request client crash log OpLsClientBaselogReplyMsg = 0x2051 // Base log response OpLsClientCrashlogReplyMsg = 0x2052 // Crash log response OpLsClientAlertlogReplyMsg = 0x2053 // Alert log response OpLsClientVerifylogReplyMsg = 0x2054 // Verification log response // Server administration operations OpBadLanguageFilter = 0x2060 // Bad language filter message OpWSServerLockMsg = 0x2061 // World server lock message OpWSServerHideMsg = 0x2062 // World server hide message OpLSServerLockMsg = 0x2063 // Login server lock message // Character data updates (login context) OpUpdateCharacterSheetMsg = 0x2070 // Character sheet data update OpUpdateInventoryMsg = 0x2071 // Character inventory update ) // Game server const ( // Server initialization and zone management OpESInitMsg = 0x0010 // Server initialization message OpESReadyForClientsMsg = 0x0011 // Server ready to accept clients OpCreateZoneInstanceMsg = 0x0012 // Create new zone instance OpZoneInstanceCreateReplyMsg = 0x0013 // Zone instance creation response OpZoneInstanceDestroyedMsg = 0x0014 // Zone instance destroyed notification OpExpectClientAsCharacterRequest = 0x0015 // Expect client with character OpExpectClientAsCharacterReplyMs = 0x0016 // Character expectation reply OpZoneInfoMsg = 0x0017 // Zone information message // Character loading and resources OpDoneLoadingZoneResourcesMsg = 0x0020 // Zone resources loaded OpDoneSendingInitialEntitiesMsg = 0x0021 // Initial entities sent OpDoneLoadingEntityResourcesMsg = 0x0022 // Entity resources loaded OpDoneLoadingUIResourcesMsg = 0x0023 // UI resources loaded // Game state updates OpPredictionUpdateMsg = 0x0030 // Client prediction update OpRemoteCmdMsg = 0x0031 // Remote command message OpSetRemoteCmdsMsg = 0x0032 // Set remote commands OpGameWorldTimeMsg = 0x0033 // Game world time sync OpMOTDMsg = 0x0034 // Message of the day OpZoneMOTDMsg = 0x0035 // Zone-specific MOTD // Guild recruitment system OpGuildRecruitingMemberInfo = 0x0040 // Guild member recruiting info OpGuildRecruiting = 0x0041 // Guild recruiting message OpGuildRecruitingDetails = 0x0042 // Guild recruiting details OpGuildRecruitingImage = 0x0043 // Guild recruiting image // Avatar lifecycle OpAvatarCreatedMsg = 0x0050 // Avatar created notification OpAvatarDestroyedMsg = 0x0051 // Avatar destroyed notification OpAvatarUpdateMsg = 0x0052 // Avatar update message // Camping and logout OpRequestCampMsg = 0x0060 // Request to camp/logout OpMapRequest = 0x0061 // Map data request OpCampStartedMsg = 0x0062 // Camp timer started OpCampAbortedMsg = 0x0063 // Camp timer aborted // Player queries and monitoring OpWhoQueryRequestMsg = 0x0070 // Who query request OpWhoQueryReplyMsg = 0x0071 // Who query response OpMonitorReplyMsg = 0x0072 // Monitor command reply OpMonitorCharacterListMsg = 0x0073 // Character list for monitoring OpMonitorCharacterListRequestMsg = 0x0074 // Request character list // Command dispatching OpClientCmdMsg = 0x0080 // Client command message OpLottery = 0x0081 // Lottery system message OpDispatchClientCmdMsg = 0x0082 // Dispatch client command OpDispatchESMsg = 0x0083 // Dispatch EverQuest message // Target and opportunity updates OpUpdateTargetMsg = 0x0090 // Update current target OpUpdateOpportunityMsg = 0x0091 // Update opportunity window OpUpdateTargetLocMsg = 0x0092 // Update target location // Character progression and books OpUpdateSpellBookMsg = 0x00A0 // Update spell book OpUpdateSkillBookMsg = 0x00A1 // Update skill book OpUpdateSkillsMsg = 0x00A2 // Update skills // Recipe and crafting system OpUpdateRecipeBookMsg = 0x00B0 // Update recipe book OpRequestRecipeDetailsMsg = 0x00B1 // Request recipe details OpRecipeDetailsMsg = 0x00B2 // Recipe details response // Zone transitions and teleportation OpChangeZoneMsg = 0x00C0 // Change zone request OpClientTeleportRequestMsg = 0x00C1 // Client teleport request OpTeleportWithinZoneMsg = 0x00C2 // Teleport within current zone OpTeleportWithinZoneNoReloadMsg = 0x00C3 // Teleport without zone reload OpMigrateClientToZoneRequestMsg = 0x00C4 // Migrate client to zone OpMigrateClientToZoneReplyMsg = 0x00C5 // Zone migration reply OpReadyToZoneMsg = 0x00C6 // Client ready to zone // Group management OpRemoveClientFromGroupMsg = 0x00D0 // Remove client from group OpRemoveGroupFromGroupMsg = 0x00D1 // Remove group from group OpMakeGroupLeaderMsg = 0x00D2 // Make group leader OpGroupCreatedMsg = 0x00D3 // Group created notification OpGroupDestroyedMsg = 0x00D4 // Group destroyed notification OpGroupMemberAddedMsg = 0x00D5 // Group member added OpGroupMemberRemovedMsg = 0x00D6 // Group member removed OpGroupRemovedFromGroupMsg = 0x00D7 // Group removed from group OpGroupLeaderChangedMsg = 0x00D8 // Group leader changed OpGroupSettingsChangedMsg = 0x00D9 // Group settings changed // Data synchronization OpSendLatestRequestMsg = 0x00E0 // Send latest data request OpClearDataMsg = 0x00E1 // Clear data message OpSetSocialMsg = 0x00E2 // Set social information // Server status monitoring OpESStatusMsg = 0x00F0 // EverQuest server status OpESZoneInstanceStatusMsg = 0x00F1 // Zone instance status OpZonesStatusRequestMsg = 0x00F2 // Request zones status OpZonesStatusMsg = 0x00F3 // Zones status response // Weather system OpESWeatherRequestMsg = 0x0100 // Weather request OpESWeatherRequestEndMsg = 0x0101 // Weather request end // Dialog system OpDialogSelectMsg = 0x0110 // Dialog selection OpDialogCloseMsg = 0x0111 // Dialog close // Spell effects and concentration OpRemoveSpellEffectMsg = 0x0120 // Remove spell effect OpRemoveConcentrationMsg = 0x0121 // Remove concentration // Quest journal system OpQuestJournalOpenMsg = 0x0130 // Open quest journal OpQuestJournalInspectMsg = 0x0131 // Inspect quest journal OpQuestJournalSetVisibleMsg = 0x0132 // Set quest journal visibility OpQuestJournalWaypointMsg = 0x0133 // Quest journal waypoint // Guild management OpCreateGuildRequestMsg = 0x0140 // Create guild request OpCreateGuildReplyMsg = 0x0141 // Create guild reply OpGuildsayMsg = 0x0142 // Guild say message OpGuildUpdateMsg = 0x0143 // Guild update message OpFellowshipExpMsg = 0x0144 // Fellowship experience // Trading and consignment OpConsignmentCloseStoreMsg = 0x0150 // Close consignment store OpConsignItemRequestMsg = 0x0151 // Consign item request OpConsignItemResponseMsg = 0x0152 // Consign item response OpPurchaseConsignmentLoreCheckRe = 0x0153 // Purchase consignment lore check OpQuestReward = 0x0154 // Quest reward // Housing system OpHouseDeletedRemotelyMsg = 0x0160 // House deleted remotely OpUpdateHouseDataMsg = 0x0161 // Update house data OpUpdateHouseAccessDataMsg = 0x0162 // Update house access data OpPlayerHouseBaseScreenMsg = 0x0163 // Player house base screen OpPlayerHousePurchaseScreenMsg = 0x0164 // Player house purchase screen OpPlayerHouseAccessUpdateMsg = 0x0165 // Player house access update OpPlayerHouseDisplayStatusMsg = 0x0166 // Player house display status OpPlayerHouseCloseUIMsg = 0x0167 // Player house close UI OpBuyPlayerHouseMsg = 0x0168 // Buy player house OpBuyPlayerHouseTintMsg = 0x0169 // Buy player house tint OpCollectAllHouseItemsMsg = 0x016A // Collect all house items OpRelinquishHouseMsg = 0x016B // Relinquish house OpEnterHouseMsg = 0x016C // Enter house OpExitHouseMsg = 0x016D // Exit house // Object examination and placement OpExamineConsignmentRequestMsg = 0x0170 // Examine consignment request OpMoveableObjectPlacementCriteri = 0x0171 // Moveable object placement criteria OpEnterMoveObjectModeMsg = 0x0172 // Enter move object mode OpPositionMoveableObject = 0x0173 // Position moveable object OpCancelMoveObjectModeMsg = 0x0174 // Cancel move object mode // Visual customization OpShaderCustomizationMsg = 0x0180 // Shader customization OpReplaceableSubMeshesMsg = 0x0181 // Replaceable sub meshes OpExamineConsignmentResponseMsg = 0x0182 // Examine consignment response // House access control OpHouseDefaultAccessSetMsg = 0x0190 // House default access set OpHouseAccessSetMsg = 0x0191 // House access set OpHouseAccessRemoveMsg = 0x0192 // House access remove OpPayHouseUpkeepMsg = 0x0193 // Pay house upkeep // UI customization and settings OpTintWidgetsMsg = 0x01A0 // Tint widgets OpUISettingsResponseMsg = 0x01A1 // UI settings response OpUIResetMsg = 0x01A2 // UI reset // Spell commands OpDispatchSpellCmdMsg = 0x01C0 // Dispatch spell command // House customization OpHouseCustomizationScreenMsg = 0x01D0 // House customization screen OpCustomizationPurchaseRequestMs = 0x01D1 // Customization purchase request OpCustomizationSetRequestMsg = 0x01D2 // Customization set request OpCustomizationReplyMsg = 0x01D3 // Customization reply // Entity interaction OpEntityVerbsRequestMsg = 0x01E0 // Entity verbs request OpEntityVerbsReplyMsg = 0x01E1 // Entity verbs reply OpEntityVerbsVerbMsg = 0x01E2 // Entity verbs verb // Chat system OpChatRelationshipUpdateMsg = 0x01F0 // Chat relationship update OpChatCreateChannelMsg = 0x01F1 // Chat create channel OpChatJoinChannelMsg = 0x01F2 // Chat join channel OpChatWhoChannelMsg = 0x01F3 // Chat who channel OpChatLeaveChannelMsg = 0x01F4 // Chat leave channel OpChatTellChannelMsg = 0x01F5 // Chat tell channel OpChatTellUserMsg = 0x01F6 // Chat tell user OpChatToggleFriendMsg = 0x01F7 // Chat toggle friend OpChatToggleIgnoreMsg = 0x01F8 // Chat toggle ignore OpChatSendFriendsMsg = 0x01F9 // Chat send friends OpChatSendIgnoresMsg = 0x01FA // Chat send ignores OpChatFiltersMsg = 0x01FB // Chat filters // Looting system OpLootItemsRequestMsg = 0x0200 // Loot items request OpStoppedLootingMsg = 0x0201 // Stopped looting // Character positioning OpSitMsg = 0x0210 // Sit message OpStandMsg = 0x0211 // Stand message OpSatMsg = 0x0212 // Sat message OpStoodMsg = 0x0213 // Stood message // Group options and interface OpDefaultGroupOptionsRequestMsg = 0x0220 // Default group options request OpDefaultGroupOptionsMsg = 0x0221 // Default group options OpGroupOptionsMsg = 0x0222 // Group options OpDisplayGroupOptionsScreenMsg = 0x0223 // Display group options screen OpDisplayInnVisitScreenMsg = 0x0224 // Display inn visit screen // System debugging and monitoring OpDumpSchedulerMsg = 0x0230 // Dump scheduler OpRequestHelpRepathMsg = 0x0231 // Request help repath OpUpdateMotdMsg = 0x0232 // Update MOTD OpRequestTargetLocMsg = 0x0233 // Request target location // Combat effects OpPerformPlayerKnockbackMsg = 0x0240 // Perform player knockback OpPerformCameraShakeMsg = 0x0241 // Perform camera shake // Skills and abilities OpPopulateSkillMapsMsg = 0x0250 // Populate skill maps OpCancelledFeignMsg = 0x0251 // Cancelled feign OpSignalMsg = 0x0252 // Signal message OpSkillInfoRequest = 0x0253 // Skill info request OpSkillInfoResponse = 0x0254 // Skill info response // Crafting interface OpShowCreateFromRecipeUIMsg = 0x0260 // Show create from recipe UI OpCancelCreateFromRecipeMsg = 0x0261 // Cancel create from recipe OpBeginItemCreationMsg = 0x0262 // Begin item creation OpStopItemCreationMsg = 0x0263 // Stop item creation OpShowItemCreationProcessUIMsg = 0x0264 // Show item creation process UI OpUpdateItemCreationProcessUIMsg = 0x0265 // Update item creation process UI OpDisplayTSEventReactionMsg = 0x0266 // Display tradeskill event reaction OpShowRecipeBookMsg = 0x0267 // Show recipe book // Knowledge base and help system OpKnowledgebaseRequestMsg = 0x0270 // Knowledge base request OpKnowledgebaseResponseMsg = 0x0271 // Knowledge base response // Customer service ticket system OpCSTicketHeaderRequestMsg = 0x0280 // CS ticket header request OpCSTicketInfoMsg = 0x0281 // CS ticket info OpCSTicketCommentRequestMsg = 0x0282 // CS ticket comment request OpCSTicketCommentResponseMsg = 0x0283 // CS ticket comment response OpCSTicketCreateMsg = 0x0284 // CS ticket create OpCSTicketAddCommentMsg = 0x0285 // CS ticket add comment OpCSTicketDeleteMsg = 0x0286 // CS ticket delete OpCSTicketChangeNotificationMsg = 0x0287 // CS ticket change notification // World data management OpWorldDataUpdateMsg = 0x0290 // World data update OpWorldDataChangeMsg = 0x0291 // World data change OpKnownLanguagesMsg = 0x0292 // Known languages // Client control and prediction OpClientTeleportToLocationMsg = 0x02B0 // Client teleport to location OpUpdateClientPredFlagsMsg = 0x02B1 // Update client prediction flags OpChangeServerControlFlagMsg = 0x02B2 // Change server control flag // Customer service tools OpCSToolsRequestMsg = 0x02C0 // CS tools request OpCSToolsResponseMsg = 0x02C1 // CS tools response // Boat transport system OpCreateBoatTransportsMsg = 0x02D0 // Create boat transports OpPositionBoatTransportMsg = 0x02D1 // Position boat transport OpMigrateBoatTransportMsg = 0x02D2 // Migrate boat transport OpMigrateBoatTransportReplyMsg = 0x02D3 // Migrate boat transport reply // Debugging and examination OpDisplayDebugNLLPointsMsg = 0x02E0 // Display debug NLL points OpExamineInfoRequestMsg = 0x02E1 // Examine info request // Quickbar and macro management OpQuickbarInitMsg = 0x02F0 // Quickbar init OpQuickbarUpdateMsg = 0x02F1 // Quickbar update OpMacroInitMsg = 0x02F2 // Macro init OpMacroUpdateMsg = 0x02F3 // Macro update // EverQuest specific client commands // Audio and visual commands OpEqHearChatCmd = 0x1000 // Hear chat command OpEqDisplayTextCmd = 0x1001 // Display text command OpEqHearCombatCmd = 0x1002 // Hear combat command OpEqHearSpellCastCmd = 0x1003 // Hear spell cast command OpEqHearSpellInterruptCmd = 0x1004 // Hear spell interrupt command OpEqHearSpellFizzleCmd = 0x1005 // Hear spell fizzle command OpEqHearConsiderCmd = 0x1006 // Hear consider command OpEqCannedEmoteCmd = 0x1007 // Canned emote command OpEqStateCmd = 0x1008 // State command OpEqPlaySoundCmd = 0x1009 // Play sound command OpEqPlaySound3DCmd = 0x100A // Play 3D sound command OpEqPlayVoiceCmd = 0x100B // Play voice command OpEqHearDrowningCmd = 0x100C // Hear drowning command OpEqHearDeathCmd = 0x100D // Hear death command OpEqHearChainEffectCmd = 0x100E // Hear chain effect command OpEqHearPlayFlavorCmd = 0x100F // Hear play flavor command OpEqHearHealCmd = 0x1010 // Hear heal command OpEQHearThreatCmd = 0x1011 // Hear threat command OpEqHearSpellNoLandCmd = 0x1012 // Hear spell no land command OpEQHearDispellCmd = 0x1013 // Hear dispell command // Ghost and widget management OpEqCreateGhostCmd = 0x1020 // Create ghost command OpEqCreateWidgetCmd = 0x1021 // Create widget command OpEqCreateSignWidgetCmd = 0x1022 // Create sign widget command OpEqDestroyGhostCmd = 0x1023 // Destroy ghost command OpEqUpdateGhostCmd = 0x1024 // Update ghost command OpEqSetControlGhostCmd = 0x1025 // Set control ghost command OpEqSetPOVGhostCmd = 0x1026 // Set POV ghost command OpEqUpdateSignWidgetCmd = 0x1027 // Update sign widget command // Class and UI management OpEqUpdateSubClassesCmd = 0x1030 // Update sub classes command OpEqCreateListBoxCmd = 0x1031 // Create list box command // Group and effects OpEqGroupMemberRemovedCmd = 0x1040 // Group member removed command OpEqReceiveOfferCmd = 0x1041 // Receive offer command OpEqInspectPCResultsCmd = 0x1042 // Inspect PC results command // Dialog system OpEqDialogOpenCmd = 0x1050 // Dialog open command OpEqDialogCloseCmd = 0x1051 // Dialog close command // Collections system OpEqCollectionUpdateCmd = 0x1060 // Collection update command OpEqCollectionFilterCmd = 0x1061 // Collection filter command OpEqCollectionItemCmd = 0x1062 // Collection item command // Quest system OpEqQuestJournalUpdateCmd = 0x1070 // Quest journal update command OpEqQuestJournalReplyCmd = 0x1071 // Quest journal reply command OpEqQuestGroupCmd = 0x1072 // Quest group command // Commerce and trading OpEqUpdateMerchantCmd = 0x1080 // Update merchant command OpEqUpdateStoreCmd = 0x1081 // Update store command OpEqUpdatePlayerTradeCmd = 0x1082 // Update player trade command OpEqUpdateBankCmd = 0x1083 // Update bank command OpEqUpdateLootCmd = 0x1084 // Update loot command OpEqConsignmentItemsCmd = 0x1085 // Consignment items command OpEqStartBrokerCmd = 0x1086 // Start broker command // Navigation and pathfinding OpEqSetDebugPathPointsCmd = 0x1090 // Set debug path points command OpEqDrawablePathGraphCmd = 0x1091 // Drawable path graph command OpEqHelpPathCmd = 0x1092 // Help path command OpEqHelpPathClearCmd = 0x1093 // Help path clear command // Examination and information OpEqExamineInfoCmd = 0x10A0 // Examine info command OpEqDebugPVDCmd = 0x10A1 // Debug PVD command // Window management OpEqCloseWindowCmd = 0x10B0 // Close window command OpEqJunctionListCmd = 0x10B1 // Junction list command OpEqChoiceWinCmd = 0x10B2 // Choice window command OpEqInstructionWindowCmd = 0x10B3 // Instruction window command OpEqInstructionWindowCloseCmd = 0x10B4 // Instruction window close command OpEqInstructionWindowGoalCmd = 0x10B5 // Instruction window goal command OpEqInstructionWindowTaskCmd = 0x10B6 // Instruction window task command OpEqShowWindowCmd = 0x10B7 // Show window command OpEqEnableWindowCmd = 0x10B8 // Enable window command OpEqFlashWindowCmd = 0x10B9 // Flash window command OpEqShowBookCmd = 0x10BA // Show book command // Death and spell effects OpEqShowDeathWindowCmd = 0x10C0 // Show death window command OpEqDisplaySpellFailCmd = 0x10C1 // Display spell fail command OpEqSpellCastStartCmd = 0x10C2 // Spell cast start command OpEqSpellCastEndCmd = 0x10C3 // Spell cast end command OpEqResurrectedCmd = 0x10C4 // Resurrected command // Game events and verbs OpEqSetDefaultVerbCmd = 0x10D0 // Set default verb command OpEqEnableGameEventCmd = 0x10D1 // Enable game event command // Questionnaire and problems OpEqQuestionnaireCmd = 0x10E0 // Questionnaire command OpEqGetProbsCmd = 0x10E1 // Get problems command // Chat channels OpEqChatChannelUpdateCmd = 0x10F0 // Chat channel update command OpEqWhoChannelQueryReplyCmd = 0x10F1 // Who channel query reply command OpEqAvailWorldChannelsCmd = 0x10F2 // Available world channels command // Target and map systems OpEqUpdateTargetCmd = 0x1100 // Update target command OpEqMapExplorationCmd = 0x1101 // Map exploration command OpEqTargetItemCmd = 0x1102 // Target item command // Logging and mail OpEqStoreLogCmd = 0x1110 // Store log command OpEqSpellMoveToRangeAndRetryCmd = 0x1111 // Spell move to range and retry command OpEqUpdatePlayerMailCmd = 0x1112 // Update player mail command // Faction updates OpEqFactionUpdateCmd = 0x1120 // Faction update command )