tmw/src/net/ea/protocol.h File Reference

Go to the source code of this file.

Defines

#define SMSG_SERVER_PING   0x007f
 Contains server tick.
#define SMSG_CONNECTION_PROBLEM   0x0081
#define SMSG_UPDATE_HOST   0x0063
 Custom update host packet.
#define SMSG_LOGIN_DATA   0x0069
#define SMSG_LOGIN_ERROR   0x006a
#define SMSG_CHAR_LOGIN   0x006b
#define SMSG_CHAR_LOGIN_ERROR   0x006c
#define SMSG_CHAR_CREATE_SUCCEEDED   0x006d
#define SMSG_CHAR_CREATE_FAILED   0x007e
#define SMSG_CHAR_DELETE_SUCCEEDED   0x006f
#define SMSG_CHAR_DELETE_FAILED   0x0070
#define SMSG_CHAR_MAP_INFO   0x0071
#define SMSG_MAP_LOGIN_SUCCESS   0x0073
 Contains starting location.
#define SMSG_PLAYER_UPDATE_1   0x01d8
#define SMSG_PLAYER_UPDATE_2   0x01d9
#define SMSG_PLAYER_MOVE   0x01da
 A nearby player moves.
#define SMSG_PLAYER_STOP   0x0088
 Stop walking, set position.
#define SMSG_PLAYER_MOVE_TO_ATTACK   0x0139
 Move to within attack range.
#define SMSG_PLAYER_STAT_UPDATE_1   0x00b0
#define SMSG_PLAYER_STAT_UPDATE_2   0x00b1
#define SMSG_PLAYER_STAT_UPDATE_3   0x0141
#define SMSG_PLAYER_STAT_UPDATE_4   0x00bc
#define SMSG_PLAYER_STAT_UPDATE_5   0x00bd
#define SMSG_PLAYER_STAT_UPDATE_6   0x00be
#define SMSG_WHO_ANSWER   0x00c2
#define SMSG_PLAYER_WARP   0x0091
 Warp player to map/location.
#define SMSG_PLAYER_INVENTORY   0x01ee
#define SMSG_PLAYER_INVENTORY_ADD   0x00a0
#define SMSG_PLAYER_INVENTORY_REMOVE   0x00af
#define SMSG_PLAYER_INVENTORY_USE   0x01c8
#define SMSG_PLAYER_EQUIPMENT   0x00a4
#define SMSG_PLAYER_EQUIP   0x00aa
#define SMSG_PLAYER_UNEQUIP   0x00ac
#define SMSG_PLAYER_ATTACK_RANGE   0x013a
#define SMSG_PLAYER_ARROW_EQUIP   0x013c
#define SMSG_PLAYER_ARROW_MESSAGE   0x013b
#define SMSG_PLAYER_SKILLS   0x010f
#define SMSG_SKILL_FAILED   0x0110
#define SMSG_ITEM_USE_RESPONSE   0x00a8
#define SMSG_ITEM_VISIBLE   0x009d
 An item is on the floor.
#define SMSG_ITEM_DROPPED   0x009e
 An item is dropped.
#define SMSG_ITEM_REMOVE   0x00a1
 An item disappers.
#define SMSG_BEING_VISIBLE   0x0078
#define SMSG_BEING_MOVE   0x007b
 A nearby monster moves.
#define SMSG_BEING_SPAWN   0x007c
 A being spawns nearby.
#define SMSG_BEING_MOVE2   0x0086
 New eAthena being moves.
#define SMSG_BEING_REMOVE   0x0080
#define SMSG_BEING_CHANGE_LOOKS   0x00c3
#define SMSG_BEING_CHANGE_LOOKS2   0x01d7
 Same as 0x00c3, but 16 bit ID.
#define SMSG_BEING_SELFEFFECT   0x019b
#define SMSG_BEING_EMOTION   0x00c0
#define SMSG_BEING_ACTION   0x008a
 Attack, sit, stand up, .
#define SMSG_BEING_CHAT   0x008d
 A being talks.
