Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

4.06. Opcodes

Furkan SAMANLI edited this page Aug 26, 2018 · 6 revisions

Game Packets

Opcode Packet Name Description
0x00 PKT_Dummy Unused.
0x01 PKT_SPM_HierarchicalProfilerUpdate Unused.
0x02 PKT_S2C_DisplayLocalizedTutorialChatText Unused?
0x03 PKT_Barrack_SpawnUnit
0x04 PKT_S2C_SwitchNexusesToOnIdleParticles
0x05 PKT_C2S_TutorialAudioEventFinished
0x06 PKT_S2C_SetCircularMovementRestriction Restricts camera movement
0x07 PKT_UpdateGoldRedirectTarget
0x08 PKT_SynchSimTimeC2S
0x09 PKT_RemoveItemReq
0x0A PKT_ResumePacket Unpauses the game
0x0B PKT_RemoveItemAns Removes the item from inventory
0x0C PKT_Basic_Attack Contains data of next autoattack (will it crit etc)
0x0D PKT_S2C_ReplaceObjectiveText Changes content of the message box at top
0x0E PKT_S2C_CloseShop
0x0F PKT_S2C_Reconnect Reconnection.
0x10 PKT_UnitAddEXP Adds XP
0x11 PKT_S2C_EndSpawn
0x12 PKT_SetFrequency Sets the speed of the game
0x13 PKT_S2C_BotAI Changes AI States.
0x14 PKT_C2S_QueryStatusReq
0x15 PKT_NPC_UpgradeSpellAns Levels up a skill
0x16 PKT_C2S_Ping_Load_Info
0x17 PKT_ChangeSlotSpellData Changes the spell (Lee Sin's spells etc.)
0x18 PKT_NPC_MessageToClient Adds floating text onto champions (Undying Rage etc.)
0x19 PKT_DisplayFloatingText
0x1A PKT_Basic_Attack_Pos This packet is sent to begin doing auto attack animation
0x1B PKT_NPC_ForceDead
0x1C PKT_NPC_BuffUpdateCount Edits time/stacks of the buff
0x1D PKT_C2S_WriteNavFlags_Acc
0x1E PKT_NPC_BuffReplaceGroup
0x1F PKT_NPC_SetAutocast
0x20 PKT_SwapItemReq
0x21 PKT_NPC_Die_EventHistory
0x22 PKT_UnitAddGold Gives gold
0x23 PKT_AddRegion
0x24 PKT_S2C_MoveRegion
0x25 PKT_S2C_MoveCameraToPoint Moves the camera, used at the end of the game and recall
0x26 PKT_S2C_LineMissileHitList
0x27 PKT_S2C_MuteVolumeCategory Can mute all or single sound categories
0x28 PKT_ServerTick
0x29 PKT_S2C_StopAnimation
0x2A PKT_AvatarInfo_Server
0x2B PKT_DampenerSwitchStates Inhibitor State (destroyed or alive)
0x2C PKT_World_SendCamera_Server_Acknologment
0x2D PKT_S2C_ModifyDebugCircleRadius unused
0x2E PKT_World_SendCamera_Server
0x2F PKT_HeroReincarnateAlive Respawns the champion
0x30 PKT_NPC_BuffReplace
0x31 PKT_Pause
0x32 PKT_SetFadeOut_Pop
0x33 PKT_RemoveRegion
0x34 PKT_NPC_InstantStop_Attack The unit this packet is sent to stops doing auto attack animation
0x35 PKT_OnLeaveLocalVisiblityClient Removes the object
0x36 PKT_S2C_ShowObjectiveText Shows a message box at the top.
0x37 PKT_CHAR_SpawnPet
0x38 PKT_FX_Kill
0x39 PKT_NPC_UpgradeSpellReq
0x3A PKT_UseObjectC2S
0x3B PKT_MissileReplication Spawns a projectile
0x3C PKT_MovementDriverReplication
0x3D PKT_S2C_HighlightHUDElement
0x3E PKT_SwapItemAns Swaps the items in hero's inventory
0x3F PKT_NPC_LevelUp Levels up the unit
0x40 PKT_S2C_MapPing Warning pings (default button G/V)
0x41 PKT_S2C_WriteNavFlags
0x42 PKT_S2C_PlayEmote ctrl + 1/2/3/4
0x43 PKT_S2C_PlaySound
0x44 PKT_S2C_PlayVOCommand
0x45 PKT_S2C_OnEventWorld Announces the event
0x46 PKT_S2C_HeroStats Notifies HeroStats (which are mostly used for end-game stats)
0x47 PKT_C2S_UpdateGameOptions
0x48 PKT_C2S_PlayEmote
0x49 PKT_C2S_PlayVOCommand
0x4A PKT_HeroReincarnate
0x4B PKT_C2S_OnScoreBoardOpened
0x4C PKT_S2C_CreateHero
0x4D PKT_SPM_AddMemoryListener Unused
0x4E PKT_SPM_AddMemoryListener Unused
0x4F PKT_S2C_ToggleUIHighlight
0x50 PKT_S2C_FaceDirection Changes the direction unit is facing
0x51 PKT_OnLeaveVisiblityClient Removes object from map
0x52 PKT_C2S_ClientReady
0x53 PKT_SetItem
0x54 PKT_SynchVersionS2C Called in loading screen, checks version
0x55 PKT_S2C_HandleTipUpdate Shows a blue tip at right top corner
0x56 PKT_C2S_StatsUpdateReq
0x57 PKT_C2S_MapPing Sent by client to request a warning ping
0x58 PKT_S2C_RemoveDebugObject Unused
0x59 PKT_S2C_CreateUnitHighlight Highlights unit
0x5A PKT_S2C_DestroyClientMissile Destroys the projectile
0x5B PKT_S2C_SetSpellLevel
0x5C PKT_S2C_StartGame Called when loading screen is over
0x5D PKT_C2S_OnShopOpened
0x5E PKT_NPC_Hero_Die
0x5F PKT_S2C_FadeOutMainSFX
0x60 PKT_S2C_PlayThemeMusic
0x61 PKT_WaypointGroup
0x62 PKT_S2C_StartSpawn
0x63 PKT_S2C_CreateNeutral
0x64 PKT_WaypointGroupWithSpeed Used for dashing
0x65 PKT_UnitApplyDamage Does damage
0x66 PKT_ModifyShield Grants shields
0x67 PKT_S2C_PopCharacterData
0x68 PKT_NPC_BuffAddGroup
0x69 PKT_S2C_AI_TargetSelection
0x6A PKT_AI_TargetS2C
0x6B PKT_S2C_SetAnimStates Switches unit's walking animation
0x6C PKT_S2C_ChainMissileSync
0x6D PKT_C2S_OnTipEvent Sent to server when client clicks on a tip
0x6E PKT_S2C_ForceCreateMissile Same as spawnprojectile, but happens when projectile exits FoW
0x6F PKT_BuyItemAns
0x70 PKT_S2C_SetSpellData
0x71 PKT_S2C_PauseAnimation Freezes animation (Zhonya, being ascended etc.)
0x72 PKT_NPC_IssueOrderReq
0x73 PKT_S2C_CameraBehavior
0x74 PKT_S2C_AnimatedBuildingSetCurrentSkin
0x75 PKT_Connected
0x76 PKT_SyncSimTimeFinalS2C
0x77 PKT_Waypoint_Acc
0x78 PKT_S2C_LockCamera
0x79 PKT_S2C_PlayVOAudioEvent
0x7A PKT_AI_Command
0x7B PKT_NPC_BuffRemove2 Removes the buff
0x7C PKT_SpawnMinionS2C
0x7D PKT_Unused125 Unused, as the name implies
0x7E PKT_S2C_ToggleFoW Toggles global Fog of War
0x7F PKT_S2C_ToolTipVars Sets tooltip variables
0x80 PKT_Unused128 Unused, as the name implies
0x81 PKT_World_LockCamera_Server
0x82 PKT_BuyItemReq
0x83 PKT_WaypointListHeroWithSpeed
0x84 PKT_S2C_SetInputLockFlag
0x85 PKT_CHAR_SetCooldown Sets the cooldown
0x86 PKT_CHAR_CancelTargetingReticle
0x87 PKT_FX_Create_Group Spawns a particle at specified unit/coordinates
0x88 PKT_S2C_QueryStatusAns
0x89 PKT_Building_Die Called when inhibitor and nexus is destroyed
0x8A PKT_S2C_PreloadCharacterData
0x8B PKT_SPM_RemoveListener Unused
0x8C PKT_S2C_HandleQuestUpdate Shows a guest at right top corner
0x8D PKT_C2S_ClientFinished
0x8E PKT_SPM_RemoveMemoryListener Unused
0x8F PKT_C2S_Exit Sent when client closes
0x90 PKT_S2C_ModifyDebugObjectColor
0x91 PKT_SPM_AddListener Unused
0x92 PKT_World_SendGameNumber
0x93 PKT_SetPARState Sets PAR State (i.e. between Yasuo's gray (charging) and white (charged) state)
0x94 PKT_NPC_BuffRemoveGroup
0x95 PKT_S2C_Ping_Load_Info Called in loading screen, gets ping info
0x96 PKT_S2C_ChangeCharacterVoice
0x97 PKT_S2C_ChangeCharacterData Called when char data is updated
0x98 PKT_S2C_Exit
0x99 PKT_SPM_RemoveBBProfileListener Unused
0x9A PKT_NPC_CastSpellReq
0x9B PKT_S2C_ToggleInputLockFlag
0x9C PKT_C2S_SoftReconnect
0x9D PKT_S2C_CreateTurret Spawns turrets
0x9E PKT_NPC_Die
0x9F PKT_UseItemAns
0xA0 PKT_S2C_ShowAuxiliaryText Shows a message box at the right
0xA1 PKT_PausePacket Pauses the game
0xA2 PKT_S2C_HideObjectiveText Removes the message box at the top
0xA3 PKT_OnEvent Announces the event
0xA4 PKT_C2S_TeamSurrenderVote
0xA5 PKT_S2C_TeamSurrenderStatus Shows the result of surrender vote
0xA6 PKT_SPM_AddBBProfileListener Unused
0xA7 PKT_S2C_HideAuxiliaryText Removes the message box at the right
0xA8 PKT_OnReplication_Acc
0xA9 PKT_S2C_SetGreyscaleEnabledWhenDead
0xAA PKT_S2C_AI_State
0xAB S2C_SetFoWStatus Toggles FoW
0xAC PKT_ReloadScripts
0xAD PKT_Cheat
0xAE PKT_OnEnterLocalVisiblityClient Changes HP
0xAF PKT_SendSelectedObjID
0xB0 PKT_S2C_PlayAnimation Champion does the animation
0xB1 PKT_S2C_RefreshAuxiliaryText Edits the content of the message box at the right
0xB2 PKT_SetFadeOut_Push Changes transparency of your model, called when you go invisible
0xB3 PKT_S2C_OpenTutorialPopup The "Press OK to continue" window at the tutorial with changeable text
0xB4 PKT_S2C_RemoveUnitHighlight Removes the highlight of the highlighted unit
0xB5 PKT_NPC_CastSpellAns
0xB6 PKT_SPM_HierarchicalBBProfileUpdate Unused
0xB7 PKT_NPC_BuffAdd2 Adds buff
0xB8 PKT_S2C_OpenAFKWarningMessage The AFK window, which is shown when you dont do something for 2 minutes.
0xB9 PKT_WaypointList
0xBA PKT_OnEnterVisiblityClient Spawns an object
0xBB PKT_S2C_AddDebugObject Unused
0xBC PKT_S2C_DisableHUDForEndOfGame Hides UI, called when game ends
0xBD PKT_SynchVersionC2S
0xBE PKT_C2S_CharSelected
0xBF PKT_NPC_BuffUpdateCountGroup
0xC0 PKT_AI_TargetHeroS2C
0xC1 PKT_S2C_GameTimer
0xC2 PKT_SynchSimTimeS2C
0xC3 PKT_SyncMissionStartTimeS2C
0xC4 PKT_S2C_Neutral_Camp_Empty
0xC5 PKT_OnReplication
0xC6 PKT_S2C_EndGame Ends the game
0xC7 PKT_SPM_SamplingProfilerUpdate Unused
0xC8 PKT_S2C_PopAllCharacterData
0xC9 PKT_S2C_TeamSurrenderVote
0xCA PKT_S2C_HandleUIHighlight
0xCB PKT_S2C_FadeMinions
0xCC PKT_C2S_OnTutorialPopupClosed
0xCD PKT_C2S_OnQuestEvent
0xCE PKT_S2C_ShowHealthBar
0xCF PKT_SpawnBotS2C
0xD0 PKT_SpawnLevelPropS2C
0xD1 PKT_UpdateLevelPropS2C
0xD2 PKT_AttachFlexParticleS2C
0xD3 PKT_S2C_HandleCapturePointUpdate
0xD4 PKT_S2C_HandleGameScore
0xD5 PKT_S2C_HandleRespawnPointUpdate
0xD6 PKT_C2S_OnRespawnPointEvent
0xD7 PKT_S2C_UnitChangeTeam Changes team (Ex. Dominion Turrets)
0xD8 PKT_S2C_UnitSetMinimapIcon
0xD9 PKT_S2C_IncrementPlayerScore
0xDA PKT_S2C_IncrementPlayerStat
0xDB PKT_S2C_ColorRemapFX Tints your screen when you go stealth, can also be used with various colors
0xDC PKT_S2C_InteractiveMusicCommand
0xDD PKT_Unused221 Unused, as the name implies
0xDE PKT_Unused222 Unused, as the name implies
0xDF PKT_Unused223 Unused, as the name implies
0xE0 PKT_S2C_OnEnterTeamVisiblity
0xE1 PKT_S2C_OnLeaveTeamVisiblity
0xE2 PKT_S2C_FX_OnEnterTeamVisiblity Unused??
0xE3 PKT_S2C_FX_OnLeaveTeamVisiblity
0xE4 PKT_ReplayOnly_GoldEarned
0xE5 PKT_S2C_CloseClient Shuts down your client
0xE6 PKT_C2S_SpellChargeUpdateReq
0xE7 PKT_S2C_ModifyDebugText Unused
0xE8 PKT_S2C_SetDebugHidden Unused
0xE9 PKT_S2C_ActivateMinionCamp
0xEA PKT_C2S_SpectatorDataReq
0xEB PKT_S2C_SpectatorMetaData
0xEC PKT_S2C_SpectatorDataChunkInfo
0xED PKT_S2C_SpectatorDataChunk
0xEE PKT_S2C_ChangeMissileTarget
0xEF PKT_S2C_MarkOrSweepForSoftReconnect
0xF0 PKT_S2C_SetShopEnabled
0xF1 PKT_S2C_CreateFollowerObject
0xF2 PKT_S2C_ReattachFollowerObject
0xF3 PKT_S2C_PlayContextualEmote
0xF4 PKT_C2S_PlayContextualEmote
0xF5 PKT_S2C_SetHoverIndicatorTarget
0xF6 PKT_S2C_SetHoverIndicatorEnabled
0xF7 PKT_S2C_SystemMessage Shows the message in the chatbox
0xF8 PKT_S2C_ChangeEmitterGroup
0xF9 PKT_S2C_UpdateRestrictedChatCount
0xFA PKT_S2C_TeamBalanceVote
0xFB PKT_C2S_TeamBalanceVote
0xFC PKT_S2C_TeamBalanceStatus
0xFD PKT_S2C_SetItemCharges
0xFE PKT_ExtendedPacket Because Riot used byte headers, they use this one for later added packets
0xFF PKT_Batched Has more than one packet inside of it
0x100 PKT_SpawnMarkerS2C
0x101 PKT_S2C_UnitSetAutoAttackGroundAllowed
0x102 PKT_S2C_UnitSetShowAutoAttackIndicator
0x103 PKT_S2C_AnimationUpdateTimeStep
0x104 PKT_S2C_UnitSetSpellPARCost
0x105 PKT_S2C_UnitSetDrawPathMode
0x106 PKT_C2S_UnitSendDrawPath
0x107 PKT_S2C_AmmoUpdate
0x108 PKT_S2C_UnitSetCursorReticle
0x109 PKT_NPC_BuffUpdateNumCounter
0x10A PKT_C2S_UndoItemReq
0x10B PKT_S2C_SetUndoEnabled
0x10C PKT_S2C_SetInventory
0x10D PKT_S2C_ChangeMissileSpeed
0x10E PKT_S2C_SetCanSurrender
0x10F PKT_S2C_UnitSetLookAt
0x110 PKT_S2C_DestroyUnit
0x111 PKT_S2C_UnitSetSpellLevelOverrides
0x112 PKT_S2C_UnitSetMaxLevelOverride
0x113 PKT_S2C_UnitSetPARType
0x114 PKT_S2C_MoveMarker
0x115 PKT_ReplayOnly_MultiKillCountUpdate
0x116 PKT_S2C_NeutralMinionTimerUpdate
0x117 PKT_S2C_UpdateDeathTimer
0x118 PKT_S2C_UpdateSpellToggle
0x119 PKT_S2C_UpdateBounceMissile
0x11A PKT_S2C_DebugLogGoldSources
0x11B PKT_C2S_CheatLogGoldSources Unused
0x11C PKT_S2C_ShopItemSubstitutionSet
0x11D PKT_S2C_ShopItemSubstitutionClear
0x11E PKT_S2C_ResetClient Unused
0x11F PKT_S2C_IncrementMinionKills
0x120 PKT_S2C_UpdateAttackSpeedCapOverrides
0x121 PKT_S2C_NotifyContextualSituation
0x122 PKT_S2C_CreateMinionCamp
0x123 PKT_S2C_SpawnTurret
0x124 PKT_S2C_UpdateAscended
0x125 PKT_S2C_ChangeSpell_OwnerOnly 4.18+
0x126 PKT_S2C_Die_MapView 4.18+
0x127 PKT_S2C_SetInventory_MapView 4.18+
0x128 PKT_S2C_FloatingText2 4.18+
0x129 PKT_S2C_ForceTargetSpell 4.18+
0x12A PKT_S2C_StopForceTargetSpell 4.18+
0x12B PKT_S2C_Guessed_LockCamera 4.18+
0x12C PKT_UNK_0x12C 4.18+
0x12D PKT_S2C_SetFadeOut 4.18+
0x12E PKT_UNK_0x12E 4.18+
0x12F PKT_S2C_UnlockAnimation 4.18+

Payload Packets

Opcode Packet Name Description
0x64 EPM_RequestJoinTeam
0x65 EPM_RequestReskin
0x66 EPM_RequestRename
0x67 EPM_TeamRosterUpdate
0x68 EPM_Chat
0x69 EPM_QuickChat