Placebo
Member!
Took this with permission from Gayak ( http://gayak.gods-network.com )
BYTE = XX
WORD = 2 bytes
DWORD = 4 bytes
*char = XX ... XX
BYTE = XX
WORD = 2 bytes
DWORD = 4 bytes
*char = XX ... XX
Code:
00
01 Walk 01 [WORD x] [WORD y]
02 Walk to entity 02 [DWORD entity kind] [DWORD id]
03 Run 03 [WORD x] [WORD y]
04 Run to entity 04 [DWORD entity kind] [DWORD id]
05 Shift left click skill 05 [WORD x] [WORD y]
06 Left skill on unit 06 [DWORD entity kind] [DWORD id]
07 Shift left skill on unit 07 [DWORD entity kind] [DWORD id]
08 Shift left skill (hold) 08 [WORD x] [WORD y]
09 Left skill on unit (hold) 09 [DWORD entity kind] [DWORD id]
0a Shift left skill on unit (hold) 0a [DWORD entity kind] [DWORD id]
0b
0c Right skill 0c [WORD x] [WORD y]
0d Right skill on unit 0d [DWORD entity kind] [DWORD id]
0e Shift right skill on unit 0e [DWORD entity kind] [DWORD id]
0f Right skill (hold) 0f [WORD x] [WORD y]
10 Right skill on unit (hold) 10 [DWORD entity kind] [DWORD id]
11 Shift right skill on unit (hold) 11 [DWORD entity kind] [DWORD id]
12
13 Click on entity 13 [DWORD entity kind] [DWORD id]
14 Overhead message 14 00 00 [*char message] 00 00 00
15 Message 15 01 00 [*char message] 00 00 00
16 Pickup item from ground 16 04 00 00 00 [DWORD id] [DWORD inventory(0) or cursor (1)]
17 Drop cursor item to ground 17 [DWORD id]
18 Put item down in buffer 18 [DWORD id] [DWORD xpos] [DWORD ypos] [DWORD buffer]
19 Pickup item from buffer 19 [DWORD id]
1a Equip item 1a [DWORD id] [WORD position] 00 00
1b Equip/Remove 2 handed-item (swap) 1b [DWORD id] [WORD position] 00 00
1c Remove item from body 1c [WORD position]
1d Swap cursor with body 1d [DWORD id] [WORD position] 00 00
1e
1f Swap cursor with item in buffer 1f [DWORD cursor item id] [DWORD buffer item id] [DWORD xpos] [DWORD ypos]
20 Activate cube/potion in inventory/stash 20 [DWORD id] [WORD x] 00 00 [WORD y] 00 00
21 Stack items (keys, arrows) 21 [DWORD item to stack id] [DWORD item where it stacks id]
22 Unstack items???
23 Drop item to belt 23 [DWORD id] [DWORD position]
24 Pickup item from belt 24 [DWORD id]
25
26 Use potion/scroll in belt 26 [DWORD id] [DWORD option] 00 00 00 00
27 Identify item 27 [DWORD item id] [DWORD scroll id]
28 Socket item 28 [DWORD item to socket id] [DWORD socketable item id]
29 Stack scroll in a book 29 [DWORD scroll id] [DWORD book id]
2a Drop item into cube 2a [DWORD item id] [DWORD cube id]
2b
2c
2d
2e
2f Talk to entity 2f [DWORD entity kind] [DWORD id]
30 Stop talking with entity 30 [DWORD entity kind] [DWORD id]
31 Quest message with NPC 31 [DWORD id] [DWORD message]
32 Buy/Gamble item 32 [DWORD entity id] [DWORD item id] [DWORD tab] [DWORD cost]
33 Sell item 32 [DWORD entity id] [DWORD item id] [DWORD tab] [DWORD cost]
34 Identify items with a NPC 34 [DWORD entity id]
35 Repair 35 [DWORD entity id] [DWORD item id] [DWORD tab] [DWORD cost?]
36 Hire merc 36 [DWORD entity id] [DWORD merc id]
37 Identify item (from gamble?) 37 [DWORD item id]
38 Entity action 38 [DWORD action] [DWORD entity id] [DWORD complement]
39
3a Add stat point 3a [WORD stat]
3b Add skill point 3b [WORD skill]
3c Select skill 3c [WORD skill] 00 [BYTE left (80) or right 00) skill] FF FF FF FF
3d
3e
3f Say a sound message 3f [WORD sound message]
40 Sent when you open quest window 40
41 Ressurect when dead 41
42
43
44 Put staff in orifice 44 [DWORD orifice entity kind] [DWORD orifice id] [DWORD staff id] [DWORD entity state]
45
46
47
48
49 Take waypoint / Close waypoint screen 49 [DWORD wp id] [BYTE map location] 00 00 00
4a
4b Warp 4b [DWORD ?] [DWORD ?]
4c
4d
4e
4f Click button 4f [DWORD button id] [WORD complement]
50 Drop gold 50 [DWORD player id] [WORD gold pieces]
51 Bind a hotkey to a skill 51 [BYTE skill] [BYTE left (80) or right 00) skill] [WORD hotkey] FF FF FF FF
52
53
54
55
56
57
58 Quest completed 58 [WORD Quest id]
59 Make entity move 59 [DWORD entity kind] [DWORD entity id] [WORD x] 00 00 [WORD y] 00 00
5a
5b
5c
5d Mute/Squelch/Hostile player 5d [BYTE button] [BYTE toggle on/off] [DWORD player id]
5e Invite/Cancel party 5e [BYTE button] [DWORD player id]
5f Update player position 5f [WORD x] [WORD y]
60 Swap weapons set 60
61 Drop/Pickup item on merc 61 [WORD position (00 to drop)]
62 Resurrect merc 62 [DWORD npc id]
63 Shift left click to bring to belt 63 [DWORD item]
64
65 Enter game packet 65 XX XX XX XX XX XX XX XX 00 00 00 00 [*char character name] 00 XX XX XX [DWORD ?]
66 Exit game 66
67
68
69
6a Update from client 6a [DWORD timer in milliseconds] [DWORD delay]