forked from rathena/rathena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacket_interserv.txt
3068 lines (2828 loc) · 61.3 KB
/
packet_interserv.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//===== rAthena Documentation ================================
//= Source Documentation
//===== By: ==================================================
//= rAthena Dev Team
//===== Last Updated: ========================================
//= 20180924
//===== Description: =========================================
//= List of all packets used by login-server (A), char-server
//= (H), and map-server (Z) to communicate with each other.
//= See packet_client.txt for communication to client (C).
//============================================================
This file provides information about rAthena's packets, ordered by number.
This assumes knowledge of packet notation, which is detailed in
'doc/packet_struct_notation.txt'.
The format of this file is as follows:
1. Notes
2. Login-Char Packets
3. Char/Inter Packets
- 3.1 Inter-Map Packets
- 3.2 Char-Map Packets
============
| 1. Notes |
============
Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket.cpp').
=========================
| 2. Login-Char Packets |
=========================
0x2712:
Type: HA
Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <ip>.L <request_id>.L
index: 0,2,6,10,14,15,19
len: 23
parameter:
- cmd : packet identification (0x2712)
- aid : account identification
- login_id1: unknown @FIXME
- login_id2: unknown @FIXME
- sex: the sex of the account
- ip: the ip of the connection (obsolete)
- request_id: unknown @FIXME
desc:
- Request from char-server to authenticate an account.
0x2713:
Type: AH
Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <auth>.B <request_id>.L <clienttype>.B
index: 0,2,6,10,14,15,16,20
len: 21
parameter:
- cmd : packet identification (0x2713)
- aid : account identification
- login_id1: unknown @FIXME
- login_id2: unknown @FIXME
- sex: the sex of the account
- ok : 1=auth failed, 1=ok
- request_id: unknown @FIXME
- clienttype: unknown @FIXME
desc:
- Acknowledge the authentication request from char-server
0x2714:
Type: HA
Structure: <cmd>.W <user_count>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x2714)
- user_count: number of user present on the char-server
desc:
- Retrieve the number of user present on a char-server
0x2715:
free
0x2716:
Type: HA
Structure: <cmd>.W <aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x2716)
- aid: account identification
desc:
- Request the account information of aid (see 0x2717)
0x2717
Type: AH
Structure: <cmd>.W <aid>.L <email>.40B <expiration_time>.L <group_id>.B <char_slots>.B <birthdate>.11B <pincode>.5B <pincode_change>.L <isvip>.B <char_vip>.B <MAX_CHAR_BILLING>.B
index: 0,2,6,46,50,51,52,63,68,72,73,74
len: 75
parameter:
- cmd: packet identification (0x2717)
- aid: account identification
- email: email of aid
- expiration_time: unknow @FIXME
- group_id: the group the aid belong too
- char_slots: number of slot available the account have (will be displayed on client)
- birthdate: birthdate of aid
- pincode: current pincode of aid
- pincode_change: new pincode of aid
- isvip: if this aid is currently vip or not
- char_vip: number of charslot that are vip (could only do creation on if you are vip)
- MAX_CHAR_BILLING: number of charslort that are for billing
desc:
- Request account data
0x2718
Type: AH
Structure: <cmd>.W
index: 0
len: 2
parameter:
- cmd : packet identification (0x2718)
desc:
- Keep alive packet, (confirm we are still connected)
0x2719:
Type: HA
Structure: <cmd>.W
index: 0,2
len: 2
parameter:
- cmd : packet identification (0x2719)
desc:
- Ping request from char-server
0x2720:
Type: HA
Structure: <cmd>.W <map_fd>.L <u_fd>.L <u_aid>.L <account_id>.L
index: 0,2,6,10,14
len: 18
parameter:
- cmd : packet identification (0x2720)
- map_fd :
- u_fd :
- u_aid :
- account_id :
desc:
-
0x2721:
Type: AH
Structure: <cmd>.W <map_fd>.L <u_fd>.L <u_aid>.L <account_id>.L <status>.B <password>.33B <email>.40B <last_ip>.16B <last_login>.24B <group_id>.L <logincount>.L <state>.L <birthdate>.11B <userid>.?B
index: 0,2,6,10,18,19,52,92,108,132,136,140,144,122+NAME_LENGTH
len: 122 + NAME_LENGTH
parameter:
- cmd : packet identification (0x2721)
- map_fd
- u_fd
- u_aid
- account_id
- status: 0 - Failed
- password
- email
- last_ip
- last_login
- group_id
- logincount
- state
- birthdate
- userid
desc:
-
0x2722:
Type: HA
Structure: <cmd>.W <account_id>.L <actual_e-mail>.40B <new_e-mail>.40B
index: 0,2,6,46
len: 86
parameter:
- cmd : packet identification (0x2722)
- aid: account identification
- actual_email: current email address
- new_email: new email address
desc:
- Map-server sends information to change an email of an account via char-server
0x2723:
Type: AH
Structure: <cmd>.W <aid>.L <sex>.B
index: 0,2,6
len: 7
parameter:
- cmd : packet identification (0x2723)
- aid: account identification
- sex: sex of account
0 = SEX_FEMALE
1= SEX_MALE
2=SEX_SERVER
desc:
- Acknowledge sex update
0x2724:
Type: HA
Structure: <cmd>.W <t_aid>.L <state>.L
index: 0,2,6
len: 10
parameter:
- cmd : packet identification (0x2724)
- t_aid: account identification of target
- state: state of account
- 0 : unblock
- 5 : block (Connection refused)
desc:
- Receiving an account state update request from a map-server (relayed via char-server)
0x2725:
Type: HA
Structure: <cmd>.W <t_aid>.L <timediff>.L
index: 0,2,6
len: 10
parameter:
- cmd : packet identification (0x2725)
- t_aid: account identification of target
- timediff: tick to add or remove to a timestamp
desc:
- Receiving of map-server via char-server a ban request (alter the ban time)
0x2726:
Type: AH
Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
index: 0,2,4,8,12,13,14,16,...
len: variable
parameter:
- cmd : packet identification (0x2726)
- ?
- aid
- cid
- type
- count
- keyLength
- key
- index
- val
- valLength
desc:
- Send global account registry
0x2727:
Type: HA
Structure: <cmd>.W <aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x2727)
- aid: account identification
desc:
- Receive a request to change sex (sex is reversed)
0x2728:
Type: HA
Structure: <cmd>.W <len>.W <aid>.L <cid>.L { <keyLength>.B <key>.<keyLength> <index>.L <type>.B <value>.?B }
index: 0,2,4,8,13
len: variable (reg size+4)
parameter:
- cmd : packet identification (0x2728)
- len: pakcet size
- aid: account identification
- cid : char identification
- keyLength
- key
- index
- type
- value
desc:
- Receive a request to fetch account_reg2 from a char-server, see packet 0x3004 (mapif_parse_Registry)
0x2729:
Type: AH
Structure: <cmd>.W <len>.L <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }
index: 0,2,4,8,12,13
len: variable (reg2 size+13)
parameter:
- cmd : packet identification (0x2729)
- len: pakcet size
- aid: account identification
- cid : char identification
-type:
-type:
1: account2 registry (only one used atm)
2: account registry
3: char registry
- str : name of variable in registry
- value : value of varaible in registry
desc:
- Receive account_reg2 registry, forward to map-server.
0x272a:
Type: HA
Structure: <cmd>.W <t_aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x272a)
- t_aid: account identification
desc:
- request unban account
0x272b:
Type: HA
Structure: <cmd>.W <t_aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x272b)
- t_aid: account identification
desc:
- Add aid to list of online user on login-server (setacconline).
0x272c:
Type: HA
Structure: <cmd>.W <t_aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x272c)
- t_aid: account identification
desc:
- Remove aid to the list of online user (setaccoffline).
0x272d:
Type: HA
Structure: <cmd>.W <len>.W <nb_online>.L {<aid>.L}*
index: 0,2,4,8
len: 8+users*4
parameter:
- cmd : packet identification (0x272d)
- len : size of packet
- users: number of users connected to char-server
- aid: account identification
desc:
- receive account list from char-server
0x272e:
Type: HA
Structure: <cmd>.W <aid>.L <cid>.L
index: 0,2,4,6
len: 10
parameter:
- cmd : packet identification (0x272e)
- aid: account identification
- cid: char identification
desc:
- request accreg2 to login
0x272f:
0x2730:
free
0x2731:
Type: AH
Structure: <cmd>.W <aid>.L <state>.B <status/date>.L
index: 0,2,6,7
len: 11
parameter:
- cmd : packet identification (0x2731)
- aid: account identification
- state: 0=change of status, 1=ban
- status|date: status or final date of a banishment
desc:
- Notify char-server of a state change or ban (accbannotification).
0x2732:
0x2733:
free
0x2734:
Type: AH
Structure: <cmd>.W <aid>.L
index: 0,2,
len: 6
parameter:
- cmd : packet identification (0x2734)
- aid: account identification
desc:
- Account is already marked as online. (Login-server request to kick a character out).
0x2735:
Type: AH
Structure: <cmd>.W
index: 0
len: 2
parameter:
- cmd : packet identification (0x2735)
desc:
- IP address update signal from login-server.
- Send back the IP of char-server to login-server if IP was changed.
0x2736:
Type: HA
Structure: <cmd>.W <ip>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x2736)
- ip: ip of char-server
desc:
- IP update for char-server
0x2737:
Type: HA
Structure: <cmd>.W
index: 0
len: 2
parameter:
- cmd : packet identification (0x2737)
desc:
- Request to set all account as offline from char-server
0x2738:
Type: HA
Structure: <cmd>.W <aid>.L <pincode>.?B
index: 0,2,6
len: variable: 11+PINCODE_LENGTH+1
parameter:
- cmd : packet identification (0x2738)
- aid : account identification
- pincode : new pincode code
desc:
- Change PIN Code of an account
0x2739:
Type: HA
Structure: <cmd>.W <aid>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x2739)
- aid : account identification
desc:
- Login-server notifies char-server for too many wrong PIN code entered. (fail auth)
0x273a
0x273b
0x273c
0x273d
0x273e
0x273f
free
0x2740
0x2741
free
0x2742:
Type: HA
Structure: <cmd>.W <aid>.L <flag>.B <timediff>.L <mapfd>.L
index: 0,2,6,7,11
len: 15
parameter:
- cmd : packet identification (0x2742)
- aid: account identification
- flag: 0x1 ack vip data to char-server, 0x2 add duration, 0x8 First request on player login
- timediff: tick to add to viptime
- mapfd: map-server link to ack if type&1
desc:
- Received a VIP data request from char
0x2743:
Type: AH
Structure: <cmd>.W <aid>.L <vip_time>.L <flag>.B <groupid>.L <mapfd>.L
index: 0,2,6,10,11,15
len: 19
parameter:
- cmd : packet identification (0x2743)
- aid: account identification
- vip_time: timestamp of vip_time if he is vip
- flag: 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
- groupid: group id of account
- mapfd: map-server link to ack
desc:
- Transmit vip specific data to char-server (will be transfered to map-server)
=========================
| 3.1 Inter-Map Packets |
=========================
0x3000
Type: ZI
Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
index: 0,2,4,8,10,12,14,16
len: 16+msglen
parameter:
- cmd : packet identification (0x3000)
- len : packet size
- fontColor: (standard broadcast color=0xFF000000)
- fontType:
- fontSize:
- fontAlign:
- fontY:
- mes: message to send
desc:
- Broadcasts a message to all map-servers connected to this char-server
0x3001
Type: ZI
Structure: <cmd>.W <len>.W <name>(NAME_LENGTH)B <nick>(NAME_LENGTH)B <mes>.?B
index: 0,2,4,4+NAME_LENGTH,4+2*NAME_LENGTH
len: 52+mes_len
parameter:
- cmd : packet identification (0x3001)
- len: packet size
- name : sender name of msg
- nick : receiver name of msg
- mes : message to send
desc:
- Send a whisper to another player
0x3002
Type: ZI
Structure: <cmd>.W <
index: 0,2,6
len: 7
parameter:
- cmd : packet identification (0x3002)
- id: whisper id, identifier to match current whisper session that store in inter.cpp::wis_db
- flag: 0=success, 1=target not found, 2=ignored by target
desc:
- Inform the char-server of the result of the whisper
0x3003
Type: ZI
Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
len: variable: mes_len + 8 + NAME_LENGTH
parameter:
- cmd : packet identification (0x3003)
- packet_len: mes_len + 8 + NAME_LENGTH
- wisp_name
- permission
- message
desc:
- Transmission of GM only Wisp/Page from server to inter-server
0x3004
Type: ZI
Structure: <cmd>.W <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }?
index: 0,4,8,12,13
len: variable : 13+regnum*(len variable name+len value) (max=288 * MAX_REG_NUM+13)
parameter:
- cmd : packet identification (0x3004)
- aid: account identification
- cid: char identification
-type:
1: account2 registry
2: account registry
3: char registry
-str: register variable identity, (variable name)
-value: variable value
desc:
- Map-server is requesting char-server to save registry values. (type=1 will forward data to login-server)
0x3005
Type: ZI
Structure: <cmd>.W <aid>.L <cid>.L <acc_reg2>.B <acc_reg>.B <ch_reg>.B
index: 0,2,6,10,11,12
len: 13
parameter:
- cmd : packet identification (0x3005)
- aid:
- cid:
-acc_reg2 : request account registry (permanent variable of account, save on login-server)
-acc_reg : request account registry (permanent variable of account , save on char-server)
-ch_reg : request char registry (permanent variable of char)
desc:
- Request the registries for this player.
0x3006
Type: ZI
Structure: <cmd>.W <aid>.L <cid>.L <type>.B <NAME_LENGTH>.?
index: 0,2,6,10,11
len: 12+NAME_LENGTH
parameter:
- cmd : packet identification (0x3006)
- aid
- cid
- type
- NAME_LENGTH
desc
0x3007
Type: ZI
Structure: <cmd>.W <u_fd>.L <aid>.L <group_lv>.L <type>.B <query>.?B
index: 0,2,6,10,14,15
len: 15+NAME_LENGTH
parameter:
- cmd : packet identification (0x3007)
- u_fd
- aid
- group_lv
- type : 0 - Full account info. 1 - Return as clif_account_name
- query : name or aid of player we want info
desc:
- Request acc info
0x3009
Type: ZI
Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
index: 0,2,6,4,8,9,24
len: 9+NAME_LENGTH+NAME_LENGTH
parameter:
- cmd : packet identification (0x3009)
- len : Packet length
- nameid : ID of obtained item
- source : Source from where the item obtained
- type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
- name : Name of player who obtained the item
- srcname : Source name as alternative of source id
desc:
- Send broadcasts request if player get special items.
0x3018
Type: ZI
Structure: <cmd>.W <aid>.L <gid>.L
index 0,2,6
len: 10
parameter:
- cmd : packet identification (0x3018)
- aid
- gid
desc:
- Request guild storage
0x3019
Type: ZI
Structure: <cmd>.W <guild_storage>.W <aid>.L <gid>.L
index: 0,2,4,8,12
len: 12+guild_storage
parameter:
- cmd : packet identification (0x3019)
- guild_storage
- aid
- gid
desc:
- Send guild storage
0x3020
Type: ZI
Structure: <cmd>.W <party_member>.W <name>.24B <item>.B <item2>.B <member>.?B
index: 0,2,4,28,29,30
len: variable: 28+party_member (max=64)
parameter:
- cmd : packet identification (0x3020)
- party_member
- name
- item
- item2
- member
desc:
- Party creation request
0x3021
Type: ZI
Structure: <cmd>.W <party_id>.L <cid>.L
index: 0,2,6
len: 10
parameter:
- cmd : packet identification (0x3021)
- party_id
- cid
desc:
- Party information request
0x3022
Type: ZI
Structure: <cmd>.W <party_member>.W <party_id>.L <member>.?B
index: 0,2,4,8
len: variable: 8+party_member (Max=42)
parameter:
- cmd : packet identification (0x3022)
- party_member
- party_id
- member
desc:
- Request to add a member to party
0x3023
Type: ZI
Structure: <cmd>.W <party_id>.L <aid>.L <exp>.W <item>.W
index: 0,2,6,10,12,14
len: 14
parameter:
- cmd : packet identification (0x3023)
- party_id
- aid
- exp
- item
desc:
- Request to change party configuration (exp,item share)
0x3024
Type: ZI
Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <name>.24B <type>.B
index: 0,2,6,10,14,48
len: 49
parameter:
- cmd : packet identification (0x3024)
- party_id : Party ID
- aid : Account ID
- cid : Character ID
- name : Character Name
- type : Leave (PARTY_MEMBER_WITHDRAW_LEAVE) or kick (PARTY_MEMBER_WITHDRAW_EXPEL) the player
desc:
- Request to leave party or kick party member
0x3025
Type: ZI
Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <mapindex>.W <online>.B <base_level>.W
index: 0,2,6,10,14,16,17
len: 19
parameter:
- cmd : packet identification (0x3025)
- party_id
- aid
- cid
- mapindex
- online
- base_level
desc:
- Party change map
0x3026
Type: ZI
Structure: <cmd>.W <party_id>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x3026)
- party_id
desc:
- Request breaking party
0x3027
Type: ZI
Structure: <cmd>.W <len>.W <party_id>.L <aid>.L <mes>.?B
index: 0,2,4,8,12
len: variable: 12+len
parameter:
- cmd : packet identification (0x3027)
- len
- party_id
- aid
- mes
desc:
- Sending party chat
0x3029
Type: ZI
Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L
index: 0,2,6,10
len: 14
parameter:
- cmd : packet identification (0x3029)
- party_id
- aid
- cid
desc:
- Request a new leader for party
0x302A
Type: ZI
Structure: <cmd>.W <share_lvl>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x302a)
- share_lvl
desc:
- Request to update party share level
0x3030
Type: ZI
Structure: <cmd>.W <guild_member>.W <aid>.L <name>.?B <master>.?B
index: 0,2,4,8,8+NAME_LENGTH
len:
parameter:
- cmd : packet identification (0x3030)
- guild_member
- aid
- name
- master
desc:
- Request a Guild creation
0x3031
Type: ZI
Structure: <cmd>.W <guild_id>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x3031)
- guild_id
desc:
- Request Guild information
0x3032
Type: ZI
Structure: <cmd>.W <guild_member>.W <guild_id>.L <m>.?B
index: 0,2,4,8
len: variable: 8+guild_member
parameter:
- cmd : packet identification (0x3032)
desc:
- Request to add member to the guild
0x3033
Type: ZI
Structure: <cmd>.W <len>.W <guild_id>.L <name>.?B
index: 0,2,4,8
len: variable: 8+len
parameter:
- cmd : packet identification (0x3033)
- len
- guild_id
- name
desc:
- Request a new leader for guild
0x3034
Type: ZI
Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <flag>.B <mes> .40B
index: 0,2,6,10,14,15
len: 55
parameter:
- cmd : packet identification (0x3034)
- guild_id
- aid
- cid
- flag
- mes
desc:
- Request to leave guild
0x3035
Type: ZI
Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <online>.B <lv>.W <class_>.W
index: 0,2,6,10,14,15,17
len: 19
parameter:
- cmd : packet identification (0x3035)
- guild_id
- aid
- cid
- online
- lv
- class_
desc:
- Update request / Lv online status of the guild members
0x3036
Type: ZI
Structure: <cmd>.W <guild_id>.L
index: 0,2
len: 6
parameter:
- cmd : packet identification (0x3036)
- guild_id
desc:
- Guild disbanded notification
0x3037
Type: ZI
Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <mes>.?B
index: 0,2,4,8,12
len: variable: 12+len
parameter:
- cmd : packet identification (0x3037)
- len
- guild_id
- aid
- mes
desc:
- Send a guild message
0x3039
Type: ZI
Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
index: 0,2,4,8,10
len: variable: 10+len
parameter:
- cmd : packet identification (0x3039)
- len
- guild_id
- type
- data
desc:
- Request a change of Guild basic information
0x303a
Type: ZI
Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <cid>.L <type>.W <data>.?B
index: 0,2,4,8,12,16,18
len: variable: 18+len
parameter:
- cmd : packet identification (0x303a)
- len
- guild_id
- aid
- cid
- type
- data
desc:
- Request a change of Guild member information
0x303b
Type: ZI
Structure: <cmd>.W <guild_position>.W <guild_id>.L <idx>.L <p>.?B
index: 0,2,4,8,12
len: variable: 12+guild_position
parameter:
- cmd : packet identification (0x303b)
- guild_position
- guild_id
- idx
- p
desc:
- Request a change of Guild title
0x303c
Type: ZI
Structure: <cmd>.W <guild_id>.L <skill_id>.L <aid>.L <max>.L
index: 0,2,6,10,14
len: 18
parameter:
- cmd : packet identification (0x303c)
- guild_id
- skill_id
- aid
- max
desc:
- Request an update of Guild skill skill_id
0x303d
Type: ZI
Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B
index: 0,2,6,10,14,18
len: 19
parameter:
- cmd : packet identification (0x303d)
- guild_id1
- guild_id2
- account_id1
- account_id2
- flag
desc:
- Request a new guild alliance
0x303e
Type: ZI
Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B
index: 0,2,6,66
len: 186
parameter:
- cmd : packet identification (0x303e)
- guild_id
- mes1
- mes2
desc:
- Request to change guild notice
0x303f
Type: ZI
Structure: <cmd>.W <len>.W <guild_id>.L <0>.L <data>.?B
index: 0,2,4,8,12
len: variable: 12+len (Max=2012)
parameter:
- cmd : packet identification (0x303f)
desc:
- Request to change guild emblem
0x3040
Type: ZI
Structure: <cmd>.W <num>.W <castle_ids>.?B
index: 0,2,4
len: variable: 4 + num * 2,147,483,647
parameter:
- cmd : packet identification (0x3040)
- num
- castle_ids
desc:
- Requests guild castles data from char-server
0x3041
Type: ZI
Structure: <cmd>.W <castle_ids>.W <index>.B <value>.L
index: 0,2,4,5
len: 9
parameter:
- cmd : packet identification (0x3041)
- castle_ids
- index
- value
desc: