Actions

Old Engine/Game Protocol

From RuneWiki

Example of a logged in player

I recently rewrote the content here to adopt the official nomenclature as much as possible.

Check out the list for revision 225.

If you see any lowercase or hyphenated names in the un-versioned list, they're from my previous work in 317 and not used in 225.

Resources

Data Types

Client to Server Communication

This table is structured from the packet opcode lookup in the client. Sort by ID to see how packets are grouped, they all have reserved areas typically e.g. anticheat packets (randomly added during obfuscation) will exist from 60-75, player options will exist from 100-109, and so on. The "ID" column here is fixed across revisions.

Client Packets
ID Name
4 MAP_REQUEST_AREAS*
6 NO_TIMEOUT
30 IDLE_TIMER
31 mouse-clicked
32 player-flagged-data
33 client-focus
34 EVENT_TRACKING*
35 EVENT_CAMERA_POSITION
36 client-running-as-frame
80 OPOBJ1
81 OPOBJ2
82 OPOBJ3
83 OPOBJ4
84 OPOBJ5
88 OPOBJT
89 OPOBJU
100 OPNPC1
101 OPNPC2
102 OPNPC3
103 OPNPC4
104 OPNPC5
108 OPNPCT
109 OPNPCU
120 OPLOC1
121 OPLOC2
122 OPLOC3
123 OPLOC4
124 OPLOC5
128 OPLOCT
129 OPLOCU
140 OPPLAYER1
141 OPPLAYER2
142 OPPLAYER3
143 OPPLAYER4
144 player-action-5
148 OPPLAYERT
149 OPPLAYERU
160 OPHELD1
161 OPHELD2
162 OPHELD3
163 OPHELD4
164 OPHELD5
168 OPHELDT
169 OPHELDU
190 IF_BUTTON1
191 IF_BUTTON2
192 IF_BUTTON3
193 IF_BUTTON4
194 IF_BUTTON5
200 IF_BUTTON
201 RESUME_PAUSEBUTTON
202 CLOSE_MODAL
203 RESUME_P_COUNTDIALOG
204 IF_FLASHING_TAB*
205 interface-enter-name
241 region-loaded
242 MOVE_OPCLICK*
243 BUG_REPORT
244 MOVE_MINIMAPCLICK
245 IF_BUTTOND
246 IGNORELIST_DEL
247 IGNORELIST_ADD
248 IF_DESIGN*
249 CHAT_SETMODE
250 MESSAGE_PRIVATE
251 FRIENDLIST_DEL
252 FRIENDLIST_ADD
253 CLIENT_CHEAT
254 MESSAGE_PUBLIC
255 MOVE_GAMECLICK

Server to Client Communication

This table is manually described.

Please select a revision.