#define SMSG_BEING_NAME_RESPONSE   0x0095
 Has to be requested.
#define SMSG_BEING_CHANGE_DIRECTION   0x009c
#define SMSG_PLAYER_STATUS_CHANGE   0x0119
#define SMSG_BEING_STATUS_CHANGE   0x0196
#define SMSG_NPC_MESSAGE   0x00b4
#define SMSG_NPC_NEXT   0x00b5
#define SMSG_NPC_CLOSE   0x00b6
#define SMSG_NPC_CHOICE   0x00b7
 Display a choice.
#define SMSG_NPC_BUY_SELL_CHOICE   0x00c4
#define SMSG_NPC_BUY   0x00c6
#define SMSG_NPC_SELL   0x00c7
#define SMSG_NPC_BUY_RESPONSE   0x00ca
#define SMSG_NPC_SELL_RESPONSE   0x00cb
#define SMSG_NPC_INT_INPUT   0x0142
 Integer input.
#define SMSG_NPC_STR_INPUT   0x01d4
 String input.
#define SMSG_PLAYER_CHAT   0x008e
 Player talks.
#define SMSG_WHISPER   0x0097
 Whisper Recieved.
#define SMSG_WHISPER_RESPONSE   0x0098
#define SMSG_GM_CHAT   0x009a
 GM announce.
#define SMSG_WALK_RESPONSE   0x0087
#define SMSG_TRADE_REQUEST   0x00e5
 Receiving a request to trade.
#define SMSG_TRADE_RESPONSE   0x00e7
#define SMSG_TRADE_ITEM_ADD   0x00e9
#define SMSG_TRADE_ITEM_ADD_RESPONSE   0x01b1
 Not standard eAthena!
#define SMSG_TRADE_OK   0x00ec
#define SMSG_TRADE_CANCEL   0x00ee
#define SMSG_TRADE_COMPLETE   0x00f0
#define SMSG_PARTY_CREATE   0x00fa
#define SMSG_PARTY_INFO   0x00fb
#define SMSG_PARTY_INVITE_RESPONSE   0x00fd
#define SMSG_PARTY_INVITED   0x00fe
#define SMSG_PARTY_SETTINGS   0x0101
#define SMSG_PARTY_MOVE   0x0104
#define SMSG_PARTY_LEAVE   0x0105
#define SMSG_PARTY_UPDATE_HP   0x0106
#define SMSG_PARTY_UPDATE_COORDS   0x0107
#define SMSG_PARTY_MESSAGE   0x0109
#define SMSG_PLAYER_STORAGE_ITEMS   0x01f0
 Item list for storage.
#define SMSG_PLAYER_STORAGE_EQUIP   0x00a6
 Equipment list for storage.
#define SMSG_PLAYER_STORAGE_STATUS   0x00f2
 Slots used and total slots.
#define SMSG_PLAYER_STORAGE_ADD   0x00f4
 Add item/equip to storage.
#define SMSG_PLAYER_STORAGE_REMOVE   0x00f6
 Remove item/equip from storage.
#define SMSG_PLAYER_STORAGE_CLOSE   0x00f8
 Storage access closed.
#define SMSG_ADMIN_KICK_ACK   0x00cd
#define SMSG_MVP   0x010c
#define CMSG_CHAR_SERVER_CONNECT   0x0065
#define CMSG_CHAR_SELECT   0x0066
#define CMSG_CHAR_CREATE   0x0067
#define CMSG_CHAR_DELETE   0x0068
#define CMSG_MAP_SERVER_CONNECT   0x0072
#define CMSG_CLIENT_PING   0x007e
 Send to server with tick.
