Debian Codegraph @

src/common/bnet_protocol.h

raw symbols SCIP
1 /*
2 * Copyright (C) 1998 Mark Baysinger ([email protected])
3 * Copyright (C) 1998,1999,2000 Ross Combs ([email protected])
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19 #ifndef INCLUDED_BNET_PROTOCOL_TYPES
20 #define INCLUDED_BNET_PROTOCOL_TYPEScxx . . $ `src/common/bnet_protocol.h:20:9`!
21
22 #ifdef JUST_NEED_TYPEScxx . . $ `src/common/packet.h:36:10`!
23 # include "common/bn_type.h"cxx . . $ `<file>/src/common/bn_type.h`/
24 #else
25 # define JUST_NEED_TYPEScxx . . $ `src/common/bnet_protocol.h:25:10`!
26 # include "common/bn_type.h"cxx . . $ `<file>/src/common/bn_type.h`/
27 # undef JUST_NEED_TYPEScxx . . $ `src/common/bnet_protocol.h:25:10`!
28 #endif
29
30 /*
31 * The "bnet" protocol (previously known as "normal") that is used for
32 * chatting, ladder info, game listings, etc.
33 * FIXME: put the #define's into the PROTO section
34 */
35
36
37 namespace pvpgncxx . . $ pvpgn/
38 {
39
40 /******************************************************/
41 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_0#
42 {
43 bn_shortcxx . . $ pvpgn/bn_short# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_0#type.;
44 bn_shortcxx . . $ pvpgn/bn_short# sizecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_0#size.;
45 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_bnet_headercxx . . $ pvpgn/t_bnet_header#;
46 /******************************************************/
47
48 /* [zap-zero] 20020529 - added support for war3 anongame routing packets */
49 /******************************************************/
50 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_1#
51 {
52 bn_shortcxx . . $ pvpgn/bn_short# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_1#type.;
53 bn_shortcxx . . $ pvpgn/bn_short# sizecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_1#size.;
54 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_w3route_headercxx . . $ pvpgn/t_w3route_header#;
55 /******************************************************/
56
57
58 /******************************************************/
59 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_2#
60 {
61 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_2#h.;
62 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_bnet_genericcxx . . $ pvpgn/t_bnet_generic#;
63 /******************************************************/
64
65 /******************************************************/
66 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_3#
67 {
68 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_3#h.;
69 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_w3route_genericcxx . . $ pvpgn/t_w3route_generic#;
70 /******************************************************/
71
72 /* for unhandled pmap packets */
73 #define CLIENT_NULLcxx . . $ `src/common/bnet_protocol.h:73:9`! 0xfeff
74
75
76 /******************************************************/
77 /*
78 14: recv class=w3route[0x0c] type=unknown[0x00f7] length=53
79 0000: F7 1E 35 00 02 02 00 00 68 BF 0B 08 00 E0 17 01 ..5.....h.......
80 0010: 00 00 00 42 6C 61 63 6B 72 61 74 00 08 81 3E 0C ...Blackrat...>.
81 0020: 00 20 00 00 00 02 00 17 E1 C0 A8 00 01 00 00 00 . ..............
82 0030: 00 00 00 00 00 .....
83 */
84 #define CLIENT_W3ROUTE_REQcxx . . $ `src/common/bnet_protocol.h:84:9`! 0x1ef7
85 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#
86 {
87 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#h.;
88 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#unknown1.;
89 bn_intcxx . . $ pvpgn/bn_int# idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#id.; /* unique id sent by server */
90 bn_bytecxx . . $ pvpgn/bn_byte# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#unknown2.;
91 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#port.;
92 bn_intcxx . . $ pvpgn/bn_int# handlecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_4#handle.; /* handle/descriptor for client <-> client communication */
93 /* player name, ... */
94 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_reqcxx . . $ pvpgn/t_client_w3route_req#;
95 /******************************************************/
96
97
98
99 /******************************************************/
100 /*
101 f7 23 04 00
102 */
103 #define CLIENT_W3ROUTE_LOADINGDONEcxx . . $ `src/common/bnet_protocol.h:103:9`! 0x23f7
104 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_5#
105 {
106 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_5#h.;
107 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_loadingdonecxx . . $ pvpgn/t_client_w3route_loadingdone#;
108 /******************************************************/
109
110
111 /******************************************************/
112 /*
113 f7 14 05 00 00
114 */
115 #define SERVER_W3ROUTE_READYcxx . . $ `src/common/bnet_protocol.h:115:9`! 0x14f7
116 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_6#
117 {
118 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_6#h.;
119 bn_bytecxx . . $ pvpgn/bn_byte# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_6#unknown1.;
120 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_readycxx . . $ pvpgn/t_server_w3route_ready#;
121 /******************************************************/
122
123
124 /******************************************************/
125 /*
126 f7 21 08 00 01 00 00 00
127 */
128
129 #define CLIENT_W3ROUTE_ABORTcxx . . $ `src/common/bnet_protocol.h:129:9`! 0x21f7
130
131 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_7#
132 {
133 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_7#h.;
134 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_7#unknown1.; /* count? */
135 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_abortcxx . . $ pvpgn/t_client_w3route_abort#;
136
137 /******************************************************/
138 /*
139 f7 08 05 00 02
140 */
141 #define SERVER_W3ROUTE_LOADINGACKcxx . . $ `src/common/bnet_protocol.h:141:9`! 0x08f7
142 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_8#
143 {
144 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_8#h.;
145 bn_bytecxx . . $ pvpgn/bn_byte# playernumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_8#playernum.;
146 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_loadingackcxx . . $ pvpgn/t_server_w3route_loadingack#;
147 /******************************************************/
148
149
150 /******************************************************/
151 /*
152 f7 3b 06 00 09 00
153 */
154 #define CLIENT_W3ROUTE_CONNECTEDcxx . . $ `src/common/bnet_protocol.h:154:9`! 0x3bf7
155 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_9#
156 {
157 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_9#h.;
158 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_9#unknown1.;
159 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_connectedcxx . . $ pvpgn/t_client_w3route_connected#;
160 /******************************************************/
161
162 /******************************************************/
163 /*
164 f7 01 08 00 2e 85 2d 7b
165 */
166 #define SERVER_W3ROUTE_ECHOREQcxx . . $ `src/common/bnet_protocol.h:166:9`! 0x01f7
167 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_10#
168 {
169 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_10#h.;
170 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_10#ticks.;
171 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_echoreqcxx . . $ pvpgn/t_server_w3route_echoreq#;
172 /******************************************************/
173
174
175 #define CLIENT_W3ROUTE_ECHOREPLYcxx . . $ `src/common/bnet_protocol.h:175:9`! 0x46f7
176
177
178 /******************************************************/
179 /*
180 13: recv class=w3route[0x0c] type=unknown[0x2ef7] length=107
181 0000: F7 2E 6B 00 01 01 03 00 00 00 20 00 00 00 5C 01 ..k....... ...\.
182 0010: 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 1A ................
183 0020: 04 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 ................
184 0030: 00 00 00 01 00 00 00 00 00 00 00 05 00 00 00 00 ................
185 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
186 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
187 0060: 00 00 00 00 00 00 00 00 00 00 00 ...........
188 */
189 #define CLIENT_W3ROUTE_GAMERESULTcxx . . $ `src/common/bnet_protocol.h:189:9`! 0x2ef7
190 /*
191 F7 3A-84 00 02 01 04 00 00 00
192 0x0040 20 00 00 00 83 09 00 00-00 00 00 00 02 03 00 00
193 0x0050 00 20 00 00 00 2C 01 00-00 00 00 00 00 5C 04 00
194 0x0060 00 00 03 00 00 00 00 00-00 00 01 00 00 00 CC 0B
195 0x0070 00 00 00 00 00 00 72 0B-00 00 0E 00 00 00 00 00
196 0x0080 00 00 04 00 00 00 01 00-00 00 15 00 00 00 00 00
197 0x0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
198 0x00A0 00 00 46 0A 00 00 2C 01-00 00 00 00 00 00 00 00
199 0x00B0 00 00 00 00 00 00 00 00-00 00
200
201 F7 3A-84 00 02 02 03 00 00 00
202 0x0040 20 00 00 00 2C 01 00 00-00 00 00 00 01 04 00 00
203 0x0050 00 20 00 00 00 83 09 00-00 00 00 00 00 5C 04 00
204 0x0060 00 00 01 00 00 00 01 00-00 00 00 00 00 00 39 03
205 0x0070 00 00 00 00 00 00 00 00-00 00 05 00 00 00 00 00
206 0x0080 00 00 01 00 00 00 00 00-00 00 05 00 00 00 00 00
207 0x0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
208 0x00A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
209 0x00B0 00 00 00 00 00 00 00 00-00 00
210 */
211
212 #define CLIENT_W3ROUTE_GAMERESULT_W3XPcxx . . $ `src/common/bnet_protocol.h:212:9`! 0x3af7
213 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_11#
214 {
215 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_11#h.;
216 bn_bytecxx . . $ pvpgn/bn_byte# number_of_resultscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_11#number_of_results.;
217 /*
218 t_client_w3route_gameresult_player players[]; 1-n times
219 t_client_w3route_gameresult_part2 part2;
220 t_client_w3route_gameresult_hero heroes[]; 0-n times
221 t_client_w3route_gameresult_part3 part3; */
222 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_gameresultcxx . . $ pvpgn/t_client_w3route_gameresult#;
223 /******************************************************/
224
225 /* [zap-zero] what value is DRAW? */
226 #define W3_GAMERESULT_LOSScxx . . $ `src/common/bnet_protocol.h:226:9`! 0x00000003
227 #define W3_GAMERESULT_WINcxx . . $ `src/common/bnet_protocol.h:227:9`! 0x00000004
228
229 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#
230 {
231 bn_bytecxx . . $ pvpgn/bn_byte# numbercxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#number.;
232 bn_intcxx . . $ pvpgn/bn_int# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#result.;
233 bn_intcxx . . $ pvpgn/bn_int# racecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#race.;
234 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#unknown1.;
235 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_12#unknown2.;
236 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_gameresult_playercxx . . $ pvpgn/t_client_w3route_gameresult_player#;
237
238 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#
239 {
240 bn_bytecxx . . $ pvpgn/bn_byte# unknown0cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unknown0.; /* but could also contain info about result */
241 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unknown1.;
242 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unknown2.;
243 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unknown3.;
244 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unknown4.;
245 bn_intcxx . . $ pvpgn/bn_int# unit_scorecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#unit_score.;
246 bn_intcxx . . $ pvpgn/bn_int# heroes_scorecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#heroes_score.;
247 bn_intcxx . . $ pvpgn/bn_int# resource_scorecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#resource_score.;
248 bn_intcxx . . $ pvpgn/bn_int# units_producedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#units_produced.;
249 bn_intcxx . . $ pvpgn/bn_int# units_killedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#units_killed.;
250 bn_intcxx . . $ pvpgn/bn_int# buildings_producedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#buildings_produced.;
251 bn_intcxx . . $ pvpgn/bn_int# buildings_razedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#buildings_razed.;
252 bn_intcxx . . $ pvpgn/bn_int# largest_armycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#largest_army.;
253 bn_intcxx . . $ pvpgn/bn_int# heroes_used_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_13#heroes_used_count.;
254 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_gameresult_part2cxx . . $ pvpgn/t_client_w3route_gameresult_part2#;
255
256 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_14#
257 {
258 bn_shortcxx . . $ pvpgn/bn_short# levelcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_14#level.;
259 bn_intcxx . . $ pvpgn/bn_int# race_and_namecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_14#race_and_name.;
260 bn_intcxx . . $ pvpgn/bn_int# hero_xpcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_14#hero_xp.;
261 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_gameresult_herocxx . . $ pvpgn/t_client_w3route_gameresult_hero#;
262
263 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#
264 {
265 bn_intcxx . . $ pvpgn/bn_int# heroes_killedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#heroes_killed.;
266 bn_intcxx . . $ pvpgn/bn_int# items_obtainedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#items_obtained.;
267 bn_intcxx . . $ pvpgn/bn_int# mercenaries_hiredcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#mercenaries_hired.;
268 bn_intcxx . . $ pvpgn/bn_int# total_hero_xpcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#total_hero_xp.;
269 bn_intcxx . . $ pvpgn/bn_int# gold_minedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#gold_mined.;
270 bn_intcxx . . $ pvpgn/bn_int# lumber_harvestedcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#lumber_harvested.;
271 bn_intcxx . . $ pvpgn/bn_int# resources_traded_givencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#resources_traded_given.;
272 bn_intcxx . . $ pvpgn/bn_int# resources_traded_takencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#resources_traded_taken.;
273 bn_intcxx . . $ pvpgn/bn_int# tech_percentagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#tech_percentage.;
274 bn_intcxx . . $ pvpgn/bn_int# gold_lost_to_upkeepcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_15#gold_lost_to_upkeep.;
275 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_w3route_gameresult_part3cxx . . $ pvpgn/t_client_w3route_gameresult_part3#;
276
277 /******************************************************/
278 /*
279 f7 04 1e 00 07 00 00 b2 72 76 ..............rv
280 0040 ec cc cc 02 02 00 04 0b d9 e9 5f ac 00 00 00 00 .........._.....
281 0050 00 00 00 00 ....
282 */
283 #define SERVER_W3ROUTE_ACKcxx . . $ `src/common/bnet_protocol.h:283:9`! 0x04f7
284 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#
285 {
286 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#h.;
287 bn_bytecxx . . $ pvpgn/bn_byte# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown1.; /* 07 */
288 bn_shortcxx . . $ pvpgn/bn_short# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown2.; /* 00 00 */
289 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown3.; /* random stuff */
290 bn_shortcxx . . $ pvpgn/bn_short# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown4.; /* cc cc */
291 bn_bytecxx . . $ pvpgn/bn_byte# playernumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#playernum.; /* 1-4 */
292 bn_shortcxx . . $ pvpgn/bn_short# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown5.; /* 0x0002 */
293 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#port.; /* client port */
294 bn_intcxx . . $ pvpgn/bn_int# ipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#ip.; /* client ip */
295 bn_intcxx . . $ pvpgn/bn_int# unknown7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown7.; /* 00 00 00 00 */
296 bn_intcxx . . $ pvpgn/bn_int# unknown8cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_16#unknown8.; /* 00 00 00 00 */
297 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_ackcxx . . $ pvpgn/t_server_w3route_ack#;
298 /******************************************************/
299
300 #define SERVER_W3ROUTE_ACK_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:300:9`! 0x484e2637
301
302 /******************************************************/
303 /*
304 f7 06 3b 00 01 00 00 00 01 ** ........;......P
305 0040 ** ** ** ** ** ** ** 00 08 2d 09 9d 04 08 00 00 layer00..-......
306 0050 00 02 00 17 e0 [censored] 00 00 00 00 00 00 00 .......g........
307 0060 00 02 00 17 e0 [censored] 00 00 00 00 00 00 00 .......g........
308 0070 00
309
310 */
311 #define SERVER_W3ROUTE_PLAYERINFOcxx . . $ `src/common/bnet_protocol.h:311:9`! 0x06f7
312 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_17#
313 {
314 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_17#h.;
315 bn_intcxx . . $ pvpgn/bn_int# handlecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_17#handle.;
316 bn_bytecxx . . $ pvpgn/bn_byte# playernumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_17#playernum.;
317 /* then:
318 opponent name
319 playerinfo2
320 playerinfo_addr (external addr)
321 playerinfo_addr (local lan addr)
322 */
323 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_playerinfocxx . . $ pvpgn/t_server_w3route_playerinfo#;
324
325 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_18#
326 {
327 bn_bytecxx . . $ pvpgn/bn_byte# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_18#unknown1.; /* 8 (length?) */
328 bn_intcxx . . $ pvpgn/bn_int# idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_18#id.; /* id from FINDANONGAME_SEARCH packet */
329 bn_intcxx . . $ pvpgn/bn_int# racecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_18#race.; /* see defines */
330 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_playerinfo2cxx . . $ pvpgn/t_server_w3route_playerinfo2#;
331
332 #define SERVER_W3ROUTE_LEVELINFOcxx . . $ `src/common/bnet_protocol.h:332:9`! 0x47f7
333 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_19#
334 {
335 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_19#h.;
336 bn_bytecxx . . $ pvpgn/bn_byte# numplayerscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_19#numplayers.;
337 /* then: levelinfo2 for each player */
338 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_levelinfocxx . . $ pvpgn/t_server_w3route_levelinfo#;
339
340 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_20#
341 {
342 bn_bytecxx . . $ pvpgn/bn_byte# plnumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_20#plnum.;
343 bn_bytecxx . . $ pvpgn/bn_byte# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_20#unknown1.; /* 3 (length?) */
344 bn_bytecxx . . $ pvpgn/bn_byte# levelcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_20#level.;
345 bn_shortcxx . . $ pvpgn/bn_short# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_20#unknown2.;
346 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_levelinfo2cxx . . $ pvpgn/t_server_w3route_levelinfo2#;
347
348
349 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#
350 {
351 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#unknown1.; /* 2 */
352 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#port.;
353 bn_intcxx . . $ pvpgn/bn_int# ipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#ip.;
354 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#unknown2.; /* 0 */
355 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_21#unknown3.; /* 0 */
356 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_playerinfo_addrcxx . . $ pvpgn/t_server_w3route_playerinfo_addr#;
357
358
359 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_22#
360 {
361 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_22#h.; /* f7 0a 04 00 */
362 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_startgame1cxx . . $ pvpgn/t_server_w3route_startgame1#;
363 #define SERVER_W3ROUTE_STARTGAME1cxx . . $ `src/common/bnet_protocol.h:363:9`! 0x0af7
364
365 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_23#
366 {
367 t_w3route_headercxx . . $ pvpgn/t_w3route_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_23#h.; /* f7 0b 04 00 */
368 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_w3route_startgame2cxx . . $ pvpgn/t_server_w3route_startgame2#;
369 #define SERVER_W3ROUTE_STARTGAME2cxx . . $ `src/common/bnet_protocol.h:369:9`! 0x0bf7
370
371 /*******************************************************/
372 /*
373 ALL ANONGAME PACKET INFO (0x44ff) MOVED TO anongame_protocol.h
374 [Omega]
375 */
376 /******************************************************/
377 /*
378 These two dumps are from the original unpatched Starcraft client:
379
380 FF 05 28 00 01 00 00 00 ..(.....
381 D1 43 88 AA DA 9D 1B 00 9A F7 69 AB 4A 41 32 30 .C........i.JA20
382 35 43 2D 30 34 00 6C 61 62 61 73 73 69 73 74 00 5C-04.labassist.
383
384 FF 05 24 00 01 00 00 00 D1 43 88 AA DA 9D 1B 00 ..$......C......
385 9A F7 69 AB 42 4F 42 20 20 20 20 20 20 20 20 00 ..i.BOB .
386 42 6F 62 00 Bob.
387
388 ??? note it sends NO host and user strings
389 FF 05 14 00 01 00 00 00 D8 94 F6 07 B3 2C 6E 02 .............,n.
390 B4 E0 3B 6C ..;l
391 ??? sent right after it... request for session key?
392 FF 28 08 00 F6 0F 08 00 .(......
393
394 Diablo II 1.03 ... note it sends NO host and user strings
395 FF 05 14 00 01 00 00 00 D1 43 88 AA DA 9D ...... ...C....
396 1B 00 9A F7 69 AB ....i.
397 */
398 #define CLIENT_COMPINFO1cxx . . $ `src/common/bnet_protocol.h:398:9`! 0x05ff
399 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#
400 {
401 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#h.;
402 bn_intcxx . . $ pvpgn/bn_int# reg_versioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#reg_version.; /* 01 00 00 00 */
403 bn_intcxx . . $ pvpgn/bn_int# reg_authcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#reg_auth.; /* D1 43 88 AA */ /* looks like server ip */
404 bn_intcxx . . $ pvpgn/bn_int# client_idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#client_id.; /* DA 9D 1B 00 */
405 bn_intcxx . . $ pvpgn/bn_int# client_tokencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_24#client_token.; /* 9A F7 69 AB */
406 /* host */ /* optional */
407 /* user */ /* optional */
408 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_compinfo1cxx . . $ pvpgn/t_client_compinfo1#;
409 #define CLIENT_COMPINFO1_REG_VERSIONcxx . . $ `src/common/bnet_protocol.h:409:9`! 0x00000001
410 #define CLIENT_COMPINFO1_REG_AUTHcxx . . $ `src/common/bnet_protocol.h:410:9`! 0xaa8843d1
411 #define CLIENT_COMPINFO1_CLIENT_IDcxx . . $ `src/common/bnet_protocol.h:411:9`! 0x001b9dda
412 #define CLIENT_COMPINFO1_CLIENT_TOKENcxx . . $ `src/common/bnet_protocol.h:412:9`! 0xab69f79a
413 /******************************************************/
414
415
416 /******************************************************/
417 /*
418 CLIENT_COMPINFO2 was first seen in Starcraft 1.05
419
420 FF 1E 24 00 01 00 00 00 ..$.....
421 01 00 00 00 D1 43 88 AA 1C B9 48 00 31 8A F2 89 .....C....H.1...
422 43 4C 4F 55 44 00 63 6C 6F 75 64 00 CLOUD.cloud.
423
424 FF 1E 28 00 01 00 00 00 01 00 00 00 D1 43 88 AA ..(..........C..
425 DA 9D 1B 00 9A F7 69 AB 42 4F 42 20 20 20 20 20 ......i.BOB
426 20 20 20 00 42 6F 62 00 .Bob.
427
428 Diablo II 1.03 ... note it sends empty host and user strings
429 FF 1E 1A 00 01 00 00 00 01 00 00 00 D1 43 ............C
430 88 AA DA 9D 1B 00 9A F7 69 AB 00 00 .......i...
431 */
432 #define CLIENT_COMPINFO2cxx . . $ `src/common/bnet_protocol.h:432:9`! 0x1eff
433 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#
434 {
435 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#h.;
436 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#unknown1.; /* 01 00 00 00 */ /* ??? Version */
437 bn_intcxx . . $ pvpgn/bn_int# reg_versioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#reg_version.; /* 01 00 00 00 */
438 bn_intcxx . . $ pvpgn/bn_int# reg_authcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#reg_auth.; /* D1 43 88 AA */ /* looks like server ip */
439 bn_intcxx . . $ pvpgn/bn_int# client_idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#client_id.; /* 1C B9 48 00 */ /* DA 9D 1B 00 */
440 bn_intcxx . . $ pvpgn/bn_int# client_tokencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_25#client_token.; /* 31 8A f2 89 */ /* 9A F7 69 AB */
441 /* host */
442 /* user */
443 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_compinfo2cxx . . $ pvpgn/t_client_compinfo2#;
444 #define CLIENT_COMPINFO2_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:444:9`! 0x00000001
445 #define CLIENT_COMPINFO2_REG_VERSIONcxx . . $ `src/common/bnet_protocol.h:445:9`! 0x00000001
446 #define CLIENT_COMPINFO2_REG_AUTHcxx . . $ `src/common/bnet_protocol.h:446:9`! 0xaa8843d1
447 #define CLIENT_COMPINFO2_CLIENT_IDcxx . . $ `src/common/bnet_protocol.h:447:9`! 0x001b9dda
448 #define CLIENT_COMPINFO2_CLIENT_TOKENcxx . . $ `src/common/bnet_protocol.h:448:9`! 0xab69f79a
449 /******************************************************/
450
451
452 /******************************************************/
453 /*
454 Sent in response to CLIENT_COMPINFO[12] along with sessionkey
455
456 FF 05 14 00 01 00 00 00 ........
457 D1 43 88 AA 1C B9 48 00 31 8A F2 89 .C....H.1...
458
459 FF 05 14 00 01 00 00 00 D8 94 F6 07 3F 62 6E 02 ............?bn.
460 CA A4 0D 99 ....
461
462 FF 05 14 00 01 00 00 00 D8 94 F6 07 B3 2C 6E 02 .............,n.
463 B4 E0 3B 6C ..;l
464
465 To D2 Beta 1.02:
466 FF 05 14 00 01 00 00 00 D1 43 88 AA 42 8D 2E 02 .........C..B...
467 2B 81 8C 2B +..+
468 */
469 #define SERVER_COMPREPLYcxx . . $ `src/common/bnet_protocol.h:469:9`! 0x05ff
470 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#
471 {
472 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#h.;
473 bn_intcxx . . $ pvpgn/bn_int# reg_versioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#reg_version.; /* 01 00 00 00 */
474 bn_intcxx . . $ pvpgn/bn_int# reg_authcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#reg_auth.; /* D1 43 88 AA */ /* looks like server ip */
475 bn_intcxx . . $ pvpgn/bn_int# client_idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#client_id.; /* DA 9D 1B 00 */ /* 1C B9 48 00 */
476 bn_intcxx . . $ pvpgn/bn_int# client_tokencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_26#client_token.; /* 9A F7 69 AB */ /* 31 8A F2 89 */
477 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_compreplycxx . . $ pvpgn/t_server_compreply#;
478 #define SERVER_COMPREPLY_REG_VERSIONcxx . . $ `src/common/bnet_protocol.h:478:9`! 0x00000001
479 #define SERVER_COMPREPLY_REG_AUTHcxx . . $ `src/common/bnet_protocol.h:479:9`! 0xaa8843d1
480 #define SERVER_COMPREPLY_CLIENT_IDcxx . . $ `src/common/bnet_protocol.h:480:9`! 0x001b9dda
481 #define SERVER_COMPREPLY_CLIENT_TOKENcxx . . $ `src/common/bnet_protocol.h:481:9`! 0xab69f79a
482 /******************************************************/
483
484
485 /******************************************************/
486 /*
487 Sent in repsonse to COMPINFO1 along with COMPINFOREPLY.
488 Used for password hashing by the client.
489 */
490 #define SERVER_SESSIONKEY1cxx . . $ `src/common/bnet_protocol.h:490:9`! 0x28ff
491 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_27#
492 {
493 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_27#h.;
494 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_27#sessionkey.;
495 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_sessionkey1cxx . . $ pvpgn/t_server_sessionkey1#;
496 /******************************************************/
497
498
499 /******************************************************/
500 /*
501 Sent in response to COMPINFO2 along with COMPINFOREPLY.
502 Used for password hashing by the client.
503
504 FF 1D 0C 00 40 24 02 00 ....@$..
505 99 F3 FD 78 ...x
506
507 FF 1D 0C 00 0C 67 08 00 7A 3C D8 75 .....g..z<.u
508
509 FF 1D 0C 00 58 77 00 00 27 45 44 7A ....Xw..'EDz
510
511 FF 1D 0C 00 9D DF 01 00 7A 11 07 ED ........z...
512 */
513 #define SERVER_SESSIONKEY2cxx . . $ `src/common/bnet_protocol.h:513:9`! 0x1dff
514 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_28#
515 {
516 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_28#h.;
517 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_28#sessionnum.;
518 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_28#sessionkey.;
519 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_sessionkey2cxx . . $ pvpgn/t_server_sessionkey2#;
520 #define SERVER_SESSIONKEY2_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:520:9`! 0x00004df3
521 /******************************************************/
522
523
524 /******************************************************/
525 /*
526 FF 12 3C 00 E0 28 02 E4 0A 37 BE 01 E0 50 A3 37 ..<..(...7...P.7
527 D0 36 BE 01 A4 01 00 00 09 04 00 00 09 04 00 00 .6..............
528 09 04 00 00 65 6E 75 00 31 00 55 53 41 00 55 6E ....enu.1.USA.Un
529 69 74 65 64 20 53 74 61 74 65 73 00 ited States.
530
531 still original client, but at a later date
532 FF 12 3C 00 60 C5 4B 8B 19 DE BE 01 60 55 B1 40 ..<.`.K.....`U.@
533 E7 DD BE 01 A4 01 00 00 09 04 00 00 09 04 00 00 ................
534 09 04 00 00 65 6E 75 00 31 00 55 53 41 00 55 6E ....enu.1.USA.Un
535 69 74 65 64 20 53 74 61 74 65 73 00 ited States.
536
537 FF 12 3C 00 60 EA 02 23 F5 DE BE 01 60 7A 68 D8 ..<.`..#....`zh.
538 C2 DE BE 01 A4 01 00 00 09 04 00 00 09 04 00 00 ................
539 09 04 00 00 65 6E 75 00 31 00 55 53 41 00 55 6E ....enu.1.USA.Un
540 69 74 65 64 20 53 74 61 74 65 73 00 ited States.
541
542 FF 12 35 00 ..5.
543 20 BA B0 55 F2 7B BE 01 20 62 98 C5 3D 7C BE 01 ..U.{.. b..=|..
544 E4 FD FF FF 12 04 00 00 12 04 00 00 12 04 00 00 ................
545 6B 6F 72 00 38 32 00 4B 4F 52 00 4B 6F 72 65 61 kor.82.KOR.Korea
546 00 .
547
548 FF 12 37 00 E0 D4 72 97 2F 8C BF 01 E0 3C 37 F9 ..7...r./....<7.
549 37 8C BF 01 C4 FF FF FF 07 04 00 00 07 04 00 00 7...............
550 07 04 00 00 64 65 75 00 34 39 00 44 45 55 00 47 ....deu.49.DEU.G
551 65 72 6D 61 6E 79 00 ermany.
552
553 FF 12 36 00 20 F3 31 08 40 A7 BF 01 20 C3 BA CB ..6. .1.@... ...
554 50 A7 BF 01 C4 FF FF FF 1D 04 00 00 1D 04 00 00 P...............
555 1D 04 00 00 73 76 65 00 34 36 00 53 57 45 00 53 ....sve.46.SWE.S
556 77 65 64 65 6E 00 weden.
557
558 Diablo II 1.03
559 FF 12 39 00 A0 DB AA 45 51 3F C0 01 A0 EB ..9....EQ?....
560 56 17 A5 3F C0 01 A8 FD FF FF 09 0C 00 00 09 0C V..?............
561 00 00 09 0C 00 00 65 6E 61 00 36 31 00 41 55 53 ......ena.61.AUS
562 00 41 75 73 74 72 61 6C 69 61 00 .Australia.
563 */
564 #define CLIENT_COUNTRYINFO1cxx . . $ `src/common/bnet_protocol.h:564:9`! 0x12ff
565 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#
566 {
567 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#h.;
568 bn_longcxx . . $ pvpgn/bn_long# systemtimecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#systemtime.; /* GMT */
569 bn_longcxx . . $ pvpgn/bn_long# localtimecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#localtime.; /* time in local timezone */
570 bn_intcxx . . $ pvpgn/bn_int# biascxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#bias.; /* (gmt-local)/60 (using signed math) */
571 bn_intcxx . . $ pvpgn/bn_int# langid1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#langid1.; /* 09 04 00 00 */ /* 12 04 00 00 */
572 bn_intcxx . . $ pvpgn/bn_int# langid2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#langid2.; /* 09 04 00 00 */ /* 12 04 00 00 */
573 bn_intcxx . . $ pvpgn/bn_int# langid3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_29#langid3.; /* 09 04 00 00 */ /* 12 04 00 00 */
574 /* langstr */
575 /* countrycode (long distance phone) */
576 /* countryabbrev */
577 /* countryname */
578 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_countryinfo1cxx . . $ pvpgn/t_client_countryinfo1#;
579 /******************************************************/
580
581
582 /******************************************************/
583 /*
584 First seen in Diablo II (and LoD) 1.09
585 FF 50 34 00 00 00 00 00 36 38 58 49 50 58 32 44 .P4.....68XIPX2D
586 09 00 00 00 00 00 00 00 00 00 00 00 C4 FF FF FF ................
587 07 04 00 00 07 04 00 00 44 45 55 00 47 65 72 6D ........DEU.Germ
588 61 6E 79 00 any.
589
590 FF 50 47 00 00 00 00 00 36 38 58 49 56 44 32 44 .PG.....68XIVD2D
591 09 00 00 00 00 00 00 00 00 00 00 00 20 FE FF FF ............ ...
592 04 08 00 00 04 08 00 00 43 48 4E 00 50 65 6F 70 ........CHN.Peop
593 6C 65 27 73 20 52 65 70 75 62 6C 69 63 20 6F 66 le's Republic of
594 20 43 68 69 6E 61 00 China.
595 */
596 #define CLIENT_AUTH_INFOcxx . . $ `src/common/bnet_protocol.h:596:9`! 0x50ff
597 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#
598 {
599 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#h.;
600 bn_intcxx . . $ pvpgn/bn_int# protocolcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#protocol.; /* 00 00 00 00 always zero */
601 bn_intcxx . . $ pvpgn/bn_int# archtagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#archtag.;
602 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#clienttag.;
603 bn_intcxx . . $ pvpgn/bn_int# versionidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#versionid.; /* 09 00 00 00 */ /* FIXME: what is this? */
604 bn_intcxx . . $ pvpgn/bn_int# gamelangcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#gamelang.; /* 00 00 00 00 always zero */
605 bn_intcxx . . $ pvpgn/bn_int# localipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#localip.; /* 00 00 00 00 always zero */
606 bn_intcxx . . $ pvpgn/bn_int# biascxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#bias.; /* (gmt-local)/60 (using signed math) */
607 bn_intcxx . . $ pvpgn/bn_int# lcidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#lcid.; /* Win32 LCID */
608 bn_intcxx . . $ pvpgn/bn_int# langidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_30#langid.; /* Win32 LangID */
609 /* langstr */
610 /* countryname */
611 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_auth_infocxx . . $ pvpgn/t_client_auth_info#;
612 /******************************************************/
613
614
615 /******************************************************/
616 /*
617 FF 2A 20 00 91 4F 93 DF 57 74 B5 C8 48 0F 4D 9B .* ..O..Wt..H.M.
618 A2 28 A6 03 C1 D9 DA 11 42 69 6D 42 6F 3A 29 00 .(......BimBo:).
619 */
620 #define CLIENT_CREATEACCTREQ1cxx . . $ `src/common/bnet_protocol.h:620:9`! 0x2aff
621 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_31#
622 {
623 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_31#h.;
624 bn_intcxx . . $ pvpgn/bn_int# password_hash1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_31#password_hash1.[5]; /* hash of lowercase password w/o null */
625 /* player name */
626 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_createacctreq1cxx . . $ pvpgn/t_client_createacctreq1#;
627 /******************************************************/
628
629
630 /******************************************************/
631 /*
632 FF 2A 18 00 01 00 00 00 .*......
633 13 00 00 00 78 52 82 02 00 00 00 00 00 00 00 00 ................
634 ---120 82 130 2---
635
636 FF 2A 08 00 01 00 00 00 .*......
637 */
638 #define SERVER_CREATEACCTREPLY1cxx . . $ `src/common/bnet_protocol.h:638:9`! 0x2aff
639 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_32#
640 {
641 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_32#h.;
642 bn_intcxx . . $ pvpgn/bn_int# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_32#result.;
643 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_createacctreply1cxx . . $ pvpgn/t_server_createacctreply1#;
644 #define SERVER_CREATEACCTREPLY1_RESULT_OKcxx . . $ `src/common/bnet_protocol.h:644:9`! 0x00000001
645 #define SERVER_CREATEACCTREPLY1_RESULT_NOcxx . . $ `src/common/bnet_protocol.h:645:9`! 0x00000000
646 /******************************************************/
647
648
649 /******************************************************/
650 /*
651 FF 2B 20 00 01 00 00 00 .+ .....
652 00 00 00 00 4D 00 00 00 0E 01 00 00 20 00 00 00 ....M....... ...
653 CE 01 00 00 DD 07 00 00 ........
654
655 FF 2B 20 00 01 00 00 00 00 00 00 00 06 00 00 .+ ............
656 00 72 01 00 00 40 00 00 00 A9 07 00 00 FF 07 00 .r...@..........
657 00 .
658
659 from Starcraft 1.05
660 FF 2B 20 00 01 00 00 00 00 00 00 00 06 00 00 00 .+ .............
661 7C 01 00 00 20 00 00 00 00 02 00 00 FF 07 00 00 |... ...........
662 */
663 #define CLIENT_UNKNOWN_2Bcxx . . $ `src/common/bnet_protocol.h:663:9`! 0x2bff /* FIXME: what is this? */
664 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#
665 {
666 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#h.;
667 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown1.; /* 01 00 00 00 */ /* 01 00 00 00 */
668 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown2.; /* 00 00 00 00 */ /* 00 00 00 00 */
669 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown3.; /* 4D 00 00 00 */ /* 06 00 00 00 */
670 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown4.; /* 0E 01 00 00 */ /* 72 01 00 00 */
671 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown5.; /* 20 00 00 00 */ /* 40 00 00 00 */
672 bn_intcxx . . $ pvpgn/bn_int# unknown6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown6.; /* CE 01 00 00 */ /* A9 07 00 00 */
673 bn_intcxx . . $ pvpgn/bn_int# unknown7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_33#unknown7.; /* DD 07 00 00 */ /* FF 07 00 00 */
674 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_unknown_2bcxx . . $ pvpgn/t_client_unknown_2b#;
675 #define CLIENT_UNKNOWN_2B_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:675:9`! 0x00000001
676 #define CLIENT_UNKNOWN_2B_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:676:9`! 0x00000000
677 #define CLIENT_UNKNOWN_2B_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:677:9`! 0x0000004d
678 #define CLIENT_UNKNOWN_2B_UNKNOWN4cxx . . $ `src/common/bnet_protocol.h:678:9`! 0x0000010e
679 #define CLIENT_UNKNOWN_2B_UNKNOWN5cxx . . $ `src/common/bnet_protocol.h:679:9`! 0x00000020
680 #define CLIENT_UNKNOWN_2B_UNKNOWN6cxx . . $ `src/common/bnet_protocol.h:680:9`! 0x000001ce
681 #define CLIENT_UNKNOWN_2B_UNKNOWN7cxx . . $ `src/common/bnet_protocol.h:681:9`! 0x000007dd
682 /******************************************************/
683
684
685 /******************************************************/
686 /*
687 later replaced by progident2 and the authreq packets
688
689 FF 06 14 00 36 38 58 49 ....68XI
690 50 58 45 53 BB 00 00 00 00 00 00 00 PXES........
691
692 sent by 1.05 Starcraft
693 FF 06 14 00 36 38 58 49 52 41 54 53 BD 00 00 00 ....68XIRATS....
694 00 00 00 00 ....
695
696 Diablo II 1.03
697 FF 06 14 00 36 38 58 49 56 44 32 44 03 00 ....68XIVD2D..
698 00 00 00 00 00 00 ......
699 */
700 #define CLIENT_PROGIDENTcxx . . $ `src/common/bnet_protocol.h:700:9`! 0x06ff
701 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#
702 {
703 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#h.;
704 bn_intcxx . . $ pvpgn/bn_int# archtagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#archtag.;
705 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#clienttag.; /* see tag.h */
706 bn_intcxx . . $ pvpgn/bn_int# versionidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#versionid.; /* FIXME: how does the versionid work? */
707 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_34#unknown1.; /* FIXME: always zero? spawn flag? */
708 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_progidentcxx . . $ pvpgn/t_client_progident#;
709 /******************************************************/
710
711
712 /******************************************************/
713 /*
714 These formulas are for authenticating the client version.
715
716 FF 06 5A 00 00 86 BA E3 ..Z.....
717 09 28 BC 01 49 58 38 36 76 65 72 32 2E 6D 70 71 .(..IX86ver2.mpq
718 00 41 3D 32 30 31 39 34 39 38 38 39 39 20 42 3D .A=2019498899 B=
719 33 34 32 33 32 39 32 33 39 34 20 43 3D 31 37 31 3423292394 C=171
720 39 30 31 31 32 32 32 20 34 20 41 3D 41 5E 53 20 9011222 4 A=A^S
721 42 3D 42 2D 43 20 43 3D 43 5E 41 20 41 3D 41 5E B=B-C C=C^A A=A^
722 42 00 B.
723
724 FF 06 59 00 00 C1 12 EC 09 28 BC 01 49 58 38 36 ..Y......(..IX86
725 76 65 72 35 2E 6D 70 71 00 41 3D 31 38 37 35 35 ver5.mpq.A=18755
726 39 31 33 34 31 20 42 3D 32 34 39 31 30 39 39 38 91341 B=24910998
727 30 39 20 43 3D 36 33 34 38 35 36 36 30 34 20 34 09 C=634856604 4
728 20 41 3D 41 2D 53 20 42 3D 42 5E 43 20 43 3D 43 A=A-S B=B^C C=C
729 2B 41 20 41 3D 41 5E 42 00 +A A=A^B.
730
731 FF 06 5A 00 00 C1 12 EC 09 28 BC 01 49 58 38 36 ..Z......(..IX86
732 76 65 72 35 2E 6D 70 71 00 41 3D 31 37 31 32 39 ver5.mpq.A=17129
733 34 38 34 32 36 20 42 3D 33 36 30 30 30 33 30 36 48426 B=36000306
734 30 37 20 43 3D 33 33 39 30 34 31 37 39 35 39 20 07 C=3390417959
735 34 20 41 3D 41 2D 53 20 42 3D 42 5E 43 20 43 3D 4 A=A-S B=B^C C=
736 43 2D 41 20 41 3D 41 2D 42 00 C-A A=A-B.
737
738 FF 06 5A 00 00 3A 7F E8 09 28 BC 01 49 58 38 36 ..Z..:...(..IX86
739 76 65 72 34 2E 6D 70 71 00 41 3D 31 31 38 36 39 ver4.mpq.A=11869
740 35 38 31 34 31 20 42 3D 31 33 37 37 34 34 31 34 58141 B=13774414
741 35 37 20 43 3D 31 37 37 32 37 38 37 37 30 35 20 57 C=1772787705
742 34 20 41 3D 41 5E 53 20 42 3D 42 5E 43 20 43 3D 4 A=A^S B=B^C C=
743 43 2B 41 20 41 3D 41 5E 42 00 C+A A=A^B.
744
745 FF 06 5A 00 00 56 CD F6 09 28 BC 01 49 58 38 36 ..Z..V...(..IX86
746 76 65 72 37 2E 6D 70 71 00 41 3D 31 30 32 36 30 ver7.mpq.A=10260
747 34 34 33 35 34 20 42 3D 34 31 33 32 36 33 30 37 44354 B=41326307
748 31 31 20 43 3D 32 33 30 32 34 31 31 33 32 38 20 11 C=2302411328
749 34 20 41 3D 41 5E 53 20 42 3D 42 5E 43 20 43 3D 4 A=A^S B=B^C C=
750 43 5E 41 20 41 3D 41 2B 42 00 C^A A=A+B.
751 */
752 #define SERVER_AUTHREQ1cxx . . $ `src/common/bnet_protocol.h:752:9`! 0x06ff
753 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_35#
754 {
755 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_35#h.;
756 bn_longcxx . . $ pvpgn/bn_long# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_35#timestamp.; /* FIXME: file modification time? */
757 /* versioncheck filename */
758 /* equation */
759 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_authreq1cxx . . $ pvpgn/t_server_authreq1#;
760 /******************************************************/
761
762
763 /******************************************************/
764 /*
765 First seen in Diablo II (and LoD) 1.09
766 FF 50 65 00 00 00 00 00 36 1A 6C 45 76 BC 00 00 .Pe.....6.lEv...
767 00 48 A6 EF 09 28 BC 01 49 58 38 36 76 65 72 36 .H...(..IX86ver6
768 2E 6D 70 71 00 41 3D 33 38 34 35 35 38 31 36 33 .mpq.A=384558163
769 34 20 42 3D 38 38 30 38 32 33 35 38 30 20 43 3D 4 B=880823580 C=
770 31 33 36 33 39 33 37 31 30 33 20 34 20 41 3D 41 1363937103 4 A=A
771 2D 53 20 42 3D 42 2D 43 20 43 3D 43 2D 41 20 41 -S B=B-C C=C-A A
772 3D 41 2D 42 00 =A-B.
773
774 FF 50 65 00 00 00 00 00 .Pe.....
775 30 4B C1 33 10 EB 09 00 00 A5 C4 DD 09 28 BC 01 0K.3.........(..
776 49 58 38 36 76 65 72 30 2E 6D 70 71 00 41 3D 31 IX86ver0.mpq.A=1
777 34 33 32 36 36 32 34 37 38 20 42 3D 36 35 32 32 432662478 B=6522
778 37 38 36 32 35 20 43 3D 31 37 36 31 35 31 35 38 78625 C=17615158
779 36 39 20 34 20 41 3D 41 5E 53 20 42 3D 42 2B 43 69 4 A=A^S B=B+C
780 20 43 3D 43 2B 41 20 41 3D 41 5E 42 00 C=C+A A=A^B.
781 */
782 #define SERVER_AUTHREQ_109cxx . . $ `src/common/bnet_protocol.h:782:9`! 0x50ff
783 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#
784 {
785 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#h.;
786 bn_intcxx . . $ pvpgn/bn_int# logontypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#logontype.; /* 00 00 00 00 always zero */
787 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#sessionkey.;
788 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#sessionnum.;
789 bn_longcxx . . $ pvpgn/bn_long# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_36#timestamp.;
790 /* versioncheck filename */
791 /* equation */
792 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_authreq_109cxx . . $ pvpgn/t_server_authreq_109#;
793 #define SERVER_AUTHREQ_109_LOGONTYPEcxx . . $ `src/common/bnet_protocol.h:793:9`! 0x0000000
794 #define SERVER_AUTHREQ_109_LOGONTYPE_W3cxx . . $ `src/common/bnet_protocol.h:794:9`! 0x00000002
795 #define SERVER_AUTHREQ_109_LOGONTYPE_W3XPcxx . . $ `src/common/bnet_protocol.h:795:9`! 0x00000002
796 /******************************************************/
797
798 /* ADDED BY UNDYING SOULZZ 4/3/02 */
799 #define VERSIONTAG_WARCRAFT3_113cxx . . $ `src/common/bnet_protocol.h:799:9`! "WAR3_113"
800
801 /******************************************************/
802 /*
803 FF 07 40 00 36 38 58 49 52 41 54 53 BD 00 00 00 [email protected]....
804 00 05 00 01 1E 88 D7 08 73 74 61 72 63 72 61 66 ........starcraf
805 74 2E 65 78 65 20 30 33 2F 30 38 2F 39 39 20 32 t.exe 03/08/99 2
806 32 3A 34 31 3A 35 30 20 31 30 34 32 34 33 32 00 2:41:50 1042432.
807
808 sent by the 1.05 Starcraft
809 FF 07 40 00 36 38 58 49 52 41 54 53 BD 00 00 00 [email protected]....
810 00 05 00 01 AE AC DE 87 73 74 61 72 63 72 61 66 ........starcraf
811 74 2E 65 78 65 20 30 33 2F 30 38 2F 39 39 20 32 t.exe 03/08/99 2
812 32 3A 34 31 3A 35 30 20 31 30 34 32 34 33 32 00 2:41:50 1042432.
813
814 sent by the 1.08alpha Brood War (Starcraft game) in response to
815 A=2521522835 B=3428392135 C=218673704 4 A=A^S B=B-C C=C+A A=A-B
816 with IX86ver1.mpq
817 FF 07 40 00 36 38 58 49 52 41 54 53 C3 00 00 00 [email protected]....
818 01 08 00 01 A1 52 CE FE 73 74 61 72 63 72 61 66 .....R..starcraf
819 74 2E 65 78 65 20 31 32 2F 32 38 2F 30 30 20 31 t.exe 12/28/00 1
820 31 3A 32 38 3A 35 32 20 31 30 38 32 33 36 38 00 1:28:52 1082368.
821
822 sent by the 1.07 Diablo
823 FF 07 3C 00 36 38 58 49 4C 54 52 44 26 00 00 00 ..<.68XILTRD&...
824 01 06 05 62 8C 56 E6 21 64 69 61 62 6C 6F 2E 65 ...b.V.!diablo.e
825 78 65 20 30 39 2F 31 37 2F 39 38 20 31 38 3A 30 xe 09/17/98 18:0
826 30 3A 34 30 20 37 36 30 33 32 30 00 0:40 760320.
827
828 FF 07 45 00 36 38 58 49 4E 42 32 57 4B 00 00 00 ..E.68XINB2WK...
829 99 00 00 02 3D 51 C4 AA 57 61 72 63 72 61 66 74 ....=Q..Warcraft
830 20 49 49 20 42 4E 45 2E 65 78 65 20 31 30 2F 31 II BNE.exe 10/1
831 35 2F 39 39 20 30 30 3A 33 37 3A 35 34 20 37 30 5/99 00:37:54 70
832 34 35 31 32 00 4512.
833
834 sent by the 1.03 Diablo II
835 FF 07 3A 00 36 38 58 49 ..:.68XI
836 56 44 32 44 03 00 00 00 00 03 00 01 47 3E 26 73 VD2D........G>&s
837 47 61 6D 65 2E 65 78 65 20 30 38 2F 30 35 2F 30 Game.exe 08/05/0
838 30 20 30 31 3A 34 32 3A 32 38 20 32 39 34 39 31 0 01:42:28 29491
839 32 00 2.
840 */
841 #define CLIENT_AUTHREQ1cxx . . $ `src/common/bnet_protocol.h:841:9`! 0x07ff
842 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#
843 {
844 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#h.;
845 bn_intcxx . . $ pvpgn/bn_int# archtagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#archtag.;
846 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#clienttag.;
847 bn_intcxx . . $ pvpgn/bn_int# versionidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#versionid.;
848 bn_intcxx . . $ pvpgn/bn_int# gameversioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#gameversion.;
849 bn_intcxx . . $ pvpgn/bn_int# checksumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_37#checksum.;
850 /* executable info */
851 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_authreq1cxx . . $ pvpgn/t_client_authreq1#;
852
853 /******************************************************/
854
855
856 /******************************************************/
857 /*
858 FF 07 0A 00 02 00 00 00 ........
859 00 00 ..
860
861 FF 07 0A 00 02 00 00 00 00 00 ..........
862 */
863 #define SERVER_AUTHREPLY1cxx . . $ `src/common/bnet_protocol.h:863:9`! 0x07ff
864 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_38#
865 {
866 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_38#h.;
867 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_38#message.;
868 /* filename */
869 /* unknown */
870 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_authreply1cxx . . $ pvpgn/t_server_authreply1#;
871 #define SERVER_AUTHREPLY1_MESSAGE_BADVERSIONcxx . . $ `src/common/bnet_protocol.h:871:9`! 0x00000000
872 #define SERVER_AUTHREPLY1_MESSAGE_UPDATEcxx . . $ `src/common/bnet_protocol.h:872:9`! 0x00000001 /* initiate auto-update */
873 #define SERVER_AUTHREPLY1_MESSAGE_OKcxx . . $ `src/common/bnet_protocol.h:873:9`! 0x00000002
874 /******************************************************/
875
876
877 /******************************************************/
878 /*
879 First seen in Diablo II (and LoD) 1.09
880 FF 51 09 00 00 00 00 00 00 .Q.......
881 */
882 #define SERVER_AUTHREPLY_109cxx . . $ `src/common/bnet_protocol.h:882:9`! 0x51ff
883 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_39#
884 {
885 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_39#h.;
886 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_39#message.;
887 /* message string? */
888 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_authreply_109cxx . . $ pvpgn/t_server_authreply_109#;
889 #define SERVER_AUTHREPLY_109_MESSAGE_OKcxx . . $ `src/common/bnet_protocol.h:889:9`! 0x00000000
890 #define SERVER_AUTHREPLY_109_MESSAGE_UPDATEcxx . . $ `src/common/bnet_protocol.h:890:9`! 0x00000100
891 #define SERVER_AUTHREPLY_109_MESSAGE_BADVERSIONcxx . . $ `src/common/bnet_protocol.h:891:9`! 0x00000101
892 /* we should check the first 10 values or so to see what they mean */
893 /******************************************************/
894
895
896 /******************************************************/
897 /*
898 First seen in Diablo II (and LoD) 1.09
899 FF 51 67 00 C9 88 DA 42 00 09 00 01 46 97 62 9A .Qg....B....F.b.
900 01 00 00 00 00 00 00 00 10 00 00 00 06 00 00 00 ................
901 A5 E7 39 00 00 00 00 00 ED CD 4F F7 6A 7A 4F 96 ..9.......O.jzO.
902 85 7A 2D A2 7F 1F B1 D6 81 B3 8D 50 47 61 6D 65 .z-........PGame
903 2E 65 78 65 20 30 38 2F 31 36 2F 30 31 20 32 33 .exe 08/16/01 23
904 3A 30 34 3A 34 30 20 34 32 34 30 36 37 00 74 73 :04:40 424067.ts
905 69 6E 67 68 75 61 00 inghua.
906 */
907 #define CLIENT_AUTHREQ_109cxx . . $ `src/common/bnet_protocol.h:907:9`! 0x51ff
908 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#
909 {
910 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#h.;
911 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#ticks.;
912 bn_intcxx . . $ pvpgn/bn_int# gameversioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#gameversion.;
913 bn_intcxx . . $ pvpgn/bn_int# checksumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#checksum.;
914 bn_intcxx . . $ pvpgn/bn_int# cdkey_numbercxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#cdkey_number.; /* count of cdkeys, d2 = 1, lod = 2 */
915 bn_intcxx . . $ pvpgn/bn_int# spawncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_40#spawn.; /* set if using spawn copy */
916 /* cdkey info(s) */
917 /* executable info */
918 /* cdkey owner */
919 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_authreq_109cxx . . $ pvpgn/t_client_authreq_109#;
920 /* values are the same as in CLIENT_AUTHREQ1 */
921
922 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#
923 {
924 bn_intcxx . . $ pvpgn/bn_int# lencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#len.;
925 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#type.;
926 bn_intcxx . . $ pvpgn/bn_int# checksumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#checksum.;
927 bn_intcxx . . $ pvpgn/bn_int# u1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#u1.;
928 bn_intcxx . . $ pvpgn/bn_int# hashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_41#hash.[5];
929 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_cdkey_infocxx . . $ pvpgn/t_cdkey_info#;
930 /******************************************************/
931
932
933 /******************************************************/
934 /* Batle.net used to send requests for registry and email info.
935 Thanks to bnetanon, I have a dump of these old packets.
936 */
937 /*
938 FF 18 41 00 00 00 00 00 01 00 00 80 53 6F 66 74 ..A.........Soft
939 77 61 72 65 5C 4D 69 63 72 6F 73 6F 66 74 5C 4D ware\Microsoft\M
940 53 20 53 65 74 75 70 20 28 41 43 4D 45 29 5C 55 S Setup (ACME)\U
941 73 65 72 20 49 6E 66 6F 00 44 65 66 4E 61 6D 65 ser Info.DefName
942 00 .
943
944 FF 18 48 00 00 00 00 00 01 00 00 80 53 6F 66 74 ..H.........Soft
945 77 61 72 65 5C 4D 69 63 72 6F 73 6F 66 74 5C 4D ware\Microsoft\M
946 65 64 69 61 50 6C 61 79 65 72 5C 43 6F 6E 74 72 ediaPlayer\Contr
947 6F 6C 5C 50 6C 61 79 42 61 72 00 43 6C 72 42 61 ol\PlayBar.ClrBa
948 63 6B 43 6F 6C 6F 72 00 ckColor.
949 */
950 #define SERVER_REGSNOOPREQcxx . . $ `src/common/bnet_protocol.h:950:9`! 0x18ff
951 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_42#
952 {
953 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_42#h.;
954 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_42#unknown1.; /* 00 00 00 00 */ /* sequence match like in other packets? */
955 bn_intcxx . . $ pvpgn/bn_int# hkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_42#hkey.;
956 /* registry key */
957 /* value name */
958 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_regsnoopreqcxx . . $ pvpgn/t_server_regsnoopreq#;
959 #define SERVER_REGSNOOPREQ_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:959:9`! 0x00000000
960 #define SERVER_REGSNOOPREQ_HKEY_CLASSES_ROOTcxx . . $ `src/common/bnet_protocol.h:960:9`! 0x80000000
961 #define SERVER_REGSNOOPREQ_HKEY_CURRENT_USERcxx . . $ `src/common/bnet_protocol.h:961:9`! 0x80000001
962 #define SERVER_REGSNOOPREQ_HKEY_LOCAL_MACHINEcxx . . $ `src/common/bnet_protocol.h:962:9`! 0x80000002
963 #define SERVER_REGSNOOPREQ_HKEY_USERScxx . . $ `src/common/bnet_protocol.h:963:9`! 0x80000003
964 #define SERVER_REGSNOOPREQ_HKEY_PERFORMANCE_DATAcxx . . $ `src/common/bnet_protocol.h:964:9`! 0x80000004
965 #define SERVER_REGSNOOPREQ_HKEY_CURRENT_CONFIGcxx . . $ `src/common/bnet_protocol.h:965:9`! 0x80000005
966 #define SERVER_REGSNOOPREQ_HKEY_DYN_DATAcxx . . $ `src/common/bnet_protocol.h:966:9`! 0x80000006
967 #define SERVER_REGSNOOPREQ_HKEY_PERFORMANCE_TEXTcxx . . $ `src/common/bnet_protocol.h:967:9`! 0x80000050
968 #define SERVER_REGSNOOPREQ_HKEY_PERFORMANCE_NLSTEXTcxx . . $ `src/common/bnet_protocol.h:968:9`! 0x80000060
969 #define SERVER_REGSNOOPREQ_REGKEYcxx . . $ `src/common/bnet_protocol.h:969:9`! "Software\\Microsoft\\MS Setup (ACME)\\User Info"
970 #define SERVER_REGSNOOPREQ_REGVALNAMEcxx . . $ `src/common/bnet_protocol.h:970:9`! "DefName"
971 /******************************************************/
972
973
974 /******************************************************/
975 /* If the key exists, the client send this back */
976 /*
977 FF 18 0C 00 00 00 00 00 42 6F 62 00 ........Bob.
978
979 FF 18 0C 00 00 00 00 00 A0 9C A0 00 ............
980 */
981 #define CLIENT_REGSNOOPREPLYcxx . . $ `src/common/bnet_protocol.h:981:9`! 0x18ff
982 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_43#
983 {
984 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_43#h.;
985 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_43#unknown1.; /* 00 00 00 00 */ /* same as request? */
986 /* registry value (string, dword, or binary */
987 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_regsnoopreplycxx . . $ pvpgn/t_client_regsnoopreply#;
988 /******************************************************/
989
990
991 /******************************************************/
992 /*
993 FF 07 0A 00 02 00 00 00 00 00 ..........
994 */
995 #define CLIENT_ICONREQcxx . . $ `src/common/bnet_protocol.h:995:9`! 0x2dff
996 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_44#
997 {
998 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_44#h.;
999 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_iconreqcxx . . $ pvpgn/t_client_iconreq#;
1000 /******************************************************/
1001
1002
1003 /******************************************************/
1004 /*
1005 FF 2D 16 00 76 34 1F 8F .-..v4..
1006 C0 D6 BD 01 69 63 6F 6E 73 2E 62 6E 69 00 ....icons.bni.
1007
1008 FF 2D 16 00 00 77 D0 01 C7 B1 BE 01 69 63 6F 6E .-...w......icon
1009 73 2E 62 6E 69 00 s.bni.
1010 */
1011 #define SERVER_ICONREPLYcxx . . $ `src/common/bnet_protocol.h:1011:9`! 0x2dff
1012 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_45#
1013 {
1014 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_45#h.;
1015 bn_longcxx . . $ pvpgn/bn_long# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_45#timestamp.; /* file modification time? */
1016 /* filename */
1017 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_iconreplycxx . . $ pvpgn/t_server_iconreply#;
1018 /******************************************************/
1019
1020
1021 /******************************************************/
1022 #define CLIENT_LADDERSEARCHREQcxx . . $ `src/common/bnet_protocol.h:1022:9`! 0x2fff
1023 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_46#
1024 {
1025 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_46#h.;
1026 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_46#clienttag.;
1027 bn_intcxx . . $ pvpgn/bn_int# idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_46#id.; /* (AKA ladder type) 1==standard, 3==ironman */
1028 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_46#type.; /* (AKA ladder sort) */
1029 /* player name */
1030 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_laddersearchreqcxx . . $ pvpgn/t_client_laddersearchreq#;
1031 #define CLIENT_LADDERSEARCHREQ_ID_STANDARDcxx . . $ `src/common/bnet_protocol.h:1031:9`! 0x00000001
1032 #define CLIENT_LADDERSEARCHREQ_ID_IRONMANcxx . . $ `src/common/bnet_protocol.h:1032:9`! 0x00000003
1033 #define CLIENT_LADDERSEARCHREQ_TYPE_HIGHESTRATEDcxx . . $ `src/common/bnet_protocol.h:1033:9`! 0x00000000
1034 #define CLIENT_LADDERSEARCHREQ_TYPE_MOSTWINScxx . . $ `src/common/bnet_protocol.h:1034:9`! 0x00000002
1035 #define CLIENT_LADDERSEARCHREQ_TYPE_MOSTGAMEScxx . . $ `src/common/bnet_protocol.h:1035:9`! 0x00000003
1036 /******************************************************/
1037
1038
1039 /******************************************************/
1040 #define SERVER_LADDERSEARCHREPLYcxx . . $ `src/common/bnet_protocol.h:1040:9`! 0x2fff
1041 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_47# /* FIXME: how does client know how many names?
1042 do we send separate replies for each name in the request? */
1043 {
1044 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_47#h.;
1045 bn_intcxx . . $ pvpgn/bn_int# rankcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_47#rank.; /* 0 means 1st, etc */
1046 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_laddersearchreplycxx . . $ pvpgn/t_server_laddersearchreply#;
1047 #define SERVER_LADDERSEARCHREPLY_RANK_NONEcxx . . $ `src/common/bnet_protocol.h:1047:9`! 0xffffffff
1048 /******************************************************/
1049
1050
1051 /******************************************************/
1052 /*
1053 FF 30 1C 00 00 00 00 00 .0......
1054 32 37 34 34 37 37 32 39 31 34 38 32 38 00 63 6C 2744772914828.cl
1055 6F 75 64 00 oud.
1056 */
1057 #define CLIENT_CDKEYcxx . . $ `src/common/bnet_protocol.h:1057:9`! 0x30ff
1058 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_48#
1059 {
1060 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_48#h.;
1061 bn_intcxx . . $ pvpgn/bn_int# spawncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_48#spawn.; /* FIXME: not sure if this is correct, but cdkey2 does it this way */
1062 /* cd key */
1063 /* owner name */ /* Was this always here? */
1064 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_cdkeycxx . . $ pvpgn/t_client_cdkey#;
1065 #define CLIENT_CDKEY_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1065:9`! 0x00000000
1066 /******************************************************/
1067
1068
1069 /******************************************************/
1070 /*
1071 FF 30 0E 00 01 00 00 00 .0......
1072 63 6C 6F 75 64 00 cloud.
1073 */
1074 #define SERVER_CDKEYREPLYcxx . . $ `src/common/bnet_protocol.h:1074:9`! 0x30ff
1075 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_49#
1076 {
1077 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_49#h.;
1078 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_49#message.;
1079 /* owner name */
1080 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_cdkeyreplycxx . . $ pvpgn/t_server_cdkeyreply#;
1081 #define SERVER_CDKEYREPLY_MESSAGE_OKcxx . . $ `src/common/bnet_protocol.h:1081:9`! 0x00000001
1082 #define SERVER_CDKEYREPLY_MESSAGE_BADcxx . . $ `src/common/bnet_protocol.h:1082:9`! 0x00000002
1083 #define SERVER_CDKEYREPLY_MESSAGE_WRONGAPPcxx . . $ `src/common/bnet_protocol.h:1083:9`! 0x00000003
1084 #define SERVER_CDKEYREPLY_MESSAGE_ERRORcxx . . $ `src/common/bnet_protocol.h:1084:9`! 0x00000004 /* disabled */
1085 #define SERVER_CDKEYREPLY_MESSAGE_INUSEcxx . . $ `src/common/bnet_protocol.h:1085:9`! 0x00000005
1086 /* (any other value seems to correspond to ok) */
1087 /******************************************************/
1088
1089
1090 /******************************************************/
1091 /*
1092 FF 36 34 00 00 00 00 00 0D 00 00 00 01 00 00 00 .64.............
1093 B5 AE 23 00 50 E5 D5 C0 DB 55 1E 38 0A F5 58 B9 ..#.P....U.8..X.
1094 47 64 C6 C2 9F BB FF B8 81 E7 EB EC 1B 13 C6 38 Gd.............8
1095 52 6F 62 00 Rob.
1096
1097 FF 36 34 00 00 00 00 00 0D 00 00 00 01 00 00 00 .64.............
1098 7F D7 00 00 90 64 77 2F D7 5B 42 38 1F A1 A2 6F .....dw/.[B8...o
1099 E8 FA BE F8 B6 0B BA 0F CA 64 3A 17 14 56 83 AB .........d:..V..
1100 42 6F 62 00 Bob.
1101
1102 FF 36 35 00 00 00 00 00 10 00 00 00 04 00 00 00 .65.............
1103 0D 43 03 00 7A 11 07 ED 7C 9E 1E 38 E5 87 8B 3B .C..z...|..8...;
1104 9C 19 91 D9 0D 10 FC C1 C0 86 8C 8D DA A4 45 0B ..............E.
1105 XX XX XX XX 00 XXXX.
1106
1107 FF 36 34 00 00 00 00 00 10 00 00 00 04 00 00 00 .64.............
1108 70 F9 02 00 58 F9 B6 E6 38 49 5C 38 38 9C 31 E4 p...X...8I\88.1.
1109 1D 3D 40 05 66 AD 4C C8 1D 12 8E 49 9E 60 1A CB [email protected].`..
1110 42 6F 62 00 Bob.
1111 */
1112 #define CLIENT_CDKEY2cxx . . $ `src/common/bnet_protocol.h:1112:9`! 0x36ff
1113 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#
1114 {
1115 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#h.;
1116 bn_intcxx . . $ pvpgn/bn_int# spawncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#spawn.;
1117 bn_intcxx . . $ pvpgn/bn_int# keylencxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#keylen.; /* without terminating NUL */
1118 bn_intcxx . . $ pvpgn/bn_int# productidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#productid.;
1119 bn_intcxx . . $ pvpgn/bn_int# keyvalue1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#keyvalue1.;
1120 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#sessionkey.;
1121 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#ticks.;
1122 bn_intcxx . . $ pvpgn/bn_int# key_hashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_50#key_hash.[5];
1123 /* owner name */
1124 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_cdkey2cxx . . $ pvpgn/t_client_cdkey2#;
1125 #define CLIENT_CDKEY2_SPAWN_TRUEcxx . . $ `src/common/bnet_protocol.h:1125:9`! 0x00000001
1126 #define CLIENT_CDKEY2_SPAWN_FALSEcxx . . $ `src/common/bnet_protocol.h:1126:9`! 0x00000000
1127 /******************************************************/
1128
1129
1130 /******************************************************/
1131 /*
1132 From Diablo II 1.08?
1133 FF 42 43 00 AB 4C A4 3B .BC..L.;
1134 01 00 00 00 00 00 00 00 10 00 00 00 06 00 00 00 ................
1135 XX 60 12 00 00 00 00 00 5D 82 82 C4 F4 8F D0 91 X`......].......
1136 E1 5B AB 95 D9 EE EF 18 44 3E F1 C9 XX XX XX XX .[......D>..XXXX
1137 XX XX XX XX XX XX XX XX XX XX 00 XXXXXXXXXX.
1138
1139 FF 42 44 00 17 78 42 77 01 00 00 00 00 00 00 00 .BD..xBw........
1140 10 00 00 00 06 00 00 00 XX F3 10 00 00 00 00 00 ........X.......
1141 A8 29 8B C4 41 BD 33 AB 74 4C 1F 1E 5C XX CA 83 .)..A.3.tL..\X..
1142 7F E5 36 14 XX XX XX XX XX XX XX XX XX XX XX XX ..6.XXXXXXXXXXXX
1143 XX XX XX 00 XXX.
1144
1145 FF 42 44 00 C6 25 A1 3B 01 00 00 00 00 00 00 00 .BD..%.;........
1146 10 00 00 00 06 00 00 00 XX F3 10 00 00 00 00 00 ........X.......
1147 C4 3F FB 05 94 0C AC D4 3B 63 B1 90 E4 XX 53 B9 .?......;c...XS.
1148 70 C3 6F 2E XX XX XX XX XX XX XX XX XX XX XX XX p.o.XXXXXXXXXXXX
1149 XX XX XX 00 XXX.
1150 */
1151 #define CLIENT_CDKEY3cxx . . $ `src/common/bnet_protocol.h:1151:9`! 0x42ff
1152 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#
1153 {
1154 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#h.;
1155 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown1.; /* FIXME: some kind of salt? */
1156 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown2.; /* 01 00 00 00 */
1157 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown3.; /* 00 00 00 00 */
1158 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown4.; /* 10 00 00 00 */
1159 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown5.; /* 06 00 00 00 */
1160 bn_intcxx . . $ pvpgn/bn_int# unknown6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown6.; /* FIXME: value1? */
1161 bn_intcxx . . $ pvpgn/bn_int# unknown7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#unknown7.; /* 00 00 00 00 */
1162 bn_intcxx . . $ pvpgn/bn_int# key_hashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_51#key_hash.[5];
1163 /* owner name */
1164 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_cdkey3cxx . . $ pvpgn/t_client_cdkey3#;
1165 #define CLIENT_CDKEY3_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1165:9`! 0xffffffff
1166 #define CLIENT_CDKEY3_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:1166:9`! 0x00000001
1167 #define CLIENT_CDKEY3_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:1167:9`! 0x00000000
1168 #define CLIENT_CDKEY3_UNKNOWN4cxx . . $ `src/common/bnet_protocol.h:1168:9`! 0x00000010
1169 #define CLIENT_CDKEY3_UNKNOWN5cxx . . $ `src/common/bnet_protocol.h:1169:9`! 0x00000006
1170 #define CLIENT_CDKEY3_UNKNOWN6cxx . . $ `src/common/bnet_protocol.h:1170:9`! 0x00123456
1171 #define CLIENT_CDKEY3_UNKNOWN7cxx . . $ `src/common/bnet_protocol.h:1171:9`! 0x00000000
1172 /******************************************************/
1173
1174
1175 /******************************************************/
1176 /*
1177 FF 42 09 00 00 00 00 00 .B......
1178 00
1179
1180 FF 42 09 00 00 00 00 00 00 .B.......
1181 */
1182 #define SERVER_CDKEYREPLY3cxx . . $ `src/common/bnet_protocol.h:1182:9`! 0x42ff
1183 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_52#
1184 {
1185 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_52#h.;
1186 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_52#message.;
1187 /* owner name */ /* FIXME: or error message, or ... */
1188 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_cdkeyreply3cxx . . $ pvpgn/t_server_cdkeyreply3#;
1189 #define SERVER_CDKEYREPLY3_MESSAGE_OKcxx . . $ `src/common/bnet_protocol.h:1189:9`! 0x00000000
1190 /******************************************************/
1191
1192
1193 /******************************************************/
1194 /*
1195 FF 34 0D 00 00 00 00 00 00 00 00 00 00 .4...........
1196 */
1197 #define CLIENT_REALMLISTREQcxx . . $ `src/common/bnet_protocol.h:1197:9`! 0x34ff
1198 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_53#
1199 {
1200 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_53#h.;
1201 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_53#unknown1.;
1202 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_53#unknown2.;
1203 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_realmlistreqcxx . . $ pvpgn/t_client_realmlistreq#;
1204 /******************************************************/
1205
1206
1207 /******************************************************/
1208 /*
1209 0000: FF 40 04 00 .@..
1210
1211 */
1212 #define CLIENT_REALMLISTREQ_110cxx . . $ `src/common/bnet_protocol.h:1212:9`! 0x40ff
1213 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_54#
1214 {
1215 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_54#h.;
1216 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_realmlistreq_110cxx . . $ pvpgn/t_client_realmlistreq_110#;
1217 /******************************************************/
1218
1219
1220 /******************************************************/
1221 /*
1222 FF 34 5E 00 00 00 00 00 01 00 00 00 00 00 00 C0 .4^.............
1223 00 00 00 00 00 00 00 00 00 00 00 00 10 82 01 00 ................
1224 FF FF FF FF 00 00 00 00 42 65 74 61 57 65 73 74 ........BetaWest
1225 00 50 6C 65 61 73 65 20 73 65 6C 65 63 74 20 74 .Please select t
1226 68 69 73 20 61 73 20 79 6F 75 72 20 72 65 61 6C his as your real
1227 6D 20 64 75 72 69 6E 67 20 62 65 74 61 00 m during beta.
1228
1229 ff 34 5e 00 00 00 00 00 01 00 00 00 00 00 00 c0 .4^.............
1230 00 00 00 00 00 00 00 00 00 00 00 00 bc 95 01 00 ................
1231 ff ff ff ff 00 00 00 00 42 65 74 61 57 65 73 74 ........BetaWest
1232 00 50 6c 65 61 73 65 20 73 65 6c 65 63 74 20 74 .Please select t
1233 68 69 73 20 61 73 20 79 6f 75 72 20 72 65 61 6c his as your real
1234 6d 20 64 75 72 69 6e 67 20 62 65 74 61 00 m during beta.
1235
1236 ff 34 5e 00 00 00 00 00 01 00 00 00 00 00 00 c0 .4^.............
1237 00 00 00 00 00 00 00 00 00 00 00 00 c8 99 01 00 ................
1238 ff ff ff ff 00 00 00 00 42 65 74 61 57 65 73 74 ........BetaWest
1239 00 50 6c 65 61 73 65 20 73 65 6c 65 63 74 20 74 .Please select t
1240 68 69 73 20 61 73 20 79 6f 75 72 20 72 65 61 6c his as your real
1241 6d 20 64 75 72 69 6e 67 20 62 65 74 61 00 m during beta.
1242
1243 from bnetd-0.3.23pre18 to Diablo II 1.03
1244 FF 34 4B 00 00 00 00 00 01 00 00 00 00 00 .4K...........
1245 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 10 82 ................
1246 01 00 FF FF FF FF 00 00 00 00 51 61 72 61 74 68 ..........Qarath
1247 52 65 61 6C 6D 00 54 48 45 20 43 68 6F 69 63 65 Realm.THE Choice
1248 20 46 6F 72 20 4E 6F 77 28 74 6D 29 00 For Now(tm).
1249 */
1250 #define SERVER_REALMLISTREPLYcxx . . $ `src/common/bnet_protocol.h:1250:9`! 0x34ff /* realm list reply? */
1251 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_55#
1252 {
1253 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_55#h.;
1254 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_55#unknown1.;
1255 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_55#count.;
1256 /* realm entries */
1257 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_realmlistreplycxx . . $ pvpgn/t_server_realmlistreply#;
1258 #define SERVER_REALMLISTREPLY_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1258:9`! 0x00000000
1259
1260 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#
1261 {
1262 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown3.;
1263 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown4.;
1264 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown5.;
1265 bn_intcxx . . $ pvpgn/bn_int# unknown6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown6.;
1266 bn_intcxx . . $ pvpgn/bn_int# unknown7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown7.; /* this one is always different... 00 01 XX XX.. what is it? */
1267 bn_intcxx . . $ pvpgn/bn_int# unknown8cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown8.;
1268 bn_intcxx . . $ pvpgn/bn_int# unknown9cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_56#unknown9.;
1269 /* realm name */
1270 /* realm description */
1271 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_realmlistreply_datacxx . . $ pvpgn/t_server_realmlistreply_data#;
1272 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:1272:9`! 0xc0000000
1273 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN4cxx . . $ `src/common/bnet_protocol.h:1273:9`! 0x00000000
1274 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN5cxx . . $ `src/common/bnet_protocol.h:1274:9`! 0x00000000
1275 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN6cxx . . $ `src/common/bnet_protocol.h:1275:9`! 0x00000000
1276 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN7cxx . . $ `src/common/bnet_protocol.h:1276:9`! 0x00018210 /* 98832 or 1;33296 */
1277 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN8cxx . . $ `src/common/bnet_protocol.h:1277:9`! 0xffffffff
1278 #define SERVER_REALMLISTREPLY_DATA_UNKNOWN9cxx . . $ `src/common/bnet_protocol.h:1278:9`! 0x00000000
1279 /******************************************************/
1280
1281
1282
1283 /******************************************************/
1284 /*
1285 # 44 packet from server: type=0x40ff(unknown) length=40 class=bnet
1286 0000: FF 40 28 00 00 00 00 00 01 00 00 00 01 00 00 00 .@(.............
1287 0010: 45 75 72 6F 70 65 00 52 65 61 6C 6D 20 66 6F 72 Europe.Realm for
1288 0020: 20 45 75 72 6F 70 65 00 Europe.
1289 */
1290 #define SERVER_REALMLISTREPLY_110cxx . . $ `src/common/bnet_protocol.h:1290:9`! 0x40ff
1291
1292 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_57#
1293 {
1294 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_57#h.;
1295 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_57#unknown1.;
1296 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_57#count.;
1297 /* realm entries */
1298 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_realmlistreply_110cxx . . $ pvpgn/t_server_realmlistreply_110#;
1299 #define SERVER_REALMLISTREPLY_110_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1299:9`! 0x00000000
1300
1301 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_58#
1302 {
1303 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_58#unknown1.;
1304 /* realm name */
1305 /* realm description */
1306 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_realmlistreply_110_datacxx . . $ pvpgn/t_server_realmlistreply_110_data#;
1307 #define SERVER_REALMLISTREPLY_110_DATA_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1307:9`! 0x00000001
1308
1309
1310 #define CLIENT_PROFILEREQcxx . . $ `src/common/bnet_protocol.h:1310:9`! 0x35ff
1311 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_59# /* join realm request */
1312 {
1313 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_59#h.;
1314 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_59#count.;
1315 /* player name */
1316 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_profilereqcxx . . $ pvpgn/t_client_profilereq#;
1317
1318
1319 #define SERVER_PROFILEREPLYcxx . . $ `src/common/bnet_protocol.h:1319:9`! 0x35ff
1320 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_60# /* realm join reply? */
1321 {
1322 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_60#h.;
1323 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_60#count.; /* same as in req */
1324 bn_bytecxx . . $ pvpgn/bn_byte# failcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_60#fail.; /* != 0 if a problem occured */
1325 /* profile-description */
1326 /* profile-location */
1327 /* bn_int clanTAG */
1328 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_profilereplycxx . . $ pvpgn/t_server_profilereply#;
1329
1330 #define CLIENT_UNKNOWN_37cxx . . $ `src/common/bnet_protocol.h:1330:9`! 0x37ff
1331 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_61# /* character list request, character list upload? */
1332 {
1333 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_61#h.;
1334 bn_intcxx . . $ pvpgn/bn_int# opencountcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_61#opencount.; /* Number of OPEN characters on user's machine! */
1335 /* Always zero for "closed" connections. */
1336 /* unknown2 */ /* subsequent blocks of t_d2char_info or something */
1337 /* similar, so server could read this list and */
1338 /* include in the 0x37ff reply as a choice (this */
1339 /* makes sense cuz the server does NOT store open */
1340 /* character details - this also explains why */
1341 /* unknown1 is always 0 in the beta, and the 0x00 */
1342 /* of unknown2 acts as a EOF when client read the */
1343 /* t_d2char_info structures */
1344 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_unknown_37cxx . . $ pvpgn/t_client_unknown_37#;
1345 /******************************************************/
1346
1347
1348 /******************************************************/
1349 /*
1350 FF 37 01 01 00 00 00 00 08 00 00 00 04 00 00 00 .7..............
1351 42 65 74 61 57 65 73 74 2C 4D 6F 4E 6B 00 87 80 BetaWest,MoNk...
1352 06 01 01 01 01 50 FF FF 02 02 FF FF FF FF FF FF .....P..........
1353 02 49 50 50 50 50 FF FF FF 50 50 FF FF FF FF FF .IPPPP...PP.....
1354 FF 14 88 82 80 80 FF FF FF 00 42 65 74 61 57 65 ..........BetaWe
1355 73 74 2C 4D 6F 4E 6B 2D 65 00 83 80 05 02 02 01 st,MoNk-e.......
1356 01 2B FF 1B 02 02 FF FF FF FF FF FF 03 FF FF FF .+..............
1357 FF FF FF FF A8 FF FF FF FF FF FF FF FF 10 80 82 ................
1358 80 80 FF FF FF 00 42 65 74 61 57 65 73 74 2C 4D ......BetaWest,M
1359 6F 4E 6B 2D 65 65 00 83 80 06 01 01 01 01 FF 4C oNk-ee.........L
1360 FF 02 02 FF FF FF FF FF FF 01 FF 48 48 48 48 FF ...........HHHH.
1361 A6 FF 48 48 FF FF FF FF FF FF 0F 80 80 80 80 FF ..HH............
1362 FF FF 00 42 65 74 61 57 65 73 74 2C 4D 6F 4E 6B ...BetaWest,MoNk
1363 2D 74 77 6F 00 87 80 01 01 01 01 01 FF FF FF 01 -two............
1364 01 FF FF FF FF FF FF 02 FF FF FF FF FF FF FF FF ................
1365 FF FF FF FF FF FF FF FF 01 84 80 FF FF FF 80 80 ................
1366 00 .
1367
1368 ^-- 1: (BetaWest) MoNk
1369 2: (BetaWest) MoNk-e
1370 3: (BetaWest) MoNk-ee
1371 4: (BetaWest) MoNk-two
1372
1373 ff 37 4e 00 00 00 00 00 08 00 00 00 01 00 00 00 .7N.............
1374 42 65 74 61 57 65 73 74 2c 4c 69 66 65 6c 69 6b BetaWest,Lifelik
1375 65 00 87 80 01 01 01 01 01 ff ff ff 01 01 ff ff e...............
1376 ff ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ................
1377 ff ff ff ff ff 01 80 80 ff ff ff 80 80 00 ..............
1378
1379 ff 37 4e 00 00 00 00 00 08 00 00 00 01 00 00 00 .7N.............
1380 42 65 74 61 57 65 73 74 2c 51 6c 65 78 54 45 53 BetaWest,QlexTES
1381 54 00 83 80 ff ff ff ff ff 30 ff 1b ff ff ff ff T........0......
1382 ff ff ff ff 04 ff ff ff ff ff ff ff ff ff ff ff ................
1383 ff ff ff ff ff 01 80 80 80 80 ff ff ff 00 ..............
1384
1385 from bnetd-0.3.23pre18 to Diablo II 1.03
1386 "Char1 {BNE}" [lvl 20, amaz]
1387 "Char2 {BNE}" [lvl 21, sorc]
1388 "Char3 {BNE}" [lvl 22, necro]
1389 FF 37 D9 00 00 00 00 00 08 00 00 00 03 00 Gv.7............
1390 00 00 51 61 72 61 74 68 52 65 61 6C 6D 2C 43 68 ..QarathRealm,Ch
1391 61 72 31 00 87 80 01 01 01 01 01 01 01 01 01 01 ar1.............
1392 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ................
1393 01 01 01 01 01 01 01 14 85 86 01 FF FF FF FF 42 ...............B
1394 4E 45 54 44 00 51 61 72 61 74 68 52 65 61 6C 6d NETD.QarathRealm
1395 2C 43 68 61 72 32 00 87 80 01 01 01 01 01 01 01 ,Char2..........
1396 01 01 01 01 01 01 01 01 01 02 01 01 01 01 01 01 ................
1397 01 01 01 01 01 01 01 01 01 01 15 85 86 01 FF FF ................
1398 FF FF 42 4E 45 54 44 00 51 61 72 61 74 68 52 65 ..BNETD.QarathRe
1399 61 6C 6D 2C 43 68 61 72 33 00 87 80 01 01 01 01 alm,Char3.......
1400 01 01 01 01 01 01 01 01 01 01 01 01 03 01 01 01 ................
1401 01 01 01 01 01 01 01 01 01 01 01 01 01 16 85 86 ................
1402 01 FF FF FF FF 42 4E 45 54 44 00 .....BNETD.
1403 */
1404 #define SERVER_UNKNOWN_37cxx . . $ `src/common/bnet_protocol.h:1404:9`! 0x37ff
1405 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_62# /* character list reply? */
1406 {
1407 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_62#h.;
1408 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_62#unknown1.;
1409 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_62#unknown2.; /* _bucky_: max chars allowed? */
1410 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_62#count.; /* # of chars, same number of */
1411 /* t_char_info to follow in */
1412 /* packet */
1413 /* d2char_info blocks */
1414 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_unknown_37cxx . . $ pvpgn/t_server_unknown_37#;
1415 #define SERVER_UNKNOWN_37_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:1415:9`! 0x00000000
1416 #define SERVER_UNKNOWN_37_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:1416:9`! 0x00000008
1417
1418 /* The ONLY 0x00 that should appear should be the terminating NUL for */
1419 /* the character name string and the guild tag string, they're used as */
1420 /* delimiters to separate character name and the character structure */
1421 /* If you got any other NUL's in here the next character's info will */
1422 /* be royally fucked up - using 0x01 or 0xff for unknowns seem to work */
1423 /* well */
1424 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#
1425 {
1426 /* "RealmName,CharacterName" - for closed characters */
1427 /* - OR - */
1428 /* "CharacterName" - for open characters */
1429 /* - strlen(CharacterName) must be <= 15 - */
1430 bn_bytecxx . . $ pvpgn/bn_byte# unknownb1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb1.; /* 0x83, 0x87? */
1431 bn_bytecxx . . $ pvpgn/bn_byte# unknownb2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb2.; /* 0x80...? */
1432 bn_bytecxx . . $ pvpgn/bn_byte# helmgfxcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#helmgfx.;
1433 bn_bytecxx . . $ pvpgn/bn_byte# bodygfxcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#bodygfx.;
1434 bn_bytecxx . . $ pvpgn/bn_byte# leggfxcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#leggfx.;
1435 bn_bytecxx . . $ pvpgn/bn_byte# lhandweaponcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#lhandweapon.;
1436 bn_bytecxx . . $ pvpgn/bn_byte# lhandgfxcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#lhandgfx.;
1437 bn_bytecxx . . $ pvpgn/bn_byte# rhandweaponcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#rhandweapon.;
1438
1439 /* Partial weapon code list:
1440 0x2f: 1H Axe
1441 0x30: 1H Sword
1442 0x50: 2H Staff
1443 0x51: Another 2H Staff
1444 0x52: Another 2H Staff
1445 0x53: Another 2H Staff
1446 0x54: 2H Axe
1447 0x55: Scythe
1448 0x56: empty?
1449 0x57: Another 2H Axe
1450 0x58: Halberd?
1451 0x59: empty?
1452 0x5a: Another 2H Axe
1453 0x5b: Another Halberd
1454 0x5c: empty?
1455 0x5d: 1H club?
1456 0x5e: empty?
1457 0x5f: empty?
1458 */
1459
1460 bn_bytecxx . . $ pvpgn/bn_byte# rhandgfxcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#rhandgfx.;
1461 bn_bytecxx . . $ pvpgn/bn_byte# unknownb3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb3.;
1462 bn_bytecxx . . $ pvpgn/bn_byte# unknownb4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb4.;
1463 bn_bytecxx . . $ pvpgn/bn_byte# unknownb5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb5.;
1464 bn_bytecxx . . $ pvpgn/bn_byte# unknownb6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb6.;
1465 bn_bytecxx . . $ pvpgn/bn_byte# unknownb7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb7.;
1466 bn_bytecxx . . $ pvpgn/bn_byte# unknownb8cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb8.;
1467 bn_bytecxx . . $ pvpgn/bn_byte# unknownb9cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb9.;
1468 bn_bytecxx . . $ pvpgn/bn_byte# unknownb10cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb10.;
1469 bn_bytecxx . . $ pvpgn/bn_byte# unknownb11cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb11.;
1470 bn_bytecxx . . $ pvpgn/bn_byte# chclasscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#chclass.; /* 0x01=Amazon, 0x02=Sor, 0x03=Nec, 0x04=Pal, 0x05=Bar */
1471
1472 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknown1.;
1473 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknown2.;
1474 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknown3.;
1475 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknown4.;
1476
1477 bn_bytecxx . . $ pvpgn/bn_byte# levelcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#level.; /* yes, byte, not short/int/long */
1478 bn_bytecxx . . $ pvpgn/bn_byte# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#status.; /* 0x01-03 = Norm & alive */
1479 /* 0x04-07 = HC & alive */
1480 /* 0x08-0b = Norm & "dead"? */
1481 /* 0x0c+ = HC & dead, chat only */
1482 /* Add 0x80 to get same effect */
1483 bn_bytecxx . . $ pvpgn/bn_byte# titlecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#title.; /* 0x01=none
1484 0x02=Sir/Dame?
1485 0x03=Sir/Dame?
1486 0x04=Lord?
1487 0x05=Lord?
1488 0x06=Baron?
1489 0x07=Baron? */
1490 /* Same codes for HC chars */
1491 /* Add 0x80 to get same effect */
1492 bn_bytecxx . . $ pvpgn/bn_byte# unknownb13cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb13.;
1493 bn_bytecxx . . $ pvpgn/bn_byte# emblembgccxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#emblembgc.; /* Guild emblem background colour */
1494 bn_bytecxx . . $ pvpgn/bn_byte# emblemfgccxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#emblemfgc.; /* Guild emblem foreground colour */
1495 bn_bytecxx . . $ pvpgn/bn_byte# emblemnumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#emblemnum.; /* Guild emblem type number */
1496
1497 /* emblem number corresponds to D2DATA.MPQ/data/global/ui/Emblems/iconXXa.dc6 */
1498 /* where XX = emblem number - 1 (ie, 0x0A corresponds to icon09a.dc6) use */
1499 /* for dummy values seem safe... 0x01 won't work, you'll get an emblem... */
1500
1501 bn_bytecxx . . $ pvpgn/bn_byte# unknownb14cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_63#unknownb14.;
1502 /* Guild Tag */ /* must not be longer than 3 chars */
1503 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_d2char_infocxx . . $ pvpgn/t_d2char_info#;
1504 #define D2CHAR_INFO_UNKNOWNB1cxx . . $ `src/common/bnet_protocol.h:1504:9`! 0x83
1505 #define D2CHAR_INFO_UNKNOWNB2cxx . . $ `src/common/bnet_protocol.h:1505:9`! 0x80
1506 #define D2CHAR_INFO_FILLERcxx . . $ `src/common/bnet_protocol.h:1506:9`! 0xff /* non-zero padding */
1507 #define D2CHAR_INFO_CLASS_AMAZONcxx . . $ `src/common/bnet_protocol.h:1507:9`! 0x01
1508 #define D2CHAR_INFO_CLASS_SORCERESScxx . . $ `src/common/bnet_protocol.h:1508:9`! 0x02
1509 #define D2CHAR_INFO_CLASS_NECROMANCERcxx . . $ `src/common/bnet_protocol.h:1509:9`! 0x03
1510 #define D2CHAR_INFO_CLASS_PALADINcxx . . $ `src/common/bnet_protocol.h:1510:9`! 0x04
1511 #define D2CHAR_INFO_CLASS_BARBARIANcxx . . $ `src/common/bnet_protocol.h:1511:9`! 0x05
1512 #define D2CHAR_INFO_CLASS_DRUIDcxx . . $ `src/common/bnet_protocol.h:1512:9`! 0x06
1513 #define D2CHAR_INFO_CLASS_ASSASSINcxx . . $ `src/common/bnet_protocol.h:1513:9`! 0x07
1514 /******************************************************/
1515
1516
1517 /******************************************************/
1518 /* D2 packet... not sent very often and the client doesn't
1519 * seem to expect an answer */
1520 /* FIXME: what the hell does this one do? */
1521 /*
1522 FF 39 13 00 42 65 74 61 57 65 73 74 2C 62 75 73 .9..BetaWest,bus
1523 74 61 00 ta.
1524
1525 this one was sent after a closed character was deleted on the auth
1526 server... maybe a notifier for the gateway server?
1527 FF 39 17 00 42 6F 62 73 57 6F 72 6C 64 2C 63 68 .9..BobsWorld,ch
1528 61 72 6E 61 6D 65 00 arname.
1529 */
1530 #define CLIENT_UNKNOWN_39cxx . . $ `src/common/bnet_protocol.h:1530:9`! 0x39ff
1531 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_64#
1532 {
1533 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_64#h.;
1534 /* character name */ /* what about open chars? */
1535 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_unknown_39cxx . . $ pvpgn/t_client_unknown_39#;
1536 /******************************************************/
1537
1538
1539 /******************************************************/
1540 /*
1541 FF 3A 2E 00 58 4C F2 00 19 C2 08 00 D7 33 37 D3 .:..XL.......37.
1542 42 8C 92 37 C2 26 08 A9 3E 92 05 28 A1 5A 18 B9 B..7.&..>..(.Z..
1543 6D 61 73 74 6F 64 6F 6E 74 66 69 6C 6D 00 mastodontfilm.
1544
1545 FF 3A 28 00 2B 73 1C 01 88 91 F2 0D AF 22 43 25 .:(.+s......."C%
1546 BF E4 2D 45 42 37 04 DB AF 95 66 71 16 85 67 60 ..-EB7....fq..g`
1547 51 6C 65 78 53 5A 47 00 QlexSZG.
1548 */
1549 #define CLIENT_LOGINREQ2cxx . . $ `src/common/bnet_protocol.h:1549:9`! 0x3aff
1550 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_65#
1551 {
1552 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_65#h.;
1553 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_65#ticks.; /* is it really? */
1554 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_65#sessionkey.;
1555 bn_intcxx . . $ pvpgn/bn_int# password_hash2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_65#password_hash2.[5];
1556 /* player name */
1557 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_loginreq2cxx . . $ pvpgn/t_client_loginreq2#;
1558 /******************************************************/
1559
1560
1561 /******************************************************/
1562 /*
1563 # 21 packet from client: type=0x46ff(unknown) length=8 class=bnet
1564 0000: FF 46 08 00 00 00 00 00 .F......
1565 */
1566 #define CLIENT_MOTD_W3cxx . . $ `src/common/bnet_protocol.h:1566:9`! 0x46ff
1567 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_66#
1568 {
1569 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_66#h.;
1570 bn_intcxx . . $ pvpgn/bn_int# last_news_timecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_66#last_news_time.; /* date of the last news item the client has */
1571 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_motd_w3cxx . . $ pvpgn/t_client_motd_w3#;
1572 /******************************************************/
1573
1574
1575 /******************************************************/
1576 /*
1577 # 22 packet from server: type=0x46ff(unknown) length=225 class=bnet
1578 0000: FF 46 E1 00 01 16 3A 6C 3C FF FF FF FF 00 00 00 .F....:l<.......
1579 0010: 00 00 00 00 00 57 65 6C 63 6F 6D 65 20 74 6F 20 .....Welcome to
1580 0020: 42 61 74 74 6C 65 2E 6E 65 74 21 0A 54 68 69 73 Battle.net!.This
1581 0030: 20 73 65 72 76 65 72 20 69 73 20 68 6F 73 74 65 server is hoste
1582 0040: 64 20 62 79 20 41 54 26 54 2E 0A 54 68 65 72 65 d by AT&T..There
1583 0050: 20 61 72 65 20 63 75 72 72 65 6E 74 6C 79 20 36 are currently 6
1584 0060: 32 38 20 75 73 65 72 73 20 70 6C 61 79 69 6E 67 28 users playing
1585 0070: 20 31 35 39 20 67 61 6D 65 73 20 6F 66 20 57 61 159 games of Wa
1586 0080: 72 63 72 61 66 74 20 49 49 49 2C 20 61 6E 64 20 rcraft III, and
1587 0090: 31 37 37 33 34 36 20 75 73 65 72 73 20 70 6C 61 177346 users pla
1588 00A0: 79 69 6E 67 20 37 37 38 33 37 20 67 61 6D 65 73 ying 77837 games
1589 00B0: 20 6F 6E 20 42 61 74 74 6C 65 2E 6E 65 74 2E 0A on Battle.net..
1590 00C0: 4C 61 73 74 20 6C 6F 67 6F 6E 3A 20 54 68 75 20 Last logon: Thu
1591 00D0: 46 65 62 20 31 34 20 20 35 3A 32 38 20 50 4D 0A Feb 14 5:28 PM.
1592 00E0: 00 .
1593
1594 # Match 4, 2002
1595 # 92 packet from server: type=0x46ff(unknown) length=859 class=bnet
1596 0000: FF 46 5B 03 01 B4 B2 82 3C 20 B6 83 3C 20 B6 83 .F[.....< ..< ..
1597 0010: 3C 20 B6 83 3C 57 65 20 68 61 76 65 20 62 65 65 < ..<We have bee
1598 # 93 packet from server: type=0x46ff(unknown) length=223 class=bnet
1599 0000: FF 46 DF 00 01 B4 B2 82 3C 20 B6 83 3C 20 B6 83 .F......< ..< ..
1600 0010: 3C 00 00 00 00 57 65 6C 63 6F 6D 65 20 74 6F 20 <....Welcome to
1601
1602 */
1603 #define SERVER_MOTD_W3cxx . . $ `src/common/bnet_protocol.h:1603:9`! 0x46ff
1604 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#
1605 {
1606 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#h.;
1607 bn_bytecxx . . $ pvpgn/bn_byte# msgtypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#msgtype.; /* we only saw "1" type so far */
1608 bn_intcxx . . $ pvpgn/bn_int# curr_timecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#curr_time.; /* as seen by the server */
1609 bn_intcxx . . $ pvpgn/bn_int# first_news_timecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#first_news_time.; /* the oldest news item's timestamp */
1610 bn_intcxx . . $ pvpgn/bn_int# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#timestamp.; /* the timestamp of this news item */
1611 /* it is equal with the latest news item timestamp for
1612 the welcome message */
1613 bn_intcxx . . $ pvpgn/bn_int# timestamp2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_67#timestamp2.; /* always equal with the timestamp except the
1614 last packet which shows in the right panel */
1615 /* text */
1616 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_motd_w3cxx . . $ pvpgn/t_server_motd_w3#;
1617 #define SERVER_MOTD_W3_MSGTYPEcxx . . $ `src/common/bnet_protocol.h:1617:9`! 0x01
1618 #define SERVER_MOTD_W3_WELCOMEcxx . . $ `src/common/bnet_protocol.h:1618:9`! 0x00000000
1619 /******************************************************/
1620
1621 /******************************************************/
1622 /*
1623 # Jon/bbbbb
1624 # 28 packet from client: type=0x53ff(unknown) length=40 class=bnet
1625 0000: FF 53 28 00 6F FD 5F 61 C3 D1 C4 78 E6 2E 24 8B .S(.o._a...x..$.
1626 0010: 32 EB 36 9C 39 57 D8 BA 57 84 67 5E E7 78 5B 01 2.6.9W..W.g^.x[.
1627 0020: 6D 99 87 15 4A 6F 6E 00 m...Jon.
1628 */
1629 #define CLIENT_LOGINREQ_W3cxx . . $ `src/common/bnet_protocol.h:1629:9`! 0x53ff
1630 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_68#
1631 {
1632 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_68#h.;
1633 bn_bytecxx . . $ pvpgn/bn_byte# client_public_keycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_68#client_public_key.[32];
1634 /* player name */
1635 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_loginreq_w3cxx . . $ pvpgn/t_client_loginreq_w3#;
1636 /******************************************************/
1637
1638 /******************************************************/
1639 /*
1640 12:33:56.255569 63.241.83.11.6112 > ws-2-11.1038: P 190:262(72) ack 272 win 65264
1641 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
1642 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
1643 ** ** ** ** ** ** ** ** FF 53 48 00 00 00 00 00 .SH.....
1644 4B A8 FF 5D 1E 5D 2D 50 D1 2B B2 95 74 AD 5F 4E K..].]-P.+..t._N
1645 88 A4 88 48 18 27 89 50 F1 AA 1B D5 D7 B6 47 BC ...H.'.P......G.
1646 30 8B 2A 54 AA 99 23 96 75 8A 5E 67 35 8E 5B 22 0.*T..#.u.^g5.["
1647 2C 0E 68 2E C2 95 E9 D7 A1 82 F1 2C 1E 2B 28 36 ,.h........,.+(6
1648 */
1649 #define SERVER_LOGINREPLY_W3cxx . . $ `src/common/bnet_protocol.h:1649:9`! 0x53ff
1650 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_69#
1651 {
1652 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_69#h.;
1653 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_69#message.;
1654 /* seems to be response to client-challenge */
1655 bn_bytecxx . . $ pvpgn/bn_byte# saltcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_69#salt.[32];
1656 bn_bytecxx . . $ pvpgn/bn_byte# server_public_keycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_69#server_public_key.[32];
1657 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_loginreply_w3cxx . . $ pvpgn/t_server_loginreply_w3#;
1658 #define SERVER_LOGINREPLY_W3_MESSAGE_SUCCESScxx . . $ `src/common/bnet_protocol.h:1658:9`! 0x00000000
1659 #define SERVER_LOGINREPLY_W3_MESSAGE_ALREADYcxx . . $ `src/common/bnet_protocol.h:1659:9`! 0x00000001 /* Account already logged on */
1660 #define SERVER_LOGINREPLY_W3_MESSAGE_BADACCTcxx . . $ `src/common/bnet_protocol.h:1660:9`! 0x00000001 /* Accoutn does not exist */
1661 /******************************************************/
1662
1663 /******************************************************/
1664 /* single player crack based:
1665 # 34 packet from server: type=0x54ff(unknown) length=40 class=bnet
1666 0000: FF 54 28 00 00 00 00 00 00 00 00 00 00 00 00 00 .T(.............
1667 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1668 0020: 00 00 00 00 00 00 00 00 ........
1669
1670 * Password Checksum ? *
1671 -- client --
1672 0x54ff - 2 bytes
1673 size - 2 bytes (0x0018)
1674 unknown1 - 20 bytes
1675 -- server --
1676 0x54ff - 2 bytes
1677 size - 2 bytes
1678 msgid - 4 bytes
1679 {
1680 0x00000000 accept
1681 0x00000002 password incorrect
1682 }
1683 unknown1 - 20 bytes
1684
1685 Packet #13
1686 0x0000 FF 54 1C 00 00 00 00 00-3A D5 B9 B1 2B D9 B5 D9 T......:Õ¹?Ùµ?
1687 0x0010 87 3B 2B 3D 28 57 C0 2E-02 93 5F 8B ?+=(W?._?
1688 */
1689 #define CLIENT_LOGONPROOFREQcxx . . $ `src/common/bnet_protocol.h:1689:9`! 0x54ff
1690 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_70#
1691 {
1692 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_70#h.;
1693 bn_bytecxx . . $ pvpgn/bn_byte# client_password_proofcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_70#client_password_proof.[20];
1694 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_logonproofreqcxx . . $ pvpgn/t_client_logonproofreq#;
1695
1696 #define SERVER_LOGONPROOFREPLYcxx . . $ `src/common/bnet_protocol.h:1696:9`! 0x54ff
1697 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_71#
1698 {
1699 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_71#h.;
1700 bn_intcxx . . $ pvpgn/bn_int# responsecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_71#response.;
1701 bn_bytecxx . . $ pvpgn/bn_byte# server_password_proofcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_71#server_password_proof.[20];
1702 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_logonproofreplycxx . . $ pvpgn/t_server_logonproofreply#;
1703 #define SERVER_LOGONPROOFREPLY_RESPONSE_OKcxx . . $ `src/common/bnet_protocol.h:1703:9`! 0x00000000
1704 #define SERVER_LOGONPROOFREPLY_RESPONSE_BADPASScxx . . $ `src/common/bnet_protocol.h:1704:9`! 0x00000002
1705 #define SERVER_LOGONPROOFREPLY_RESPONSE_EMAILcxx . . $ `src/common/bnet_protocol.h:1705:9`! 0x0000000E
1706 #define SERVER_LOGONPROOFREPLY_RESPONSE_CUSTOMcxx . . $ `src/common/bnet_protocol.h:1706:9`! 0x0000000F
1707 /******************************************************/
1708
1709 /******************************************************/
1710 #define CLIENT_PASSCHANGEREQcxx . . $ `src/common/bnet_protocol.h:1710:9`! 0x55ff
1711 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_72#
1712 {
1713 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_72#h.;
1714 bn_bytecxx . . $ pvpgn/bn_byte# client_public_keycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_72#client_public_key.[32];
1715 /* username */
1716 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_passchangereqcxx . . $ pvpgn/t_client_passchangereq#;
1717
1718 #define SERVER_PASSCHANGEREPLYcxx . . $ `src/common/bnet_protocol.h:1718:9`! 0x55ff
1719 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_73#
1720 {
1721 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_73#h.;
1722 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_73#message.;
1723 bn_bytecxx . . $ pvpgn/bn_byte# saltcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_73#salt.[32];
1724 bn_bytecxx . . $ pvpgn/bn_byte# server_public_keycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_73#server_public_key.[32];
1725 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_passchangereplycxx . . $ pvpgn/t_server_passchangereply#;
1726 #define SERVER_PASSCHANGEREPLY_MESSAGE_ACCEPTcxx . . $ `src/common/bnet_protocol.h:1726:9`! 0x00000000
1727 #define SERVER_PASSCHANGEREPLY_MESSAGE_REJECTcxx . . $ `src/common/bnet_protocol.h:1727:9`! 0x00000001 /* No such account */
1728 /******************************************************/
1729
1730 /******************************************************/
1731 #define CLIENT_PASSCHANGEPROOFREQcxx . . $ `src/common/bnet_protocol.h:1731:9`! 0x56ff
1732 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_74#
1733 {
1734 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_74#h.;
1735 bn_bytecxx . . $ pvpgn/bn_byte# client_password_proofcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_74#client_password_proof.[20];
1736 bn_bytecxx . . $ pvpgn/bn_byte# saltcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_74#salt.[32];
1737 bn_bytecxx . . $ pvpgn/bn_byte# password_verifiercxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_74#password_verifier.[32];
1738 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_passchangeproofreqcxx . . $ pvpgn/t_client_passchangeproofreq#;
1739
1740 #define SERVER_PASSCHANGEPROOFREPLYcxx . . $ `src/common/bnet_protocol.h:1740:9`! 0x56ff
1741 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_75#
1742 {
1743 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_75#h.;
1744 bn_intcxx . . $ pvpgn/bn_int# responsecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_75#response.;
1745 bn_bytecxx . . $ pvpgn/bn_byte# server_password_proofcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_75#server_password_proof.[20];
1746 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_passchangeproofreplycxx . . $ pvpgn/t_server_passchangeproofreply#;
1747 #define SERVER_PASSCHANGEPROOFREPLY_RESPONSE_OKcxx . . $ `src/common/bnet_protocol.h:1747:9`! 0x00000000
1748 #define SERVER_PASSCHANGEPROOFREPLY_RESPONSE_BADPASScxx . . $ `src/common/bnet_protocol.h:1748:9`! 0x00000002
1749 /******************************************************/
1750
1751 /******************************************************/
1752 /*
1753 # 13 packet from client: type=0x52ff(unknown) length=83 class=bnet
1754 0000: FF 52 53 00 2B 63 B9 05 CA F3 E1 BA 58 5C ED 65 .RS.+c......X\.e
1755 0010: BE 8F 0E 89 A9 B8 C7 FE 75 2C 44 10 AE 19 B5 14 ........u,D.....
1756 0020: E8 CA E9 C7 37 50 7D 0F 9A 89 00 FF 2F 10 BB EE ....7P}...../...
1757 0030: A8 0C 81 64 AD AF DC C7 3F 58 F1 20 A1 05 E2 38 ...d....?X. ...8
1758 0040: 18 87 85 5B 74 68 65 61 63 63 6F 75 6E 74 6E 61 ...[theaccountna
1759 0050: 6D 65 00 me.
1760 */
1761 #define CLIENT_CREATEACCOUNT_W3cxx . . $ `src/common/bnet_protocol.h:1761:9`! 0x52ff
1762 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_76#
1763 {
1764 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_76#h.;
1765 bn_bytecxx . . $ pvpgn/bn_byte# saltcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_76#salt.[32];
1766 bn_bytecxx . . $ pvpgn/bn_byte# password_verifiercxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_76#password_verifier.[32];
1767 /* player name */
1768 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_createaccount_w3cxx . . $ pvpgn/t_client_createaccount_w3#;
1769 /******************************************************/
1770
1771
1772 /******************************************************/
1773
1774 /******************************************************/
1775
1776 /*
1777 # 20 packet from client: type=0x45ff(unknown) length=6 class=bnet
1778 0000: FF 45 06 00 E0 17 .E....
1779 */
1780 #define CLIENT_CHANGEGAMEPORTcxx . . $ `src/common/bnet_protocol.h:1780:9`! 0x45ff
1781 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_77#
1782 {
1783 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_77#h.;
1784 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_77#port.;
1785 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_changegameportcxx . . $ pvpgn/t_client_changegameport#;
1786
1787
1788
1789
1790 /******************************************************/
1791 /*
1792 RECV-> 0000 FF 52 08 00 00 00 00 00 .R......
1793 */
1794 #define SERVER_CREATEACCOUNT_W3cxx . . $ `src/common/bnet_protocol.h:1794:9`! 0x52ff
1795 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_78#
1796 {
1797 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_78#h.;
1798 bn_intcxx . . $ pvpgn/bn_int# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_78#result.;
1799 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_createaccount_w3cxx . . $ pvpgn/t_server_createaccount_w3#;
1800 #define SERVER_CREATEACCOUNT_W3_RESULT_OKcxx . . $ `src/common/bnet_protocol.h:1800:9`! 0x00000000
1801 #define SERVER_CREATEACCOUNT_W3_RESULT_EXISTcxx . . $ `src/common/bnet_protocol.h:1801:9`! 0x00000004
1802 #define SERVER_CREATEACCOUNT_W3_RESULT_EMPTYcxx . . $ `src/common/bnet_protocol.h:1802:9`! 0x00000007
1803 #define SERVER_CREATEACCOUNT_W3_RESULT_INVALIDcxx . . $ `src/common/bnet_protocol.h:1803:9`! 0x00000008
1804 #define SERVER_CREATEACCOUNT_W3_RESULT_BANNEDcxx . . $ `src/common/bnet_protocol.h:1804:9`! 0x00000009
1805 #define SERVER_CREATEACCOUNT_W3_RESULT_SHORTcxx . . $ `src/common/bnet_protocol.h:1805:9`! 0x0000000A
1806 #define SERVER_CREATEACCOUNT_W3_RESULT_PUNCTUATIONcxx . . $ `src/common/bnet_protocol.h:1806:9`! 0x0000000B
1807 #define SERVER_CREATEACCOUNT_W3_RESULT_PUNCTUATION2cxx . . $ `src/common/bnet_protocol.h:1807:9`! 0x0000000C
1808 /******************************************************/
1809
1810 /******************************************************/
1811 /*
1812 FF 3A 08 00 00 00 00 00 .:......
1813 */
1814 #define SERVER_LOGINREPLY2cxx . . $ `src/common/bnet_protocol.h:1814:9`! 0x3aff
1815 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_79#
1816 {
1817 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_79#h.;
1818 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_79#message.;
1819 /* reason for account lock */
1820 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_loginreply2cxx . . $ pvpgn/t_server_loginreply2#;
1821 #define SERVER_LOGINREPLY2_MESSAGE_SUCCESScxx . . $ `src/common/bnet_protocol.h:1821:9`! 0x00000000
1822 #define SERVER_LOGINREPLY2_MESSAGE_NONEXISTcxx . . $ `src/common/bnet_protocol.h:1822:9`! 0x00000001 /* Account does not exist */
1823 #define SERVER_LOGINREPLY2_MESSAGE_BADPASScxx . . $ `src/common/bnet_protocol.h:1823:9`! 0x00000002 /* Bad password */
1824 #define SERVER_LOGINREPLY2_MESSAGE_LOCKEDcxx . . $ `src/common/bnet_protocol.h:1824:9`! 0x00000006 /* Account is locked */
1825 /******************************************************/
1826
1827
1828 /******************************************************/
1829 /* Diablo II 1.03 */
1830 /* sent when registering new player with open Battle.net */
1831 /* and when logging in with closed Battle.net */
1832 /*
1833 (closed) b.net login:
1834 enter name/password -> 3dff packet
1835 (open) b.net login:
1836 enter name/password -> "login" packet (bad account) <-- CORRECT
1837 "Create new account" -> TOS grab -> Enter password -> 3dff packet
1838 */
1839 /*
1840 FF 3D 20 00 B8 C0 A1 2F 56 B1 47 65 CF 55 09 62 .= ..../V.Ge.U.b
1841 8E 21 3C 59 57 BC E8 EA 45 6C 66 6C 6F 72 64 00 .!<YW...Elflord.
1842 */
1843 #define CLIENT_CREATEACCTREQ2cxx . . $ `src/common/bnet_protocol.h:1843:9`! 0x3dff
1844 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_80#
1845 {
1846 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_80#h.;
1847 bn_intcxx . . $ pvpgn/bn_int# password_hash1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_80#password_hash1.[5];
1848 /* username (charactername?) */
1849 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_createacctreq2cxx . . $ pvpgn/t_client_createacctreq2#;
1850 /******************************************************/
1851
1852
1853 /******************************************************/
1854 /* Diablo II 1.03 */
1855 #define SERVER_CREATEACCTREPLY2cxx . . $ `src/common/bnet_protocol.h:1855:9`! 0x3dff
1856 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_81#
1857 {
1858 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_81#h.;
1859 bn_intcxx . . $ pvpgn/bn_int# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_81#result.;
1860 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_createacctreply2cxx . . $ pvpgn/t_server_createacctreply2#;
1861 #define SERVER_CREATEACCTREPLY2_RESULT_OKcxx . . $ `src/common/bnet_protocol.h:1861:9`! 0x00000000
1862 #define SERVER_CREATEACCTREPLY2_RESULT_SHORTcxx . . $ `src/common/bnet_protocol.h:1862:9`! 0x00000001 /* Username must be a minimum of 2 characters */
1863 #define SERVER_CREATEACCTREPLY2_RESULT_INVALIDcxx . . $ `src/common/bnet_protocol.h:1863:9`! 0x00000002
1864 #define SERVER_CREATEACCTREPLY2_RESULT_BANNEDcxx . . $ `src/common/bnet_protocol.h:1864:9`! 0x00000003
1865 #define SERVER_CREATEACCTREPLY2_RESULT_EXISTcxx . . $ `src/common/bnet_protocol.h:1865:9`! 0x00000004
1866 #define SERVER_CREATEACCTREPLY2_RESULT_LAST_CREATE_IN_PROGRESScxx . . $ `src/common/bnet_protocol.h:1866:9`! 0x00000005
1867 #define SERVER_CREATEACCTREPLY2_RESULT_ALPHANUMcxx . . $ `src/common/bnet_protocol.h:1867:9`! 0x00000006
1868 #define SERVER_CREATEACCTREPLY2_RESULT_PUNCTUATIONcxx . . $ `src/common/bnet_protocol.h:1868:9`! 0x00000007
1869 #define SERVER_CREATEACCTREPLY2_RESULT_PUNCTUATION2cxx . . $ `src/common/bnet_protocol.h:1869:9`! 0x00000008
1870 /******************************************************/
1871
1872
1873 /******************************************************/
1874 /*
1875 FF 36 0C 00 01 00 00 00 52 6F 62 00 .6......Rob.
1876
1877 FF 36 0C 00 01 00 00 00 42 6F 62 00 .6......Bob.
1878 */
1879 #define SERVER_CDKEYREPLY2cxx . . $ `src/common/bnet_protocol.h:1879:9`! 0x36ff
1880 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_82#
1881 {
1882 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_82#h.;
1883 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_82#message.;
1884 /* owner name */
1885 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_cdkeyreply2cxx . . $ pvpgn/t_server_cdkeyreply2#;
1886 #define SERVER_CDKEYREPLY2_MESSAGE_OKcxx . . $ `src/common/bnet_protocol.h:1886:9`! 0x00000001
1887 #define SERVER_CDKEYREPLY2_MESSAGE_BADcxx . . $ `src/common/bnet_protocol.h:1887:9`! 0x00000002
1888 #define SERVER_CDKEYREPLY2_MESSAGE_WRONGAPPcxx . . $ `src/common/bnet_protocol.h:1888:9`! 0x00000003
1889 #define SERVER_CDKEYREPLY2_MESSAGE_ERRORcxx . . $ `src/common/bnet_protocol.h:1889:9`! 0x00000004
1890 #define SERVER_CDKEYREPLY2_MESSAGE_INUSEcxx . . $ `src/common/bnet_protocol.h:1890:9`! 0x00000005
1891 /* (any other value seems to correspond to ok) */
1892 /******************************************************/
1893
1894
1895 /******************************************************/
1896 /*
1897 FF 14 08 00 74 65 6E 62 ....tenb
1898 */
1899 #define CLIENT_UDPOKcxx . . $ `src/common/bnet_protocol.h:1899:9`! 0x14ff
1900 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_83#
1901 {
1902 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_83#h.;
1903 bn_intcxx . . $ pvpgn/bn_int# echocxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_83#echo.; /* echo of what the server sent, normally "tenb" */
1904 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_udpokcxx . . $ pvpgn/t_client_udpok#;
1905 /******************************************************/
1906
1907
1908 /******************************************************/
1909 /*
1910 FF 33 18 00 1A 00 00 00 00 00 00 00 74 6F 73 5F .3..........tos_
1911 55 53 41 2E 74 78 74 00 USA.txt.
1912
1913 Diablo II 1.03
1914 FF 33 19 00 04 00 00 80 00 00 00 00 62 6E .3..........bn
1915 73 65 72 76 65 72 2E 69 6E 69 00 server.ini.
1916 */
1917 #define CLIENT_FILEINFOREQcxx . . $ `src/common/bnet_protocol.h:1917:9`! 0x33ff
1918 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_84#
1919 {
1920 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_84#h.;
1921 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_84#type.; /* type of file (TOS,icons,etc.) */
1922 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_84#unknown2.; /* 00 00 00 00 */ /* always zero? */
1923 /* filename */ /* default/suggested filename? */
1924 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_fileinforeqcxx . . $ pvpgn/t_client_fileinforeq#;
1925 #define CLIENT_FILEINFOREQ_TYPE_TOScxx . . $ `src/common/bnet_protocol.h:1925:9`! 0x0000001a /* tos_USA.txt */
1926 #define CLIENT_FILEINFOREQ_TYPE_GATEWAYScxx . . $ `src/common/bnet_protocol.h:1926:9`! 0x0000001b /* STAR bnserver.ini */
1927 #define CLIENT_FILEINFOREQ_TYPE_GATEWAYS_D2cxx . . $ `src/common/bnet_protocol.h:1927:9`! 0x80000004 /* D2XP bnserver-D2DV.ini */
1928 /* FIXME: what about icons.bni? */
1929 #define CLIENT_FILEINFOREQ_TYPE_ICONScxx . . $ `src/common/bnet_protocol.h:1929:9`! 0x0000001d /* STAR icons_STAR.bni */
1930 #define CLIENT_FILEINFOREQ_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:1930:9`! 0x00000000
1931 #define CLIENT_FILEINFOREQ_FILE_TOSUSAcxx . . $ `src/common/bnet_protocol.h:1931:9`! "tos_USA.txt"
1932 #define CLIENT_FILEINFOREQ_FILE_TOSUNICODEUSAcxx . . $ `src/common/bnet_protocol.h:1932:9`! "tos-unicode_USA.txt"
1933 #define CLIENT_FILEINFOREQ_FILE_BNSERVERcxx . . $ `src/common/bnet_protocol.h:1933:9`! "bnserver.ini"
1934 /******************************************************/
1935
1936
1937 /******************************************************/
1938 /*
1939 FF 33 1C 00 1A 00 00 00 00 00 00 00 30 C3 89 86 .3..........0...
1940 09 4F BD 01 74 6F 73 2E 74 78 74 00 .O..tos.txt.
1941
1942 FF 33 20 00 1A 00 00 00 00 00 00 00 00 38 51 E2 .3 ..........8Q.
1943 30 A1 BD 01 74 6F 73 5F 55 53 41 2E 74 78 74 00 0...tos_USA.txt.
1944 */
1945 #define SERVER_FILEINFOREPLYcxx . . $ `src/common/bnet_protocol.h:1945:9`! 0x33ff
1946 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_85#
1947 {
1948 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_85#h.;
1949 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_85#type.; /* type of file (TOS,icons,etc.) */
1950 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_85#unknown2.; /* 00 00 00 00 */ /* same as in TOSREQ */
1951 bn_longcxx . . $ pvpgn/bn_long# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_85#timestamp.; /* file modification time */
1952 /* filename */
1953 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_fileinforeplycxx . . $ pvpgn/t_server_fileinforeply#;
1954 #define SERVER_FILEINFOREPLY_TYPE_TOSFILEcxx . . $ `src/common/bnet_protocol.h:1954:9`! 0x0000001a /* tos_USA.txt */
1955 #define SERVER_FILEINFOREPLY_TYPE_GATEWAYScxx . . $ `src/common/bnet_protocol.h:1955:9`! 0x0000001b /* STAR bnserver.ini */
1956 #define SERVER_FILEINFOREPLY_TYPE_GATEWAYS_D2cxx . . $ `src/common/bnet_protocol.h:1956:9`! 0x80000004 /* D2XP bnserver-D2DV.ini */
1957 #define SERVER_FILEINFOREPLY_TYPE_EXTRAWORKcxx . . $ `src/common/bnet_protocol.h:1957:9`! 0x80000005 /* IX86ExtraWork.mpq */
1958 #define SERVER_FILEINFOREPLY_TYPE_ICONScxx . . $ `src/common/bnet_protocol.h:1958:9`! 0x0000001d /* STAR icons_STAR.bni */
1959 #define SERVER_FILEINFOREPLY_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:1959:9`! 0x00000000 /* always zero */
1960 /******************************************************/
1961
1962
1963 /******************************************************/
1964 /*
1965 FF 26 9E 01 01 00 00 00 13 00 00 00 .&..........
1966 78 52 82 02 42 6F 62 00 70 72 6F 66 69 6C 65 5C xR..Bob.profile\
1967 73 65 78 00 70 72 6F 66 69 6C 65 5C 61 67 65 00 sex.profile\age.
1968 70 72 6F 66 69 6C 65 5C 6C 6F 63 61 74 69 6F 6E profile\location
1969 00 70 72 6F 66 69 6C 65 5C 64 65 73 63 72 69 70 .profile\descrip
1970 74 69 6F 6E 00 52 65 63 6F 72 64 5C 53 45 58 50 tion.Record\SEXP
1971 5C 30 5C 77 69 6E 73 00 52 65 63 6F 72 64 5C 53 \0\wins.Record\S
1972 45 58 50 5C 30 5C 6C 6F 73 73 65 73 00 52 65 63 EXP\0\losses.Rec
1973 6F 72 64 5C 53 45 58 50 5C 30 5C 64 69 73 63 6F ord\SEXP\0\disco
1974 6E 6E 65 63 74 73 00 52 65 63 6F 72 64 5C 53 45 nnects.Record\SE
1975 58 50 5C 30 5C 6C 61 73 74 20 67 61 6D 65 00 52 XP\0\last game.R
1976 65 63 6F 72 64 5C 53 45 58 50 5C 30 5C 6C 61 73 ecord\SEXP\0\las
1977 74 20 67 61 6D 65 20 72 65 73 75 6C 74 00 52 65 t game result.Re
1978 63 6F 72 64 5C 53 45 58 50 5C 31 5C 77 69 6E 73 cord\SEXP\1\wins
1979 00 52 65 63 6F 72 64 5C 53 45 58 50 5C 31 5C 6C .Record\SEXP\1\l
1980 6F 73 73 65 73 00 52 65 63 6F 72 64 5C 53 45 58 osses.Record\SEX
1981 50 5C 31 5C 64 69 73 63 6F 6E 6E 65 63 74 73 00 P\1\disconnects.
1982 52 65 63 6F 72 64 5C 53 45 58 50 5C 31 5C 72 61 Record\SEXP\1\ra
1983 74 69 6E 67 00 52 65 63 6F 72 64 5C 53 45 58 50 ting.Record\SEXP
1984 5C 31 5C 68 69 67 68 20 72 61 74 69 6E 67 00 52 \1\high rating.R
1985 65 63 6F 72 64 5C 53 45 58 50 5C 31 5C 72 61 6E ecord\SEXP\1\ran
1986 6B 00 52 65 63 6F 72 64 5C 53 45 58 50 5C 31 5C k.Record\SEXP\1\
1987 68 69 67 68 20 72 61 6E 6B 00 52 65 63 6F 72 64 high rank.Record
1988 5C 53 45 58 50 5C 31 5C 6C 61 73 74 20 67 61 6D \SEXP\1\last gam
1989 65 00 52 65 63 6F 72 64 5C 53 45 58 50 5C 31 5C e.Record\SEXP\1\
1990 6C 61 73 74 20 67 61 6D 65 20 72 65 73 75 6C 74 last game result
1991 00 00 ..
1992
1993 FF 26 C2 01 05 00 00 00 13 00 00 00 .&..........
1994 EE E4 84 03 6E 73 6C 40 63 6C 6F 75 64 00 63 6C [email protected]
1995 6F 75 64 00 67 75 65 73 74 00 48 65 72 6E 40 73 oud.guest.Hern@s
1996 65 65 6D 65 00 6F 72 69 6F 6E 40 00 70 72 6F 66 [email protected]
1997 69 6C 65 5C 73 65 78 00 70 72 6F 66 69 6C 65 5C ile\sex.profile\
1998 61 67 65 00 70 72 6F 66 69 6C 65 5C 6C 6F 63 61 age.profile\loca
1999 74 69 6F 6E 00 70 72 6F 66 69 6C 65 5C 64 65 73 tion.profile\des
2000 63 72 69 70 74 69 6F 6E 00 52 65 63 6F 72 64 5C cription.Record\
2001 53 74 61 72 5C 30 5C 77 69 6E 73 00 52 65 63 6F Star\0\wins.Reco
2002 72 64 5C 53 74 61 72 5C 30 5C 6C 6F 73 73 65 73 rd\Star\0\losses
2003 00 52 65 63 6F 72 64 5C 53 74 61 72 5C 30 5C 64 .Record\Star\0\d
2004 69 73 63 6F 6E 6E 65 63 74 73 00 52 65 63 6F 72 isconnects.Recor
2005 64 5C 53 74 61 72 5C 30 5C 6C 61 73 74 20 67 61 d\Star\0\last ga
2006 6D 65 00 52 65 63 6F 72 64 5C 53 74 61 72 5C 30 me.Record\Star\0
2007 5C 6C 61 73 74 20 67 61 6D 65 20 72 65 73 75 6C \last game resul
2008 74 00 52 65 63 6F 72 64 5C 53 74 61 72 5C 31 5C t.Record\Star\1\
2009 77 69 6E 73 00 52 65 63 6F 72 64 5C 53 74 61 72 wins.Record\Star
2010 5C 31 5C 6C 6F 73 73 65 73 00 52 65 63 6F 72 64 \1\losses.Record
2011 5C 53 74 61 72 5C 31 5C 64 69 73 63 6F 6E 6E 65 \Star\1\disconne
2012 63 74 73 00 52 65 63 6F 72 64 5C 53 74 61 72 5C cts.Record\Star\
2013 31 5C 72 61 74 69 6E 67 00 52 65 63 6F 72 64 5C 1\rating.Record\
2014 53 74 61 72 5C 31 5C 68 69 67 68 20 72 61 74 69 Star\1\high rati
2015 6E 67 00 52 65 63 6F 72 64 5C 53 74 61 72 5C 31 ng.Record\Star\1
2016 5C 72 61 6E 6B 00 52 65 63 6F 72 64 5C 53 74 61 \rank.Record\Sta
2017 72 5C 31 5C 68 69 67 68 20 72 61 6E 6B 00 52 65 r\1\high rank.Re
2018 63 6F 72 64 5C 53 74 61 72 5C 31 5C 6C 61 73 74 cord\Star\1\last
2019 20 67 61 6D 65 00 52 65 63 6F 72 64 5C 53 74 61 game.Record\Sta
2020 72 5C 31 5C 6C 61 73 74 20 67 61 6D 65 20 72 65 r\1\last game re
2021 73 75 6C 74 00 00 sult..
2022 */
2023 #define CLIENT_STATSREQcxx . . $ `src/common/bnet_protocol.h:2023:9`! 0x26ff
2024 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_86#
2025 {
2026 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_86#h.;
2027 bn_intcxx . . $ pvpgn/bn_int# name_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_86#name_count.;
2028 bn_intcxx . . $ pvpgn/bn_int# key_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_86#key_count.;
2029 bn_intcxx . . $ pvpgn/bn_int# requestidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_86#requestid.; /* 78 52 82 02 */
2030 /* player name */
2031 /* field key ... */
2032 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_statsreqcxx . . $ pvpgn/t_client_statsreq#;
2033 #define CLIENT_STATSREQ_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:2033:9`! 0x02825278
2034 /******************************************************/
2035
2036
2037 /******************************************************/
2038 /*
2039 FF 26 23 00 01 00 00 00 .&#.....
2040 13 00 00 00 78 52 82 02 00 00 00 00 00 00 00 00 ....xR..........
2041 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
2042
2043 FF 26 13 02 05 00 00 00 13 00 00 00 .&..........
2044 EE E4 84 03 20 20 A1 F0 00 20 20 A1 F0 00 68 74 .... ... ...ht
2045 74 70 3A 2F 2F 6E 73 6C 2E 6B 6B 69 72 69 2E 6F tp://nsl.kkiri.o
2046 72 67 00 20 20 20 20 20 20 20 20 20 20 20 A2 CB rg. ..
2047 20 50 72 6F 74 6F 73 73 20 69 73 20 54 68 65 20 Protoss is The
2048 42 65 73 74 20 A2 CB 20 0D 0A 0D 0A 20 20 20 49 Best .. .... I
2049 66 20 59 6F 75 20 57 61 6E 74 20 54 6F 20 4B 6E f You Want To Kn
2050 6F 77 20 41 62 6F 75 74 20 55 73 2C 20 47 6F 0D ow About Us, Go.
2051 0A 0D 0A 20 20 20 20 20 20 20 20 20 20 20 20 20 ...
2052 20 68 74 74 70 3A 2F 2F 6E 73 6C 2E 6B 6B 69 72 http://nsl.kkir
2053 69 2E 6F 72 67 00 38 38 00 37 30 00 33 00 32 39 i.org.88.70.3.29
2054 32 36 30 33 31 30 20 33 39 36 31 36 37 38 32 34 260310 396167824
2055 30 00 4C 4F 53 53 00 30 00 30 00 30 00 30 00 00 0.LOSS.0.0.0.0..
2056 00 00 00 00 00 6D 00 31 35 00 53 69 6E 67 61 70 .....m.15.Singap
2057 6F 72 65 20 00 00 32 37 00 31 00 36 00 32 39 32 ore ..27.1.6.292
2058 35 34 32 33 37 20 32 34 35 37 32 33 30 39 38 00 54237 245723098.
2059 44 52 41 57 00 30 00 30 00 30 00 30 00 00 00 00 DRAW.0.0.0.0....
2060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2061 00 00 00 00 00 00 00 00 00 00 31 00 00 00 32 39 ..........1...29
2062 32 35 39 38 31 32 20 31 31 35 33 38 33 37 39 34 259812 115383794
2063 36 00 57 49 4E 00 30 00 30 00 30 00 30 00 00 00 6.WIN.0.0.0.0...
2064 00 00 00 00 B0 C5 BD C3 B1 E2 00 3F 3F 00 B1 D9 ...........??...
2065 B0 C5 C1 F6 20 BE F8 C0 BD 2E 00 BA B0 C0 DA B8 .... ...........
2066 AE 20 6F 72 69 6F 6E 20 2C 2C 20 C3 CA C4 DA C6 . orion ,, .....
2067 C4 C0 CC B0 A1 20 BE C6 B3 E0 BF EB 2E 2E 0D 0A ..... ..........
2068 C4 ED C4 ED 2E 2E 0D 0A 0D 0A C1 B9 B6 F3 20 C0 .............. .
2069 DF C7 CF B4 C2 20 B3 D1 20 3A 20 6E 73 6C B3 D1 ..... .. : nsl..
2070 B5 E9 0D 0A C0 DF C7 CF B4 C2 20 C7 C1 C5 E4 20 .......... ....
2071 3A 20 6E 73 6C 40 74 6F 74 6F 72 6F 00 35 31 00 : [email protected].
2072 34 38 00 36 00 32 39 32 35 39 32 36 33 20 39 35 48.6.29259263 95
2073 36 35 30 35 39 30 32 00 4C 4F 53 53 00 36 00 36 6505902.LOSS.6.6
2074 00 32 00 39 39 30 00 31 30 32 37 00 00 00 32 39 .2.990.1027...29
2075 32 35 39 32 35 38 20 33 31 32 32 37 39 38 38 32 259258 312279882
2076 00 4C 4F 53 53 00 00 .LOSS..
2077 */
2078 #define SERVER_STATSREPLYcxx . . $ `src/common/bnet_protocol.h:2078:9`! 0x26ff
2079 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_87#
2080 {
2081 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_87#h.;
2082 bn_intcxx . . $ pvpgn/bn_int# name_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_87#name_count.;
2083 bn_intcxx . . $ pvpgn/bn_int# key_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_87#key_count.;
2084 bn_intcxx . . $ pvpgn/bn_int# requestidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_87#requestid.; /* 78 52 82 02 */ /* EE E4 84 03 */ /* same as request */
2085 /* field values ... */
2086 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_statsreplycxx . . $ pvpgn/t_server_statsreply#;
2087 /******************************************************/
2088
2089
2090 /******************************************************/
2091 /*
2092 FF 29 25 00 CF 17 28 00 A3 D3 2C 5C F4 18 02 40 .)%...(...,\...@
2093 F9 B8 EA F4 A5 B1 3F 39 85 89 2D DB 18 2D B9 D4 ......?9..-..-..
2094 52 6F 73 73 00 Ross.
2095 */
2096 #define CLIENT_LOGINREQ1cxx . . $ `src/common/bnet_protocol.h:2096:9`! 0x29ff
2097 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_88#
2098 {
2099 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_88#h.;
2100 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_88#ticks.;
2101 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_88#sessionkey.;
2102 bn_intcxx . . $ pvpgn/bn_int# password_hash2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_88#password_hash2.[5]; /* hash of ticks, key, and hash1 */
2103 /* player name */
2104 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_loginreq1cxx . . $ pvpgn/t_client_loginreq1#;
2105 /******************************************************/
2106
2107
2108 /******************************************************/
2109 #define SERVER_LOGINREPLY1cxx . . $ `src/common/bnet_protocol.h:2109:9`! 0x29ff
2110 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_89#
2111 {
2112 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_89#h.;
2113 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_89#message.;
2114 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_loginreply1cxx . . $ pvpgn/t_server_loginreply1#;
2115 #define SERVER_LOGINREPLY1_MESSAGE_FAILcxx . . $ `src/common/bnet_protocol.h:2115:9`! 0x00000000
2116 #define SERVER_LOGINREPLY1_MESSAGE_SUCCESScxx . . $ `src/common/bnet_protocol.h:2116:9`! 0x00000001
2117 /******************************************************/
2118
2119
2120 /******************************************************/
2121 /*
2122 FF 31 3B 00 22 1A 9A 00 64 B7 C5 21 2C 82 57 F4 .1;."...d..!,.W.
2123 0A 36 73 25 1E A5 42 5F FA 36 54 97 BC 65 3F E1 .6s%..B_.6T..e?.
2124 7D 5A 54 17 4C 33 B9 1A 09 25 49 45 99 52 69 45 }ZT.L3...%IE.RiE
2125 B1 E6 5C 9C 77 72 73 70 6F 69 00 ..\.wrspoi.
2126
2127 FF 31 3B 00 3A 5B 9B 00 64 B7 C5 21 99 32 14 B7 .1;.:[..d..!.2..
2128 89 02 3C 28 4A 75 84 05 70 EF B5 A7 99 CA 7E 12 ..<(Ju..p.....~.
2129 7D 5A 54 17 4C 33 B9 1A 09 25 49 45 99 52 69 45 }ZT.L3...%IE.RiE
2130 B1 E6 5C 9C 77 72 73 70 6F 69 00 ..\.wrspoi.
2131
2132 from D2 LoD 1.08
2133 FF 31 38 00 79 8E 09 00 F5 1C EB 4E 2E 7A 9C 6A .18.y......N.z.j
2134 13 43 4A 49 2C CE 49 24 2E 65 FB 95 44 FC C3 B2 .CJI,.I$.e..D...
2135 E1 75 1A DA 19 36 EE 9B AA EE 23 99 F0 82 4F F8 .u...6....#...O.
2136 B9 6B 09 55 62 6F 62 00 .k.Ubob.
2137 */
2138 #define CLIENT_CHANGEPASSREQcxx . . $ `src/common/bnet_protocol.h:2138:9`! 0x31ff
2139 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#
2140 {
2141 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#h.;
2142 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#ticks.; /* FIXME: upper two bytes seem constant for each client? */
2143 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#sessionkey.;
2144 bn_intcxx . . $ pvpgn/bn_int# oldpassword_hash2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#oldpassword_hash2.[5]; /* hash of ticks, key, hash1 */
2145 bn_intcxx . . $ pvpgn/bn_int# newpassword_hash1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_90#newpassword_hash1.[5]; /* hash of lowercase password w/o null */
2146 /* player name */
2147 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_changepassreqcxx . . $ pvpgn/t_client_changepassreq#;
2148 /******************************************************/
2149
2150
2151 /******************************************************/
2152 /*
2153 FF 31 08 00 01 00 00 00 .1......
2154
2155 FF 31 08 00 00 00 00 00 .1......
2156 */
2157 #define SERVER_CHANGEPASSACKcxx . . $ `src/common/bnet_protocol.h:2157:9`! 0x31ff
2158 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_91#
2159 {
2160 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_91#h.;
2161 bn_intcxx . . $ pvpgn/bn_int# messagecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_91#message.;
2162 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_changepassackcxx . . $ pvpgn/t_server_changepassack#;
2163 #define SERVER_CHANGEPASSACK_MESSAGE_FAILcxx . . $ `src/common/bnet_protocol.h:2163:9`! 0x00000000
2164 #define SERVER_CHANGEPASSACK_MESSAGE_SUCCESScxx . . $ `src/common/bnet_protocol.h:2164:9`! 0x00000001
2165 /******************************************************/
2166
2167
2168 /******************************************************/
2169 /*
2170 FF 0A 0F 00 0F .....
2171 4D 79 41 63 63 6F 75 6E MyAccoun
2172 74 00 00 t..
2173
2174 ff 0a 1f 00 4c 69 66 65 6c 69 6b 65 00 42 65 74 ....Lifelike.Bet
2175 61 57 65 73 74 2c 4c 69 66 65 6c 69 6b 65 00 aWest,Lifelike.
2176
2177 Diablo II 1.03 - amazon just after creation
2178 ff 0a 20 00 47 6f 64 64 65 73 73 00 51 61 .. .Goddess.Qa
2179 72 61 74 68 52 65 61 6c 6d 2c 47 6f 64 64 65 73 rathRealm,Goddes
2180 73 00 s.
2181 */
2182 #define CLIENT_PLAYERINFOREQcxx . . $ `src/common/bnet_protocol.h:2182:9`! 0x0aff
2183 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_92#
2184 {
2185 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_92#h.;
2186 /* player name */
2187 /* player info */ /* used by Diablo and D2 (character,Realm) */
2188 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_playerinforeqcxx . . $ pvpgn/t_client_playerinforeq#;
2189 /******************************************************/
2190
2191
2192 /******************************************************/
2193 /*
2194 FF 0A 29 00 4D 79 41 63 ..).MyAc
2195 63 6F 75 6E 74 00 50 58 45 53 20 30 20 30 20 30 count.PXES 0 0 0
2196 20 30 20 30 20 30 00 4D 79 41 63 63 6F 75 6E 74 0 0 0.MyAccount
2197 00 .
2198
2199 FF 0A 2F 00 6C 61 77 75 65 66 00 4C 54 52 44 20 ../.lawuef.LTRD
2200 31 20 30 20 30 20 33 30 20 31 30 20 32 30 20 32 1 0 0 30 10 20 2
2201 35 20 31 30 30 20 30 00 6C 61 77 75 65 66 00 5 100 0.lawuef.
2202
2203 ff 0a 53 00 4d 6f 4e 6b 32 6b 00 56 44 32 44 ..S.MoNk2k.VD2D
2204 42 65 74 61 57 65 73 74 2c 4d 6f 4e 6b 2d 65 65 BetaWest,MoNk-ee
2205 2c 87 80 06 01 01 01 01 ff 4c ff 02 02 ff ff ff ,........L......
2206 ff ff ff 01 ff 48 48 48 48 ff a6 ff 48 48 ff ff .....HHHH...HH..
2207 ff ff ff ff 0f 88 80 80 80 ff ff ff 00 4d 6f 4e .............MoN
2208 6b 32 6b 00 k2k.
2209
2210 ff 0a 5c 00 47 61 6d 65 6f 66 4c 69 66 65 00 56 ..\.GameofLife.V
2211 44 32 44 42 65 74 61 57 65 73 74 2c 4c 69 66 65 D2DBetaWest,Life
2212 6c 69 6b 65 2c 87 80 01 01 01 01 01 ff ff ff 01 like,...........
2213 01 ff ff ff ff ff ff 03 ff ff ff ff ff ff ff ff ................
2214 ff ff ff ff ff ff ff ff 01 80 80 ff ff ff 80 80 ................
2215 00 47 61 6d 65 6f 66 4c 69 66 65 00 ff 0f 3c 00 .GameofLife...<.
2216 07 00 00 00 21 00 00 00 7d 00 00 00 00 00 00 00 ....!...}.......
2217 d8 94 f6 08 55 9e 77 02 47 61 6d 65 6f 66 4c 69 ....U.w.GameofLi
2218 66 65 00 44 69 61 62 6c 6f 20 49 49 20 42 65 74 fe.Diablo II Bet
2219 61 57 65 73 74 2d 31 00 ff 0f 68 00 01 00 00 00 aWest-1...h.....
2220 00 00 00 00 10 00 00 00 00 00 00 00 d8 94 f6 08 ................
2221 b1 65 77 02 65 76 69 6c 67 72 75 73 73 6c 65 72 .ew.evilgrussler
2222 00 56 44 32 44 42 65 74 61 57 65 73 74 2c 74 61 .VD2DBetaWest,ta
2223 72 61 6e 2c 83 80 ff ff ff ff ff 2f ff ff ff ff ran,......./....
2224 ff ff ff ff ff ff 03 ff ff ff ff ff ff ff ff ff ................
2225 ff ff ff ff ff ff ff 07 80 80 80 80 ff ff ff 00 ................
2226
2227 ff 0a 59 00 47 61 6d 65 6f 66 4c 69 66 65 00 56 ..Y.GameofLife.V
2228 44 32 44 42 65 74 61 57 65 73 74 2c 42 4e 45 54 D2DBetaWest,BNET
2229 44 2c 87 80 01 01 01 01 01 ff ff ff 01 01 ff ff D,..............
2230 ff ff ff ff 02 ff ff ff ff ff ff ff ff ff ff ff ................
2231 ff ff ff ff ff 01 80 80 ff ff ff 80 80 00 47 61 ..............Ga
2232 6d 65 6f 66 4c 69 66 65 00 meofLife.
2233 */
2234 #define SERVER_PLAYERINFOREPLYcxx . . $ `src/common/bnet_protocol.h:2234:9`! 0x0aff
2235 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_93#
2236 {
2237 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_93#h.;
2238 /* player name */
2239 /* status */
2240 /* player name?! (maybe character name?) */
2241 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_playerinforeplycxx . . $ pvpgn/t_server_playerinforeply#;
2242 /*
2243 * status string:
2244 *
2245 * for STAR, SEXP, SSHR < 1.10:
2246 * "%s %u %u %u %u %u"
2247 * client tag (RATS, PXES, RHSS)
2248 * rating
2249 * number (ladder rank)
2250 * stars (normal wins)
2251 * unknown3 (always zero?)
2252 * unknown4 (always zero?) FIXME: I don't see this last one in any dumps...
2253 is this only a SEXP thing?
2254
2255 * for STAR, SEXP, SSHR >= 1.10:
2256 * "%s %u %u %u %u %u %u %u %u %u %s"
2257 * client tag (RATS, PXES, RHSS)
2258 * rating
2259 * number (ladder rank)
2260 * stars (normal wins)
2261 * spawned (1 of spawned, 0 otherwise)
2262 * unknown4 (always zero?)
2263 * highest ladder rating
2264 * unknown6 (always zero?)
2265 * unknown7 (always zero?)
2266 * icon tag (usually client tag)
2267
2268
2269 *
2270 * for DRTL:
2271 * "%s %u %u %u %u %u %u %u %u %u"
2272 * client tag (LTRD)
2273 * level
2274 * class (0==warrior, 1==rogue, 2==sorcerer)
2275 * dots (times killed diablo)
2276 * strength
2277 * magic
2278 * dexterity
2279 * vitality
2280 * gold
2281 * unknown2 (always zero?)
2282
2283 *
2284 * for D2DV:
2285 * "%s%s,%s,"
2286 * client tag (VD2D)
2287 * realm
2288 * character name
2289 * 43 unknown bytes
2290 */
2291 #define PLAYERINFO_DRTL_CLASS_WARRIORcxx . . $ `src/common/bnet_protocol.h:2291:9`! 0
2292 #define PLAYERINFO_DRTL_CLASS_ROGUEcxx . . $ `src/common/bnet_protocol.h:2292:9`! 1
2293 #define PLAYERINFO_DRTL_CLASS_SORCERERcxx . . $ `src/common/bnet_protocol.h:2293:9`! 2
2294 /******************************************************/
2295
2296
2297 /******************************************************/
2298 #define CLIENT_PROGIDENT2cxx . . $ `src/common/bnet_protocol.h:2298:9`! 0x0bff
2299 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_94#
2300 {
2301 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_94#h.;
2302 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_94#clienttag.;
2303 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_progident2cxx . . $ pvpgn/t_client_progident2#;
2304 /******************************************************/
2305
2306
2307 /******************************************************/
2308 #define CLIENT_JOINCHANNELcxx . . $ `src/common/bnet_protocol.h:2308:9`! 0x0cff
2309 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_95#
2310 {
2311 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_95#h.;
2312 bn_intcxx . . $ pvpgn/bn_int# channelflagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_95#channelflag.;
2313 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_joinchannelcxx . . $ pvpgn/t_client_joinchannel#;
2314 #define CLIENT_JOINCHANNEL_NORMALcxx . . $ `src/common/bnet_protocol.h:2314:9`! 0x00000000
2315 #define CLIENT_JOINCHANNEL_GENERICcxx . . $ `src/common/bnet_protocol.h:2315:9`! 0x00000001
2316 #define CLIENT_JOINCHANNEL_CREATEcxx . . $ `src/common/bnet_protocol.h:2316:9`! 0x00000002
2317 /******************************************************/
2318
2319
2320 /******************************************************/
2321 #define SERVER_CHANNELLISTcxx . . $ `src/common/bnet_protocol.h:2321:9`! 0x0bff
2322 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_96#
2323 {
2324 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_96#h.;
2325 /* channel names */
2326 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_channellistcxx . . $ pvpgn/t_server_channellist#;
2327 /******************************************************/
2328
2329
2330 /******************************************************/
2331 /*
2332 We don't use this for now. It makes the client put
2333 the list of IPs/hostnames into the registry.
2334
2335 FF 04 8F 00 00 00 00 00 32 30 39 2E 36 37 2E 31 ........209.67.1
2336 33 36 2E 31 37 34 3B 32 30 37 2E 36 39 2E 31 39 36.174;207.69.19
2337 34 2E 32 31 30 3B 32 30 37 2E 36 39 2E 31 39 34 4.210;207.69.194
2338 2E 31 38 39 3B 32 31 36 2E 33 32 2E 37 33 2E 31 .189;216.32.73.1
2339 37 34 3B 32 30 39 2E 36 37 2E 31 33 36 2E 31 37 74;209.67.136.17
2340 31 3B 32 30 36 2E 37 39 2E 32 35 34 2E 31 39 32 1;206.79.254.192
2341 3B 32 30 37 2E 31 33 38 2E 33 34 2E 33 3B 32 30 ;207.138.34.3;20
2342 39 2E 36 37 2E 31 33 36 2E 31 37 32 3B 65 78 6F 9.67.136.172;exo
2343 64 75 73 2E 62 61 74 74 6C 65 2E 6E 65 74 00 dus.battle.net.
2344 */
2345 #define SERVER_SERVERLISTcxx . . $ `src/common/bnet_protocol.h:2345:9`! 0x04ff
2346 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_97#
2347 {
2348 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_97#h.;
2349 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_97#unknown1.; /* 00 00 00 00 */
2350 /* list */
2351 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_serverlistcxx . . $ pvpgn/t_server_serverlist#;
2352 #define SERVER_SERVERLIST_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:2352:9`! 0x00000000
2353 /******************************************************/
2354
2355
2356 /******************************************************/
2357 /*
2358 FF 0F 30 00 01 00 00 00 00 00 00 00 00 00 00 00 ..0.............
2359 00 00 00 00 00 00 00 00 00 00 00 00 52 6F 73 73 ............Ross
2360 00 52 41 54 53 20 30 20 30 20 30 20 30 20 30 00 .RATS 0 0 0 0 0.
2361
2362 FF 0F 38 00 07 00 00 00 21 00 00 00 64 00 00 00 ..8.....!...d...
2363 00 00 00 00 D8 94 F6 07 B3 2C 6E 02 4D 6F 4E 6B .........,n.MoNk
2364 32 6B 00 44 69 61 62 6C 6F 20 49 49 20 42 65 74 2k.Diablo II Bet
2365 61 57 65 73 74 2D 31 00 aWest-1.
2366
2367 MT_ADD:
2368 0x0000: ff 0a 53 00 4d 6f 4e 6b 32 6b 00 56 44 32 44 42 ..S.MoNk2k.VD2DB
2369 0x0010: 65 74 61 57 65 73 74 2c 4d 6f 4e 6b 2d 65 65 2c etaWest,MoNk-ee,
2370 0x0020: 83 80 06 01 01 01 01 ff 4c ff 02 02 ff ff ff ff ........L.......
2371 0x0030: ff ff 01 ff 48 48 48 48 ff a6 ff 48 48 ff ff ff ....HHHH...HH...
2372 0x0040: ff ff ff 10 80 80 80 80 ff ff ff 00 4d 6f 4e 6b ............MoNk
2373 0x0050: 32 6b 00 ff 0f 38 00 07 00 00 00 21 00 00 00 6d 2k...8.....!...m
2374 0x0060: 00 00 00 00 00 00 00 d8 94 f6 08 a4 46 6e 02 4d ............Fn.M
2375 0x0070: 6f 4e 6b 32 6b 00 44 69 61 62 6c 6f 20 49 49 20 oNk2k.Diablo II
2376 0x0080: 42 65 74 61 57 65 73 74 2d 31 00 ff 0f 62 00 01 BetaWest-1...b..
2377 0x0090: 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 d8 .......(........
2378 0x00a0: 94 f6 07 69 fb 6d 02 4e 6f 72 62 62 6f 00 56 44 ...i.m.Norbbo.VD
2379 0x00b0: 32 44 42 65 74 61 57 65 73 74 2c 44 6f 6f 73 68 2DBetaWest,Doosh
2380 0x00c0: 2c 87 80 05 02 01 01 01 2b ff 1b 02 02 ff ff ff ,.......+.......
2381 0x00d0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ................
2382 0x00e0: ff ff ff ff 0a 80 80 80 80 ff ff ff 00 ff 0f 65 ...............e
2383 0x00f0: 00 01 00 00 00 00 00 00 00 32 00 00 00 00 00 00 .........2......
2384 0x0100: 00 d8 94 f6 07 23 00 6e 02 6e 6a 67 6f 61 6c 69 .....#.n.njgoali
2385 0x0110: 65 00 56 44 32 44 42 65 74 61 57 65 73 74 2c 73 e.VD2DBetaWest,s
2386 0x0120: 68 65 69 6b 61 2c 83 80 05 02 01 02 02 ff 4c ff heika,........L.
2387 0x0130: 02 02 ff ff ff ff ff ff 02 ff ff ff ff ff ff ff ................
2388 0x0140: ff ff ff ff ff ff ff ff ff 09 80 80 80 80 ff ff ................
2389 0x0150: ff 00 ff 0f 67 00 01 00 00 00 00 00 00 00 1f 00 ....g...........
2390 0x0160: 00 00 00 00 00 00 d8 94 f6 09 eb 24 6e 02 72 6f ...........$n.ro
2391 0x0170: 62 6d 6d 73 64 00 56 44 32 44 42 65 74 61 57 65 bmmsd.VD2DBetaWe
2392 0x0180: 73 74 2c 56 61 6e 63 6f 75 76 65 72 2c 83 80 05 st,Vancouver,...
2393 0x0190: 02 02 01 01 30 ff 1b 02 02 ff ff ff ff ff ff 04 ....0...........
2394 0x01a0: 4f ff ff ff ff ff ff a9 ff ff ff ff ff ff ff ff O...............
2395 0x01b0: 09 80 80 80 80 ff ff ff 00 ff 0f 62 00 01 00 00 ...........b....
2396 0x01c0: 00 00 00 00 00 6e 00 00 00 00 00 00 00 ce 4f fe .....n........O.
2397 0x01d0: c0 f9 02 15 01 4c 79 63 74 68 69 73 00 56 44 32 .....Lycthis.VD2
2398 0x01e0: 44 42 65 74 61 57 65 73 74 2c 45 6c 6c 65 2c 83 DBetaWest,Elle,.
2399 0x01f0: 80 04 02 01 01 01 ff 4d ff 02 02 ff ff ff ff ff .......M........
2400 0x0200: ff 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
2401 0x0210: ff ff 06 80 80 80 80 ff ff ff 00 ff 0f 6b 00 01 .............k..
2402 0x0220: 00 00 00 00 00 00 00 19 01 00 00 00 00 00 00 ce ................
2403 0x0230: 4f fe c1 e2 1b 9c 00 52 6f 62 4d 69 74 63 68 65 O......RobMitche
2404 0x0240: 6c 6c 00 56 44 32 44 42 65 74 61 57 65 73 74 2c ll.VD2DBetaWest,
2405 0x0250: 53 6f 6f 6e 65 72 64 65 64 2c 83 80 06 02 02 01 Soonerded,......
2406 0x0260: 01 46 46 ff 02 02 ff ff ff ff ff ff 05 ff ff ff .FF.............
2407 0x0270: ff ff ff 29 ff ff ff ff ff ff ff ff ff 11 80 82 ...)............
2408 0x0280: 80 80 ff ff ff 00 ff 0f 66 00 01 00 00 00 00 00 ........f.......
2409 0x0290: 00 00 bc 00 00 00 00 00 00 00 d8 94 f6 09 8f 3f ...............?
2410 0x02a0: 6e 02 4d 61 72 6c 6f 63 6b 31 00 56 44 32 44 42 n.Marlock1.VD2DB
2411 0x02b0: 65 74 61 57 65 73 74 2c 6d 61 72 6c 6f 63 6b 2c etaWest,marlock,
2412 0x02c0: 83 80 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
2413 0x02d0: ff ff 05 ff ff ff ff ff ff ff ff ff ff ff ff ff ................
2414 0x02e0: ff ff ff 01 80 80 80 80 ff ff ff 00 ff 0f 63 00 ..............c.
2415 0x02f0: 01 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 ................
2416 0x0300: d1 43 88 aa bd ce 3c 00 42 2d 57 61 74 74 7a 00 .C....<.B-Wattz.
2417
2418 From bnetd-0.4.23pre18 to Diablo II 1.03
2419 FF 0F 69 00 09 00 00 00 00 00 00 00 12 00 [email protected]... ........
2420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 6C ........ ......El
2421 66 6C 6F 72 64 00 56 44 32 44 51 61 72 61 74 68 flord.VD 2DQarath
2422 52 65 61 6C 6D 2C 46 61 6B 65 43 68 61 72 2C 83 Realm,Fa keChar,.
2423 80 FF FF FF FF FF 2F FF FF FF FF FF FF FF FF FF ....../. ........
2424 FF 03 FF FF FF FF FF FF FF FF FF FF FF FF FF FF ........ ........
2425 FF FF 07 80 80 80 80 FF FF FF 00 ........ ...
2426 */
2427 #define SERVER_MESSAGEcxx . . $ `src/common/bnet_protocol.h:2427:9`! 0x0fff
2428 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#
2429 {
2430 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#h.;
2431 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#type.;
2432 bn_intcxx . . $ pvpgn/bn_int# flagscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#flags.; /* player flags (or channel flags for MT_CHANNEL) */
2433 bn_intcxx . . $ pvpgn/bn_int# latencycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#latency.;
2434 bn_intcxx . . $ pvpgn/bn_int# player_ipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#player_ip.; /* always zero? */
2435 bn_intcxx . . $ pvpgn/bn_int# account_numcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#account_num.; /* player's IP (big endian), no longer used, always 0D F0 AD BA */
2436 bn_intcxx . . $ pvpgn/bn_int# reg_authcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_98#reg_auth.; /* server ip and/or reg auth? CD key and/or account number? */
2437 /* player name */
2438 /* text */
2439 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_messagecxx . . $ pvpgn/t_server_message#;
2440 #define SERVER_MESSAGE_PLAYER_IP_DUMMYcxx . . $ `src/common/bnet_protocol.h:2440:9`! 0x00000000
2441 /* nok */
2442 #define SERVER_MESSAGE_REG_AUTHcxx . . $ `src/common/bnet_protocol.h:2442:9`! 0xBAADF00D /* 0D F0 AD BA */
2443 /* #define SERVER_MESSAGE_REG_AUTH 0x07f694d8 */
2444 #define SERVER_MESSAGE_ACCOUNT_NUMcxx . . $ `src/common/bnet_protocol.h:2444:9`! 0x0df0adba
2445 /* For MT_ADD, MT_JOIN, the text portion looks like:
2446 *
2447 * for STAR, SEXP, SSHR:
2448 * "%4c %u %u %u %u %u"
2449 * client tag (RATS, PXES, RHSS)
2450 * rating
2451 * number (ladder rank)
2452 * stars (normal wins)
2453 * unknown3 (always zero?)
2454 * unknown4 (always zero?)
2455 *
2456 * for DRTL:
2457 * "%4c %u %u %u %u %u %u %u %u %u"
2458 * client tag (LTRD) FIXME: RHSD?
2459 * level
2460 * class (0==warrior, 1==rogue, 2==sorcerer)
2461 * dots (times killed diablo)
2462 * strength
2463 * magic
2464 * dexterity
2465 * vitality
2466 * gold
2467 * unknown2 (always zero?)
2468 *
2469 * for CHAT:
2470 * FIXME: ??? "%4c"
2471 * client tag (TAHC)
2472 *
2473 * FIXME: Warcraft II?
2474 *
2475 * for D2DV:
2476 * open:
2477 * "%4c"
2478 * client tag (VD2D)
2479 * closed:
2480 * "%4c%s,%s,%s"
2481 * client tag (VD2D)
2482 * realm name
2483 * character name
2484 * character info
2485 */
2486 #define SERVER_MESSAGE_TYPE_ADDUSERcxx . . $ `src/common/bnet_protocol.h:2486:9`! 0x00000001 /* ADD,USER,SHOWUSER */
2487 #define SERVER_MESSAGE_TYPE_JOINcxx . . $ `src/common/bnet_protocol.h:2487:9`! 0x00000002
2488 #define SERVER_MESSAGE_TYPE_PARTcxx . . $ `src/common/bnet_protocol.h:2488:9`! 0x00000003 /* LEAVE */
2489 #define SERVER_MESSAGE_TYPE_WHISPERcxx . . $ `src/common/bnet_protocol.h:2489:9`! 0x00000004
2490 #define SERVER_MESSAGE_TYPE_TALKcxx . . $ `src/common/bnet_protocol.h:2490:9`! 0x00000005 /* MESSAGE */
2491 #define SERVER_MESSAGE_TYPE_BROADCASTcxx . . $ `src/common/bnet_protocol.h:2491:9`! 0x00000006
2492 #define SERVER_MESSAGE_TYPE_CHANNELcxx . . $ `src/common/bnet_protocol.h:2492:9`! 0x00000007 /* JOINING */
2493 /* unused? 0x00000008 */
2494 #define SERVER_MESSAGE_TYPE_USERFLAGScxx . . $ `src/common/bnet_protocol.h:2494:9`! 0x00000009
2495 #define SERVER_MESSAGE_TYPE_WHISPERACKcxx . . $ `src/common/bnet_protocol.h:2495:9`! 0x0000000a /* WHISPERSENT */
2496 /* unused? 0x0000000b */
2497 /* unused? 0x0000000c */
2498 #define SERVER_MESSAGE_TYPE_CHANNELFULLcxx . . $ `src/common/bnet_protocol.h:2498:9`! 0x0000000d
2499 #define SERVER_MESSAGE_TYPE_CHANNELDOESNOTEXISTcxx . . $ `src/common/bnet_protocol.h:2499:9`! 0x0000000e
2500 #define SERVER_MESSAGE_TYPE_CHANNELRESTRICTEDcxx . . $ `src/common/bnet_protocol.h:2500:9`! 0x0000000f
2501 /* unused? 0x00000010 */
2502 /* unused? 0x00000011 */
2503 #define SERVER_MESSAGE_TYPE_INFOcxx . . $ `src/common/bnet_protocol.h:2503:9`! 0x00000012
2504 #define SERVER_MESSAGE_TYPE_ERRORcxx . . $ `src/common/bnet_protocol.h:2504:9`! 0x00000013
2505 /* unused? 0x00000014 */
2506 /* unused? 0x00000015 */
2507 /* unused? 0x00000016 */
2508 #define SERVER_MESSAGE_TYPE_EMOTEcxx . . $ `src/common/bnet_protocol.h:2508:9`! 0x00000017
2509
2510 /****** Player Flags ******/
2511 /* flag bits for above struct */
2512
2513 /* ADDED BY UNDYING SOULZZ 4/7/02 */
2514 #define W3_ICON_SETcxx . . $ `src/common/bnet_protocol.h:2514:9`! 0x00000000
2515 #define MAX_STR_RACELENcxx . . $ `src/common/bnet_protocol.h:2515:9`! 20
2516 #define MAX_STR_ACCTPASSLENcxx . . $ `src/common/bnet_protocol.h:2516:9`! 10
2517 #define W3_RACE_RANDOMcxx . . $ `src/common/bnet_protocol.h:2517:9`! 32
2518 #define W3_RACE_HUMANScxx . . $ `src/common/bnet_protocol.h:2518:9`! 1
2519 #define W3_RACE_ORCScxx . . $ `src/common/bnet_protocol.h:2519:9`! 2
2520 #define W3_RACE_UNDEADcxx . . $ `src/common/bnet_protocol.h:2520:9`! 8
2521 #define W3_RACE_NIGHTELVEScxx . . $ `src/common/bnet_protocol.h:2521:9`! 4
2522 #define W3_RACE_DEMONScxx . . $ `src/common/bnet_protocol.h:2522:9`! 16
2523
2524 #define W3_ICON_RANDOMcxx . . $ `src/common/bnet_protocol.h:2524:9`! 0 /* - Although when client presses random in PG and it sends "32" its "0" for icon */
2525 #define W3_ICON_HUMANScxx . . $ `src/common/bnet_protocol.h:2525:9`! 1
2526 #define W3_ICON_ORCScxx . . $ `src/common/bnet_protocol.h:2526:9`! 2
2527 #define W3_ICON_UNDEADcxx . . $ `src/common/bnet_protocol.h:2527:9`! 3 /* - Although when client presses undead in PG and it sends "8" its "3" for icon */
2528 #define W3_ICON_NIGHTELVEScxx . . $ `src/common/bnet_protocol.h:2528:9`! 4
2529 #define W3_ICON_DEMONScxx . . $ `src/common/bnet_protocol.h:2529:9`! 5
2530
2531 /* Icon setup 3RAW then <accounts level> <Race> <race wins> */
2532 /* Races: 1 = human, 2 = orc, 8 = undead, 4 = nightelf 32 = random */
2533 /* Misc icons are 6-9 * - There might be some icons not defined*/
2534 /* If you find them let us know pse, forums.cheatlist.com in War3 Hacking/Development */
2535
2536 /*Human Icons*/
2537 #define W3_ICON_HUMAN_FOOTMANcxx . . $ `src/common/bnet_protocol.h:2537:9`! "3RAW 1 1 11"
2538 #define W3_ICON_HUMAN_KNIGHTcxx . . $ `src/common/bnet_protocol.h:2538:9`! "3RAW 1 1 100"
2539 #define W3_ICON_HUMAN_ARCHMAGEcxx . . $ `src/common/bnet_protocol.h:2539:9`! "3RAW 1 1 250"
2540 #define W3_ICON_HUMAN_HEROcxx . . $ `src/common/bnet_protocol.h:2540:9`! "3RAW 1 1 1000"
2541
2542 /*Orc Icons*/
2543 #define W3_ICON_ORC_PEONcxx . . $ `src/common/bnet_protocol.h:2543:9`! "3RAW 1 2 00" /* default icon , unless u change it in code*/
2544 #define W3_ICON_ORC_GRUNTcxx . . $ `src/common/bnet_protocol.h:2544:9`! "3RAW 1 2 10"
2545 #define W3_ICON_ORC_TAURENcxx . . $ `src/common/bnet_protocol.h:2545:9`! "3RAW 1 2 100"
2546 #define W3_ICON_ORC_FARSEERcxx . . $ `src/common/bnet_protocol.h:2546:9`! "3RAW 1 2 250"
2547 #define W3_ICON_ORC_HEROcxx . . $ `src/common/bnet_protocol.h:2547:9`! "3RAW 1 2 1000"
2548
2549 /*Undead Icons*/
2550 #define W3_ICON_UNDEAD_GHOULcxx . . $ `src/common/bnet_protocol.h:2550:9`! "3RAW 1 3 10"
2551 #define W3_ICON_UNDEAD_ABOMcxx . . $ `src/common/bnet_protocol.h:2551:9`! "3RAW 1 3 100"
2552 #define W3_ICON_UNDEAD_LICHcxx . . $ `src/common/bnet_protocol.h:2552:9`! "3RAW 1 3 250"
2553 #define W3_ICON_UNDEAD_HEROcxx . . $ `src/common/bnet_protocol.h:2553:9`! "3RAW 1 3 1000"
2554
2555 /*Night Elf Icons*/
2556 #define W3_ICON_ELF_ARCHERcxx . . $ `src/common/bnet_protocol.h:2556:9`! "3RAW 1 4 10"
2557 #define W3_ICON_ELF_DRUIDCLAWcxx . . $ `src/common/bnet_protocol.h:2557:9`! "3RAW 1 4 100"
2558 #define W3_ICON_ELF_PRIESMOONcxx . . $ `src/common/bnet_protocol.h:2558:9`! "3RAW 1 4 250"
2559 #define W3_ICON_ELF_HEROcxx . . $ `src/common/bnet_protocol.h:2559:9`! "3RAW 1 4 1000"
2560
2561 /*Random Icons , like NPC's, Creeps*/
2562 #define W3_ICON_RANDOM_GREENDRAGONcxx . . $ `src/common/bnet_protocol.h:2562:9`! "3RAW 1 9 10"
2563 #define W3_ICON_RANDOM_BLACKDRAGONcxx . . $ `src/common/bnet_protocol.h:2563:9`! "3RAW 1 9 100"
2564 #define W3_ICON_RANDOM_REDDRAGONcxx . . $ `src/common/bnet_protocol.h:2564:9`! "3RAW 1 9 250"
2565 #define W3_ICON_RANDOM_BLUEDRAGONcxx . . $ `src/common/bnet_protocol.h:2565:9`! "3RAW 1 9 1000"
2566
2567 /* End of Undying Edits */
2568
2569 /* Blizzard Entertainment employee */
2570 #define MF_BLIZZARDcxx . . $ `src/common/bnet_protocol.h:2570:9`! 0x00000001 /* blue Blizzard logo */
2571 /* Channel operator */
2572 #define MF_GAVELcxx . . $ `src/common/bnet_protocol.h:2572:9`! 0x00000002 /* gavel */
2573 /* Speaker in moderated channel */
2574 #define MF_VOICEcxx . . $ `src/common/bnet_protocol.h:2574:9`! 0x00000004 /* megaphone */
2575 /* System operator */
2576 #define MF_BNETcxx . . $ `src/common/bnet_protocol.h:2576:9`! 0x00000008 /* (old: blue Blizzard, new: green b.net) or red BNETD logo */
2577 /* Chat bot or other user without UDP support */
2578 #define MF_PLUGcxx . . $ `src/common/bnet_protocol.h:2578:9`! 0x00000010 /* tiny plug to right of icon, no UDP */
2579 /* Squelched/Ignored user */
2580 #define MF_Xcxx . . $ `src/common/bnet_protocol.h:2580:9`! 0x00000020 /* big red X */
2581 /* Special guest of Blizzard Entertainment */
2582 #define MF_SHADEScxx . . $ `src/common/bnet_protocol.h:2582:9`! 0x00000040 /* sunglasses */
2583 /* unused 0x00000080 */
2584 /* Use BEL character in error codes. Some bots use it as a flag. Battle.net */
2585 /* stopped supporting it recently. */
2586 #define MF_BEEPcxx . . $ `src/common/bnet_protocol.h:2586:9`! 0x00000100 /* no change in icon */
2587 /* Registered Professional Gamers League player */
2588 #define MF_PGLPLAYcxx . . $ `src/common/bnet_protocol.h:2588:9`! 0x00000200 /* PGL player logo */
2589 /* Registered Professional Gamers League official */
2590 #define MF_PGLOFFLcxx . . $ `src/common/bnet_protocol.h:2590:9`! 0x00000400 /* PGL official logo */
2591 /* Registered KBK player */
2592 #define MF_KBKPLAYcxx . . $ `src/common/bnet_protocol.h:2592:9`! 0x00000800 /* KBK player logo */
2593 /* Official KBK Referee */
2594 #define MF_KBKREFcxx . . $ `src/common/bnet_protocol.h:2594:9`! 0x00001000 /* KBK referee logo */ /* FIXME: this number may be wrong */
2595 /* unused... FIXME: how many bits work? 16 or 32? */
2596
2597 /****** Channel Flags ******/
2598 /* flag bits for MT_CHANNEL message */
2599 #define CF_PUBLICcxx . . $ `src/common/bnet_protocol.h:2599:9`! 0x00000001 /* public channel */
2600 #define CF_MODERATEDcxx . . $ `src/common/bnet_protocol.h:2600:9`! 0x00000002 /* moderated channel */
2601 #define CF_RESTRICTEDcxx . . $ `src/common/bnet_protocol.h:2601:9`! 0x00000004 /* ? restricted channel ? */
2602 #define CF_THEVOIDcxx . . $ `src/common/bnet_protocol.h:2602:9`! 0x00000008 /* "The Void" */
2603 #define CF_SYSTEMcxx . . $ `src/common/bnet_protocol.h:2603:9`! 0x00000020 /* system channel */
2604 #define CF_OFFICIALcxx . . $ `src/common/bnet_protocol.h:2604:9`! 0x00001000 /* official channel */
2605 /*
2606 * Examples:
2607 * 0x00001003 Blizzard Tech Support
2608 * 0x00001001 Open Tech Support
2609 * 0x00000021 Diablo II USA-1 or War2BNE USA-1
2610 * 0x0000000D warez
2611 * 0x00000009 The Void
2612 * 0x00000001 War2 Ladder Challenges or Diablo II PvP
2613 * 0x00000000 clan randomchannel
2614 * 0x00000000 randomchannel
2615 */
2616 /******************************************************/
2617
2618
2619 /******************************************************/
2620 #define CLIENT_MESSAGEcxx . . $ `src/common/bnet_protocol.h:2620:9`! 0x0eff
2621 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_99#
2622 {
2623 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_99#h.;
2624 /* text */
2625 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_messagecxx . . $ pvpgn/t_client_message#;
2626 /******************************************************/
2627
2628
2629 /******************************************************/
2630 /*
2631 FF 09 17 00 03 00 00 00 FF FF 00 00 00 00 00 00 ................
2632 19 00 00 00 00 00 00 .......
2633
2634 FF 09 24 00 00 00 00 00 00 00 00 00 00 00 00 00 ..$.............
2635 01 00 00 00 4C 61 64 64 65 72 20 31 20 6F 6E 20 ....Ladder 1 on
2636 31 00 00 00 1...
2637 */
2638 #define CLIENT_GAMELISTREQcxx . . $ `src/common/bnet_protocol.h:2638:9`! 0x09ff
2639 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#
2640 {
2641 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#h.;
2642 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#gametype.;
2643 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#unknown1.;
2644 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#unknown2.;
2645 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#unknown3.;
2646 bn_intcxx . . $ pvpgn/bn_int# maxgamescxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_100#maxgames.;
2647 /* game name */
2648 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_gamelistreqcxx . . $ pvpgn/t_client_gamelistreq#;
2649 #define CLIENT_GAMELISTREQ_ALLcxx . . $ `src/common/bnet_protocol.h:2649:9`! 0x0000
2650 #define CLIENT_GAMELISTREQ_MELEEcxx . . $ `src/common/bnet_protocol.h:2650:9`! 0x0002
2651 #define CLIENT_GAMELISTREQ_FFAcxx . . $ `src/common/bnet_protocol.h:2651:9`! 0x0003
2652 #define CLIENT_GAMELISTREQ_ONEONONEcxx . . $ `src/common/bnet_protocol.h:2652:9`! 0x0004
2653 #define CLIENT_GAMELISTREQ_CTFcxx . . $ `src/common/bnet_protocol.h:2653:9`! 0x0005
2654 #define CLIENT_GAMELISTREQ_GREEDcxx . . $ `src/common/bnet_protocol.h:2654:9`! 0x0006
2655 #define CLIENT_GAMELISTREQ_SLAUGHTERcxx . . $ `src/common/bnet_protocol.h:2655:9`! 0x0007
2656 #define CLIENT_GAMELISTREQ_SDEATHcxx . . $ `src/common/bnet_protocol.h:2656:9`! 0x0008
2657 #define CLIENT_GAMELISTREQ_LADDERcxx . . $ `src/common/bnet_protocol.h:2657:9`! 0x0009
2658 #define CLIENT_GAMELISTREQ_IRONMANcxx . . $ `src/common/bnet_protocol.h:2658:9`! 0x0010
2659 #define CLIENT_GAMELISTREQ_MAPSETcxx . . $ `src/common/bnet_protocol.h:2659:9`! 0x000a
2660 #define CLIENT_GAMELISTREQ_TEAMMELEEcxx . . $ `src/common/bnet_protocol.h:2660:9`! 0x000b
2661 #define CLIENT_GAMELISTREQ_TEAMFFAcxx . . $ `src/common/bnet_protocol.h:2661:9`! 0x000c
2662 #define CLIENT_GAMELISTREQ_TEAMCTFcxx . . $ `src/common/bnet_protocol.h:2662:9`! 0x000d
2663 #define CLIENT_GAMELISTREQ_PGLcxx . . $ `src/common/bnet_protocol.h:2663:9`! 0x000e
2664 #define CLIENT_GAMELISTREQ_TOPVBOTcxx . . $ `src/common/bnet_protocol.h:2664:9`! 0x000f
2665 #define CLIENT_GAMELISTREQ_DIABLOcxx . . $ `src/common/bnet_protocol.h:2665:9`! 0x0409 /* FIXME: this should be the langid */
2666 #define CLIENT_GAMELISTREQ_LOADEDcxx . . $ `src/common/bnet_protocol.h:2666:9`! 0x0a00
2667 /* FIXME: Diablo reports differently than it is listed in GAMELIST */
2668 #define CLIENT_GAMETYPE_DIABLO_0cxx . . $ `src/common/bnet_protocol.h:2668:9`! 0x00000000 /* Level 1 Char */
2669 #define CLIENT_GAMETYPE_DIABLO_1cxx . . $ `src/common/bnet_protocol.h:2669:9`! 0x00000001 /* Level 2 Char */
2670 #define CLIENT_GAMETYPE_DIABLO_2cxx . . $ `src/common/bnet_protocol.h:2670:9`! 0x00000002 /* Level ? Char */
2671 #define CLIENT_GAMETYPE_DIABLO_3cxx . . $ `src/common/bnet_protocol.h:2671:9`! 0x00000003 /* Level 4 Char */
2672 #define CLIENT_GAMETYPE_DIABLO_4cxx . . $ `src/common/bnet_protocol.h:2672:9`! 0x00000004 /* Level ? Char */
2673 #define CLIENT_GAMETYPE_DIABLO_5cxx . . $ `src/common/bnet_protocol.h:2673:9`! 0x00000005 /* Level ? Char */
2674 #define CLIENT_GAMETYPE_DIABLO_6cxx . . $ `src/common/bnet_protocol.h:2674:9`! 0x00000006 /* Level ? Char */
2675 #define CLIENT_GAMETYPE_DIABLO_7cxx . . $ `src/common/bnet_protocol.h:2675:9`! 0x00000007 /* Level ? Char */
2676 #define CLIENT_GAMETYPE_DIABLO_8cxx . . $ `src/common/bnet_protocol.h:2676:9`! 0x00000008 /* Level 20-24 Char */
2677 #define CLIENT_GAMETYPE_DIABLO_9cxx . . $ `src/common/bnet_protocol.h:2677:9`! 0x00000009 /* Level 25-? Char */
2678 #define CLIENT_GAMETYPE_DIABLO_acxx . . $ `src/common/bnet_protocol.h:2678:9`! 0x0000000a /* Level ? Char */
2679 #define CLIENT_GAMETYPE_DIABLO_bcxx . . $ `src/common/bnet_protocol.h:2679:9`! 0x0000000b /* Level ? Char */
2680 #define CLIENT_GAMETYPE_DIABLO_ccxx . . $ `src/common/bnet_protocol.h:2680:9`! 0x0000000c /* Level ? Char */
2681 #define CLIENT_GAMETYPE_DIABLO_dcxx . . $ `src/common/bnet_protocol.h:2681:9`! 0x0000000d /* Level ? Char */
2682 /* list might continue - what is maximum diablo level ? */
2683 /* FIXME: Not sure how Diablo II does things yet */
2684 #define CLIENT_GAMETYPE_DIABLO2_CLOSEcxx . . $ `src/common/bnet_protocol.h:2684:9`! 0x00000000 /* close game */
2685 #define CLIENT_GAMETYPE_DIABLO2_OPEN_NORMALcxx . . $ `src/common/bnet_protocol.h:2685:9`! 0X00000008 /* open, normal difficulty */
2686 #define CLIENT_GAMETYPE_DIABLO2_OPEN_NIGHTMAREcxx . . $ `src/common/bnet_protocol.h:2686:9`! 0X00000009 /* open, nightmare difficulty */
2687 #define CLIENT_GAMETYPE_DIABLO2_OPEN_HELLcxx . . $ `src/common/bnet_protocol.h:2687:9`! 0X0000000a /* open, hell difficulty */
2688 #define CLIENT_GAMETYPE_DIABLO2_OPEN_HARDCORE_NORMALcxx . . $ `src/common/bnet_protocol.h:2688:9`! 0X0000000c /* open, hardcore, normal difficulty */
2689 #define CLIENT_GAMETYPE_DIABLO2_OPEN_HARDCORE_NIGHTMAREcxx . . $ `src/common/bnet_protocol.h:2689:9`! 0X0000000d /* open, hardcore, nightmare difficulty */
2690 #define CLIENT_GAMETYPE_DIABLO2_OPEN_HARDCORE_HELLcxx . . $ `src/common/bnet_protocol.h:2690:9`! 0X0000000e /* open, hardcore, hell difficulty */
2691
2692 /******************************************************/
2693
2694
2695 /******************************************************/
2696 /*
2697 FF 09 35 00 01 00 00 00 00 00 00 00 03 00 01 00 ..5.............
2698 00 00 00 00 02 00 17 E0 80 7B 4F 0D 00 00 00 00 .........{O.....
2699 00 00 00 00 04 00 00 00 64 00 00 00 4D 79 47 61 ........d...MyGa
2700 6D 65 00 00 00 me...
2701
2702 FF 09 5B 00 01 00 00 00 00 00 00 00 03 00 01 00 ..[.............
2703 02 00 17 E0 80 7B 4F 0D 00 00 00 00 00 00 00 00 .....{O.........
2704 04 00 00 00 2B 00 00 00 47 61 6D 65 00 50 61 73 ....+...Game.Pas
2705 73 00 2C 33 34 2C 31 32 2C 35 2C 31 2C 33 2C 31 s.,34,12,5,1,3,1
2706 2C 63 63 63 33 36 34 30 36 2C 2C 42 6F 62 0D 43 ,ccc36406,,Bob.C
2707 68 61 6C 6C 65 6E 67 65 72 0D 00 hallenger..
2708
2709 FF 09 D4 03 0A 00 00 00 0C 00 00 00 09 04 00 00 ................
2710 02 00 17 E0 CD E8 B5 E1 00 00 00 00 00 00 00 00 ................
2711 00 00 00 00 3C 00 00 00 4A 65 73 73 65 27 73 20 ....<...Jesse's
2712 57 6F 72 6C 64 00 00 32 0D 4C 69 7A 7A 69 65 2E World..2.Lizzie.
2713 42 6F 72 64 65 6E 0D 4C 54 52 44 20 34 30 20 31 Borden.LTRD 40 1
2714 20 33 20 31 32 31 20 31 32 36 20 33 30 36 20 31 3 121 126 306 1
2715 33 36 20 35 34 37 30 32 20 30 00 ...
2716
2717 FF 09 70 00 01 00 00 00 0F 00 04 00 09 04 00 00 ..p.............
2718 02 00 17 E0 C6 0B 13 3C 00 00 00 00 00 00 00 00 .......<........
2719 04 00 00 00 C5 00 00 00 4C 61 64 64 65 72 20 31 ........Ladder 1
2720 20 6F 6E 20 31 00 00 2C 2C 2C 36 2C 32 2C 66 2C on 1..,,,6,2,f,
2721 34 2C 66 63 63 35 38 65 34 61 2C 37 32 30 30 2C 4,fcc58e4a,7200,
2722 49 63 65 36 39 62 75 72 67 0D 46 6F 72 65 73 74 Ice69burg.Forest
2723 20 54 72 61 69 6C 20 42 4E 45 2E 70 75 64 0D 00 Trail BNE.pud..
2724
2725 # war3
2726 # 66 packet from server: type=0x09ff(SERVER_GAMELISTREPLY) length=131 class=bnet
2727 0000: FF 09 83 00 01 00 00 00 01 00 00 00 09 04 00 00 ................
2728 0010: 02 00 17 E0 18 CF BF 9B 00 00 00 00 00 00 00 00 ................
2729 0020: 10 00 00 00 0F 00 00 00 33 20 6F 6E 20 33 20 64 ........3 on 3 d
2730 0030: 61 72 6B 20 66 6F 72 65 73 74 00 00 35 31 30 30 ark forest..5100
2731 0040: 30 30 30 30 30 01 03 01 01 81 01 81 01 73 27 25 00000........s'%
2732 0050: 15 29 4D 61 71 53 73 5D 63 65 75 61 5D A9 29 37 .)MaqSs]ceua].)7
2733 0060: 29 45 61 73 6B 69 21 47 6F 73 65 73 75 DD 2F 77 )Easki!Gosesu./w
2734 0070: 33 6D 01 4B 61 D7 69 73 69 69 6F 5B 53 07 4B 5D 3m.Ka.isiio[S.K]
2735 0080: 01 01 00 ...
2736
2737 [23:32] <@nok-> 0000: FF 09 E9 01 04 00 00 00 01 00 00 00 09 04 00 00 ................
2738 [23:32] <@nok-> 0010: 02 00 17 E0 40 69 1B 07 00 00 00 00 00 00 00 00 ....@i..........
2739
2740 0000: FF 09 7A 01 03 00 00 00 01 00 00 00 09 04 00 00 ..z.............
2741 0010: 02 00 17 E0 18 2C 7E 7B 00 00 00 00 00 00 00 00 .....,~{........
2742 0020: 10 00 00 00 09 00 00 00 34 20 6F 6E 20 34 20 4D ........4 on 4 M
2743 0030: 69 73 74 00 00 37 31 30 30 30 30 30 30 30 01 03 ist..710000000..
2744 0040: 01 01 89 01 89 01 75 4D 7B 27 A1 4D 61 71 53 73 ......uM{'.MaqSs
2745 0050: 5D 63 65 75 61 5D B9 29 39 29 47 6F 6D 65 17 6D ]ceua].)9)Gome.m
2746 0060: 73 21 69 6F 21 75 75 69 65 21 4D 69 73 75 1D 2F s!io!uuie!Misu./
2747 0070: 77 33 6D 01 51 73 BB 69 6F 63 65 2D 4D 75 17 63 w3m.Qs.ioce-Mu.c
2748 0080: 69 67 65 73 01 01 00 01 00 00 00 09 04 00 00 02 iges............
2749
2750 */
2751 #define SERVER_GAMELISTREPLYcxx . . $ `src/common/bnet_protocol.h:2751:9`! 0x09ff
2752 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_101#
2753 {
2754 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_101#h.;
2755 bn_intcxx . . $ pvpgn/bn_int# gamecountcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_101#gamecount.;
2756 bn_intcxx . . $ pvpgn/bn_int# sstatuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_101#sstatus.; /* when reply with error to specific game */
2757 /* games */
2758 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_gamelistreplycxx . . $ pvpgn/t_server_gamelistreply#;
2759
2760 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_NOTFOUNDcxx . . $ `src/common/bnet_protocol.h:2760:9`! 0x0 /* but also any other value diff from the ones bellow */
2761 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_PASScxx . . $ `src/common/bnet_protocol.h:2761:9`! 0x2 /* password incorrect */
2762 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_FULLcxx . . $ `src/common/bnet_protocol.h:2762:9`! 0x3 /* game full */
2763 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_STARTEDcxx . . $ `src/common/bnet_protocol.h:2763:9`! 0x4 /* game started */
2764 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_NOSPAWNCDKEYcxx . . $ `src/common/bnet_protocol.h:2764:9`! 0x5 /* trying to use a spawn install join invalid cdkey creator game */
2765 #define SERVER_GAMELISTREPLY_GAME_SSTATUS_LOADEDcxx . . $ `src/common/bnet_protocol.h:2765:9`! 0x0a00 /* Loaded game */
2766
2767 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#
2768 {
2769 /* if yak doesn't like this... then the client doesn't also =) (bbf)
2770 bn_int unknown7; */
2771 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#gametype.;
2772 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#unknown1.; /* langid under Diablo... */
2773 bn_shortcxx . . $ pvpgn/bn_short# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#unknown3.;
2774 /* bn_int deleted; */ /* they changed the structure at one point */
2775 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#port.; /* big endian byte order... at least they are consistent! */
2776 bn_intcxx . . $ pvpgn/bn_int# game_ipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#game_ip.; /* big endian byte order */
2777 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#unknown4.;
2778 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#unknown5.; /* FIXME: got to figure out where latency is */
2779 bn_intcxx . . $ pvpgn/bn_int# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#status.;
2780 bn_intcxx . . $ pvpgn/bn_int# unknown6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_102#unknown6.;
2781 /* game name */
2782 /* clear password */
2783 /* info */
2784 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_gamelistreply_gamecxx . . $ pvpgn/t_server_gamelistreply_game#;
2785 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN7cxx . . $ `src/common/bnet_protocol.h:2785:9`! 0x00000000 //0x00000409 // 0x0000000c
2786 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:2786:9`! 0x0001 //0x0000 //0x0001 // 0x0000
2787 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:2787:9`! 0x0002
2788 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN4cxx . . $ `src/common/bnet_protocol.h:2788:9`! 0x00000000
2789 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN5cxx . . $ `src/common/bnet_protocol.h:2789:9`! 0x00000000
2790 #define SERVER_GAMELISTREPLY_GAME_STATUS_OPENcxx . . $ `src/common/bnet_protocol.h:2790:9`! 0x00000004
2791 #define SERVER_GAMELISTREPLY_GAME_STATUS_FULLcxx . . $ `src/common/bnet_protocol.h:2791:9`! 0x00000006
2792 #define SERVER_GAMELISTREPLY_GAME_STATUS_STARTEDcxx . . $ `src/common/bnet_protocol.h:2792:9`! 0x0000000e
2793 #define SERVER_GAMELISTREPLY_GAME_STATUS_DONEcxx . . $ `src/common/bnet_protocol.h:2793:9`! 0x0000000c
2794 #define SERVER_GAMELISTREPLY_GAME_UNKNOWN6cxx . . $ `src/common/bnet_protocol.h:2794:9`! 0x0000002b /* latency? */
2795
2796 #define SERVER_GAMELISTREPLY_TYPE_DIABLO2_OPENcxx . . $ `src/common/bnet_protocol.h:2796:9`! 0x0704 /* open game */
2797 /******************************************************/
2798
2799
2800 /******************************************************/
2801 #define CLIENT_STARTGAME1cxx . . $ `src/common/bnet_protocol.h:2801:9`! 0x08ff /* original starcraft or shareware (1.01) */
2802 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#
2803 {
2804 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#h.;
2805 bn_intcxx . . $ pvpgn/bn_int# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#status.;
2806 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#unknown3.;
2807 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#gametype.;
2808 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#unknown1.;
2809 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#unknown4.;
2810 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_103#unknown5.;
2811 /* game name */
2812 /* game password */
2813 /* game info */
2814 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_startgame1cxx . . $ pvpgn/t_client_startgame1#;
2815 /* I have also seen 1,5,7,f */
2816 #define CLIENT_STARTGAME1_STATUSMASKcxx . . $ `src/common/bnet_protocol.h:2816:9`! 0x0000000f
2817 #define CLIENT_STARTGAME1_STATUS_OPENcxx . . $ `src/common/bnet_protocol.h:2817:9`! 0x00000004
2818 #define CLIENT_STARTGAME1_STATUS_FULLcxx . . $ `src/common/bnet_protocol.h:2818:9`! 0x00000006
2819 #define CLIENT_STARTGAME1_STATUS_STARTEDcxx . . $ `src/common/bnet_protocol.h:2819:9`! 0x0000000e
2820 #define CLIENT_STARTGAME1_STATUS_DONEcxx . . $ `src/common/bnet_protocol.h:2820:9`! 0x0000000c
2821 /******************************************************/
2822
2823
2824 /******************************************************/
2825 /*
2826 FF 1B 14 00 02 00 17 E0 80 7B 3F 54 00 00 00 00 .........{?T....
2827 00 00 00 00 ....
2828 */
2829 #define CLIENT_UNKNOWN_1Bcxx . . $ `src/common/bnet_protocol.h:2829:9`! 0x1bff
2830 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#
2831 {
2832 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#h.;
2833 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#unknown1.; /* FIXME: This "2" is the same as in the game
2834 listings. What do they mean? */
2835 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#port.; /* big endian byte order */
2836 bn_intcxx . . $ pvpgn/bn_int# ipcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#ip.; /* big endian byte order */
2837 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#unknown2.;
2838 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_104#unknown3.;
2839 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_unknown_1bcxx . . $ pvpgn/t_client_unknown_1b#;
2840 #define CLIENT_UNKNOWN_1B_UNKNOWN1cxx . . $ `src/common/bnet_protocol.h:2840:9`! 0x0002
2841 #define CLIENT_UNKNOWN_1B_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:2841:9`! 0x00000000
2842 #define CLIENT_UNKNOWN_1B_UNKNOWN3cxx . . $ `src/common/bnet_protocol.h:2842:9`! 0x00000000
2843 /******************************************************/
2844
2845
2846 /******************************************************/
2847 /*
2848 FF 1A 4C 00 01 00 00 00 00 00 00 00 00 00 00 00 ..L.............
2849 0F 00 00 00 00 00 00 00 E0 17 00 00 61 6E 73 00 ............ans.
2850 65 6C 6D 6F 00 30 0D 77 61 72 72 69 6F 72 0D 4C elmo.0.warrior.L
2851 54 52 44 20 31 20 30 20 30 20 33 30 20 31 30 20 TRD 1 0 0 30 10
2852 32 30 20 32 35 20 31 30 30 20 30 00 20 25 100 0.
2853 */
2854 #define CLIENT_STARTGAME3cxx . . $ `src/common/bnet_protocol.h:2854:9`! 0x1aff /* Starcraft 1.03, Diablo 1.07 */
2855 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#
2856 {
2857 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#h.;
2858 bn_intcxx . . $ pvpgn/bn_int# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#status.;
2859 bn_intcxx . . $ pvpgn/bn_int# unknown3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#unknown3.;
2860 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#gametype.;
2861 bn_shortcxx . . $ pvpgn/bn_short# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#unknown1.;
2862 bn_intcxx . . $ pvpgn/bn_int# unknown6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#unknown6.;
2863 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#unknown4.; /* port # under Diablo */
2864 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_105#unknown5.;
2865 /* game name */
2866 /* game password */
2867 /* game info */
2868 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_startgame3cxx . . $ pvpgn/t_client_startgame3#;
2869 #define CLIENT_STARTGAME3_STATUSMASKcxx . . $ `src/common/bnet_protocol.h:2869:9`! 0x0000000f
2870 #define CLIENT_STARTGAME3_STATUS_OPEN1cxx . . $ `src/common/bnet_protocol.h:2870:9`! 0x00000001 /* used by Diablo */
2871 #define CLIENT_STARTGAME3_STATUS_OPENcxx . . $ `src/common/bnet_protocol.h:2871:9`! 0x00000004
2872 #define CLIENT_STARTGAME3_STATUS_FULLcxx . . $ `src/common/bnet_protocol.h:2872:9`! 0x00000006
2873 #define CLIENT_STARTGAME3_STATUS_STARTEDcxx . . $ `src/common/bnet_protocol.h:2873:9`! 0x0000000e
2874 #define CLIENT_STARTGAME3_STATUS_DONEcxx . . $ `src/common/bnet_protocol.h:2874:9`! 0x0000000c
2875 /******************************************************/
2876
2877
2878 /******************************************************/
2879 /*
2880 FF 1C 49 00 00 00 00 00 00 00 00 00 03 00 01 00 ..I.............
2881 00 00 00 00 00 00 00 00 74 65 61 6D 6D 65 6C 65 ........teammele
2882 65 00 00 2C 2C 2C 2C 31 2C 33 2C 31 2C 33 65 33 e..,,,,1,3,1,3e3
2883 37 61 38 34 63 2C 37 2C 61 6E 73 65 6C 6D 6F 0D 7a84c,7,anselmo.
2884 4F 63 74 6F 70 75 73 0D 00 Octopus..
2885
2886 Brood War 1.04 ladder, disconnect==loss
2887 FF 1C 45 00 10 00 00 00 00 00 00 00 09 00 02 00 ..E.............
2888 00 00 00 00 01 00 00 00 54 45 53 54 00 00 2C 34 ........TEST..,4
2889 34 2C 31 34 2C 2C 32 2C 39 2C 32 2C 33 65 33 37 4,14,,2,9,2,3e37
2890 61 38 34 63 2C 33 2C 52 6F 73 73 0D 41 73 68 72 a84c,3,Ross.Ashr
2891 69 67 6F 0D 00 igo..
2892
2893 Brood War 1.04 ladder, disconnect==disconnect
2894 FF 1C 45 00 00 00 00 00 00 00 00 00 09 00 01 00 ..E.............
2895 00 00 00 00 01 00 00 00 54 45 53 54 00 00 2C 34 ........TEST..,4
2896 34 2C 31 34 2C 2C 32 2C 39 2C 31 2C 33 65 33 37 4,14,,2,9,1,3e37
2897 61 38 34 63 2C 33 2C 52 6F 73 73 0D 41 73 68 72 a84c,3,Ross.Ashr
2898 69 67 6F 0D 00 igo..
2899
2900 Brood War 1.04 greed, minerals==10000
2901 FF 1C 4C 00 00 00 00 00 00 00 00 00 06 00 04 00 ..L.............
2902 00 00 00 00 00 00 00 00 74 65 73 74 31 30 30 30 ........test1000
2903 30 00 00 2C 33 34 2C 31 32 2C 2C 31 2C 36 2C 34 0..,34,12,,1,6,4
2904 2C 33 65 33 37 61 38 34 63 2C 2C 52 6F 73 73 0D ,3e37a84c,,Ross.
2905 43 68 61 6C 6C 65 6E 67 65 72 0D 00 Challenger..
2906
2907 FF 1C 4F 00 ..O.
2908 00 00 00 00 00 00 00 00 02 00 01 00 1F 00 00 00 ................
2909 00 00 00 00 74 65 73 74 00 00 2C 34 34 2C 31 34 ....test..,44,14
2910 2C 35 2C 32 2C 32 2C 31 2C 32 31 30 34 62 62 33 ,5,2,2,1,2104bb3
2911 36 2C 34 2C 48 6F 6D 65 72 0D 54 68 65 20 4C 6F 6,4,Homer.The.Lo
2912 73 74 20 54 65 6D 70 6C 65 0D 00 st.Temple..
2913
2914 Diablo II 1.03 (level diff 0)
2915 FF 1C 20 00 00 00 00 00 00 00 00 00 00 00 .. ... ........
2916 00 00 00 00 00 00 00 00 00 00 54 65 73 74 00 00 ........ ..Test..
2917 31 00 1.
2918 */
2919 #define CLIENT_STARTGAME4cxx . . $ `src/common/bnet_protocol.h:2919:9`! 0x1cff /* Brood War or newer Starcraft (1.04, 1.05) */
2920 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#
2921 {
2922 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#h.;
2923 bn_shortcxx . . $ pvpgn/bn_short# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#status.; /* 0x0001 - private war3 game */
2924 bn_shortcxx . . $ pvpgn/bn_short# flagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#flag.;
2925 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#unknown2.; /* 00 00 00 00 */
2926 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#gametype.;
2927 bn_shortcxx . . $ pvpgn/bn_short# optioncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#option.; /* 01 00 */
2928 bn_intcxx . . $ pvpgn/bn_int# unknown4cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#unknown4.; /* 00 00 00 00 */
2929 bn_intcxx . . $ pvpgn/bn_int# unknown5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_106#unknown5.; /* 00 00 00 00 */
2930 /* game name */
2931 /* game password */
2932 /* game info */
2933 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_startgame4cxx . . $ pvpgn/t_client_startgame4#;
2934 #define CLIENT_STARTGAME4_UNKNOWN2cxx . . $ `src/common/bnet_protocol.h:2934:9`! 0x00000000
2935 #define CLIENT_STARTGAME4_STATUSMASK_16cxx . . $ `src/common/bnet_protocol.h:2935:9`! 0x000000ff
2936 #define CLIENT_STARTGAME4_STATUSMASK_INIT_VALIDcxx . . $ `src/common/bnet_protocol.h:2936:9`! 0x00000093
2937 #define CLIENT_STARTGAME4_STATUSMASK_OPEN_VALIDcxx . . $ `src/common/bnet_protocol.h:2937:9`! 0x0000009f
2938 #define CLIENT_STARTGAME4_STATUS_INITcxx . . $ `src/common/bnet_protocol.h:2938:9`! 0x00000000
2939 #define CLIENT_STARTGAME4_STATUS_PRIVATEcxx . . $ `src/common/bnet_protocol.h:2939:9`! 0x00000001
2940 #define CLIENT_STARTGAME4_STATUS_FULLcxx . . $ `src/common/bnet_protocol.h:2940:9`! 0x00000002
2941 #define CLIENT_STARTGAME4_STATUS_OPENcxx . . $ `src/common/bnet_protocol.h:2941:9`! 0x00000004
2942 #define CLIENT_STARTGAME4_STATUS_STARTcxx . . $ `src/common/bnet_protocol.h:2942:9`! 0x00000008
2943 #define CLIENT_STARTGAME4_STATUS_DISC_IS_LOSScxx . . $ `src/common/bnet_protocol.h:2943:9`! 0x00000010
2944 #define CLIENT_STARTGAME4_STATUS_REPLAYcxx . . $ `src/common/bnet_protocol.h:2944:9`! 0x00000080
2945 #define CLIENT_STARTGAME4_OPTION_MELEE_NORMALcxx . . $ `src/common/bnet_protocol.h:2945:9`! 0x0001
2946 #define CLIENT_STARTGAME4_OPTION_FFA_NORMALcxx . . $ `src/common/bnet_protocol.h:2946:9`! 0x0001
2947 #define CLIENT_STARTGAME4_OPTION_ONEONONE_NORMALcxx . . $ `src/common/bnet_protocol.h:2947:9`! 0x0001
2948 #define CLIENT_STARTGAME4_OPTION_CTF_NORMALcxx . . $ `src/common/bnet_protocol.h:2948:9`! 0x0001
2949 #define CLIENT_STARTGAME4_OPTION_GREED_10000cxx . . $ `src/common/bnet_protocol.h:2949:9`! 0x0004
2950 #define CLIENT_STARTGAME4_OPTION_GREED_7500cxx . . $ `src/common/bnet_protocol.h:2950:9`! 0x0003
2951 #define CLIENT_STARTGAME4_OPTION_GREED_5000cxx . . $ `src/common/bnet_protocol.h:2951:9`! 0x0002
2952 #define CLIENT_STARTGAME4_OPTION_GREED_2500cxx . . $ `src/common/bnet_protocol.h:2952:9`! 0x0001
2953 #define CLIENT_STARTGAME4_OPTION_SLAUGHTER_60cxx . . $ `src/common/bnet_protocol.h:2953:9`! 0x0004
2954 #define CLIENT_STARTGAME4_OPTION_SLAUGHTER_45cxx . . $ `src/common/bnet_protocol.h:2954:9`! 0x0003
2955 #define CLIENT_STARTGAME4_OPTION_SLAUGHTER_30cxx . . $ `src/common/bnet_protocol.h:2955:9`! 0x0002
2956 #define CLIENT_STARTGAME4_OPTION_SLAUGHTER_15cxx . . $ `src/common/bnet_protocol.h:2956:9`! 0x0001
2957 #define CLIENT_STARTGAME4_OPTION_SDEATH_NORMALcxx . . $ `src/common/bnet_protocol.h:2957:9`! 0x0001
2958 #define CLIENT_STARTGAME4_OPTION_LADDER_COUNTASLOSScxx . . $ `src/common/bnet_protocol.h:2958:9`! 0x0002
2959 #define CLIENT_STARTGAME4_OPTION_LADDER_NOPENALTYcxx . . $ `src/common/bnet_protocol.h:2959:9`! 0x0001
2960 #define CLIENT_STARTGAME4_OPTION_IRONMAN_cxx . . $ `src/common/bnet_protocol.h:2960:9`! 0x000 /* FIXME */
2961 #define CLIENT_STARTGAME4_OPTION_MAPSET_NORMALcxx . . $ `src/common/bnet_protocol.h:2961:9`! 0x0001
2962 #define CLIENT_STARTGAME4_OPTION_TEAMMELEE_4cxx . . $ `src/common/bnet_protocol.h:2962:9`! 0x0003
2963 #define CLIENT_STARTGAME4_OPTION_TEAMMELEE_3cxx . . $ `src/common/bnet_protocol.h:2963:9`! 0x0002
2964 #define CLIENT_STARTGAME4_OPTION_TEAMMELEE_2cxx . . $ `src/common/bnet_protocol.h:2964:9`! 0x0001
2965 #define CLIENT_STARTGAME4_OPTION_TEAMFFA_4cxx . . $ `src/common/bnet_protocol.h:2965:9`! 0x0003
2966 #define CLIENT_STARTGAME4_OPTION_TEAMFFA_3cxx . . $ `src/common/bnet_protocol.h:2966:9`! 0x0002
2967 #define CLIENT_STARTGAME4_OPTION_TEAMFFA_2cxx . . $ `src/common/bnet_protocol.h:2967:9`! 0x0001
2968 #define CLIENT_STARTGAME4_OPTION_TEAMCTF_4cxx . . $ `src/common/bnet_protocol.h:2968:9`! 0x0003
2969 #define CLIENT_STARTGAME4_OPTION_TEAMCTF_3cxx . . $ `src/common/bnet_protocol.h:2969:9`! 0x0002
2970 #define CLIENT_STARTGAME4_OPTION_TEAMCTF_2cxx . . $ `src/common/bnet_protocol.h:2970:9`! 0x0001
2971 #define CLIENT_STARTGAME4_OPTION_PGL_cxx . . $ `src/common/bnet_protocol.h:2971:9`! 0x000 /* FIXME */
2972 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_1cxx . . $ `src/common/bnet_protocol.h:2972:9`! 0x0001 /* 1 vs all [ 1x1, 1x2, 1x3 ...] */
2973 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_2cxx . . $ `src/common/bnet_protocol.h:2973:9`! 0x0002 /* f.e. for (8) The Hunters.scm 1 vs all */
2974 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_3cxx . . $ `src/common/bnet_protocol.h:2974:9`! 0x0003 /* means 1x7 */
2975 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_4cxx . . $ `src/common/bnet_protocol.h:2975:9`! 0x0004 /* 4 vs all */
2976 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_5cxx . . $ `src/common/bnet_protocol.h:2976:9`! 0x0005
2977 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_6cxx . . $ `src/common/bnet_protocol.h:2977:9`! 0x0006
2978 #define CLIENT_STARTGAME4_OPTION_TOPVBOT_7cxx . . $ `src/common/bnet_protocol.h:2978:9`! 0x0007
2979 #define CLIENT_STARTGAME4_UNKNOWN4cxx . . $ `src/common/bnet_protocol.h:2979:9`! 0x00000000
2980 #define CLIENT_STARTGAME4_UNKNOWN5cxx . . $ `src/common/bnet_protocol.h:2980:9`! 0x00000000
2981 #define CLIENT_STARTGAME4_OPTION_NONEcxx . . $ `src/common/bnet_protocol.h:2981:9`! 0x000 /* FIXME */
2982
2983 #define CLIENT_STARTGAME4_FLAG_PRIVATEcxx . . $ `src/common/bnet_protocol.h:2983:9`! 0x0001
2984 #define CLIENT_STARTGAME4_FLAG_PRIVATE_PASSWORDcxx . . $ `src/common/bnet_protocol.h:2984:9`! "password"
2985
2986 #define CLIENT_MAPTYPE_SELFMADEcxx . . $ `src/common/bnet_protocol.h:2986:9`! 0
2987 #define CLIENT_MAPTYPE_BLIZZARDcxx . . $ `src/common/bnet_protocol.h:2987:9`! 1
2988 #define CLIENT_MAPTYPE_LADDERcxx . . $ `src/common/bnet_protocol.h:2988:9`! 2
2989 #define CLIENT_MAPTYPE_PGLcxx . . $ `src/common/bnet_protocol.h:2989:9`! 3
2990 #define CLIENT_MAPTYPE_KBKcxx . . $ `src/common/bnet_protocol.h:2990:9`! 4
2991 #define CLIENT_MAPTYPE_CompUSAcxx . . $ `src/common/bnet_protocol.h:2991:9`! 5
2992
2993 /* CLIENT_GAMESPEED_FAST is NULL for "fast" games, I convert it into 4 */
2994 #define CLIENT_GAMESPEED_SLOWESTcxx . . $ `src/common/bnet_protocol.h:2994:9`! 0
2995 #define CLIENT_GAMESPEED_SLOWERcxx . . $ `src/common/bnet_protocol.h:2995:9`! 1
2996 #define CLIENT_GAMESPEED_SLOWcxx . . $ `src/common/bnet_protocol.h:2996:9`! 2
2997 #define CLIENT_GAMESPEED_NORMALcxx . . $ `src/common/bnet_protocol.h:2997:9`! 3
2998 #define CLIENT_GAMESPEED_FASTcxx . . $ `src/common/bnet_protocol.h:2998:9`! 4
2999 #define CLIENT_GAMESPEED_FASTERcxx . . $ `src/common/bnet_protocol.h:2999:9`! 5
3000 #define CLIENT_GAMESPEED_FASTESTcxx . . $ `src/common/bnet_protocol.h:3000:9`! 6
3001
3002 /* The tileset is NULL for BADLANDS, I'm using zero here */
3003 #define CLIENT_TILESET_BADLANDScxx . . $ `src/common/bnet_protocol.h:3003:9`! 0
3004 #define CLIENT_TILESET_SPACEcxx . . $ `src/common/bnet_protocol.h:3004:9`! 1
3005 #define CLIENT_TILESET_INSTALLATIONcxx . . $ `src/common/bnet_protocol.h:3005:9`! 2
3006 #define CLIENT_TILESET_ASHWORLDcxx . . $ `src/common/bnet_protocol.h:3006:9`! 3
3007 #define CLIENT_TILESET_JUNGLEcxx . . $ `src/common/bnet_protocol.h:3007:9`! 4
3008 #define CLIENT_TILESET_DESERTcxx . . $ `src/common/bnet_protocol.h:3008:9`! 5
3009 #define CLIENT_TILESET_ICEcxx . . $ `src/common/bnet_protocol.h:3009:9`! 6
3010 #define CLIENT_TILESET_TWILIGHTcxx . . $ `src/common/bnet_protocol.h:3010:9`! 7
3011
3012 /* Diablo II Difficulty */
3013 #define CLIENT_DIFFICULTY_NORMALcxx . . $ `src/common/bnet_protocol.h:3013:9`! 1
3014 #define CLIENT_DIFFICULTY_NIGHTMAREcxx . . $ `src/common/bnet_protocol.h:3014:9`! 2
3015 #define CLIENT_DIFFICULTY_HELLcxx . . $ `src/common/bnet_protocol.h:3015:9`! 3 /* assumed */
3016 #define CLIENT_DIFFICULTY_HARDCORE_NORMALcxx . . $ `src/common/bnet_protocol.h:3016:9`! 4
3017 #define CLIENT_DIFFICULTY_HARDCORE_NIGHTMAREcxx . . $ `src/common/bnet_protocol.h:3017:9`! 5 /* assumed */
3018 #define CLIENT_DIFFICULTY_HARDCORE_HELLcxx . . $ `src/common/bnet_protocol.h:3018:9`! 6 /* assumed */
3019 /******************************************************/
3020
3021
3022 /******************************************************/
3023 #define SERVER_STARTGAME1_ACKcxx . . $ `src/common/bnet_protocol.h:3023:9`! 0x08ff
3024 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_107#
3025 {
3026 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_107#h.;
3027 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_107#reply.;
3028 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_startgame1_ackcxx . . $ pvpgn/t_server_startgame1_ack#;
3029 #define SERVER_STARTGAME1_ACK_NOcxx . . $ `src/common/bnet_protocol.h:3029:9`! 0x00000000
3030 #define SERVER_STARTGAME1_ACK_OKcxx . . $ `src/common/bnet_protocol.h:3030:9`! 0x00000001
3031 /******************************************************/
3032
3033
3034 /******************************************************/
3035 #define SERVER_STARTGAME3_ACKcxx . . $ `src/common/bnet_protocol.h:3035:9`! 0x1aff
3036 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_108#
3037 {
3038 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_108#h.;
3039 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_108#reply.;
3040 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_startgame3_ackcxx . . $ pvpgn/t_server_startgame3_ack#;
3041 #define SERVER_STARTGAME3_ACK_NOcxx . . $ `src/common/bnet_protocol.h:3041:9`! 0x00000000
3042 #define SERVER_STARTGAME3_ACK_OKcxx . . $ `src/common/bnet_protocol.h:3042:9`! 0x00000001
3043 /******************************************************/
3044
3045
3046 /******************************************************/
3047 #define SERVER_STARTGAME4_ACKcxx . . $ `src/common/bnet_protocol.h:3047:9`! 0x1cff
3048 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_109#
3049 {
3050 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_109#h.;
3051 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_109#reply.;
3052 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_startgame4_ackcxx . . $ pvpgn/t_server_startgame4_ack#;
3053 #define SERVER_STARTGAME4_ACK_NOcxx . . $ `src/common/bnet_protocol.h:3053:9`! 0x00000001
3054 #define SERVER_STARTGAME4_ACK_OKcxx . . $ `src/common/bnet_protocol.h:3054:9`! 0x00000000
3055 /******************************************************/
3056
3057
3058 /******************************************************/
3059 #define CLIENT_CLOSEGAMEcxx . . $ `src/common/bnet_protocol.h:3059:9`! 0x02ff
3060 #define CLIENT_CLOSEGAME2cxx . . $ `src/common/bnet_protocol.h:3060:9`! 0x1fff
3061 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_110#
3062 {
3063 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_110#h.;
3064 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_closegamecxx . . $ pvpgn/t_client_closegame#;
3065 /******************************************************/
3066
3067
3068 /******************************************************/
3069 #define CLIENT_LEAVECHANNELcxx . . $ `src/common/bnet_protocol.h:3069:9`! 0x10ff
3070 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_111#
3071 {
3072 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_111#h.;
3073 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_leavechannelcxx . . $ pvpgn/t_client_leavechannel#;
3074
3075 /******************************************************/
3076 /*
3077 packets 0x60ff - 0x64ff moved to anongame_protocal.h
3078 [Omega]
3079 */
3080 /******************************************************/
3081
3082 /*
3083 FF 32 2A 00 1A 29 25 72 77 C3 3C 25 6B 4D 7A A4 .2*..)%rw.<%kMz.
3084 3B 92 38 D5 01 F4 A5 6B 28 32 29 43 68 61 6C 6C ;.8....k(2)Chall
3085 65 6E 67 65 72 2E 73 63 6D 00 enger.scm.
3086
3087 FF 32 2C 00 21 F8 16 2D 99 D9 BC A4 A6 5C BA 60 .2,.!..-.....\.`
3088 71 DE 6D 64 6F BC A5 03 28 34 29 44 69 72 65 20 q.mdo...(4)Dire
3089 53 74 72 61 69 74 73 2E 73 63 6D 00 Straits.scm.
3090 */
3091 #define CLIENT_MAPAUTHREQ1cxx . . $ `src/common/bnet_protocol.h:3091:9`! 0x32ff
3092 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_112#
3093 {
3094 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_112#h.;
3095 bn_intcxx . . $ pvpgn/bn_int# file_checksumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_112#file_checksum.[5];
3096 /* mapfile */
3097 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_mapauthreq1cxx . . $ pvpgn/t_client_mapauthreq1#;
3098 /******************************************************/
3099
3100
3101 /******************************************************/
3102 /*
3103 FF 32 08 00 01 00 00 00 .2......
3104 */
3105 #define SERVER_MAPAUTHREPLY1cxx . . $ `src/common/bnet_protocol.h:3105:9`! 0x32ff
3106 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_113#
3107 {
3108 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_113#h.;
3109 bn_intcxx . . $ pvpgn/bn_int# responsecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_113#response.;
3110 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_mapauthreply1cxx . . $ pvpgn/t_server_mapauthreply1#;
3111 #define SERVER_MAPAUTHREPLY1_NOcxx . . $ `src/common/bnet_protocol.h:3111:9`! 0x00000000
3112 #define SERVER_MAPAUTHREPLY1_OKcxx . . $ `src/common/bnet_protocol.h:3112:9`! 0x00000001
3113 #define SERVER_MAPAUTHREPLY1_LADDER_OKcxx . . $ `src/common/bnet_protocol.h:3113:9`! 0x00000002
3114 /******************************************************/
3115
3116
3117 /******************************************************/
3118 /*
3119 From BW1.08alpha:
3120 FF 3C 31 00 7A 20 01 00 3B B7 C6 27 0D 61 C3 79 .<1.z ..;..'.a.y
3121 79 BE 24 5E 9C 07 05 7D 0B 6A A0 78 28 35 29 4A y.$^...}.j.x(5)J
3122 65 77 65 6C 65 64 20 52 69 76 65 72 2E 73 63 6D eweled River.scm
3123 00 .
3124 */
3125 #define CLIENT_MAPAUTHREQ2cxx . . $ `src/common/bnet_protocol.h:3125:9`! 0x3cff
3126 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_114#
3127 {
3128 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_114#h.;
3129 bn_intcxx . . $ pvpgn/bn_int# unknowncxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_114#unknown.;
3130 bn_intcxx . . $ pvpgn/bn_int# file_hashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_114#file_hash.[5];
3131 /* mapfile */
3132 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_mapauthreq2cxx . . $ pvpgn/t_client_mapauthreq2#;
3133 /******************************************************/
3134
3135
3136 /******************************************************/
3137 /*
3138 assuming it looks like the REPLY1 packet....
3139 */
3140 #define SERVER_MAPAUTHREPLY2cxx . . $ `src/common/bnet_protocol.h:3140:9`! 0x3cff
3141 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_115#
3142 {
3143 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_115#h.;
3144 bn_intcxx . . $ pvpgn/bn_int# responsecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_115#response.;
3145 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_mapauthreply2cxx . . $ pvpgn/t_server_mapauthreply2#;
3146 #define SERVER_MAPAUTHREPLY2_NOcxx . . $ `src/common/bnet_protocol.h:3146:9`! 0x00000000 /* FIXME: these values are guesses */
3147 #define SERVER_MAPAUTHREPLY2_OKcxx . . $ `src/common/bnet_protocol.h:3147:9`! 0x00000001
3148 #define SERVER_MAPAUTHREPLY2_LADDER_OKcxx . . $ `src/common/bnet_protocol.h:3148:9`! 0x00000002
3149 /******************************************************/
3150
3151
3152 /******************************************************/
3153 /*
3154 FF 15 14 00 36 38 58 49 52 41 54 53 00 00 00 00 ....68XIRATS....
3155 AF 14 55 36 ..U6
3156 */
3157 #define CLIENT_ADREQcxx . . $ `src/common/bnet_protocol.h:3157:9`! 0x15ff
3158 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#
3159 {
3160 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#h.;
3161 bn_intcxx . . $ pvpgn/bn_int# archtagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#archtag.;
3162 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#clienttag.;
3163 bn_intcxx . . $ pvpgn/bn_int# prev_adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#prev_adid.; /* zero if first request */
3164 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_116#ticks.; /* Unix-style time in seconds */
3165 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_adreqcxx . . $ pvpgn/t_client_adreq#;
3166 /******************************************************/
3167
3168
3169 /******************************************************/
3170 /*
3171 Sent in response to a CLIENT_ADREQ to tell the client which
3172 banner to display next
3173
3174 FF 15 3A 00 72 00 00 00 2E 70 63 78 50 15 7A 1C ..:.r....pcxP.z.
3175 CE 0F BD 01 61 64 30 30 30 30 37 32 2E 70 63 78 ....ad000072.pcx
3176 00 68 74 74 70 3A 2F 2F 77 77 77 2E 62 6C 69 7A .http://www.bliz
3177 7A 61 72 64 2E 63 6F 6D 2F 00 zard.com/.
3178
3179 FF 15 3C 00 C3 00 00 00 2E 73 6D 6B 00 9B 36 A6 ..<......smk..6.
3180 8F 5B BE 01 61 64 30 30 30 30 63 33 2E 73 6D 6B .[..ad0000c3.smk
3181 00 68 74 74 70 3A 2F 2F 77 77 77 2E 66 61 74 68 .http://www.fath
3182 65 72 68 6F 6F 64 2E 6F 72 67 2F 00 erhood.org/.
3183
3184 FF 15 36 00 2B 51 02 00 ..6.+Q..
3185 2E 70 63 78 00 00 00 00 58 01 B2 00 61 64 30 32 .pcx....X...ad02
3186 35 31 32 62 2E 70 63 78 00 68 74 74 70 3A 2F 2F 512b.pcx.http://
3187 77 77 77 2E 66 73 67 73 2E 63 6F 6D 2F 00 www.fsgs.com/.
3188 */
3189 #define SERVER_ADREPLYcxx . . $ `src/common/bnet_protocol.h:3189:9`! 0x15ff
3190 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_117#
3191 {
3192 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_117#h.;
3193 bn_intcxx . . $ pvpgn/bn_int# adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_117#adid.;
3194 bn_intcxx . . $ pvpgn/bn_int# extensiontagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_117#extensiontag.; /* unlike other tags, this one is "forward" */
3195 bn_longcxx . . $ pvpgn/bn_long# timestampcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_117#timestamp.; /* file modification time? */
3196 /* filename */
3197 /* link URL */
3198 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_adreplycxx . . $ pvpgn/t_server_adreply#;
3199 /******************************************************/
3200
3201
3202 /******************************************************/
3203 #define CLIENT_ADACKcxx . . $ `src/common/bnet_protocol.h:3203:9`! 0x21ff
3204 /*
3205 Sent after client has displayed the banner
3206
3207 0000: FF 21 36 00 36 38 58 49 52 41 54 53 72 00 00 00 .!6.68XIRATSr...
3208 0010: 61 64 30 30 30 30 37 32 2E 70 63 78 00 68 74 74 ad000072.pcx.htt
3209 0020: 70 3A 2F 2F 77 77 77 2E 62 6C 69 7A 7A 61 72 64 p://www.blizzard
3210 0030: 2E 63 6F 6D 2F 00 .com/.
3211
3212 0000: FF 21 38 00 36 38 58 49 4C 54 52 44 C3 00 00 00 .!8.68XILTRD....
3213 0010: 61 64 30 30 30 30 63 33 2E 73 6D 6B 00 68 74 74 ad0000c3.smk.htt
3214 0020: 70 3A 2F 2F 77 77 77 2E 66 61 74 68 65 72 68 6F p://www.fatherho
3215 0030: 6F 64 2E 6F 72 67 2F 00 od.org/.
3216 */
3217 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_118#
3218 {
3219 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_118#h.;
3220 bn_intcxx . . $ pvpgn/bn_int# archtagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_118#archtag.;
3221 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_118#clienttag.;
3222 bn_intcxx . . $ pvpgn/bn_int# adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_118#adid.;
3223 /* adfile */
3224 /* adlink */
3225 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_adackcxx . . $ pvpgn/t_client_adack#;
3226 /******************************************************/
3227
3228
3229 /******************************************************/
3230 /*
3231 Sent if the user clicks on the adbanner
3232 */
3233 #define CLIENT_ADCLICKcxx . . $ `src/common/bnet_protocol.h:3233:9`! 0x16ff
3234 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_119#
3235 {
3236 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_119#h.;
3237 bn_intcxx . . $ pvpgn/bn_int# adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_119#adid.;
3238 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_119#unknown1.;
3239 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_adclickcxx . . $ pvpgn/t_client_adclick#;
3240 /******************************************************/
3241
3242
3243 /******************************************************/
3244 /* first seen in Diablo II? */
3245 /*
3246 FF 41 08 00 01 00 00 00 .A......
3247 */
3248 #define CLIENT_ADCLICK2cxx . . $ `src/common/bnet_protocol.h:3248:9`! 0x41ff
3249 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_120#
3250 {
3251 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_120#h.;
3252 bn_intcxx . . $ pvpgn/bn_int# adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_120#adid.;
3253 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_adclick2cxx . . $ pvpgn/t_client_adclick2#;
3254 /******************************************************/
3255
3256
3257 /******************************************************/
3258 /* first seen in Diablo II? */
3259 /*
3260 FF 41 2C 00 0B 20 00 00 68 74 .qT....A,.. ..ht
3261 74 70 3A 2F 2F 77 77 77 2E 62 6C 69 7A 7A 61 72 tp://www.blizzar
3262 64 2E 63 6F 6D 2F 64 69 61 62 6C 6F 32 65 78 70 d.com/diablo2exp
3263 2F 00 /.
3264 */
3265 #define SERVER_ADCLICKREPLY2cxx . . $ `src/common/bnet_protocol.h:3265:9`! 0x41ff
3266 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_121#
3267 {
3268 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_121#h.;
3269 bn_intcxx . . $ pvpgn/bn_int# adidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_121#adid.;
3270 /* link URL */
3271 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_adclickreply2cxx . . $ pvpgn/t_server_adclickreply2#;
3272 /******************************************************/
3273
3274
3275 /******************************************************/
3276 /* seen in SC107a */
3277 #define CLIENT_READMEMORYcxx . . $ `src/common/bnet_protocol.h:3277:9`! 0x17ff
3278 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_122#
3279 {
3280 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_122#h.;
3281 bn_intcxx . . $ pvpgn/bn_int# request_idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_122#request_id.;
3282 /* Memory */
3283 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_readmemorycxx . . $ pvpgn/t_client_readmemory#;
3284
3285 #define SERVER_READMEMORYcxx . . $ `src/common/bnet_protocol.h:3285:9`! 0x17ff
3286 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_123#
3287 {
3288 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_123#h.;
3289 bn_intcxx . . $ pvpgn/bn_int# request_idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_123#request_id.;
3290 bn_intcxx . . $ pvpgn/bn_int# addresscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_123#address.;
3291 bn_intcxx . . $ pvpgn/bn_int# lengthcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_123#length.;
3292 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_readmemorycxx . . $ pvpgn/t_server_readmemory#;
3293 /******************************************************/
3294
3295
3296 /******************************************************/
3297 /* seen in SC107a */
3298 #define CLIENT_UNKNOWN_24cxx . . $ `src/common/bnet_protocol.h:3298:9`! 0x24ff
3299 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_124#
3300 {
3301 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_124#h.;
3302 /* FIXME: what is in here... is there a cooresponding
3303 server packet? */
3304 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_unknown_24cxx . . $ pvpgn/t_client_unknown_24#;
3305 /******************************************************/
3306
3307
3308 /******************************************************/
3309 /*
3310 FF 2E 18 00 4E 42 32 57 01 00 00 00 00 00 00 00 ....NB2W........
3311 00 00 00 00 0A 00 00 00 ........
3312 */
3313 #define CLIENT_LADDERREQcxx . . $ `src/common/bnet_protocol.h:3313:9`! 0x2eff
3314 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#
3315 {
3316 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#h.;
3317 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#clienttag.;
3318 bn_intcxx . . $ pvpgn/bn_int# idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#id.; /* (AKA ladder type) 1==standard, 3==ironman */
3319 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#type.; /* (AKA ladder sort) */
3320 bn_intcxx . . $ pvpgn/bn_int# startplacecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#startplace.; /* start listing on this entries */
3321 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_125#count.; /* how many entries to list */
3322 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_ladderreqcxx . . $ pvpgn/t_client_ladderreq#;
3323 #define CLIENT_LADDERREQ_ID_STANDARDcxx . . $ `src/common/bnet_protocol.h:3323:9`! 0x00000001
3324 #define CLIENT_LADDERREQ_ID_IRONMANcxx . . $ `src/common/bnet_protocol.h:3324:9`! 0x00000003
3325 #define CLIENT_LADDERREQ_TYPE_HIGHESTRATEDcxx . . $ `src/common/bnet_protocol.h:3325:9`! 0x00000000
3326 #define CLIENT_LADDERREQ_TYPE_MOSTWINScxx . . $ `src/common/bnet_protocol.h:3326:9`! 0x00000002
3327 #define CLIENT_LADDERREQ_TYPE_MOSTGAMEScxx . . $ `src/common/bnet_protocol.h:3327:9`! 0x00000003
3328 /******************************************************/
3329
3330
3331 /******************************************************/
3332 /*
3333 Sent in repsonse to CLIENT_LADDERREQ
3334
3335 FF 2E AB 03 52 41 54 53 01 00 00 00 00 00 00 00 ....RATS........
3336 00 00 00 00 0A 00 00 00 27 00 00 00 01 00 00 00 ........'.......
3337 01 00 00 00 74 06 00 00 00 00 00 00 27 00 00 00 ....t.......'...
3338 01 00 00 00 01 00 00 00 74 06 00 00 00 00 00 00 ........t.......
3339 00 00 00 00 00 00 00 00 FF FF FF FF 74 06 00 00 ............t...
3340 00 00 00 00 00 00 00 00 12 27 4E FF 2D DD BE 01 .........'N.-...
3341 12 27 4E FF 2D DD BE 01 6E 65 6D 62 69 3A 29 6B .'N.-...nembi:)k
3342 69 6C 6C 65 72 00 1D 00 00 00 03 00 00 00 00 00 iller...........
3343 00 00 67 06 00 00 00 00 00 00 1D 00 00 00 03 00 ..g.............
3344 00 00 00 00 00 00 67 06 00 00 00 00 00 00 01 00 ......g.........
3345 00 00 00 00 00 00 FF FF FF FF 67 06 00 00 01 00 ..........g.....
3346 00 00 00 00 00 00 D8 5B 9E D0 32 DD BE 01 D8 5B .......[..2....[
3347 9E D0 32 DD BE 01 53 4B 45 4C 54 4F 4E 00 1F 00 ..2...SKELTON...
3348 00 00 03 00 00 00 00 00 00 00 EF 05 00 00 00 00 ................
3349 00 00 1F 00 00 00 03 00 00 00 00 00 00 00 EF 05 ................
3350 00 00 00 00 00 00 02 00 00 00 00 00 00 00 FF FF ................
3351 FF FF EF 05 00 00 02 00 00 00 00 00 00 00 62 26 ..............b&
3352 55 0C 51 DC BE 01 62 26 55 0C 51 DC BE 01 7A 69 U.Q...b&U.Q...zi
3353 7A 69 62 65 5E 2E 7E 00 19 00 00 00 02 00 00 00 zibe^.~.........
3354 00 00 00 00 FC 05 00 00 00 00 00 00 18 00 00 00 ................
3355 02 00 00 00 00 00 00 00 EE 05 00 00 00 00 00 00 ................
3356 03 00 00 00 00 00 00 00 FF FF FF FF FC 05 00 00 ................
3357 03 00 00 00 00 00 00 00 A0 25 4F 31 90 DE BE 01 .........%O1....
3358 8C F1 7F 9F 66 DD BE 01 59 4F 4F 4A 49 4E 27 53 ....f...YOOJIN'S
3359 00 1D 00 00 00 02 00 00 00 00 00 00 00 EC 05 00 ................
3360 00 00 00 00 00 1D 00 00 00 02 00 00 00 00 00 00 ................
3361 00 EC 05 00 00 00 00 00 00 04 00 00 00 00 00 00 ................
3362 00 FF FF FF FF EC 05 00 00 03 00 00 00 00 00 00 ................
3363 00 F4 58 78 82 2F D7 BE 01 F4 58 78 82 2F D7 BE ..Xx./....Xx./..
3364 01 3D 7B 5F 7C 5F 7D 3D 00 1A 00 00 00 00 00 00 .={_|_}=........
3365 00 00 00 00 00 E2 05 00 00 00 00 00 00 1A 00 00 ................
3366 00 00 00 00 00 00 00 00 00 E2 05 00 00 00 00 00 ................
3367 00 05 00 00 00 00 00 00 00 FF FF FF FF E2 05 00 ................
3368 00 05 00 00 00 00 00 00 00 F2 DC 0D 1F 6C DD BE .............l..
3369 01 F2 DC 0D 1F 6C DD BE 01 5B 53 50 41 43 45 5D .....l...[SPACE]
3370 2D 31 2D 54 2E 53 2E 4A 00 15 00 00 00 02 00 00 -1-T.S.J........
3371 00 01 00 00 00 E0 05 00 00 00 00 00 00 15 00 00 ................
3372 00 02 00 00 00 01 00 00 00 E0 05 00 00 00 00 00 ................
3373 00 06 00 00 00 00 00 00 00 FF FF FF FF E0 05 00 ................
3374 00 06 00 00 00 00 00 00 00 7A C9 F6 6E 0B DE BE .........z..n...
3375 01 7A C9 F6 6E 0B DE BE 01 5B 46 65 77 5D 2D 44 .z..n....[Few]-D
3376 2E 73 00 23 00 00 00 00 00 00 00 00 00 00 00 DF .s.#............
3377 05 00 00 00 00 00 00 23 00 00 00 00 00 00 00 00 .......#........
3378 00 00 00 DF 05 00 00 00 00 00 00 07 00 00 00 00 ................
3379 00 00 00 FF FF FF FF E2 05 00 00 04 00 00 00 00 ................
3380 00 00 00 6E D9 DC 3A E2 DA BE 01 6E D9 DC 3A E2 ...n..:....n..:.
3381 DA BE 01 5B 4C 2E 73 5D 2D 43 6F 6F 6C 00 1F 00 ...[L.s]-Cool...
3382 00 00 07 00 00 00 02 00 00 00 DD 05 00 00 00 00 ................
3383 00 00 1F 00 00 00 07 00 00 00 02 00 00 00 DD 05 ................
3384 00 00 00 00 00 00 08 00 00 00 00 00 00 00 FF FF ................
3385 FF FF 07 06 00 00 02 00 00 00 00 00 00 00 B6 CE ................
3386 B1 D8 7A D8 BE 01 B6 CE B1 D8 7A D8 BE 01 52 6F ..z.......z...Ro
3387 60 4C 65 58 7E 50 72 4F 27 5A 65 4E 00 18 00 00 `LeX~PrO'ZeN....
3388 00 04 00 00 00 00 00 00 00 DD 05 00 00 00 00 00 ................
3389 00 18 00 00 00 04 00 00 00 00 00 00 00 DD 05 00 ................
3390 00 00 00 00 00 09 00 00 00 00 00 00 00 FF FF FF ................
3391 FF DD 05 00 00 04 00 00 00 00 00 00 00 50 76 4C .............PvL
3392 F7 AD D7 BE 01 50 76 4C F7 AD D7 BE 01 48 61 6E .....PvL.....Han
3393 5F 65 53 54 68 65 72 2E 27 27 00 _eSTher.''.
3394 */
3395 #define SERVER_LADDERREPLYcxx . . $ `src/common/bnet_protocol.h:3395:9`! 0x2eff
3396 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#
3397 {
3398 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#h.;
3399 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#clienttag.;
3400 bn_intcxx . . $ pvpgn/bn_int# idcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#id.; /* (AKA ladder type) 1==standard, 3==ironman */
3401 bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#type.; /* (AKA ladder sort) */
3402 bn_intcxx . . $ pvpgn/bn_int# startplacecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#startplace.; /* start listing on this entries */
3403 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_126#count.; /* how many entries to list */
3404 /* ladder entry */
3405 /* player name */
3406 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_ladderreplycxx . . $ pvpgn/t_server_ladderreply#;
3407 #define CLIENT_LADDERREPLY_ID_STANDARDcxx . . $ `src/common/bnet_protocol.h:3407:9`! 0x00000001
3408 #define CLIENT_LADDERREPLY_ID_IRONMANcxx . . $ `src/common/bnet_protocol.h:3408:9`! 0x00000003
3409
3410 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#
3411 {
3412 bn_intcxx . . $ pvpgn/bn_int# winscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#wins.;
3413 bn_intcxx . . $ pvpgn/bn_int# losscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#loss.;
3414 bn_intcxx . . $ pvpgn/bn_int# disconnectcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#disconnect.;
3415 bn_intcxx . . $ pvpgn/bn_int# ratingcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#rating.;
3416 bn_intcxx . . $ pvpgn/bn_int# rankcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_127#rank.;
3417 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_ladder_datacxx . . $ pvpgn/t_ladder_data#;
3418
3419 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#
3420 {
3421 t_ladder_datacxx . . $ pvpgn/t_ladder_data# currentcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#current.;
3422 t_ladder_datacxx . . $ pvpgn/t_ladder_data# activecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#active.;
3423 bn_intcxx . . $ pvpgn/bn_int# ttestcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#ttest.[6]; /* 00 00 00 00 00 00 00 00 FF FF FF FF 74 06 00 00 00 00 00 00 00 00 00 00 */
3424 bn_longcxx . . $ pvpgn/bn_long# lastgame_currentcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#lastgame_current.; /* timestamp */
3425 bn_longcxx . . $ pvpgn/bn_long# lastgame_activecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_128#lastgame_active.; /* timestamp */
3426 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_ladder_entrycxx . . $ pvpgn/t_ladder_entry#;
3427 /******************************************************/
3428
3429
3430 /******************************************************/
3431 /*
3432 FF 25 08 00 EA 7F DB 02 .%......
3433 */
3434 #define CLIENT_ECHOREPLYcxx . . $ `src/common/bnet_protocol.h:3434:9`! 0x25ff
3435 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_129#
3436 {
3437 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_129#h.;
3438 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_129#ticks.;
3439 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_echoreplycxx . . $ pvpgn/t_client_echoreply#;
3440 /******************************************************/
3441
3442
3443 /******************************************************/
3444 #define SERVER_ECHOREQcxx . . $ `src/common/bnet_protocol.h:3444:9`! 0x25ff
3445 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_130#
3446 {
3447 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_130#h.;
3448 bn_intcxx . . $ pvpgn/bn_int# tickscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_130#ticks.;
3449 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_echoreqcxx . . $ pvpgn/t_server_echoreq#;
3450 /******************************************************/
3451
3452
3453
3454 /******************************************************/
3455 /*
3456 What I'm calling the ping happens every 90 seconds during gameplay. I'm
3457 not exactly sure what it is, but it didn't hurt that we didn't respond up
3458 to now... I went ahead and coded a response in. This packet is sent
3459 at other times as well, even before login.
3460
3461 This is probably a keepalive packet and the UDP is sent to make
3462 sure the UDP entry on the NAT gateway remains valid.
3463
3464 Prolix calls these null packets and says they are sent every 60
3465 seconds.
3466
3467 This seems to be associated with a UDP packet 7 from the client:
3468 7: cli class=bnet[0x01] type=CLIENT_PINGREQ[0x00ff] length=4
3469 0000: FF 00 04 00 ....
3470 5: clt prot=udp[0x07] from=128.123.62.23:6112 to=128.123.62.23:6112 length=8
3471 0000: 07 00 00 00 2E 95 9D 00 ........
3472 7: srv class=bnet[0x01] type=SERVER_PINGREPLY[0x00ff] length=4
3473 0000: FF 00 04 00 ....
3474
3475 FF 00 04 00 ....
3476 */
3477 #define CLIENT_PINGREQcxx . . $ `src/common/bnet_protocol.h:3477:9`! 0x00ff
3478 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_131#
3479 {
3480 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_131#h.;
3481 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_pingreqcxx . . $ pvpgn/t_client_pingreq#;
3482 /******************************************************/
3483
3484
3485 /******************************************************/
3486 /*
3487 FF 00 04 00 ....
3488 */
3489 #define SERVER_PINGREPLYcxx . . $ `src/common/bnet_protocol.h:3489:9`! 0x00ff
3490 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_132#
3491 {
3492 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_132#h.;
3493 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_pingreplycxx . . $ pvpgn/t_server_pingreply#;
3494 /******************************************************/
3495
3496
3497 /******************************************************/
3498 /*
3499 FF 2C 3D 02 00 00 00 00 08 00 00 00 03 00 00 00 .,=.............
3500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
3501 00 00 00 00 00 00 00 00 00 00 00 00 52 6F 73 73 ............Ross
3502 5F 43 4D 00 00 00 00 00 00 00 00 4F 6E 20 6D 61 _CM........On ma
3503 70 20 22 43 68 61 6C 6C 65 6E 67 65 72 22 3A 0A p "Challenger":.
3504 00 52 6F 73 73 5F 43 4D 20 77 61 73 20 50 72 6F .Ross_CM was Pro
3505 74 6F 73 73 20 61 6E 64 20 70 6C 61 79 65 64 20 toss and played
3506 66 6F 72 20 33 31 20 6D 69 6E 75 74 65 73 0A 0A for 31 minutes..
3507 20 20 4F 76 65 72 61 6C 6C 20 53 63 6F 72 65 20 Overall Score
3508 32 38 31 30 35 0A 20 20 20 20 20 20 20 20 20 31 28105. 1
3509 31 37 30 30 20 66 6F 72 20 55 6E 69 74 73 0A 20 1700 for Units.
3510 20 20 20 20 20 20 20 20 20 31 34 37 35 20 66 6F 1475 fo
3511 72 20 53 74 72 75 63 74 75 72 65 73 0A 20 20 20 r Structures.
3512 20 20 20 20 20 20 31 34 39 33 30 20 66 6F 72 20 14930 for
3513 52 65 73 6F 75 72 63 65 73 0A 0A 20 20 55 6E 69 Resources.. Uni
3514 74 73 20 53 63 6F 72 65 20 31 31 37 30 30 0A 20 ts Score 11700.
3515 20 20 20 20 20 20 20 20 20 20 20 37 30 20 55 6E 70 Pn
3516 */
3517 #define CLIENT_GAME_REPORTcxx . . $ `src/common/bnet_protocol.h:3517:9`! 0x2cff
3518 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_133#
3519 {
3520 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_133#h.;
3521 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_133#unknown1.; /* 0x00000000 */
3522 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_133#count.; /* (number of player slots (will be 8 for now) */
3523 /* results... */
3524 /* names... */
3525 /* report header */
3526 /* report body */
3527 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_game_reportcxx . . $ pvpgn/t_client_game_report#;
3528
3529 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_134#
3530 {
3531 bn_intcxx . . $ pvpgn/bn_int# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_134#result.;
3532 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_game_report_resultcxx . . $ pvpgn/t_client_game_report_result#;
3533 #define CLIENT_GAME_REPORT_RESULT_PLAYINGcxx . . $ `src/common/bnet_protocol.h:3533:9`! 0x00000000
3534 #define CLIENT_GAME_REPORT_RESULT_WINcxx . . $ `src/common/bnet_protocol.h:3534:9`! 0x00000001
3535 #define CLIENT_GAME_REPORT_RESULT_LOSScxx . . $ `src/common/bnet_protocol.h:3535:9`! 0x00000002
3536 #define CLIENT_GAME_REPORT_RESULT_DRAWcxx . . $ `src/common/bnet_protocol.h:3536:9`! 0x00000003
3537 #define CLIENT_GAME_REPORT_RESULT_DISCONNECTcxx . . $ `src/common/bnet_protocol.h:3537:9`! 0x00000004
3538 #define CLIENT_GAME_REPORT_RESULT_OBSERVERcxx . . $ `src/common/bnet_protocol.h:3538:9`! 0x00000005
3539 /******************************************************/
3540
3541
3542 /******************************************************/
3543 /*
3544 War Craft II BNE (original):
3545 FF 22 1B 00 4E 42 32 57 4B 00 00 00 4C 61 64 64 ."..NB2WK...Ladd
3546 65 72 20 31 20 6F 6E 20 31 00 00 er 1 on 1..
3547 */
3548 #define CLIENT_JOIN_GAMEcxx . . $ `src/common/bnet_protocol.h:3548:9`! 0x22ff
3549 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_135#
3550 {
3551 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_135#h.;
3552 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_135#clienttag.;
3553 bn_intcxx . . $ pvpgn/bn_int# versiontagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_135#versiontag.;
3554 /* game name */
3555 /* game password */
3556 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_join_gamecxx . . $ pvpgn/t_client_join_game#;
3557 /******************************************************/
3558
3559
3560 /******************************************************/
3561 /*
3562 FF 27 84 00 01 00 00 00 04 00 00 00 52 6F 73 73 .'..........Ross
3563 5F 43 4D 00 70 72 6F 66 69 6C 65 5C 73 65 78 00 _CM.profile\sex.
3564 70 72 6F 66 69 6C 65 5C 61 67 65 00 70 72 6F 66 profile\age.prof
3565 69 6C 65 5C 6C 6F 63 61 74 69 6F 6E 00 70 72 6F ile\location.pro
3566 66 69 6C 65 5C 64 65 73 63 72 69 70 74 69 6F 6E file\description
3567 00 61 73 64 66 00 61 73 66 00 61 73 64 66 00 61 .asdf.asf.asdf.a
3568 73 64 66 61 73 64 66 61 73 64 66 61 73 64 66 0D sdfasdfasdfasdf.
3569 0A 61 73 64 0D 0A 66 61 73 64 0D 0A 66 61 73 64 .asd..fasd..fasd
3570 66 0D 0A 00 f...
3571 */
3572 #define CLIENT_STATSUPDATEcxx . . $ `src/common/bnet_protocol.h:3572:9`! 0x27ff
3573 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_136#
3574 {
3575 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_136#h.;
3576 bn_intcxx . . $ pvpgn/bn_int# name_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_136#name_count.;
3577 bn_intcxx . . $ pvpgn/bn_int# key_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_136#key_count.;
3578 /* names... */
3579 /* values... */
3580 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_statsupdatecxx . . $ pvpgn/t_client_statsupdate#;
3581 /******************************************************/
3582
3583 /******************************************************/
3584 #define CLIENT_REALMJOINREQ_109cxx . . $ `src/common/bnet_protocol.h:3584:9`! 0x3eff
3585 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_137#
3586 {
3587 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_137#h.;
3588 bn_intcxx . . $ pvpgn/bn_int# seqnocxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_137#seqno.;
3589 bn_intcxx . . $ pvpgn/bn_int# seqnohashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_137#seqnohash.[5];
3590 /* Realm Name */
3591 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_realmjoinreq_109cxx . . $ pvpgn/t_client_realmjoinreq_109#;
3592 /******************************************************/
3593
3594 /******************************************************/
3595 #define SERVER_REALMJOINREPLY_109cxx . . $ `src/common/bnet_protocol.h:3595:9`! 0x3eff
3596 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#
3597 {
3598 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#h.;
3599 bn_intcxx . . $ pvpgn/bn_int# seqnocxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#seqno.;
3600 bn_intcxx . . $ pvpgn/bn_int# u1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#u1.;
3601 bn_intcxx . . $ pvpgn/bn_int# bncs_addr1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#bncs_addr1.;
3602 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#sessionnum.;
3603 bn_intcxx . . $ pvpgn/bn_int# addrcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#addr.;
3604 bn_shortcxx . . $ pvpgn/bn_short# portcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#port.;
3605 bn_shortcxx . . $ pvpgn/bn_short# u3cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#u3.;
3606 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#sessionkey.; /* zero */
3607 bn_intcxx . . $ pvpgn/bn_int# u5cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#u5.;
3608 bn_intcxx . . $ pvpgn/bn_int# u6cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#u6.;
3609 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#clienttag.;
3610 bn_intcxx . . $ pvpgn/bn_int# versionidcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#versionid.;
3611 bn_intcxx . . $ pvpgn/bn_int# bncs_addr2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#bncs_addr2.;
3612 bn_intcxx . . $ pvpgn/bn_int# u7cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#u7.; /* zero */
3613 bn_intcxx . . $ pvpgn/bn_int# secret_hashcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_138#secret_hash.[5];
3614 /* account name */
3615 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_realmjoinreply_109cxx . . $ pvpgn/t_server_realmjoinreply_109#;
3616 /******************************************************/
3617
3618 #define CLIENT_SEARCH_LAN_GAMEScxx . . $ `src/common/bnet_protocol.h:3618:9`! 0x2ff7
3619 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_139#
3620 {
3621 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_139#h.;
3622 bn_bytecxx . . $ pvpgn/bn_byte# game_tagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_139#game_tag.[4]; /* 3WAR */
3623 bn_intcxx . . $ pvpgn/bn_int# unknown1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_139#unknown1.;
3624 bn_intcxx . . $ pvpgn/bn_int# unknown2cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_139#unknown2.;
3625 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_search_lan_gamescxx . . $ pvpgn/t_client_search_lan_games#;
3626
3627 #define CLIENT_CHANGECLIENTcxx . . $ `src/common/bnet_protocol.h:3627:9`! 0x5cff
3628 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_140#
3629 {
3630 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_140#h.;
3631 bn_intcxx . . $ pvpgn/bn_int# clienttagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_140#clienttag.;
3632 } t_client_changeclientcxx . . $ pvpgn/t_client_changeclient#;
3633
3634 #define CLIENT_SETEMAILREPLYcxx . . $ `src/common/bnet_protocol.h:3634:9`! 0x59ff
3635 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_141#
3636 {
3637 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_141#h.;
3638 /* email address */
3639 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_setemailreplycxx . . $ pvpgn/t_client_setemailreply#;
3640
3641 #define SERVER_SETEMAILREQcxx . . $ `src/common/bnet_protocol.h:3641:9`! 0x59ff
3642 /* send this packet to client before login ok packet will cause
3643 client to enter input email screen */
3644 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_142#
3645 {
3646 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_142#h.;
3647 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_setemailreqcxx . . $ pvpgn/t_server_setemailreq#;
3648
3649 #define CLIENT_GETPASSWORDREQcxx . . $ `src/common/bnet_protocol.h:3649:9`! 0x5aff
3650 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_143#
3651 {
3652 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_143#h.;
3653 /* account name */
3654 /* email address */
3655 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_getpasswordreqcxx . . $ pvpgn/t_client_getpasswordreq#;
3656
3657 #define CLIENT_CHANGEEMAILREQcxx . . $ `src/common/bnet_protocol.h:3657:9`! 0x5bff
3658 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_144#
3659 {
3660 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_144#h.;
3661 /* account name */
3662 /* old email address */
3663 /* new email address */
3664 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_changeemailreqcxx . . $ pvpgn/t_client_changeemailreq#;
3665
3666 #define CLIENT_MOTDREQcxx . . $ `src/common/bnet_protocol.h:3666:9`! 0x46ff
3667 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_145#
3668 {
3669 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_145#h.;
3670 bn_intcxx . . $ pvpgn/bn_int# last_news_timecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_145#last_news_time.; /* date of the last news item the client has */
3671 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_motdreqcxx . . $ pvpgn/t_client_motdreq#;
3672 /*
3673 this packet is sent right after cdkey and version auth reply success and crashdump exist
3674 0x0000: ff 5d 14 00 01 01 00 27 00 0a 01 05 00 00 c0 00 .].....'........
3675 0x0010: 00 00 00 00 ....
3676 */
3677
3678 #define CLIENT_CRASHDUMPcxx . . $ `src/common/bnet_protocol.h:3678:9`! 0x5dff
3679 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_146#
3680 {
3681 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_146#h.;
3682 /* crashdump file data */
3683 /* contains data like client version, exception code, code address */
3684 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_crashdumpcxx . . $ pvpgn/t_client_crashdump#;
3685
3686 #define CLIENT_CLANINFOREQcxx . . $ `src/common/bnet_protocol.h:3686:9`! 0x82ff
3687 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_147#
3688 {
3689 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_147#h.;
3690 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_147#count.;
3691 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_147#clantag.;
3692 /* player name */
3693 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_claninforeqcxx . . $ pvpgn/t_client_claninforeq#;
3694
3695 #define SERVER_CLANINFOREPLYcxx . . $ `src/common/bnet_protocol.h:3695:9`! 0x82ff
3696 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_148#
3697 {
3698 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_148#h.;
3699 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_148#count.;
3700 bn_bytecxx . . $ pvpgn/bn_byte# failcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_148#fail.;
3701 /* string - clan name */
3702 /* bn_byte - clan rank */
3703 /* bn_int - join time */
3704 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_claninforeplycxx . . $ pvpgn/t_server_claninforeply#;
3705
3706 #define CLIENT_ARRANGEDTEAM_ACCEPT_INVITEcxx . . $ `src/common/bnet_protocol.h:3706:9`! 0xfdff
3707 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_149#
3708 {
3709 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_149#h.;
3710 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_arrangedteam_accept_invitecxx . . $ pvpgn/t_client_arrangedteam_accept_invite#;
3711
3712 /* clan handling */
3713
3714 #define SERVER_CLAN_MEMBER_CHIEFTAINcxx . . $ `src/common/bnet_protocol.h:3714:9`! 0x04
3715 #define SERVER_CLAN_MEMBER_SHAMANcxx . . $ `src/common/bnet_protocol.h:3715:9`! 0x03
3716 #define SERVER_CLAN_MEMBER_GRUNTcxx . . $ `src/common/bnet_protocol.h:3716:9`! 0x02
3717 #define SERVER_CLAN_MEMBER_PEONcxx . . $ `src/common/bnet_protocol.h:3717:9`! 0x01
3718 #define SERVER_CLAN_MEMBER_NEWcxx . . $ `src/common/bnet_protocol.h:3718:9`! 0x00
3719 #define SERVER_CLAN_MEMBER_OFFLINEcxx . . $ `src/common/bnet_protocol.h:3719:9`! 0x00
3720 #define SERVER_CLAN_MEMBER_ONLINEcxx . . $ `src/common/bnet_protocol.h:3720:9`! 0x01
3721 #define SERVER_CLAN_MEMBER_CHANNELcxx . . $ `src/common/bnet_protocol.h:3721:9`! 0x02
3722 #define SERVER_CLAN_MEMBER_GAMEcxx . . $ `src/common/bnet_protocol.h:3722:9`! 0x03
3723 #define SERVER_CLAN_MEMBER_PRIVATE_GAMEcxx . . $ `src/common/bnet_protocol.h:3723:9`! 0x04
3724
3725 /*Paquet #267
3726 0x0000 FF 75 0A 00 00 00 42 54-54 04 u....BTT.
3727 */
3728 /*
3729 300: recv class=bnet[0x02] type=unknown[0x70ff] length=12
3730 0000: FF 70 0C 00 01 00 00 00 00 64 73 66 .p.......dsf
3731 300: send class=bnet[0x02] type=unknown[0x70ff] length=56
3732 0000: FF 70 38 00 01 00 00 00 00 09 44 4A 50 32 00 44 .p8.......DJP2.D
3733 0010: 4A 50 33 00 44 4A 50 34 00 44 4A 50 35 00 44 4A JP3.DJP4.DJP5.DJ
3734 0020: 50 36 00 44 4A 50 37 00 44 4A 50 38 00 44 4A 50 P6.DJP7.DJP8.DJP
3735 0030: 39 00 44 4A 50 31 30 00 9.DJP10.
3736 300: recv class=bnet[0x02] type=CLIENT_FRIENDINFOREQ[0x66ff] length=5
3737 0000: FF 66 05 00 01 .f...
3738 300: send class=bnet[0x02] type=unknown[0x66ff] length=12
3739 0000: FF 66 0C 00 01 00 00 00 00 00 00 00 .f..........
3740 300: recv class=bnet[0x02] type=unknown[0x71ff] length=64
3741 0000: FF 71 40 00 01 00 00 00 74 65 73 74 00 00 64 73 [email protected]
3742 0010: 66 09 44 4A 50 32 00 44 4A 50 33 00 44 4A 50 34 f.DJP2.DJP3.DJP4
3743 0020: 00 44 4A 50 35 00 44 4A 50 36 00 44 4A 50 37 00 .DJP5.DJP6.DJP7.
3744 0030: 44 4A 50 38 00 44 4A 50 39 00 44 4A 50 31 30 00 DJP8.DJP9.DJP10.
3745 300: send class=bnet[0x02] type=unknown[0x71ff] length=10
3746 0000: FF 71 0A 00 01 00 00 00 00 00 .q........
3747 300: send class=bnet[0x02] type=unknown[0x75ff] length=12
3748 0000: FF 75 0C 00 00 00 00 00 64 73 66 00 .u......dsf.
3749 300: recv class=bnet[0x02] type=CLIENT_FRIENDINFOREQ[0x66ff] length=5
3750 0000: FF 66 05 00 02 .f...
3751 300: send class=bnet[0x02] type=unknown[0x66ff] length=12
3752 0000: FF 66 0C 00 02 00 00 00 00 00 00 00 .f..........
3753 */
3754
3755 #define CLIENT_CLAN_CREATEREQcxx . . $ `src/common/bnet_protocol.h:3755:9`! 0x70ff
3756 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_150#{
3757 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_150#h.;
3758 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_150#count.;
3759 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_150#clantag.;
3760 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_createreqcxx . . $ pvpgn/t_client_clan_createreq#;
3761
3762
3763 #define SERVER_CLAN_CREATEREPLYcxx . . $ `src/common/bnet_protocol.h:3763:9`! 0x70ff
3764 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_151#{
3765 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_151#h.;
3766 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_151#count.;
3767 bn_bytecxx . . $ pvpgn/bn_byte# check_resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_151#check_result.;
3768 bn_bytecxx . . $ pvpgn/bn_byte# friend_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_151#friend_count.;
3769 /* player name in chan or mutual
3770 char player_name[sizeof (friend_name)]; */
3771 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_createreplycxx . . $ pvpgn/t_server_clan_createreply#;
3772 #define SERVER_CLAN_CREATEREPLY_CHECK_OKcxx . . $ `src/common/bnet_protocol.h:3772:9`! 0x00
3773 #define SERVER_CLAN_CREATEREPLY_CHECK_ALLREADY_IN_USEcxx . . $ `src/common/bnet_protocol.h:3773:9`! 0x01
3774 #define SERVER_CLAN_CREATEREPLY_CHECK_TIME_LIMITcxx . . $ `src/common/bnet_protocol.h:3774:9`! 0x02
3775 #define SERVER_CLAN_CREATEREPLY_CHECK_EXCEPTIONcxx . . $ `src/common/bnet_protocol.h:3775:9`! 0x04
3776 #define SERVER_CLAN_CREATEREPLY_CHECK_INVALID_CLAN_TAGcxx . . $ `src/common/bnet_protocol.h:3776:9`! 0x0a
3777
3778 /*
3779 3852: recv class=bnet[0x02] type=unknown[0x71ff] length=70
3780 0000: FF 71 46 00 01 00 00 00 53 75 62 57 61 72 5A 6F .qF.....SubWarZo
3781 0010: 6E 65 00 00 5A 57 53 09 44 4A 50 32 00 44 4A 50 ne..ZWS.DJP2.DJP
3782 0020: 33 00 44 4A 50 34 00 44 4A 50 35 00 44 4A 50 36 3.DJP4.DJP5.DJP6
3783 0030: 00 44 4A 50 37 00 44 4A 50 38 00 44 4A 50 31 30 .DJP7.DJP8.DJP10
3784 0040: 00 44 4A 50 39 00 .DJP9.
3785 */
3786 #define CLIENT_CLAN_CREATEINVITEREQcxx . . $ `src/common/bnet_protocol.h:3786:9`! 0x71ff
3787 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_152#{
3788 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_152#h.;
3789 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_152#count.;
3790 /* Clan Name (\0 terminated string)
3791 bn_int clantag;
3792 bn_byte friend_count; //Number of friend selected
3793 Name of friend (\0 terminated string)
3794 */
3795 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_createinvitereqcxx . . $ pvpgn/t_client_clan_createinvitereq#;
3796
3797 /*3756: send class=bnet[0x02] type=unknown[0x71ff] length=14
3798 0000: FF 71 0E 00 02 00 00 00 05 44 4A 50 32 00 .q.......DJP2.
3799 <- Unable to receive invitation ( PG search, already in a clan, etc... )*/
3800 /*3756:
3801 Paquet #266
3802 0x0000 FF 71 0A 00 05 00 00 00-00 00 q........
3803 <- Clan invitation = Sucessfully done */
3804 #define SERVER_CLAN_CREATEINVITEREPLYcxx . . $ `src/common/bnet_protocol.h:3804:9`! 0x71ff
3805 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_153#{
3806 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_153#h.;
3807 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_153#count.;
3808 bn_bytecxx . . $ pvpgn/bn_byte# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_153#status.; /* 0x05 = Cannot contact(not in channel screen) or already in clan | 0x04 = Decline | 0x00 = OK :)
3809 Name of failed member(\0 terminated string) */
3810 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_createinvitereplycxx . . $ pvpgn/t_server_clan_createinvitereply#;
3811
3812 #define SERVER_CLAN_CREATEINVITEREQcxx . . $ `src/common/bnet_protocol.h:3812:9`! 0x72ff
3813 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_154#{
3814 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_154#h.;
3815 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_154#count.;
3816 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_154#clantag.;
3817 /* Clan Name (\0 terminated string)
3818 Clan Creator (\0 terminated string)
3819 bn_byte friend_count; //Number of friend selected
3820 Name of friend (\0 terminated string) */
3821 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_createinvitereqcxx . . $ pvpgn/t_server_clan_createinvitereq#;
3822
3823 #define CLIENT_CLAN_CREATEINVITEREPLYcxx . . $ `src/common/bnet_protocol.h:3823:9`! 0x72ff
3824 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_155#{
3825 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_155#h.;
3826 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_155#count.;
3827 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_155#clantag.;
3828 /* Clan Creator (\0 terminated string)
3829 bn_byte reply */ /* 0x04--decline 0x05--Cannot contact(not in channel screen) or already in clan 0x06--accept*/
3830 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_createinvitereplycxx . . $ pvpgn/t_client_clan_createinvitereply#;
3831
3832 /*
3833 3876: recv class=bnet[0x02] type=unknown[0x73ff] length=8
3834 0000: FF 73 08 00 01 00 00 00 .s...... */
3835 #define CLIENT_CLAN_DISBANDREQcxx . . $ `src/common/bnet_protocol.h:3835:9`! 0x73ff
3836 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_156#{
3837 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_156#h.;
3838 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_156#count.;
3839 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_disbandreqcxx . . $ pvpgn/t_client_clan_disbandreq#;
3840
3841 #define SERVER_CLAN_DISBANDREPLYcxx . . $ `src/common/bnet_protocol.h:3841:9`! 0x73ff
3842 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_157#{
3843 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_157#h.;
3844 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_157#count.;
3845 bn_bytecxx . . $ pvpgn/bn_byte# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_157#result.; /* 0-- Success 1-- Exception raised 2-- Clan exists less than 1 week, cannot remove */
3846 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_disbandreplycxx . . $ pvpgn/t_server_clan_disbandreply#;
3847 #define SERVER_CLAN_DISBANDREPLY_RESULT_OKcxx . . $ `src/common/bnet_protocol.h:3847:9`! 0x0
3848 #define SERVER_CLAN_DISBANDREPLY_RESULT_EXCEPTIONcxx . . $ `src/common/bnet_protocol.h:3848:9`! 0x1
3849 #define SERVER_CLAN_DISBANDREPLY_RESULT_FAILEDcxx . . $ `src/common/bnet_protocol.h:3849:9`! 0x2
3850
3851 #define CLIENT_CLAN_MEMBERNEWCHIEFREQcxx . . $ `src/common/bnet_protocol.h:3851:9`! 0x74ff
3852 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_158#{
3853 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_158#h.;
3854 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_158#count.;
3855 /*Player_Name deleted(\0 terminated) */
3856 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_membernewchiefreqcxx . . $ pvpgn/t_client_clan_membernewchiefreq#;
3857
3858 #define SERVER_CLAN_MEMBERNEWCHIEFREPLYcxx . . $ `src/common/bnet_protocol.h:3858:9`! 0x74ff
3859 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_159#{
3860 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_159#h.;
3861 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_159#count.;
3862 bn_bytecxx . . $ pvpgn/bn_byte# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_159#result.; /* 0-successful 1-failed */
3863 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_membernewchiefreplycxx . . $ pvpgn/t_server_clan_membernewchiefreply#;
3864 #define SERVER_CLAN_MEMBERNEWCHIEFREPLY_SUCCESScxx . . $ `src/common/bnet_protocol.h:3864:9`! 0x00
3865 #define SERVER_CLAN_MEMBERNEWCHIEFREPLY_FAILEDcxx . . $ `src/common/bnet_protocol.h:3865:9`! 0x01
3866
3867 #define SERVER_CLAN_CLANACKcxx . . $ `src/common/bnet_protocol.h:3867:9`! 0x75ff
3868 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_160#{
3869 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_160#h.;
3870 bn_bytecxx . . $ pvpgn/bn_byte# unknow1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_160#unknow1.; /* 0x00 */
3871 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_160#clantag.;
3872 bn_bytecxx . . $ pvpgn/bn_byte# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_160#status.; /* member status */
3873 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_clanackcxx . . $ pvpgn/t_server_clan_clanack#;
3874
3875 #define SERVER_CLANQUITNOTIFYcxx . . $ `src/common/bnet_protocol.h:3875:9`! 0x76ff
3876 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_161#{
3877 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_161#h.;
3878 bn_bytecxx . . $ pvpgn/bn_byte# statuscxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_161#status.;
3879 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanquitnotifycxx . . $ pvpgn/t_server_clanquitnotify#;
3880 #define SERVER_CLANQUITNOTIFY_STATUS_REMOVED_FROM_CLANcxx . . $ `src/common/bnet_protocol.h:3880:9`! 0x01
3881
3882 /*
3883 3876: recv class=bnet[0x02] type=unknown[0x77ff] length=13
3884 0000: FF 77 0D 00 01 00 00 00 44 4A 50 31 00 .w......DJP1. */
3885 #define CLIENT_CLAN_INVITEREQcxx . . $ `src/common/bnet_protocol.h:3885:9`! 0x77ff
3886 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_162#{
3887 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_162#h.;
3888 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_162#count.;
3889 /*Player_Name invited */
3890 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_invitereqcxx . . $ pvpgn/t_client_clan_invitereq#;
3891
3892 #define SERVER_CLAN_INVITEREPLYcxx . . $ `src/common/bnet_protocol.h:3892:9`! 0x77ff
3893 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_163#{
3894 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_163#h.;
3895 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_163#count.;
3896 bn_bytecxx . . $ pvpgn/bn_byte# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_163#result.; /* 0x04--decline 0x05--Cannot contact(not in channel screen) or already in clan */
3897 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_invitereplycxx . . $ pvpgn/t_server_clan_invitereply#;
3898
3899 #define CLIENT_CLANMEMBER_REMOVE_REQcxx . . $ `src/common/bnet_protocol.h:3899:9`! 0x78ff
3900 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_164#{
3901 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_164#h.;
3902 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_164#count.;
3903 /*Player_Name deleted(\0 terminated) */
3904 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clanmember_remove_reqcxx . . $ pvpgn/t_client_clanmember_remove_req#;
3905
3906 #define SERVER_CLANMEMBER_REMOVE_REPLYcxx . . $ `src/common/bnet_protocol.h:3906:9`! 0x78ff
3907 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_165#{
3908 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_165#h.;
3909 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_165#count.;
3910 bn_bytecxx . . $ pvpgn/bn_byte# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_165#result.; /* 0-successful 1-failed */
3911 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanmember_remove_replycxx . . $ pvpgn/t_server_clanmember_remove_reply#;
3912 #define SERVER_CLANMEMBER_REMOVE_SUCCESScxx . . $ `src/common/bnet_protocol.h:3912:9`! 0x00
3913 #define SERVER_CLANMEMBER_REMOVE_FAILEDcxx . . $ `src/common/bnet_protocol.h:3913:9`! 0x01
3914
3915 #define SERVER_CLAN_INVITEREQcxx . . $ `src/common/bnet_protocol.h:3915:9`! 0x79ff
3916 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_166#{
3917 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_166#h.;
3918 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_166#count.;
3919 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_166#clantag.;
3920 /*Clan_Name (\0 terminated)
3921 Player_Name inviter (\0 terminated) */
3922 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_invitereqcxx . . $ pvpgn/t_server_clan_invitereq#;
3923
3924 #define CLIENT_CLAN_INVITEREPLYcxx . . $ `src/common/bnet_protocol.h:3924:9`! 0x79ff
3925 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_167#{
3926 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_167#h.;
3927 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_167#count.;
3928 bn_intcxx . . $ pvpgn/bn_int# clantagcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_167#clantag.;
3929 /*Player_Name inviter (\0 terminated)
3930 bn_byte reply */
3931 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_invitereplycxx . . $ pvpgn/t_client_clan_invitereply#;
3932
3933 /*
3934 clan codes according to bnetdocs
3935
3936 0x00: Success
3937 0x01: In use
3938 0x02: Too soon
3939 0x03: Not enough members
3940 0x04: Invitation was declined
3941 0x05: Decline
3942 0x06: Accept
3943 0x07: Not authorized
3944 0x08: User not found
3945 0x09: Clan is full
3946 0x0A: Bad tag
3947 0x0B: Bad name
3948 0x0C: User not found in that clan
3949 */
3950
3951 #define CLAN_RESPONSE_SUCCESScxx . . $ `src/common/bnet_protocol.h:3951:9`! 0x00
3952 #define CLAN_RESPONSE_FAILcxx . . $ `src/common/bnet_protocol.h:3952:9`! 0x01
3953 #define CLAN_RESPONSE_TOO_SOONcxx . . $ `src/common/bnet_protocol.h:3953:9`! 0x02
3954 #define CLAN_RESPONSE_TOO_SMALLcxx . . $ `src/common/bnet_protocol.h:3954:9`! 0x03
3955 #define CLAN_RESPONSE_DECLINEDcxx . . $ `src/common/bnet_protocol.h:3955:9`! 0x04
3956 #define CLAN_RESPONSE_DECLINEcxx . . $ `src/common/bnet_protocol.h:3956:9`! 0x05
3957 #define CLAN_RESPONSE_ACCEPTcxx . . $ `src/common/bnet_protocol.h:3957:9`! 0x06
3958 #define CLAN_RESPONSE_NOT_AUTHORIZEDcxx . . $ `src/common/bnet_protocol.h:3958:9`! 0x07
3959 #define CLAN_RESPONSE_NOT_FOUNDcxx . . $ `src/common/bnet_protocol.h:3959:9`! 0x08
3960 #define CLAN_RESPONSE_CLAN_FULLcxx . . $ `src/common/bnet_protocol.h:3960:9`! 0x09
3961 #define CLAN_RESPONSE_BAD_TAGcxx . . $ `src/common/bnet_protocol.h:3961:9`! 0x0a
3962 #define CLAN_RESPONSE_BAD_NAMEcxx . . $ `src/common/bnet_protocol.h:3962:9`! 0x0b
3963 #define CLAN_RESPONSE_NOT_MEMBERcxx . . $ `src/common/bnet_protocol.h:3963:9`! 0x0c
3964
3965 #define CLIENT_CLANMEMBER_RANKUPDATE_REQcxx . . $ `src/common/bnet_protocol.h:3965:9`! 0x7aff
3966 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_168#{
3967 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_168#h.;
3968 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_168#count.;
3969 /*Player_Name invited(\0 terminated)
3970 Player_Status(bn_byte: 1~4) */
3971 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clanmember_rankupdate_reqcxx . . $ pvpgn/t_client_clanmember_rankupdate_req#;
3972
3973 #define SERVER_CLANMEMBER_RANKUPDATE_REPLYcxx . . $ `src/common/bnet_protocol.h:3973:9`! 0x7aff
3974 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_169#{
3975 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_169#h.;
3976 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_169#count.;
3977 bn_bytecxx . . $ pvpgn/bn_byte# resultcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_169#result.; /* 0-successful 1-failed */
3978 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanmember_rankupdate_replycxx . . $ pvpgn/t_server_clanmember_rankupdate_reply#;
3979 #define SERVER_CLANMEMBER_RANKUPDATE_SUCCESScxx . . $ `src/common/bnet_protocol.h:3979:9`! 0x00
3980 #define SERVER_CLANMEMBER_RANKUPDATE_FAILEDcxx . . $ `src/common/bnet_protocol.h:3980:9`! 0x01
3981
3982 #define CLIENT_CLAN_MOTDCHGcxx . . $ `src/common/bnet_protocol.h:3982:9`! 0x7bff
3983 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_170#{
3984 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_170#h.;
3985 bn_intcxx . . $ pvpgn/bn_int# unknow1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_170#unknow1.;
3986 /* Motd en string ^^ */
3987 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_motdchgcxx . . $ pvpgn/t_client_clan_motdchg#;
3988 #define SERVER_CLAN_MOTDREPLY_UNKNOW1cxx . . $ `src/common/bnet_protocol.h:3988:9`! 0x00000000
3989
3990 #define SERVER_CLAN_MOTDREPLYcxx . . $ `src/common/bnet_protocol.h:3990:9`! 0x7cff
3991 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_171#{
3992 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_171#h.;
3993 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_171#count.;
3994 bn_intcxx . . $ pvpgn/bn_int# unknow1cxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_171#unknow1.; /* 0x00000000 */
3995 /* MOTD */
3996 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clan_motdreplycxx . . $ pvpgn/t_server_clan_motdreply#;
3997
3998 #define CLIENT_CLAN_MOTDREQcxx . . $ `src/common/bnet_protocol.h:3998:9`! 0x7cff
3999 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_172#{
4000 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_172#h.;
4001 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_172#count.;
4002 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clan_motdreqcxx . . $ pvpgn/t_client_clan_motdreq#;
4003
4004 /*
4005 Paquet #52
4006 0x0000 FF 7D 10 01 01 00 00 00-13 4D 79 73 74 69 2E 53 }.......Mysti.S
4007 0x0010 77 5A 00 04 01 00 73 61-75 72 6F 6E 2E 73 77 7A wZ....sauron.swz
4008 0x0020 00 03 00 00 73 69 6D 6F-6E 2E 53 77 5A 00 03 00 ....simon.SwZ...
4009 0x0030 00 4E 65 6F 2D 56 61 67-72 61 6E 74 2E 73 77 7A .Neo-Vagrant.swz
4010 0x0040 00 02 00 00 77 4D 7A 00-02 00 00 6B 61 74 6E 6F ....wMz....katno
4011 0x0050 6D 61 64 2E 53 77 5A 00-02 00 00 47 7A 62 65 75 mad.SwZ....Gzbeu
4012 0x0060 68 2E 53 77 5A 00 02 00-00 53 69 6C 76 65 72 2E h.SwZ....Silver.
4013 0x0070 53 77 5A 00 02 00 00 4D-61 67 67 65 75 73 00 02 SwZ....Maggeus..
4014 0x0080 00 00 4F 6E 69 2D 4D 75-73 68 61 2E 53 77 5A 00 ..Oni-Musha.SwZ.
4015 0x0090 02 00 00 4D 61 67 67 65-75 53 2E 53 77 5A 00 02 ...MaggeuS.SwZ..
4016 0x00A0 00 00 53 69 72 65 5F 4C-6F 75 70 00 02 00 00 6B ..Sire_Loup....k
4017 0x00B0 69 6C 6C 69 62 6F 79 00-03 00 00 52 65 64 2E 44 illiboy....Red.D
4018 0x00C0 72 61 4B 65 00 02 00 00-53 69 72 65 2E 53 77 5A raKe....Sire.SwZ
4019 0x00D0 00 03 00 00 73 74 72 61-69 67 68 74 5F 63 6F 75 ....straight_cou
4020 0x00E0 67 61 72 00 02 00 00 52-65 64 44 72 61 6B 65 2E gar....RedDrake.
4021 0x00F0 53 77 5A 00 02 00 00 54-72 6F 6C 6C 6F 00 02 00 SwZ....Trollo...
4022 0x0100 00 53 69 6C 76 65 72 62-65 61 72 64 00 00 00 00 .Silverbeard....
4023 */
4024 #define SERVER_CLANMEMBERLIST_REPLYcxx . . $ `src/common/bnet_protocol.h:4024:9`! 0x7dff
4025 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_173#{
4026 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_173#h.;
4027 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_173#count.;
4028 bn_bytecxx . . $ pvpgn/bn_byte# member_countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_173#member_count.;
4029 /* player repeat start
4030 * Name of player(\0 terminated string)
4031 * bn_byte CHIEFTAIN = 0x04
4032 * SHAMANS = 0x03
4033 * GRUNT = 0x02
4034 * PEON = 0x01
4035 * NEW_MEMBER = 0x00 <- can't be promoted/devoted
4036 * bn_byte online status
4037 * unknown(always \0)
4038 * repeat end
4039 */
4040 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanmemberlist_replycxx . . $ pvpgn/t_server_clanmemberlist_reply#;
4041
4042 /*
4043 Paquet #51
4044 0x0000 FF 7D 08 00 01 00 00 00- }......
4045 */
4046
4047 #define CLIENT_CLANMEMBERLIST_REQcxx . . $ `src/common/bnet_protocol.h:4047:9`! 0x7dff
4048 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_174#{
4049 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_174#h.;
4050 bn_intcxx . . $ pvpgn/bn_int# countcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_174#count.;
4051 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_clanmemberlist_reqcxx . . $ pvpgn/t_client_clanmemberlist_req#;
4052
4053 #define SERVER_CLANMEMBER_REMOVED_NOTIFYcxx . . $ `src/common/bnet_protocol.h:4053:9`! 0x7eff
4054 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_175#{
4055 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_175#h.;
4056 /* Player_Name deleted(\0 terminated) */
4057 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanmember_removed_notifycxx . . $ pvpgn/t_server_clanmember_removed_notify#;
4058
4059 #define SERVER_CLANMEMBERUPDATEcxx . . $ `src/common/bnet_protocol.h:4059:9`! 0x7fff
4060 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_176#{
4061 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_176#h.;
4062 /* Player_Name invited(\0 terminated)
4063 * Player_Status(bn_byte: 1~4)
4064 * Player_Online(bn_short: 0x0/0x1)
4065 */
4066 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_clanmemberupdatecxx . . $ pvpgn/t_server_clanmemberupdate#;
4067
4068
4069
4070 #define SERVER_MESSAGEBOXcxx . . $ `src/common/bnet_protocol.h:4070:9`! 0x19ff
4071 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_177#
4072 {
4073 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_177#h.;
4074 bn_intcxx . . $ pvpgn/bn_int# stylecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_177#style.;
4075 /* Text */
4076 /* Caption */
4077 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_messageboxcxx . . $ pvpgn/t_server_messagebox#;
4078 #define SERVER_MESSAGEBOX_OKcxx . . $ `src/common/bnet_protocol.h:4078:9`! 0x00000000
4079 #define SERVER_MESSAGEBOX_OKCANCELcxx . . $ `src/common/bnet_protocol.h:4079:9`! 0x00000001
4080 #define SERVER_MESSAGEBOX_YESNOcxx . . $ `src/common/bnet_protocol.h:4080:9`! 0x00000004
4081
4082 #define SERVER_REQUIREDWORKcxx . . $ `src/common/bnet_protocol.h:4082:9`! 0x4Cff
4083 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_178#
4084 {
4085 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_178#h.;
4086 /* FileName */
4087 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_server_requiredworkcxx . . $ pvpgn/t_server_requiredwork#;
4088
4089 #define CLIENT_EXTRAWORKcxx . . $ `src/common/bnet_protocol.h:4089:9`! 0x4bff
4090 typedef structcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_179#
4091 {
4092 t_bnet_headercxx . . $ pvpgn/t_bnet_header# hcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_179#h.;
4093 bn_shortcxx . . $ pvpgn/bn_short# gametypecxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_179#gametype.;
4094 bn_shortcxx . . $ pvpgn/bn_short# lengthcxx . . $ pvpgn/$anonymous_type_37d0d0c67ba6cc0e_179#length.;
4095 /* Data */
4096 } PACKED_ATTRcxx . . $ `src/common/setup_before.h:383:10`!() t_client_extraworkcxx . . $ pvpgn/t_client_extrawork#;
4097
4098 }
4099
4100 #endif