MsgAction

This message is received by the game server or game client as a general action request. The server responds to MsgAction with either a specific action message (such as a spawn that was missing or with item details) or with the MsgAction message itself (such as for the login messages). The client may or may not respond with the MsgAction in response to a server MsgAction message.

MsgAction is used for a variety of actions, such as configuring the client during login, changing maps, requesting inventory and friends lists, setting the hero's location on login, jumping, and more.

Table of Contents

Patch 4267

Message Definition

☑️ Assumed (Soul)

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message28
2UInt16MsgTypeType of message1010
4UInt32System TimeMilliseconds of system uptime1579535985
8UInt32Hero IDUnique identifier for the character1000000
12UInt16XX coordinate of the action or hero320
14UInt16YY coordinate of the action or hero460
16UInt32DirectionAction direction0
20UInt32DataPayload or target identifier0
24UInt32ActionHow to processes the message0

Action Type

☑️ Assumed (Soul)

🔶 Response data

ValNameDescriptionRecipientIDData
124CHANGE_DIRChange facing directionServerHero ID
126CHANGE_EMOTIONChange emoting actionServerHero IDAction
130CHANGE_MAPChange map (portal)ServerHero ID
137ENTER_MAPRequest hero locationServerHero IDMap ID 🔶
138GET_ITEMSLoad items on loginServerHero ID
139GET_FRIENDSLoad friends on loginServerHero ID
141LEAVE_MAPRemove role entity from mapClientRole ID
142JUMPRole entity jumpServerRole IDLOW: X HIGH: Y
146UP_LEVELNotify new levelServerHero ID
147XP_CLEARNotify clear XPServerHero ID
148REVIVERequest reviveServerHero ID
149DEL_ROLEDelete heroServerHero ID
150GET_WEAPON_SKILLSLoad skills on loginServerHero ID
151GET_MAGICLoad spells on loginServerHero ID
152SET_PK_MODESet PK modeServerHero IDMode
153GET_SYN_ATTRGet guild infoServerHero ID
154GHOSTNotify deathServerHero ID
155SYNCHROSynchronize screenServerHero ID
156QUERY_FRIEND_INFOGet friend infoServerHero IDTarget ID
157QUERY_LEAVE_WORDGet offline messagesServerHero ID
158CHANGE_FACEChange teammate or own avatarBothHero IDFace
159MINEMine with pickaxeServerHero ID
160TEAM_MEMBER_POSTeammate positionClientHero IDLOW: X HIGH: Y
161QUERY_PLAYERGet player spawnServerHero ID
162ABORT_MAGICCancel magic or chargeupServerHero ID
164MAP_ARGBSet game map ARGBClientARGB
166QUERY_MEMBERGet team member infoServerHero IDTarget ID
167CREATE_BOOTHCreate market boothBothHero IDLOW: X HIGH: Y
168SUSPEND_BOOTHPause market booth (unused)ServerHero ID
169RESUME_BOOTHResume market boothBothHero IDLOW: X HIGH: Y
170DESTROY_BOOTHRemove market boothServerHero ID
172POST_CMDRun client commandClientHero IDCommand
173QUERY_EQUIPMENTGet player's equipmentServerHero ID
174ABORT_TRANSFORMCancel transformationServerHero ID
176LANDINGCancel flightServerHero ID
177GET_MONEYPick up moneyClientHero IDAmount
179ENEMY_INFOGet enemy infoServerHero ID
181KICKBACKRubberband to coordClientHero IDLOW: X HIGH: Y
182DROP_MAGICRemove magic typeClientHero IDMagic Type
183DROP_SKILLRemove weapon skillClientHero IDWeapon Skill Type
184SOUND_EFFECTMonster sound at coordClientHero IDMonster Type
186POST_DIALOGOpen a dialog windowClientHero IDDialog ID

Patch 5017

Message Definition

☑️ Assumed (Observed) - Redux

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message24
2UInt16MsgTypeType of message1010
4UInt32System TimeMilliseconds of system uptime1579535985
8UInt32Hero IDUnique identifier for the character1000000
12UInt32DataPayload or target identifier0
16UInt16XX coordinate of the action or hero320
18UInt16YY coordinate of the action or hero460
20UInt16DirectionAction direction0
22UInt16ActionHow to processes the message0

Action Type

☑️ Assumed (Observed) - COPSv6

🔶 Response data

ValNameDescriptionRecipientIDData
74GET_POSITIONRequest hero locationServerHero IDMap ID 🔶
75GET_ITEMSLoad items on loginServerHero ID
76GET_FRIENDSLoad friends on loginServerHero ID
77GET_WEAPON_SKILLSLoad skills on loginServerHero ID
78GET_MAGICLoad spells on loginServerHero ID
79CHANGE_DIRChange facing directionServerHero ID
81CHANGE_EMOTIONChange emoting actionServerHero IDEmotion
85CHANGE_MAPChange map (portal)ServerHero ID
86ENTER_MAPAdd entity to mapServerRole IDMap ID
92UP_LEVELNotify new levelServerHero ID
93XP_CLEARNotify clear XPServerHero ID
94REVIVERequest reviveServerHero ID
95DEL_ROLEDelete heroServerHero ID
96SET_PK_MODESet PK modeServerHero IDMode
97GET_SYN_ATTRGet guild infoServerHero ID
99MINEMine with pickaxeServerHero ID
101TEAM_LEAD_POSGet team leader positionClientHero IDGame Map Type
102QUERY_PLAYERGet player spawnServerHero ID
104MAP_ARGBSet game map ARGBClientARGB
105QUERY_MEMBERGet team member infoServerHero IDTarget ID
106TEAM_MEMBER_POSTeammate positionClientHero IDLOW: X HIGH: Y
108KICKBACKRubberband to coordClientHero IDLOW: X HIGH: Y
109DROP_MAGICRemove magic typeClientHero IDMagic Type
110DROP_SKILLRemove weapon skillClientHero IDWeapon Skill Type
111CREATE_BOOTHCreate market boothBothHero IDLOW: X HIGH: Y
112SUSPEND_BOOTHPause market booth (unused)ServerHero ID
113RESUME_BOOTHResume market boothBothHero IDLOW: X HIGH: Y
114DESTROY_BOOTHRemove market boothServerHero ID
116POST_CMDRun client commandClientHero IDCommand
117QUERY_EQUIPMENTGet player's equipmentServerHero ID
118ABORT_TRANSFORMCancel transformationServerHero ID
120LANDINGCancel flightServerHero ID
121GET_MONEYPick up moneyClientHero IDAmount
123ENEMY_INFOGet enemy infoServerHero ID
126POST_DIALOGOpen a dialog windowClientHero IDDialog ID
130QUERY_LEAVE_WORDGet offline messagesServerHero ID
132LEAVE_MAPRemove role entity from mapClientRole ID
133JUMPRole entity jumpServerRole IDLOW: X HIGH: Y
137GHOSTNotify deathServerHero ID
138SYNCHROSynchronize screenServerHero ID
140QUERY_FRIEND_INFOGet friend infoServerHero IDTarget ID
142CHANGE_FACEChange teammate or own avatarBothHero IDFace
162PATHFINDINGTrigger pathfinding to X, YClientHero ID
163ABORT_MAGICCancel magic or chargeupServerHero ID