#define CMSG_MAP_LOADED   0x007d
#define CMSG_CLIENT_QUIT   0x018A
#define CMSG_CHAT_MESSAGE   0x008c
#define CMSG_CHAT_WHISPER   0x0096
#define CMSG_CHAT_ANNOUNCE   0x0099
#define CMSG_CHAT_WHO   0x00c1
#define CMSG_SKILL_LEVELUP_REQUEST   0x0112
#define CMSG_STAT_UPDATE_REQUEST   0x00bb
#define CMSG_PLAYER_INVENTORY_USE   0x00a7
#define CMSG_PLAYER_INVENTORY_DROP   0x00a2
#define CMSG_PLAYER_EQUIP   0x00a9
#define CMSG_PLAYER_UNEQUIP   0x00ab
#define CMSG_ITEM_PICKUP   0x009f
#define CMSG_PLAYER_CHANGE_DIR   0x009b
#define CMSG_PLAYER_CHANGE_DEST   0x0085
#define CMSG_PLAYER_CHANGE_ACT   0x0089
#define CMSG_PLAYER_RESPAWN   0x00b2
#define CMSG_PLAYER_EMOTE   0x00bf
#define CMSG_PLAYER_ATTACK   0x0089
#define CMSG_WHO_REQUEST   0x00c1
#define CMSG_NPC_TALK   0x0090
#define CMSG_NPC_NEXT_REQUEST   0x00b9
#define CMSG_NPC_CLOSE   0x0146
#define CMSG_NPC_LIST_CHOICE   0x00b8
#define CMSG_NPC_INT_RESPONSE   0x0143
#define CMSG_NPC_STR_RESPONSE   0x01d5
#define CMSG_NPC_BUY_SELL_REQUEST   0x00c5
#define CMSG_NPC_BUY_REQUEST   0x00c8
#define CMSG_NPC_SELL_REQUEST   0x00c9
#define CMSG_TRADE_REQUEST   0x00e4
#define CMSG_TRADE_RESPONSE   0x00e6
#define CMSG_TRADE_ITEM_ADD_REQUEST   0x00e8
#define CMSG_TRADE_CANCEL_REQUEST   0x00ed
#define CMSG_TRADE_ADD_COMPLETE   0x00eb
#define CMSG_TRADE_OK   0x00ef
#define CMSG_PARTY_CREATE   0x00f9
#define CMSG_PARTY_INVITE   0x00fc
#define CMSG_PARTY_INVITED   0x00ff
#define CMSG_PARTY_LEAVE   0x0100
#define CMSG_PARTY_SETTINGS   0x0102
#define CMSG_PARTY_KICK   0x0103
#define CMSG_PARTY_MESSAGE   0x0108
#define CMSG_MOVE_TO_STORAGE   0x00f3
#define CSMG_MOVE_FROM_STORAGE   0x00f5
#define CMSG_CLOSE_STORAGE   0x00f7
#define CMSG_ADMIN_ANNOUNCE   0x0099
#define CMSG_ADMIN_LOCAL_ANNOUNCE   0x019C
#define CMSG_ADMIN_HIDE   0x019D
#define CMSG_ADMIN_KICK   0x00CC
#define CMSG_ADMIN_MUTE   0x0149

Functions

void set_coordinates (char *data, unsigned short x, unsigned short y, unsigned char direction)
 Encodes coords and direction in 3 bytes data.


Define Documentation

#define CMSG_ADMIN_ANNOUNCE   0x0099

Definition at line 204 of file protocol.h.

#define CMSG_ADMIN_HIDE   0x019D

Definition at line 206 of file protocol.h.

#define CMSG_ADMIN_KICK   0x00CC

Definition at line 207 of file protocol.h.

#define CMSG_ADMIN_LOCAL_ANNOUNCE   0x019C

Definition at line 205 of file protocol.h.

#define CMSG_ADMIN_MUTE   0x0149

Definition at line 208 of file protocol.h.

#define CMSG_CHAR_CREATE   0x0067

Definition at line 145 of file protocol.h.

#define CMSG_CHAR_DELETE   0x0068

Definition at line 146 of file protocol.h.

#define CMSG_CHAR_SELECT   0x0066

Definition at line 144 of file protocol.h.

#define CMSG_CHAR_SERVER_CONNECT   0x0065

Definition at line 143 of file protocol.h.

#define CMSG_CHAT_ANNOUNCE   0x0099

Definition at line 155 of file protocol.h.

#define CMSG_CHAT_MESSAGE   0x008c

Definition at line 153 of file protocol.h.

#define CMSG_CHAT_WHISPER   0x0096

Definition at line 154 of file protocol.h.

#define CMSG_CHAT_WHO   0x00c1

Definition at line 156 of file protocol.h.

#define CMSG_CLIENT_PING   0x007e

Send to server with tick.

Definition at line 149 of file protocol.h.

#define CMSG_CLIENT_QUIT   0x018A

Definition at line 151 of file protocol.h.

#define CMSG_CLOSE_STORAGE   0x00f7

Definition at line 202 of file protocol.h.

#define CMSG_ITEM_PICKUP   0x009f

Definition at line 166 of file protocol.h.

#define CMSG_MAP_LOADED   0x007d

Definition at line 150 of file protocol.h.

#define CMSG_MAP_SERVER_CONNECT   0x0072

Definition at line 148 of file protocol.h.

#define CMSG_MOVE_TO_STORAGE   0x00f3

Definition at line 200 of file protocol.h.

#define CMSG_NPC_BUY_REQUEST   0x00c8

Definition at line 182 of file protocol.h.

#define CMSG_NPC_BUY_SELL_REQUEST   0x00c5

Definition at line 181 of file protocol.h.

#define CMSG_NPC_CLOSE   0x0146

Definition at line 177 of file protocol.h.

#define CMSG_NPC_INT_RESPONSE   0x0143

Definition at line 179 of file protocol.h.

#define CMSG_NPC_LIST_CHOICE   0x00b8

Definition at line 178 of file protocol.h.

#define CMSG_NPC_NEXT_REQUEST   0x00b9

Definition at line 176 of file protocol.h.

#define CMSG_NPC_SELL_REQUEST   0x00c9

Definition at line 183 of file protocol.h.

#define CMSG_NPC_STR_RESPONSE   0x01d5

Definition at line 180 of file protocol.h.

#define CMSG_NPC_TALK   0x0090

Definition at line 175 of file protocol.h.

#define CMSG_PARTY_CREATE   0x00f9

Definition at line 192 of file protocol.h.

#define CMSG_PARTY_INVITE   0x00fc

Definition at line 193 of file protocol.h.

#define CMSG_PARTY_INVITED   0x00ff

Definition at line 194 of file protocol.h.

#define CMSG_PARTY_KICK   0x0103

Definition at line 197 of file protocol.h.

#define CMSG_PARTY_LEAVE   0x0100

Definition at line 195 of file protocol.h.

#define CMSG_PARTY_MESSAGE   0x0108

Definition at line 198 of file protocol.h.

#define CMSG_PARTY_SETTINGS   0x0102

Definition at line 196 of file protocol.h.

#define CMSG_PLAYER_ATTACK   0x0089

Definition at line 172 of file protocol.h.

#define CMSG_PLAYER_CHANGE_ACT   0x0089

Definition at line 169 of file protocol.h.

#define CMSG_PLAYER_CHANGE_DEST   0x0085

Definition at line 168 of file protocol.h.

#define CMSG_PLAYER_CHANGE_DIR   0x009b

Definition at line 167 of file protocol.h.

#define CMSG_PLAYER_EMOTE   0x00bf

Definition at line 171 of file protocol.h.

#define CMSG_PLAYER_EQUIP   0x00a9

Definition at line 163 of file protocol.h.

#define CMSG_PLAYER_INVENTORY_DROP   0x00a2

Definition at line 162 of file protocol.h.

#define CMSG_PLAYER_INVENTORY_USE   0x00a7

Definition at line 161 of file protocol.h.

#define CMSG_PLAYER_RESPAWN   0x00b2

Definition at line 170 of file protocol.h.

#define CMSG_PLAYER_UNEQUIP   0x00ab

Definition at line 164 of file protocol.h.

#define CMSG_SKILL_LEVELUP_REQUEST   0x0112

Definition at line 158 of file protocol.h.

#define CMSG_STAT_UPDATE_REQUEST   0x00bb

Definition at line 159 of file protocol.h.

#define CMSG_TRADE_ADD_COMPLETE   0x00eb

Definition at line 189 of file protocol.h.

#define CMSG_TRADE_CANCEL_REQUEST   0x00ed

Definition at line 188 of file protocol.h.

#define CMSG_TRADE_ITEM_ADD_REQUEST   0x00e8

Definition at line 187 of file protocol.h.

#define CMSG_TRADE_OK   0x00ef

Definition at line 190 of file protocol.h.

#define CMSG_TRADE_REQUEST   0x00e4

Definition at line 185 of file protocol.h.

#define CMSG_TRADE_RESPONSE   0x00e6

Definition at line 186 of file protocol.h.

#define CMSG_WHO_REQUEST   0x00c1

Definition at line 173 of file protocol.h.

#define CSMG_MOVE_FROM_STORAGE   0x00f5

Definition at line 201 of file protocol.h.

#define SMSG_ADMIN_KICK_ACK   0x00cd

Definition at line 136 of file protocol.h.

#define SMSG_BEING_ACTION   0x008a

Attack, sit, stand up, .

..

Definition at line 85 of file protocol.h.

#define SMSG_BEING_CHANGE_DIRECTION   0x009c

Definition at line 88 of file protocol.h.

#define SMSG_BEING_CHANGE_LOOKS   0x00c3

Definition at line 81 of file protocol.h.

#define SMSG_BEING_CHANGE_LOOKS2   0x01d7

Same as 0x00c3, but 16 bit ID.

Definition at line 82 of file protocol.h.

#define SMSG_BEING_CHAT   0x008d

A being talks.

Definition at line 86 of file protocol.h.

#define SMSG_BEING_EMOTION   0x00c0

Definition at line 84 of file protocol.h.

#define SMSG_BEING_MOVE   0x007b

A nearby monster moves.

Definition at line 77 of file protocol.h.

#define SMSG_BEING_MOVE2   0x0086

New eAthena being moves.

Definition at line 79 of file protocol.h.

#define SMSG_BEING_NAME_RESPONSE   0x0095

Has to be requested.

Definition at line 87 of file protocol.h.

#define SMSG_BEING_REMOVE   0x0080

Definition at line 80 of file protocol.h.

#define SMSG_BEING_SELFEFFECT   0x019b

Definition at line 83 of file protocol.h.

#define SMSG_BEING_SPAWN   0x007c

A being spawns nearby.

Definition at line 78 of file protocol.h.

#define SMSG_BEING_STATUS_CHANGE   0x0196

Definition at line 91 of file protocol.h.

#define SMSG_BEING_VISIBLE   0x0078

Definition at line 76 of file protocol.h.

#define SMSG_CHAR_CREATE_FAILED   0x007e

Definition at line 41 of file protocol.h.

#define SMSG_CHAR_CREATE_SUCCEEDED   0x006d

Definition at line 40 of file protocol.h.

#define SMSG_CHAR_DELETE_FAILED   0x0070

Definition at line 43 of file protocol.h.

#define SMSG_CHAR_DELETE_SUCCEEDED   0x006f

Definition at line 42 of file protocol.h.

#define SMSG_CHAR_LOGIN   0x006b

Definition at line 38 of file protocol.h.

#define SMSG_CHAR_LOGIN_ERROR   0x006c

Definition at line 39 of file protocol.h.

#define SMSG_CHAR_MAP_INFO   0x0071

Definition at line 44 of file protocol.h.

#define SMSG_CONNECTION_PROBLEM   0x0081

Definition at line 32 of file protocol.h.

#define SMSG_GM_CHAT   0x009a

GM announce.

Definition at line 107 of file protocol.h.

#define SMSG_ITEM_DROPPED   0x009e

An item is dropped.

Definition at line 74 of file protocol.h.

#define SMSG_ITEM_REMOVE   0x00a1

An item disappers.

Definition at line 75 of file protocol.h.

#define SMSG_ITEM_USE_RESPONSE   0x00a8

Definition at line 72 of file protocol.h.

#define SMSG_ITEM_VISIBLE   0x009d

An item is on the floor.

Definition at line 73 of file protocol.h.

#define SMSG_LOGIN_DATA   0x0069

Definition at line 35 of file protocol.h.

#define SMSG_LOGIN_ERROR   0x006a

Definition at line 36 of file protocol.h.

#define SMSG_MAP_LOGIN_SUCCESS   0x0073

Contains starting location.

Definition at line 46 of file protocol.h.

#define SMSG_MVP   0x010c

Definition at line 138 of file protocol.h.

#define SMSG_NPC_BUY   0x00c6

Definition at line 98 of file protocol.h.

#define SMSG_NPC_BUY_RESPONSE   0x00ca

Definition at line 100 of file protocol.h.

#define SMSG_NPC_BUY_SELL_CHOICE   0x00c4

Definition at line 97 of file protocol.h.

#define SMSG_NPC_CHOICE   0x00b7

Display a choice.

Definition at line 96 of file protocol.h.

#define SMSG_NPC_CLOSE   0x00b6

Definition at line 95 of file protocol.h.

#define SMSG_NPC_INT_INPUT   0x0142

Integer input.

Definition at line 102 of file protocol.h.

#define SMSG_NPC_MESSAGE   0x00b4

Definition at line 93 of file protocol.h.

#define SMSG_NPC_NEXT   0x00b5

Definition at line 94 of file protocol.h.

#define SMSG_NPC_SELL   0x00c7

Definition at line 99 of file protocol.h.

#define SMSG_NPC_SELL_RESPONSE   0x00cb

Definition at line 101 of file protocol.h.

#define SMSG_NPC_STR_INPUT   0x01d4

String input.

Definition at line 103 of file protocol.h.

#define SMSG_PARTY_CREATE   0x00fa

Definition at line 118 of file protocol.h.

#define SMSG_PARTY_INFO   0x00fb

Definition at line 119 of file protocol.h.

#define SMSG_PARTY_INVITE_RESPONSE   0x00fd

Definition at line 120 of file protocol.h.

#define SMSG_PARTY_INVITED   0x00fe

Definition at line 121 of file protocol.h.

#define SMSG_PARTY_LEAVE   0x0105

Definition at line 124 of file protocol.h.

#define SMSG_PARTY_MESSAGE   0x0109

Definition at line 127 of file protocol.h.

#define SMSG_PARTY_MOVE   0x0104

Definition at line 123 of file protocol.h.

#define SMSG_PARTY_SETTINGS   0x0101

Definition at line 122 of file protocol.h.

#define SMSG_PARTY_UPDATE_COORDS   0x0107

Definition at line 126 of file protocol.h.

#define SMSG_PARTY_UPDATE_HP   0x0106

Definition at line 125 of file protocol.h.

#define SMSG_PLAYER_ARROW_EQUIP   0x013c

Definition at line 68 of file protocol.h.

#define SMSG_PLAYER_ARROW_MESSAGE   0x013b

Definition at line 69 of file protocol.h.

#define SMSG_PLAYER_ATTACK_RANGE   0x013a

Definition at line 67 of file protocol.h.

#define SMSG_PLAYER_CHAT   0x008e

Player talks.

Definition at line 104 of file protocol.h.

#define SMSG_PLAYER_EQUIP   0x00aa

Definition at line 65 of file protocol.h.

#define SMSG_PLAYER_EQUIPMENT   0x00a4

Definition at line 64 of file protocol.h.

#define SMSG_PLAYER_INVENTORY   0x01ee

Definition at line 60 of file protocol.h.

#define SMSG_PLAYER_INVENTORY_ADD   0x00a0

Definition at line 61 of file protocol.h.

#define SMSG_PLAYER_INVENTORY_REMOVE   0x00af

Definition at line 62 of file protocol.h.

#define SMSG_PLAYER_INVENTORY_USE   0x01c8

Definition at line 63 of file protocol.h.

#define SMSG_PLAYER_MOVE   0x01da

A nearby player moves.

Definition at line 49 of file protocol.h.

#define SMSG_PLAYER_MOVE_TO_ATTACK   0x0139

Move to within attack range.

Definition at line 51 of file protocol.h.

#define SMSG_PLAYER_SKILLS   0x010f

Definition at line 70 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_1   0x00b0

Definition at line 52 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_2   0x00b1

Definition at line 53 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_3   0x0141

Definition at line 54 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_4   0x00bc

Definition at line 55 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_5   0x00bd

Definition at line 56 of file protocol.h.

#define SMSG_PLAYER_STAT_UPDATE_6   0x00be

Definition at line 57 of file protocol.h.

#define SMSG_PLAYER_STATUS_CHANGE   0x0119

Definition at line 90 of file protocol.h.

#define SMSG_PLAYER_STOP   0x0088

Stop walking, set position.

Definition at line 50 of file protocol.h.

#define SMSG_PLAYER_STORAGE_ADD   0x00f4

Add item/equip to storage.

Definition at line 132 of file protocol.h.

#define SMSG_PLAYER_STORAGE_CLOSE   0x00f8

Storage access closed.

Definition at line 134 of file protocol.h.

#define SMSG_PLAYER_STORAGE_EQUIP   0x00a6

Equipment list for storage.

Definition at line 130 of file protocol.h.

#define SMSG_PLAYER_STORAGE_ITEMS   0x01f0

Item list for storage.

Definition at line 129 of file protocol.h.

#define SMSG_PLAYER_STORAGE_REMOVE   0x00f6

Remove item/equip from storage.

Definition at line 133 of file protocol.h.

#define SMSG_PLAYER_STORAGE_STATUS   0x00f2

Slots used and total slots.

Definition at line 131 of file protocol.h.

#define SMSG_PLAYER_UNEQUIP   0x00ac

Definition at line 66 of file protocol.h.

#define SMSG_PLAYER_UPDATE_1   0x01d8

Definition at line 47 of file protocol.h.

#define SMSG_PLAYER_UPDATE_2   0x01d9

Definition at line 48 of file protocol.h.

#define SMSG_PLAYER_WARP   0x0091

Warp player to map/location.

Definition at line 59 of file protocol.h.

#define SMSG_SERVER_PING   0x007f

Contains server tick.

Definition at line 31 of file protocol.h.

#define SMSG_SKILL_FAILED   0x0110

Definition at line 71 of file protocol.h.

#define SMSG_TRADE_CANCEL   0x00ee

Definition at line 115 of file protocol.h.

#define SMSG_TRADE_COMPLETE   0x00f0

Definition at line 116 of file protocol.h.

#define SMSG_TRADE_ITEM_ADD   0x00e9

Definition at line 112 of file protocol.h.

#define SMSG_TRADE_ITEM_ADD_RESPONSE   0x01b1

Not standard eAthena!

Definition at line 113 of file protocol.h.

#define SMSG_TRADE_OK   0x00ec

Definition at line 114 of file protocol.h.

#define SMSG_TRADE_REQUEST   0x00e5

Receiving a request to trade.

Definition at line 110 of file protocol.h.

#define SMSG_TRADE_RESPONSE   0x00e7

Definition at line 111 of file protocol.h.

#define SMSG_UPDATE_HOST   0x0063

Custom update host packet.

Definition at line 34 of file protocol.h.

#define SMSG_WALK_RESPONSE   0x0087

Definition at line 108 of file protocol.h.

#define SMSG_WHISPER   0x0097

Whisper Recieved.

Definition at line 105 of file protocol.h.

#define SMSG_WHISPER_RESPONSE   0x0098

Definition at line 106 of file protocol.h.

#define SMSG_WHO_ANSWER   0x00c2

Definition at line 58 of file protocol.h.


Function Documentation

void set_coordinates ( char *  data,
unsigned short  x,
unsigned short  y,
unsigned char  direction 
)

Encodes coords and direction in 3 bytes data.

Definition at line 27 of file protocol.cpp.


Generated on Sun Apr 26 17:30:42 2009 for The Mana World by  doxygen 1.5.5