packet_interserv.txt 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051
  1. //===== rAthena Documentation ================================
  2. //= Source Documentation
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Last Updated: ========================================
  6. //= 20140831
  7. //===== Description: =========================================
  8. //= List of all packets used by login-serv (A), char-serv (H),
  9. //= and map-serv (Z) to communicate with each other.
  10. //= See packet_client.txt for communication to client (C).
  11. //============================================================
  12. This file provides information about rAthena's packets, ordered by number.
  13. This assumes knowledge of packet notation, which is detailed in
  14. 'doc/packet_struct_notation.txt'.
  15. The format of this file is as follows:
  16. 1. Notes
  17. 2. Login-Char Packets
  18. 3. Char/Inter Packets
  19. - 3.1 Inter-Map Packets
  20. - 3.2 Char-Map Packets
  21. ============
  22. | 1. Notes |
  23. ============
  24. Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket.c').
  25. =========================
  26. | 2. Login-Char Packets |
  27. =========================
  28. 0x2712:
  29. Type: HA
  30. Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <ip>.L <request_id>.L
  31. index: 0,2,6,10,14,15,19
  32. len: 23
  33. parameter:
  34. - cmd : packet identification (0x2712)
  35. - aid : account identification
  36. - login_id1: unknown @FIXME
  37. - login_id2: unknown @FIXME
  38. - sex: the sex of the account
  39. - ip: the ip of the connection (obsolete)
  40. - request_id: unknown @FIXME
  41. desc:
  42. - Request from char-server to authenticate an account.
  43. 0x2713:
  44. Type: AH
  45. Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <auth>.B <request_id>.L <version>.L <clienttype>.B
  46. index: 0,2,6,10,14,15,16,20,24
  47. len: 25
  48. parameter:
  49. - cmd : packet identification (0x2713)
  50. - aid : account identification
  51. - login_id1: unknown @FIXME
  52. - login_id2: unknown @FIXME
  53. - sex: the sex of the account
  54. - ok : 1=auth failed, 1=ok
  55. - request_id: unknown @FIXME
  56. - version: client version, (clientinfo version)
  57. - clienttype: unknown @FIXME
  58. desc:
  59. - Acknowledge the authentication request from char-serv
  60. 0x2714:
  61. Type: HA
  62. Structure: <cmd>.W <user_count>.L
  63. index: 0,2
  64. len: 6
  65. parameter:
  66. - cmd : packet identification (0x2714)
  67. - user_count: number of user present on the char-serv
  68. desc:
  69. - Retrieve the number of user present on a char-serv
  70. 0x2715:
  71. free
  72. 0x2716:
  73. Type: HA
  74. Structure: <cmd>.W <aid>.L
  75. index: 0,2
  76. len: 6
  77. parameter:
  78. - cmd : packet identification (0x2716)
  79. - aid: account identification
  80. desc:
  81. - Request the account information of aid (see 0x2717)
  82. 0x2717
  83. Type: AH
  84. 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
  85. index: 0,2,6,46,50,51,52,63,68,72,73,74
  86. len: 75
  87. parameter:
  88. - cmd: packet identification (0x2717)
  89. - aid: account identification
  90. - email: email of aid
  91. - expiration_time: unknow @FIXME
  92. - group_id: the group the aid belong too
  93. - char_slots: number of slot available the account have (will be displayed on client)
  94. - birthdate: birthdate of aid
  95. - pincode: current pincode of aid
  96. - pincode_change: new pincode of aid
  97. - isvip: if this aid is currently vip or not
  98. - char_vip: number of charslot that are vip (could only do creation on if you are vip)
  99. - MAX_CHAR_BILLING: number of charslort that are for billing
  100. desc:
  101. - Request account data
  102. 0x2718
  103. Type: AH
  104. Structure: <cmd>.W
  105. index: 0
  106. len: 2
  107. parameter:
  108. - cmd : packet identification (0x2718)
  109. desc:
  110. - Keep alive packet, (confirm we are still connected)
  111. 0x2719:
  112. Type: HA
  113. Structure: <cmd>.W
  114. index: 0,2
  115. len: 2
  116. parameter:
  117. - cmd : packet identification (0x2719)
  118. desc:
  119. - Ping request from char-server
  120. 0x2720:
  121. Type: HA
  122. Structure: <cmd>.W <map_fd>.L <u_fd>.L <u_aid>.L <u_group>.L <account_id>.L
  123. index: 0,2,6,10,14,18
  124. len: 22
  125. parameter:
  126. - cmd : packet identification (0x2720)
  127. - map_fd :
  128. - u_fd :
  129. - u_aid :
  130. - u_group :
  131. - account_id :
  132. desc:
  133. -
  134. 0x2721:
  135. Type: AH
  136. 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 <password>.33B <birthdate>.11B <pincode>.?B <userid>.?B
  137. index: 0,2,6,10,18,19,52,92,108,132,136,140,144,155,155+PINCODE_LENGTH
  138. len: 155 + PINCODE_LENGTH + NAME_LENGTH
  139. parameter:
  140. - cmd : packet identification (0x2721)
  141. - map_fd
  142. - u_fd
  143. - u_aid
  144. - account_id
  145. - status: 0 - Failed
  146. - password
  147. - email
  148. - last_ip
  149. - last_login
  150. - group_id
  151. - logincount
  152. - state
  153. - password
  154. - birthdate
  155. - pincode
  156. - userid
  157. desc:
  158. -
  159. 0x2722:
  160. Type: HA
  161. Structure: <cmd>.W <account_id>.L <actual_e-mail>.40B <new_e-mail>.40B
  162. index: 0,2,6,46
  163. len: 86
  164. parameter:
  165. - cmd : packet identification (0x2722)
  166. - aid: account identification
  167. - actual_email: current email address
  168. - new_email: new email address
  169. desc:
  170. - Map server sends information to change an email of an account via char-server
  171. 0x2723:
  172. Type: AH
  173. Structure: <cmd>.W <aid>.L <sex>.B
  174. index: 0,2,6
  175. len: 7
  176. parameter:
  177. - cmd : packet identification (0x2723)
  178. - aid: account identification
  179. - sex: sex of account
  180. 0 = SEX_FEMALE
  181. 1= SEX_MALE
  182. 2=SEX_SERVER
  183. desc:
  184. - Acknowledge sex update
  185. 0x2724:
  186. Type: HA
  187. Structure: <cmd>.W <t_aid>.L <state>.L
  188. index: 0,2,6
  189. len: 10
  190. parameter:
  191. - cmd : packet identification (0x2724)
  192. - t_aid: account identification of target
  193. - state: state of account
  194. - 0 : unblock
  195. - 5 : block (Connection refused)
  196. desc:
  197. - Receiving an account state update request from a map-server (relayed via char-server)
  198. 0x2725:
  199. Type: HA
  200. Structure: <cmd>.W <t_aid>.L <timediff>.L
  201. index: 0,2,6
  202. len: 10
  203. parameter:
  204. - cmd : packet identification (0x2725)
  205. - t_aid: account identification of target
  206. - timediff: tick to add or remove to a timestamp
  207. desc:
  208. - Receiving of map-server via char-server a ban request (alter the ban time)
  209. 0x2726:
  210. Type: AH
  211. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
  212. index: 0,2,4,8,12,13,14,16,...
  213. len: variable
  214. parameter:
  215. - cmd : packet identification (0x2726)
  216. - ?
  217. - aid
  218. - cid
  219. - type
  220. - count
  221. - keyLength
  222. - key
  223. - index
  224. - val
  225. - valLength
  226. desc:
  227. - Send global account registry
  228. 0x2727:
  229. Type: HA
  230. Structure: <cmd>.W <aid>.L
  231. index: 0,2
  232. len: 6
  233. parameter:
  234. - cmd : packet identification (0x2727)
  235. - aid: account identification
  236. desc:
  237. - Receive a request to change sex (sex is reversed)
  238. 0x2728:
  239. Type: HA
  240. Structure: <cmd>.W <len>.W <aid>.L <cid>.L { <keyLength>.B <key>.<keyLength> <index>.L <type>.B <value>.?B }
  241. index: 0,2,4,8,13
  242. len: variable (reg size+4)
  243. parameter:
  244. - cmd : packet identification (0x2728)
  245. - len: pakcet size
  246. - aid: account identification
  247. - cid : char identification
  248. - keyLength
  249. - key
  250. - index
  251. - type
  252. - value
  253. desc:
  254. - Receive an request to fetch account_reg2 from a char-server, see packet 0x3004 (mapif_parse_Registry)
  255. 0x2729:
  256. Type: AH
  257. Structure: <cmd>.W <len>.L <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }
  258. index: 0,2,4,8,12,13
  259. len: variable (reg2 size+13)
  260. parameter:
  261. - cmd : packet identification (0x2729)
  262. - len: pakcet size
  263. - aid: account identification
  264. - cid : char identification
  265. -type:
  266. -type:
  267. 1: account2 registry (only one used atm)
  268. 2: account registry
  269. 3: char registry
  270. - str : name of variable in registry
  271. - value : value of varaible in registry
  272. desc:
  273. - Receive account_reg2 registry, forward to map servers.
  274. 0x272a:
  275. Type: HA
  276. Structure: <cmd>.W <t_aid>.L
  277. index: 0,2
  278. len: 6
  279. parameter:
  280. - cmd : packet identification (0x272a)
  281. - t_aid: account identification
  282. desc:
  283. - request unban account
  284. 0x272b:
  285. Type: HA
  286. Structure: <cmd>.W <t_aid>.L
  287. index: 0,2
  288. len: 6
  289. parameter:
  290. - cmd : packet identification (0x272b)
  291. - t_aid: account identification
  292. desc:
  293. - Add aid to list of online user on loginserv (setacconline).
  294. 0x272c:
  295. Type: HA
  296. Structure: <cmd>.W <t_aid>.L
  297. index: 0,2
  298. len: 6
  299. parameter:
  300. - cmd : packet identification (0x272c)
  301. - t_aid: account identification
  302. desc:
  303. - Remove aid to the list of online user (setaccoffline).
  304. 0x272d:
  305. Type: HA
  306. Structure: <cmd>.W <len>.W <nb_online>.L {<aid>.L}*
  307. index: 0,2,4,8
  308. len: 8+users*4
  309. parameter:
  310. - cmd : packet identification (0x272d)
  311. - len : size of packet
  312. - users: number of users connected to char-serv
  313. - aid: account identification
  314. desc:
  315. - receive account list from char-server
  316. 0x272e:
  317. Type: HA
  318. Structure: <cmd>.W <aid>.L <cid>.L
  319. index: 0,2,4,6
  320. len: 10
  321. parameter:
  322. - cmd : packet identification (0x272e)
  323. - aid: account identification
  324. - cid: char identification
  325. desc:
  326. - request accreg2 to login
  327. 0x272f:
  328. 0x2730:
  329. free
  330. 0x2731:
  331. Type: AH
  332. Structure: <cmd>.W <aid>.L <state>.B <status/date>.L
  333. index: 0,2,6,7
  334. len: 11
  335. parameter:
  336. - cmd : packet identification (0x2731)
  337. - aid: account identification
  338. - state: 0=change of status, 1=ban
  339. - status|date: status or final date of a banishment
  340. desc:
  341. - Notify char-serv of a state change or ban (accbannotification).
  342. 0x2732:
  343. 0x2733:
  344. free
  345. 0x2734:
  346. Type: AH
  347. Structure: <cmd>.W <aid>.L
  348. index: 0,2,
  349. len: 6
  350. parameter:
  351. - cmd : packet identification (0x2734)
  352. - aid: account identification
  353. desc:
  354. - Account is already marked as online. (Login server request to kick a character out).
  355. 0x2735:
  356. Type: AH
  357. Structure: <cmd>.W
  358. index: 0
  359. len: 2
  360. parameter:
  361. - cmd : packet identification (0x2735)
  362. desc:
  363. - IP address update signal from login server.
  364. - Send back the IP of char server to login-server if IP was changed.
  365. 0x2736:
  366. Type: HA
  367. Structure: <cmd>.W <ip>.L
  368. index: 0,2
  369. len: 6
  370. parameter:
  371. - cmd : packet identification (0x2736)
  372. - ip: ip of char server
  373. desc:
  374. - IP update for char-server
  375. 0x2737:
  376. Type: HA
  377. Structure: <cmd>.W
  378. index: 0
  379. len: 2
  380. parameter:
  381. - cmd : packet identification (0x2737)
  382. desc:
  383. - Request to set all account as offline from char-server
  384. 0x2738:
  385. Type: HA
  386. Structure: <cmd>.W <aid>.L <pincode>.?B
  387. index: 0,2,6
  388. len: variable: 11+PINCODE_LENGTH+1
  389. parameter:
  390. - cmd : packet identification (0x2738)
  391. - aid : account identification
  392. - pincode : new pincode code
  393. desc:
  394. - Change PIN Code of an account
  395. 0x2739:
  396. Type: HA
  397. Structure: <cmd>.W <aid>.L
  398. index: 0,2
  399. len: 6
  400. parameter:
  401. - cmd : packet identification (0x2739)
  402. - aid : account identification
  403. desc:
  404. - Login notify char that too many wrong PIN code entered. (fail auth)
  405. 0x273a
  406. 0x273b
  407. 0x273c
  408. 0x273d
  409. 0x273e
  410. 0x273f
  411. free
  412. 0x2740
  413. 0x2741
  414. free
  415. 0x2742:
  416. Type: HA
  417. Structure: <cmd>.W <aid>.L <flag>.B <timediff>.L <mapfd>.L
  418. index: 0,2,6,7,11
  419. len: 15
  420. parameter:
  421. - cmd : packet identification (0x2742)
  422. - aid: account identification
  423. - flag: 0x1 ack vip data to char-serv, 0x2 add duration, 0x8 First request on player login
  424. - timediff: tick to add to viptime
  425. - mapfd: map-serv link to ack if type&1
  426. desc:
  427. - Received a VIP data request from char
  428. 0x2743:
  429. Type: AH
  430. Structure: <cmd>.W <aid>.L <vip_time>.L <flag>.B <groupid>.L <mapfd>.L
  431. index: 0,2,6,10,11,15
  432. len: 19
  433. parameter:
  434. - cmd : packet identification (0x2743)
  435. - aid: account identification
  436. - vip_time: timestamp of vip_time if he is vip
  437. - flag: 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
  438. - groupid: group id of account
  439. - mapfd: map-serv link to ack
  440. desc:
  441. - Transmit vip specific data to char-serv (will be transfered to mapserv)
  442. =========================
  443. | 3.1 Inter-Map Packets |
  444. =========================
  445. 0x3000
  446. Type: ZI
  447. Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
  448. index: 0,2,4,8,10,12,14,16
  449. len: 16+msglen
  450. parameter:
  451. - cmd : packet identification (0x3000)
  452. - len : packet size
  453. - fontColor: (standard broadcast color=0xFF000000)
  454. - fontType:
  455. - fontSize:
  456. - fontAlign:
  457. - fontY:
  458. - mes: message to send
  459. desc:
  460. - Broadcasts a message to all map-servs connected to this char-serv
  461. 0x3001
  462. Type: ZI
  463. Structure: <cmd>.W <len>.W <name>(NAME_LENGTH)B <nick>(NAME_LENGTH)B <mes>.?B
  464. index: 0,2,4,4+NAME_LENGTH,4+2*NAME_LENGTH
  465. len: 52+mes_len
  466. parameter:
  467. - cmd : packet identification (0x3001)
  468. - len: packet size
  469. - name : sender name of msg
  470. - nick : receiver name of msg
  471. - mes : message to send
  472. desc:
  473. - Send a whisper to another player
  474. 0x3002
  475. Type: ZI
  476. Structure: <cmd>.W <
  477. index: 0,2,6
  478. len: 7
  479. parameter:
  480. - cmd : packet identification (0x3002)
  481. - id: whisper id, identifier to match current whisper session that store in inter.c::wis_db
  482. - flag: 0=success, 1=target not found, 2=ignored by target
  483. desc:
  484. - Inform the char-serv of the result of the whisper
  485. 0x3003
  486. Type: ZI
  487. Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
  488. index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
  489. len: variable: mes_len + 8 + NAME_LENGTH
  490. parameter:
  491. - cmd : packet identification (0x3003)
  492. - packet_len: mes_len + 8 + NAME_LENGTH
  493. - wisp_name
  494. - permission
  495. - message
  496. desc:
  497. - Transmission of GM only Wisp/Page from server to inter-server
  498. 0x3004
  499. Type: ZI
  500. Structure: <cmd>.W <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }?
  501. index: 0,4,8,12,13
  502. len: variable : 13+regnum*(len variable name+len value) (max=288 * MAX_REG_NUM+13)
  503. parameter:
  504. - cmd : packet identification (0x3004)
  505. - aid: account identification
  506. - cid: char identification
  507. -type:
  508. 1: account2 registry
  509. 2: account registry
  510. 3: char registry
  511. -str: registre variable identifiant, (variable name)
  512. -value: variable value
  513. desc:
  514. - Map-serv is requesting Char-serv to save registry values. (type=1 will forward data to login-serv)
  515. 0x3005
  516. Type: ZI
  517. Structure: <cmd>.W <aid>.L <cid>.L <acc_reg2>.B <acc_reg>.B <ch_reg>.B
  518. index: 0,2,6,10,11,12
  519. len: 13
  520. parameter:
  521. - cmd : packet identification (0x3005)
  522. - aid:
  523. - cid:
  524. -acc_reg2 : request account registry (permanent variable of account, save on login-serv)
  525. -acc_reg : request account registry (permanent variable of account , save on char-serv)
  526. -ch_reg : request char registry (permanent variable of char)
  527. desc:
  528. - Request the registries for this player.
  529. 0x3006
  530. Type: ZI
  531. Structure: <cmd>.W <aid>.L <cid>.L <type>.B <NAME_LENGTH>.?
  532. index: 0,2,6,10,11
  533. len: 12+NAME_LENGTH
  534. parameter:
  535. - cmd : packet identification (0x3006)
  536. - aid
  537. - cid
  538. - type
  539. - NAME_LENGTH
  540. desc
  541. 0x3007
  542. Type: ZI
  543. Structure: <cmd>.W <u_fd>.L <aid>.L <group_lv>.L <type>.B <query>.?B
  544. index: 0,2,6,10,14,15
  545. len: 15+NAME_LENGTH
  546. parameter:
  547. - cmd : packet identification (0x3007)
  548. - u_fd
  549. - aid
  550. - group_lv
  551. - type : 0 - Full account info. 1 - Return as clif_account_name
  552. - query : name or aid of player we want info
  553. desc:
  554. - Request acc info
  555. 0x3009
  556. Type: ZI
  557. Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
  558. index: 0,2,6,4,8,9,24
  559. len: 9+NAME_LENGTH+NAME_LENGTH
  560. parameter:
  561. - cmd : packet identification (0x3009)
  562. - len : Packet length
  563. - nameid : ID of obtained item
  564. - source : Source from where the item obtained
  565. - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
  566. - name : Name of player who obtained the item
  567. - srcname : Source name as alternative of source id
  568. desc:
  569. - Send broadcasts request if player get special items.
  570. 0x3018
  571. Type: ZI
  572. Structure: <cmd>.W <aid>.L <gid>.L
  573. index 0,2,6
  574. len: 10
  575. parameter:
  576. - cmd : packet identification (0x3018)
  577. - aid
  578. - gid
  579. desc:
  580. - Request guild storage
  581. 0x3019
  582. Type: ZI
  583. Structure: <cmd>.W <guild_storage>.W <aid>.L <gid>.L
  584. index: 0,2,4,8,12
  585. len: 12+guild_storage
  586. parameter:
  587. - cmd : packet identification (0x3019)
  588. - guild_storage
  589. - aid
  590. - gid
  591. desc:
  592. - Send guild storage
  593. 0x3020
  594. Type: ZI
  595. Structure: <cmd>.W <party_member>.W <name>.24B <item>.B <item2>.B <member>.?B
  596. index: 0,2,4,28,29,30
  597. len: variable: 28+party_member (max=64)
  598. parameter:
  599. - cmd : packet identification (0x3020)
  600. - party_member
  601. - name
  602. - item
  603. - item2
  604. - member
  605. desc:
  606. - Party creation request
  607. 0x3021
  608. Type: ZI
  609. Structure: <cmd>.W <party_id>.L <cid>.L
  610. index: 0,2,6
  611. len: 10
  612. parameter:
  613. - cmd : packet identification (0x3021)
  614. - party_id
  615. - cid
  616. desc:
  617. - Party information request
  618. 0x3022
  619. Type: ZI
  620. Structure: <cmd>.W <party_member>.W <party_id>.L <member>.?B
  621. index: 0,2,4,8
  622. len: variable: 8+party_member (Max=42)
  623. parameter:
  624. - cmd : packet identification (0x3022)
  625. - party_member
  626. - party_id
  627. - member
  628. desc:
  629. - Request to add a member to party
  630. 0x3023
  631. Type: ZI
  632. Structure: <cmd>.W <party_id>.L <aid>.L <exp>.W <item>.W
  633. index: 0,2,6,10,12,14
  634. len: 14
  635. parameter:
  636. - cmd : packet identification (0x3023)
  637. - party_id
  638. - aid
  639. - exp
  640. - item
  641. desc:
  642. - Request to change party configuration (exp,item share)
  643. 0x3024
  644. Type: ZI
  645. Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <name>.24B <type>.B
  646. index: 0,2,6,10,14,48
  647. len: 49
  648. parameter:
  649. - cmd : packet identification (0x3024)
  650. - party_id : Party ID
  651. - aid : Account ID
  652. - cid : Character ID
  653. - name : Character Name
  654. - type : Leave (PARTY_MEMBER_WITHDRAW_LEAVE) or kick (PARTY_MEMBER_WITHDRAW_EXPEL) the player
  655. desc:
  656. - Request to leave party or kick party member
  657. 0x3025
  658. Type: ZI
  659. Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <mapindex>.W <online>.B <base_level>.W
  660. index: 0,2,6,10,14,16,17
  661. len: 19
  662. parameter:
  663. - cmd : packet identification (0x3025)
  664. - party_id
  665. - aid
  666. - cid
  667. - mapindex
  668. - online
  669. - base_level
  670. desc:
  671. - Party change map
  672. 0x3026
  673. Type: ZI
  674. Structure: <cmd>.W <party_id>.L
  675. index: 0,2
  676. len: 6
  677. parameter:
  678. - cmd : packet identification (0x3026)
  679. - party_id
  680. desc:
  681. - Request breaking party
  682. 0x3027
  683. Type: ZI
  684. Structure: <cmd>.W <len>.W <party_id>.L <aid>.L <mes>.?B
  685. index: 0,2,4,8,12
  686. len: variable: 12+len
  687. parameter:
  688. - cmd : packet identification (0x3027)
  689. - len
  690. - party_id
  691. - aid
  692. - mes
  693. desc:
  694. - Sending party chat
  695. 0x3029
  696. Type: ZI
  697. Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L
  698. index: 0,2,6,10
  699. len: 14
  700. parameter:
  701. - cmd : packet identification (0x3029)
  702. - party_id
  703. - aid
  704. - cid
  705. desc:
  706. - Request a new leader for party
  707. 0x302A
  708. Type: ZI
  709. Structure: <cmd>.W <share_lvl>.L
  710. index: 0,2
  711. len: 6
  712. parameter:
  713. - cmd : packet identification (0x302a)
  714. - share_lvl
  715. desc:
  716. - Request to update party share level
  717. 0x3030
  718. Type: ZI
  719. Structure: <cmd>.W <guild_member>.W <aid>.L <name>.?B <master>.?B
  720. index: 0,2,4,8,8+NAME_LENGTH
  721. len:
  722. parameter:
  723. - cmd : packet identification (0x3030)
  724. - guild_member
  725. - aid
  726. - name
  727. - master
  728. desc:
  729. - Request a Guild creation
  730. 0x3031
  731. Type: ZI
  732. Structure: <cmd>.W <guild_id>.L
  733. index: 0,2
  734. len: 6
  735. parameter:
  736. - cmd : packet identification (0x3031)
  737. - guild_id
  738. desc:
  739. - Request Guild information
  740. 0x3032
  741. Type: ZI
  742. Structure: <cmd>.W <guild_member>.W <guild_id>.L <m>.?B
  743. index: 0,2,4,8
  744. len: variable: 8+guild_member
  745. parameter:
  746. - cmd : packet identification (0x3032)
  747. desc:
  748. - Request to add member to the guild
  749. 0x3033
  750. Type: ZI
  751. Structure: <cmd>.W <len>.W <guild_id>.L <name>.?B
  752. index: 0,2,4,8
  753. len: variable: 8+len
  754. parameter:
  755. - cmd : packet identification (0x3033)
  756. - len
  757. - guild_id
  758. - name
  759. desc:
  760. - Request a new leader for guild
  761. 0x3034
  762. Type: ZI
  763. Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <flag>.B <mes> .40B
  764. index: 0,2,6,10,14,15
  765. len: 55
  766. parameter:
  767. - cmd : packet identification (0x3034)
  768. - guild_id
  769. - aid
  770. - cid
  771. - flag
  772. - mes
  773. desc:
  774. - Request to leave guild
  775. 0x3035
  776. Type: ZI
  777. Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <online>.B <lv>.W <class_>.W
  778. index: 0,2,6,10,14,15,17
  779. len: 19
  780. parameter:
  781. - cmd : packet identification (0x3035)
  782. - guild_id
  783. - aid
  784. - cid
  785. - online
  786. - lv
  787. - class_
  788. desc:
  789. - Update request / Lv online status of the guild members
  790. 0x3036
  791. Type: ZI
  792. Structure: <cmd>.W <guild_id>.L
  793. index: 0,2
  794. len: 6
  795. parameter:
  796. - cmd : packet identification (0x3036)
  797. - guild_id
  798. desc:
  799. - Guild disbanded notification
  800. 0x3037
  801. Type: ZI
  802. Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <mes>.?B
  803. index: 0,2,4,8,12
  804. len: variable: 12+len
  805. parameter:
  806. - cmd : packet identification (0x3037)
  807. - len
  808. - guild_id
  809. - aid
  810. - mes
  811. desc:
  812. - Send a guild message
  813. 0x3039
  814. Type: ZI
  815. Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
  816. index: 0,2,4,8,10
  817. len: variable: 10+len
  818. parameter:
  819. - cmd : packet identification (0x3039)
  820. - len
  821. - guild_id
  822. - type
  823. - data
  824. desc:
  825. - Request a change of Guild basic information
  826. 0x303a
  827. Type: ZI
  828. Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <cid>.L <type>.W <data>.?B
  829. index: 0,2,4,8,12,16,18
  830. len: variable: 18+len
  831. parameter:
  832. - cmd : packet identification (0x303a)
  833. - len
  834. - guild_id
  835. - aid
  836. - cid
  837. - type
  838. - data
  839. desc:
  840. - Request a change of Guild member information
  841. 0x303b
  842. Type: ZI
  843. Structure: <cmd>.W <guild_position>.W <guild_id>.L <idx>.L <p>.?B
  844. index: 0,2,4,8,12
  845. len: variable: 12+guild_position
  846. parameter:
  847. - cmd : packet identification (0x303b)
  848. - guild_position
  849. - guild_id
  850. - idx
  851. - p
  852. desc:
  853. - Request a change of Guild title
  854. 0x303c
  855. Type: ZI
  856. Structure: <cmd>.W <guild_id>.L <skill_id>.L <aid>.L <max>.L
  857. index: 0,2,6,10,14
  858. len: 18
  859. parameter:
  860. - cmd : packet identification (0x303c)
  861. - guild_id
  862. - skill_id
  863. - aid
  864. - max
  865. desc:
  866. - Request an update of Guildskill skill_id
  867. 0x303d
  868. Type: ZI
  869. Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B
  870. index: 0,2,6,10,14,18
  871. len: 19
  872. parameter:
  873. - cmd : packet identification (0x303d)
  874. - guild_id1
  875. - guild_id2
  876. - account_id1
  877. - account_id2
  878. - flag
  879. desc:
  880. - Request a new guild alliance
  881. 0x303e
  882. Type: ZI
  883. Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B
  884. index: 0,2,6,66
  885. len: 186
  886. parameter:
  887. - cmd : packet identification (0x303e)
  888. - guild_id
  889. - mes1
  890. - mes2
  891. desc:
  892. - Request to change guild notice
  893. 0x303f
  894. Type: ZI
  895. Structure: <cmd>.W <len>.W <guild_id>.L <0>.L <data>.?B
  896. index: 0,2,4,8,12
  897. len: variable: 12+len (Max=2012)
  898. parameter:
  899. - cmd : packet identification (0x303f)
  900. desc:
  901. - Request to change guild emblem
  902. 0x3040
  903. Type: ZI
  904. Structure: <cmd>.W <num>.W <castle_ids>.?B
  905. index: 0,2,4
  906. len: variable: 4 + num * 2,147,483,647
  907. parameter:
  908. - cmd : packet identification (0x3040)
  909. - num
  910. - castle_ids
  911. desc:
  912. - Requests guild castles data from char-server
  913. 0x3041
  914. Type: ZI
  915. Structure: <cmd>.W <castle_ids>.W <index>.B <value>.L
  916. index: 0,2,4,5
  917. len: 9
  918. parameter:
  919. - cmd : packet identification (0x3041)
  920. - castle_ids
  921. - index
  922. - value
  923. desc:
  924. - Request change castle guild owner and save data
  925. 0x3048
  926. Type: ZI
  927. Structure: <cmd>.W <cid>.L <flag>.B <mail_type>.B
  928. index: 0,2,6,7
  929. len: 8
  930. parameter:
  931. - cmd : packet identification (0x3048)
  932. - cid
  933. - flag
  934. - mail_type
  935. desc:
  936. - Inbox request
  937. 0x3049
  938. Type: ZI
  939. Structure: <cmd>.W <mail_id>.L
  940. index: 0,2
  941. len: 6
  942. parameter:
  943. - cmd : packet identification (0x3049)
  944. - mail_id
  945. desc:
  946. - Mail read
  947. 0x304a
  948. Type: ZI
  949. Structure: <cmd>.W <cid>.L <mail_id>.L <attachment_type>.B
  950. index: 0,2,6,10
  951. len: 11
  952. parameter:
  953. - cmd : packet identification (0x304a)
  954. - cid
  955. - mail_id
  956. - attachment_type
  957. desc:
  958. - Mail get attachment
  959. 0x304b
  960. Type: ZI
  961. Structure: <cmd>.W <cid>.L <mail_id>.L
  962. index: 0,2,6
  963. len: 10
  964. parameter:
  965. - cmd : packet identification (0x304b)
  966. - cid
  967. - mail_id
  968. desc:
  969. - Mail delete
  970. 0x304c
  971. Type: ZI
  972. Structure: <cmd>.W <cid>.L <mail_id>.L
  973. index: 0,2,6
  974. len: 10
  975. parameter:
  976. - cmd : packet identification (0x304c)
  977. - cid
  978. - mail_id
  979. desc:
  980. - Mail return
  981. 0x304d
  982. Type: ZI
  983. Structure: <cmd>.W <len>.W <aid>.L <msg>.?B
  984. index: 0,2,4,8
  985. len: variable: 8+mail_message
  986. parameter:
  987. - cmd : packet identification (0x304d)
  988. - len
  989. - aid
  990. - msg
  991. desc:
  992. - Mail send
  993. 0x304e
  994. Type: ZI
  995. Structure: <cmd>.W <cid>.L <name>.24B
  996. index: 0,2,6
  997. len: 30
  998. parameter:
  999. - cmd : packet identification (0x304e)
  1000. - cid
  1001. - name
  1002. desc:
  1003. - Checks if a character with the given name exists.
  1004. 0x3050
  1005. Type: ZI
  1006. Structure: <cmd>.W <len>.W <cid>.L <type>.W <price>.L <page>.W <searchtext>.?B
  1007. index: 0,2,4,8,10,14,16
  1008. len: variable: 16+NAME_LENGTH
  1009. parameter:
  1010. - cmd : packet identification (0x3050)
  1011. - len
  1012. - cid
  1013. - type
  1014. - price
  1015. - page
  1016. - searchtext
  1017. desc:
  1018. - Auction request list
  1019. 0x3051
  1020. Type: ZI
  1021. Structure: <cmd>.W <len>.W <auction_data>.?B
  1022. index: 0,2,4
  1023. len: variable: 4+auction_data
  1024. parameter:
  1025. - cmd : packet identification (0x3051)
  1026. - len
  1027. - auction_data
  1028. desc:
  1029. - Auction register
  1030. 0x3052
  1031. Type: ZI
  1032. Structure: <cmd>.W <cid>.L <auction_id>.L
  1033. index: 0,2,6
  1034. len: 10
  1035. parameter:
  1036. - cmd : packet identification (0x3052)
  1037. - cid
  1038. - auction_id
  1039. desc:
  1040. - Auction cancel
  1041. 0x3053
  1042. Type: ZI
  1043. Structure: <cmd>.W <cid>.L <auction_id>.L
  1044. index: 0,2,6
  1045. len: 10
  1046. parameter:
  1047. - cmd : packet identification (0x3053)
  1048. - cid
  1049. - auction_id
  1050. desc:
  1051. - Auction close
  1052. 0x3055
  1053. Type: ZI
  1054. Structure: <cmd>.W <len>.W <cid>.L <auction_id>.L <bid>.L <name>.?B
  1055. index: 0,2,4,8,12,16
  1056. len: variable: 16+NAME_LENGTH
  1057. parameter:
  1058. - cmd : packet identification (0x3055)
  1059. - len
  1060. - cid
  1061. - auction_id
  1062. - bid
  1063. desc:
  1064. - Auction bid
  1065. 0x3056
  1066. Type: ZI
  1067. Structure: <cmd>.W <cid>.L <aid>.L <guild_id>.W
  1068. index: 0,2,6,10
  1069. len: 12
  1070. parameter:
  1071. - cmd : packet identification (0x3056)
  1072. - cid
  1073. - aid
  1074. - guild_id
  1075. desc:
  1076. - Itembound request
  1077. 0x3060
  1078. Type: ZI
  1079. Structure: <cmd>.W <cid>.L
  1080. index: 0,2
  1081. len: 6
  1082. parameter:
  1083. - cmd : packet identification (0x3060)
  1084. - cid
  1085. desc:
  1086. - Requests a character's quest log entries to the inter server.
  1087. 0x3061
  1088. Type: ZI
  1089. Structure: <cmd>.W <len>.W <cid>.L <quest_log>.?B
  1090. index: 0,2,4,8
  1091. len: variable: 8+num_quests
  1092. parameter:
  1093. - cmd : packet identification (0x3061)
  1094. desc:
  1095. - Requests to the inter server to save a character's quest log entries.
  1096. 0x3070
  1097. Type: ZI
  1098. Structure: <cmd>.W <size>.W <merc>.?B
  1099. index: 0,2,4
  1100. len: variable: 4+s_mercenary
  1101. parameter:
  1102. - cmd : packet identification (0x3070)
  1103. - size
  1104. - merc
  1105. desc:
  1106. - Mercenary create
  1107. 0x3071
  1108. Type: ZI
  1109. Structure: <cmd>.W <merc_id>.L <char_id>.L
  1110. index: 0,2,6
  1111. len: 10
  1112. parameter:
  1113. - cmd : packet identification (0x3071)
  1114. - merc_id
  1115. - cid
  1116. desc:
  1117. - Mercenary request
  1118. 0x3072
  1119. Type: ZI
  1120. Structure: <cmd>.W <merc_id>.L
  1121. index: 0,2
  1122. len: 6
  1123. parameter:
  1124. - cmd : packet identification (0x3072)
  1125. - merc_id
  1126. desc:
  1127. - Mercenary delete
  1128. 0x3073
  1129. Type: ZI
  1130. Structure: <cmd>.W <size>.W <merc>.?B
  1131. index: 0,2,4
  1132. len: variable: 4+s_mercenary
  1133. parameter:
  1134. - cmd : packet identification (0x3073)
  1135. - size
  1136. - merc
  1137. desc:
  1138. - Mercenary save
  1139. 0x307c
  1140. Type: ZI
  1141. Structure: <cmd>.W <size>.W <ele>.?B
  1142. index: 0,2,4
  1143. len: variable: 4+s_elemental
  1144. parameter:
  1145. - cmd : packet identification (0x307c)
  1146. - size
  1147. - ele
  1148. desc:
  1149. - Elemental create
  1150. 0x307d
  1151. Type: ZI
  1152. Structure: <cmd>.W <ele_id>.L <cid>.L
  1153. index: 0,2,6
  1154. len: 10
  1155. parameter:
  1156. - cmd : packet identification (0x307d)
  1157. - ele_id
  1158. - cid
  1159. desc:
  1160. - Elemental request
  1161. 0x307e
  1162. Type: ZI
  1163. Structure: <cmd>.W <ele_id>.L
  1164. index: 0,2
  1165. len: 6
  1166. parameter:
  1167. - cmd : packet identification (0x307e)
  1168. - ele_id
  1169. desc:
  1170. - Elemental delete
  1171. 0x307f
  1172. Type: ZI
  1173. Structure: <cmd>.W <size>.W <ele>.?B
  1174. index: 0,2,4
  1175. len: variable: 4+s_elemental
  1176. parameter:
  1177. - cmd : packet identification (0x307f)
  1178. - size
  1179. - ele
  1180. desc:
  1181. - Elemental save
  1182. 0x3080
  1183. Type: ZI
  1184. Structure: <cmd>.W <aid>.L <cid>.L <pet_class>.W <pet_lv>.W <pet_egg_id>.W <pet_equip>.W <intimate>.W <hungry>.W <rename_flag>.B <incubate>.B
  1185. index: 0,2,6,10,12,14,16,18,20,22,23,24
  1186. len: variable: 24+NAME_LENGTH
  1187. parameter:
  1188. - cmd : packet identification (0x3080)
  1189. - aid
  1190. - cid
  1191. - pet_class
  1192. - pet_lv
  1193. - pet_egg_id
  1194. -pet_equip
  1195. - intimate
  1196. - hungry
  1197. - rename_flag
  1198. - incubate
  1199. desc:
  1200. - Pet create
  1201. 0x3081
  1202. Type: ZI
  1203. Structure: <cmd>.W <aid>.L <cid>.L <pet_id>.L
  1204. index: 0,2,6,10
  1205. len: 14
  1206. parameter:
  1207. - cmd : packet identification (0x3081)
  1208. - aid
  1209. - cid
  1210. - pet_id
  1211. desc:
  1212. - Request pet data
  1213. 0x3082
  1214. Type: ZI
  1215. Structure: <cmd>.W <size>.W <aid>.L <s_pet>.?B
  1216. index: 0,2,4,8
  1217. len: variable: 8+s_pet
  1218. parameter:
  1219. - cmd : packet identification (0x3082)
  1220. - size
  1221. - aid
  1222. - s_pet: Pet data
  1223. desc:
  1224. - Save pet data
  1225. 0x3083
  1226. Type: ZI
  1227. Structure: <cmd>.W <pet_id>.L
  1228. index: 0,2
  1229. len 6:
  1230. parameter:
  1231. - cmd : packet identification (0x3083)
  1232. - pet_id
  1233. desc:
  1234. - Delete pet data
  1235. 0x308a
  1236. Type: ZI
  1237. Structure: <cmd>.W <type>.B <account_id>.L <char_id>.L
  1238. index: 0,2,3,7
  1239. len: 11
  1240. parameter:
  1241. - cmd : packet identification (0x308a)
  1242. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1243. - account_id
  1244. - char_id
  1245. desc:
  1246. - Request inventory/cart/storage data for a player/guild if type = 3
  1247. 0x308b
  1248. Type: ZI
  1249. Structure: <size>.W <type>.B <account_id>.L <char_id>.L <entries>.?B
  1250. index: 0,2,4,5,9,13
  1251. len: 11
  1252. parameter:
  1253. - cmd : packet identification (0x308b)
  1254. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1255. - account_id
  1256. - char_id
  1257. - entries : Inventory/cart/storage entries that will be saved
  1258. desc:
  1259. - Request to save inventory/cart/storage entries
  1260. 0x3090:
  1261. Type: ZI
  1262. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1263. index: 0,2,4,8
  1264. len: variable: 8+s_homunculus
  1265. parameter:
  1266. - cmd : packet identification (0x3090)
  1267. - s_homunculus
  1268. - aid
  1269. - sh
  1270. desc:
  1271. - Homunculus create
  1272. 0x3091:
  1273. Type: ZI
  1274. Structure: <cmd>.W <aid>.L <homun_id>.L
  1275. index: 0,2,6
  1276. len: 10
  1277. parameter:
  1278. - cmd : packet identification (0x3091)
  1279. - aid
  1280. - homun_id
  1281. desc:
  1282. - Homunculus request load
  1283. 0x3092:
  1284. Type: ZI
  1285. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1286. index: 0,2,4,8
  1287. len: variable: 8+s_homunculus
  1288. parameter:
  1289. - cmd : packet identification (0x3092)
  1290. - s_homunculus
  1291. - aid
  1292. - sh
  1293. desc:
  1294. - Homunculus request save
  1295. 0x3093:
  1296. Type: ZI
  1297. Structure: <cmd>.W <homun_id>.L
  1298. index: 0,2
  1299. len: 6
  1300. parameter:
  1301. - cmd : packet identification (0x3093)
  1302. - homun_id
  1303. desc:
  1304. - Homunculus request delete
  1305. 0x3094:
  1306. Type: ZI
  1307. Structure: <cmd>.W <aid>.L <cid>.L <name>.?B
  1308. index: 0,2,6,10
  1309. len: variable: 10+name
  1310. parameter:
  1311. - cmd : packet identification (0x3094)
  1312. - aid
  1313. - cid
  1314. - name
  1315. desc:
  1316. - Homunculus rename
  1317. 0x30A0:
  1318. Type: ZI
  1319. Structure: <cmd>.W
  1320. index: 0
  1321. len: 2
  1322. parameter:
  1323. - cmd : packet identification (0x30A0)
  1324. desc:
  1325. - Requests the loaded clans from the inter server
  1326. 0x30A1
  1327. Type: ZI
  1328. Structure: <cmd>.W <size>.W <clan id>.L <account id>.L <message>.?B
  1329. index: 0,2,4,8,12
  1330. len: variable: 12+message
  1331. parameter:
  1332. - cmd : packet identification (0x30A1)
  1333. - size
  1334. - clan id : the clan id the message is sent to
  1335. - account id : the account id of the sender
  1336. - message : the message to be sent
  1337. desc:
  1338. - Sends a clan message to the inter server to relay it to all other mapservers
  1339. 0x30A2:
  1340. Type: ZI
  1341. Structure: <cmd>.W <clan id>.L
  1342. index: 0,2
  1343. len: 6
  1344. parameter:
  1345. - cmd : packet identification (0x30A2)
  1346. - clan id : the clan id
  1347. desc:
  1348. - Notifies the inter server that a player has left the clan or disconnected
  1349. 0x30A3:
  1350. Type: ZI
  1351. Structure: <cmd>.W <clan id>.L
  1352. index: 0,2
  1353. len: 6
  1354. parameter:
  1355. - cmd : packet identification (0x30A3)
  1356. - clan id : the clan id
  1357. desc:
  1358. - Notifies the inter server that a player has joined the clan or connected
  1359. 0x3800:
  1360. Type: IZ
  1361. Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
  1362. index: 0,2,4,8,10,12,14,16
  1363. len: variable: 16+len
  1364. parameter:
  1365. - cmd : packet identification (0x3800)
  1366. - len
  1367. - fontColor
  1368. - fontType
  1369. - fontSize
  1370. - fontAlign
  1371. - fontY
  1372. - mes
  1373. desc:
  1374. - Send broadcast message
  1375. 0x3801
  1376. Type: IZ
  1377. Structure: <cmd>.W <len>.W <id>.L <src>.24B <dst>.24B <msg>.?B
  1378. index: 0,2,4,8,32,56
  1379. len: variable: 56+len (Max=1991)
  1380. parameter:
  1381. - cmd : packet identification (0x3801)
  1382. - len
  1383. - id
  1384. - src
  1385. - dst
  1386. - msg
  1387. desc:
  1388. - Send whisper message
  1389. 0x3802
  1390. Type: IZ
  1391. Structure: <cmd>.W <src>.24B <flag>.B
  1392. index: 0,2,26
  1393. len: 27
  1394. parameter:
  1395. - cmd : packet identification (0x3802)
  1396. - src
  1397. - flag
  1398. desc:
  1399. - Whisper sending result
  1400. 0x3803
  1401. Type: IZ
  1402. Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
  1403. index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
  1404. len: variable: mes_len + 8 + NAME_LENGTH
  1405. parameter:
  1406. - cmd : packet identification (0x3803)
  1407. - packet_len: mes_len + 8 + NAME_LENGTH
  1408. - wisp_name
  1409. - permission
  1410. - message
  1411. desc:
  1412. - Parse whisper to GM
  1413. 0x3804
  1414. Type: HZ
  1415. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
  1416. index: 0,2,4,8,12,13,14,16,...
  1417. len: variable
  1418. parameter:
  1419. - cmd : packet identification (0x3804)
  1420. - ?
  1421. - aid
  1422. - cid
  1423. - type
  1424. - count
  1425. - keyLength
  1426. - key
  1427. - index
  1428. - val
  1429. - valLength
  1430. desc:
  1431. - Send global account registry to map-server from login-server
  1432. 0x3806
  1433. Type: IZ
  1434. Structure: <cmd>.W <aid>.L <cid>.L <type>.B <flag>.B <name>.B
  1435. index: 0,2,6,10,11,12
  1436. len: 13
  1437. parameter:
  1438. - cmd : packet identification (0x3806)
  1439. - aid
  1440. - cid
  1441. - type
  1442. - flag
  1443. - name
  1444. desc:
  1445. - mapif_namechange_ack
  1446. 0x3807
  1447. Type: IZ
  1448. Structure: <cmd>.W <len>.W <u_fd>.L <aid>.L <msg_out>.?B
  1449. index: 0,2,4,8,12
  1450. len: variable: 12+len
  1451. parameter:
  1452. - cmd : packet identification (0x3807)
  1453. - len
  1454. - u_fd
  1455. - aid
  1456. - msg_out
  1457. desc:
  1458. - sends a mesasge to map server (fd) to a user (u_fd) although we use fd we keep aid for safe-check
  1459. 0x3808
  1460. Type: IZ
  1461. Structure: <cmd>.W <u_fd>.L <aid>.L <acc_name>.?B
  1462. index: 0,2,6,10
  1463. len: variable: 10+NAME+LENGTH
  1464. parameter:
  1465. - cmd : packet identification (0x3808)
  1466. - u_fd
  1467. - aid
  1468. - acc_name
  1469. desc:
  1470. - Transmit the result of a account_information request from map-serv, with type 1
  1471. 0x3809
  1472. Type: IZ
  1473. Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
  1474. index: 0,2,6,4,8,9,24
  1475. len: 9+NAME_LENGTH+NAME_LENGTH
  1476. parameter:
  1477. - cmd : packet identification (0x3809)
  1478. - len : Packet length
  1479. - nameid : ID of obtained item
  1480. - source : Source from where the item obtained
  1481. - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
  1482. - name : Name of player who obtained the item
  1483. - srcname : Source name as alternative of source
  1484. desc:
  1485. - Broadcasts if player get special items.
  1486. 0x3818
  1487. Type: IZ
  1488. Structure: <cmd>.W <len>.W <aid>.L <guild_id>.L <flag>.B <guild_storage>.?B
  1489. index: 0,2,4,8,12,13
  1490. len: variable: 13+guild_storage
  1491. parameter:
  1492. - cmd : packet identification (0x3818)
  1493. - len
  1494. - aid
  1495. - guild_id
  1496. - flag
  1497. - guild_storage
  1498. desc:
  1499. - mapif_load_guild_storage
  1500. 0x3819
  1501. Type: IZ
  1502. Structure: <cmd>.W <aid>.L <guild_id>.L <fail>.B
  1503. index: 0,2,6,10
  1504. len: 11
  1505. parameter:
  1506. - cmd : packet identification (0x3819)
  1507. - aid
  1508. - guild_id
  1509. - fail
  1510. desc:
  1511. - mapif_save_guild_storage_ack
  1512. 0x3820
  1513. Type: IZ
  1514. Structure: <cmd>.W <aid>.L <char_id>.L <?>.B <party_id>.L <name>.?B
  1515. index: 0,2,6,10,11,15
  1516. len: 39
  1517. parameter:
  1518. - cmd : packet identification (0x3820)
  1519. - aid
  1520. - char_id
  1521. - ?
  1522. - party_id
  1523. - name
  1524. desc:
  1525. - ACK party creation
  1526. 0x3821
  1527. Type: IZ
  1528. Structure: <cmd>.W <?>.W <char_id>.L <party_id>.L
  1529. index: 0,2,4,8
  1530. len: 12
  1531. parameter:
  1532. - cmd : packet identification (0x3821)
  1533. - ?
  1534. - char_id
  1535. - party_id
  1536. desc:
  1537. - Party information not found
  1538. 0x3822
  1539. Type: IZ
  1540. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <flag>.B
  1541. index: 0,2,6,10,14
  1542. len: 15
  1543. parameter:
  1544. - cmd : packet identification (0x3822)
  1545. - party_id
  1546. - account_id
  1547. - char_id
  1548. - flag
  1549. desc:
  1550. - mapif_party_memberadded
  1551. 0x3823
  1552. Type: IZ
  1553. Structure: <cmd>.W <party_id>.L <account_id>.L <exp>.W <item>.W <flag>.B
  1554. index: 0,2,6,10,12,14,15?
  1555. len: 16?
  1556. parameter:
  1557. - cmd : packet identification (0x3823)
  1558. - party_id
  1559. - account_id
  1560. - exp
  1561. - item
  1562. - flag
  1563. - ?
  1564. desc:
  1565. - Party setting change notification
  1566. 0x3824
  1567. Type: IZ
  1568. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <name>.24B <type>.B
  1569. index: 0,2,6,10,14,48
  1570. len: 49
  1571. parameter:
  1572. - cmd : packet identification (0x3824)
  1573. - party_id : Party ID
  1574. - account_id : Account ID
  1575. - char_id : Character ID
  1576. - name : Character Name
  1577. - type : Leaving reason/result
  1578. desc:
  1579. - Withdrawal notification party
  1580. 0x3825
  1581. Type: IZ
  1582. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <map>.W <online>.B <lv>.W <?>.?B
  1583. index: 0,2,6,10,14,16,17,19
  1584. len: 20?
  1585. parameter:
  1586. - cmd : packet identification (0x3825)
  1587. - party_id
  1588. - account_id
  1589. - char_id
  1590. - map
  1591. - online
  1592. - lv
  1593. - ?
  1594. desc:
  1595. - Party map update notification
  1596. 0x3826
  1597. Type: IZ
  1598. Structure: <cmd>.W <party_id>.L <flag>.B <?>.?B
  1599. index: 0,2,6,7
  1600. len: 16
  1601. parameter:
  1602. - cmd : packet identification (0x3826)
  1603. - party_id
  1604. - flag
  1605. - ?
  1606. desc:
  1607. - Dissolution party notification
  1608. 0x3827
  1609. Type: IZ
  1610. Structure: <cmd>.W <len>.W <party_id>.L <account_id>.L <mes>.?B
  1611. index: 0,2,4,8,12
  1612. len: variable: 12+len (max=512)
  1613. parameter:
  1614. - cmd : packet identification (0x3827)
  1615. - len
  1616. - party_id
  1617. - account_id
  1618. - mes
  1619. desc:
  1620. - mapif_party_message
  1621. 0x3830
  1622. Type: IZ
  1623. Structure: <cmd>.W <account_id>.L <guild_id>.L
  1624. index: 0,2,6
  1625. len: 10
  1626. parameter:
  1627. - cmd : packet identification (0x3830)
  1628. - account_id
  1629. - guild_id
  1630. desc:
  1631. - mapif_guild_created
  1632. 0x3831
  1633. Type: IZ
  1634. Structure: <cmd>.W <?>.W <guild_id>.L <?>.?B
  1635. index: 0,2,4,8
  1636. len: 12
  1637. parameter:
  1638. - cmd : packet identification (0x3831)
  1639. - ?
  1640. - guild_id
  1641. - ?
  1642. desc:
  1643. - mapif_guild_noinfo
  1644. 0x3832
  1645. Type: IZ
  1646. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B
  1647. index: 0,2,6,10,14
  1648. len: 15
  1649. parameter:
  1650. - cmd : packet identification (0x3832)
  1651. - guild_id
  1652. - account_id
  1653. - char_id
  1654. - flag
  1655. desc:
  1656. - ACK member add
  1657. 0x3834
  1658. Type: IZ
  1659. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B <mes>.40B <name>.?B
  1660. index: 0,2,6,10,14,15,55
  1661. len: variable: 55+NAME_LENGTH
  1662. parameter:
  1663. - cmd : packet identification (0x3834)
  1664. - guild_id
  1665. - account_id
  1666. - char_id
  1667. - flag
  1668. - mes
  1669. - name
  1670. desc:
  1671. - mapif_guild_withdraw
  1672. 0x3835
  1673. Type: IZ
  1674. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <online>.B <lv>.W <class_>.W
  1675. index: 0,2,6,10,14,15,17
  1676. len: 19
  1677. parameter:
  1678. - cmd : packet identification (0x3835)
  1679. - guild_id
  1680. - account_id
  1681. - char_id
  1682. - online
  1683. - lv
  1684. - class_
  1685. desc:
  1686. - Send short guild member's info
  1687. 0x3836
  1688. Type: IZ
  1689. Structure: <cmd>.W <guild_id>.L <flag>.B
  1690. index: 0,2,6
  1691. len: 7
  1692. parameter:
  1693. - cmd : packet identification (0x3836)
  1694. - guild_id
  1695. - flag
  1696. desc:
  1697. - mapif_guild_broken
  1698. 0x3837
  1699. Type: IZ
  1700. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <mes>.?B
  1701. index: 0,2,4,8,12
  1702. len: variable: 12+len (max=512)
  1703. parameter:
  1704. - cmd : packet identification (0x3837)
  1705. - len
  1706. - guild_id
  1707. - account_id
  1708. - mes
  1709. desc:
  1710. - Send guild message
  1711. 0x3839
  1712. Type: IZ
  1713. Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
  1714. index: 0,2,4,8,10
  1715. len: variable: 10+len (Max=2048)
  1716. parameter:
  1717. - cmd : packet identification (0x3839)
  1718. - len
  1719. - guild_id
  1720. - type
  1721. - data
  1722. desc:
  1723. - mapif_guild_basicinfochanged
  1724. 0x383a
  1725. Type: IZ
  1726. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <char_id>.L <type>.W <data>.?B
  1727. index: 0,2,4,8,12,16,18
  1728. len: variable: 18+len (Max=2048)
  1729. parameter:
  1730. - cmd : packet identification (0x383a)
  1731. - len
  1732. - guild_id
  1733. - account_id
  1734. - char_id
  1735. - type
  1736. - data
  1737. desc:
  1738. - mapif_guild_memberinfochanged
  1739. 0x383b
  1740. Type: IZ
  1741. Structure: <cmd>.W <len>.W <guild_id>.L <idx>.L <position>.?B
  1742. index: 0,2,4,8,12
  1743. len: variable: 12+guild_position
  1744. parameter:
  1745. - cmd : packet identification (0x383b)
  1746. - len
  1747. - guild_id
  1748. - idx
  1749. - position
  1750. desc:
  1751. - mapif_guild_position
  1752. 0x383c
  1753. Type: IZ
  1754. Structure: <cmd>.W <guild_id>.L <skill_id>.L <account_id>.L
  1755. index: 0,2,6,10
  1756. len: 14
  1757. parameter:
  1758. - cmd : packet identification (0x383c)
  1759. - guild_id
  1760. - skill_id
  1761. - account_id
  1762. desc:
  1763. - ACK guild skill up
  1764. 0x383d
  1765. Type: IZ
  1766. Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B <name1>.?B <name2>.?B
  1767. index: 0,2,6,10,14,18,19
  1768. len: variable: 19+2*NAME_LENGTH
  1769. parameter:
  1770. - cmd : packet identification (0x383d)
  1771. - guild_id1
  1772. - guild_id2
  1773. - account_id1
  1774. - account_id2
  1775. desc:
  1776. - ACK guild alliance
  1777. 0x383e
  1778. Type: IZ
  1779. Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B <?>.?B
  1780. index: 0,2,6,66,186
  1781. len: 256
  1782. parameter:
  1783. - cmd : packet identification (0x383e)
  1784. - guild_id
  1785. - mes1
  1786. - mes2
  1787. - ?
  1788. desc:
  1789. - Send the guild notice
  1790. 0x383f
  1791. Type: IZ
  1792. Structure: <cmd>.W <len>.W <guild_id>.L <emblem_id>.L <emblem_data>.?B
  1793. index: 0,2,4,8,12
  1794. len: variable: 12+emblem_data
  1795. parameter:
  1796. - cmd : packet identification (0x383f)
  1797. - len
  1798. - guild_id
  1799. - emblem_id
  1800. - emblem_data
  1801. desc:
  1802. - Send emblem data
  1803. 0x3840
  1804. Type: IZ
  1805. Structure: <cmd>.W <len>.W <gc>.?B
  1806. index: 0,2,4
  1807. len: variable: 4+num*gc
  1808. parameter:
  1809. - cmd : packet identification (0x3840)
  1810. - len
  1811. - gc
  1812. desc:
  1813. - mapif_guild_castle_dataload
  1814. 0x3843
  1815. Type: IZ
  1816. Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L
  1817. index: 0,2,6,10
  1818. len: 14
  1819. parameter:
  1820. - cmd : packet identification (0x3843)
  1821. - guild_id
  1822. - aid
  1823. - cid
  1824. desc:
  1825. - mapif_guild_master_changed
  1826. 0x3848
  1827. Type: IZ
  1828. Structure: <cmd>.W <size>.W <char_id>.L <flag>.B <mail_type>.B <md>.?B
  1829. index: 0,2,4,8,9,10
  1830. len: variable: 10+md
  1831. parameter:
  1832. - cmd : packet identification (0x3848)
  1833. - size
  1834. - char_id
  1835. - flag
  1836. - mail_type
  1837. - md : Mail
  1838. desc:
  1839. - A player request for mail inbox
  1840. 0x3849
  1841. Type: IZ
  1842. Structure: <cmd>.W <dest_id>.L <sender_id>.L <sender_name>.24B <mail_title>.40B
  1843. index: 0,2,6,10,34
  1844. len: 74
  1845. parameter:
  1846. - cmd : packet identification (0x3849)
  1847. - dest_id
  1848. - sender_id
  1849. - sender_name
  1850. - mail_title
  1851. desc:
  1852. - Report New Mail to Map Server
  1853. 0x384a
  1854. Type: IZ
  1855. Structure: <cmd>.W <size>.W <char_id>.L <zeny>.L <item>.?B
  1856. index: 0,2,4,8,12
  1857. len: variable: 12+item
  1858. parameter:
  1859. - cmd : packet identification (0x384a)
  1860. - size
  1861. - char_id
  1862. - zeny
  1863. - item
  1864. desc:
  1865. - Get mail attachment
  1866. 0x384b
  1867. Type: IZ
  1868. Structure: <cmd>.W <char_id>.L <mail_id>.L <failed>.B
  1869. index: 0,2,6,10,11
  1870. len: 11
  1871. parameter:
  1872. - cmd : packet identification (0x384b)
  1873. - char_id
  1874. - mail_id
  1875. - failed: Fail status when delete a mail
  1876. desc:
  1877. - Status about mail deletion to player
  1878. 0x384c
  1879. Type: IZ
  1880. Structure: <cmd>.W <char_id>.L <mail_id>.L <new_mail>.B
  1881. index: 0,2,6,10,11
  1882. len: 11
  1883. parameter:
  1884. - cmd : packet identification (0x384c)
  1885. - char_id
  1886. - mail_id
  1887. - new_mail
  1888. desc:
  1889. - Received a returned mail
  1890. 0x384d
  1891. Type: IZ
  1892. Structure: <cmd>.W <size>.W <mail_message>.?B
  1893. index: 0,2,4
  1894. len: variable: 4+mail_message
  1895. parameter:
  1896. - cmd : packet identification (0x384d)
  1897. - size
  1898. - mail_message
  1899. desc:
  1900. - Mail sent status (to player if the sender is player and online)
  1901. 0x384e
  1902. Type: IZ
  1903. Structure: <cmd>.W <cid_sender>.L <cid_receiver>.L <class>.W <level>.W <name>.24B
  1904. index: 0,2,6,10,12,14
  1905. len: 38
  1906. parameter:
  1907. - cmd : packet identification (0x384e)
  1908. - cid_sender
  1909. - cid_receiver
  1910. - class
  1911. - level
  1912. - name
  1913. desc:
  1914. - Mail receiver's character data(character id, job, level and name)
  1915. 0x3850
  1916. Type: IZ
  1917. Structure: <cmd>.W <size>.W <char_id>.L <count>.W <pages>.W <auction_data>.?B
  1918. index: 0,2,4,8,10,12
  1919. len: variable: 12+auction_data
  1920. parameter:
  1921. - cmd : packet identification (0x3850)
  1922. - size
  1923. - char_id
  1924. - count
  1925. - pages
  1926. - auction_data
  1927. desc:
  1928. - Auction list
  1929. 0x3851
  1930. Type: IZ
  1931. Structure: <cmd>.W <size>.W <auction_data>.?B
  1932. index: 0,2,4
  1933. len: variable: 4+auction_data
  1934. parameter:
  1935. - cmd : packet identification (0x3851)
  1936. - size
  1937. - auction_data
  1938. desc:
  1939. - Status auction registration
  1940. 0x3852
  1941. Type: IZ
  1942. Structure: <cmd>.W <char_id>.L <result>.B
  1943. index: 0,2,6
  1944. len: 7
  1945. parameter:
  1946. - cmd : packet identification (0x3852)
  1947. - char_id
  1948. - result
  1949. desc:
  1950. - Cancel an auction that requested by player
  1951. 0x3853
  1952. Type: IZ
  1953. Structure: <cmd>.W <char_id>.L <result>.B
  1954. index: 0,2,6
  1955. len: 7
  1956. parameter:
  1957. - cmd : packet identification (0x3853)
  1958. - char_id
  1959. - result
  1960. desc:
  1961. - Receive a notification that the auction has ended
  1962. 0x3855
  1963. Type: IZ
  1964. Structure: <cmd>.W <char_id>.L <bid>.L <result>.B
  1965. index: 0,2,6,10
  1966. len: 11
  1967. parameter:
  1968. - cmd : packet identification (0x3855)
  1969. - char_id
  1970. - bid
  1971. - result
  1972. desc:
  1973. - Get back the money from biding auction (someone else have bid it over)
  1974. 0x3856
  1975. Type: IZ
  1976. Structure: <cmd>.W <aid>.L <guild_id>.W
  1977. index: 0,2,6
  1978. len: 8
  1979. parameter:
  1980. - cmd : packet identification (0x3856)
  1981. - aid : account_id
  1982. - guild_id
  1983. desc:
  1984. - Acknowledge the good deletion of the bound item
  1985. 0x3857
  1986. Type: IZ
  1987. Structure: <cmd>.W <size>.W <count>.W <guild_id>.W { <items>.?B }*MAX_INVENTORY
  1988. index: 0,2,4,6,8
  1989. len: variable: 8+items
  1990. parameter:
  1991. - cmd : packet identification (0x3857)
  1992. - size
  1993. - count : number of item retrieved
  1994. - guild_id
  1995. - items: retreived guild bound items
  1996. desc:
  1997. - Ask map-server to process the retreived guild bound items from expelled member
  1998. 0x3860
  1999. Type: IZ
  2000. Structure: <cmd>.W <size>.W <char_id>.L <quest>.?B
  2001. index: 0,2,4,8
  2002. len: variable: 8+quest
  2003. parameter:
  2004. - cmd : packet identification (0x3860)
  2005. - size
  2006. - char_id
  2007. - quest
  2008. desc:
  2009. - Send quest log to a player
  2010. 0x3861
  2011. Type: IZ
  2012. Structure: <cmd>.W <char_id>.L <success>.B
  2013. index: 0,2,4
  2014. len: 5
  2015. parameter:
  2016. - cmd : packet identification (0x3861)
  2017. - char_id
  2018. - success
  2019. desc:
  2020. - Send quest log saving status
  2021. 0x3880
  2022. Type: IZ
  2023. Structure: <cmd>.W <account_id>.L <class>.W <pet_id>.L
  2024. index: 0,2,6,8
  2025. len: 12
  2026. parameter:
  2027. - cmd : packet identification (0x3880)
  2028. - account_id
  2029. - class
  2030. - pet_id
  2031. desc:
  2032. - Send pet egg creation status
  2033. 0x3881
  2034. Type: IZ
  2035. Structure: <cmd>.W <size>.W <account_id>.L <status>.B <s_pet>.?B
  2036. index: 0,2,4,6,8,9
  2037. len: variable: 9+s_pet
  2038. parameter:
  2039. - cmd : packet identification (0x3881)
  2040. - size
  2041. - account_id
  2042. - status: 1 means no info available
  2043. - s_pet: Pet data
  2044. desc:
  2045. - Send packet data to a player
  2046. 0x3882
  2047. Type: IZ
  2048. Structure: <cmd>.W <account_id>.L <flag>.B
  2049. index: 0,2,4
  2050. len: 5
  2051. parameter:
  2052. - cmd : packet identification (0x3882)
  2053. - account_id
  2054. - flag: 1 failed to save
  2055. desc:
  2056. - Send pet save status
  2057. 0x3883
  2058. Type: IZ
  2059. Structure: <cmd>.W <flag>.B
  2060. index: 0,2
  2061. len: 3
  2062. parameter:
  2063. - cmd : packet identification (0x3883)
  2064. - flag
  2065. desc:
  2066. - Send pet deletion status
  2067. 0x388a
  2068. Type: IZ
  2069. Structure: <cmd>.W <size>.W <type>.B <account_id>.L <result>.B <entries>.?B
  2070. index: 0,2,4,5,9
  2071. len: 9+variable
  2072. parameter:
  2073. - cmd : packet identification (0x388a)
  2074. - size
  2075. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2076. - account_id
  2077. - result : True if data loaded, false if failed
  2078. - entries : Inventory/cart/storage entries
  2079. desc:
  2080. - Process inventory/cart/storage entries for player from inter-server
  2081. 0x388b
  2082. Type: IZ
  2083. Structure: <cmd>.W <account_id>.L <result>.B <type>.B
  2084. index: 0,2,6,7
  2085. len: 11
  2086. parameter:
  2087. - cmd : packet identification (0x388b)
  2088. - account_id
  2089. - result : 1 - success, 0 - failed
  2090. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2091. desc:
  2092. - Info about inventory/cart/storage data is saved
  2093. 0x388c
  2094. Type: IZ
  2095. Structure: <cmd>.W <len>.W { <storage_table>.? }*?
  2096. index: 0,2,6,...
  2097. len: 6+variable
  2098. parameter:
  2099. - cmd : packet identification (0x388c)
  2100. - len : Pakcet length
  2101. - storage_table : Storage table information
  2102. desc:
  2103. - Receive storage information
  2104. 0x3890
  2105. Type: IZ
  2106. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2107. index: 0,2,4,8,9
  2108. len: variable: 9+s_homunculus
  2109. parameter:
  2110. - cmd : packet identification (0x3890)
  2111. - size
  2112. - account_id
  2113. - flag: 0 means homunculus creation is failed
  2114. - s_homunculus: Homunculus data
  2115. desc:
  2116. - Send homunculus creation status
  2117. 0x3891
  2118. Type: IZ
  2119. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2120. index: 0,2,4,8,9
  2121. len: variable: 9+s_homunculus
  2122. parameter:
  2123. - cmd : packet identification (0x3891)
  2124. - size
  2125. - account_id
  2126. - flag: 0 means failed to retrieve homunculus data
  2127. - s_homunculus: Homunculus data
  2128. desc:
  2129. - Send homunculus data to a player
  2130. 0x3892
  2131. Type: IZ
  2132. Structure: <cmd>.W <account_id>.L <flag>.B
  2133. index: 0,2,4
  2134. len: 5
  2135. parameter:
  2136. - cmd : packet identification (0x3892)
  2137. - account_id
  2138. - flag: 1 if success
  2139. desc:
  2140. - Send homunculus saving status to a player
  2141. 0x3893
  2142. Type: IZ
  2143. Structure: <cmd>.W <flag>.B
  2144. index: 0,2
  2145. len: 3
  2146. parameter:
  2147. - cmd : packet identification (0x3893)
  2148. - flag: 1 Homunculus deleted
  2149. desc:
  2150. - Send homunculus deletion status
  2151. 0x38A0
  2152. Type: IZ
  2153. Structure: <cmd>.W <size>.W <clan structure>.?B * n
  2154. index: 0, 2, 4
  2155. len: variable: 4+clan*n
  2156. parameter:
  2157. - cmd : packet identification (0x38A0)
  2158. - size
  2159. - clan structure
  2160. desc:
  2161. - Send all loaded clans to the map server
  2162. 0x38A1
  2163. Type: IZ
  2164. Structure: <cmd>.W <size>.W <message>.?B
  2165. index: 0, 2, 4
  2166. len: variable: 4+message
  2167. parameter:
  2168. - cmd : packet identification (0x38A1)
  2169. - size
  2170. - message : the data of the clan chat message packet
  2171. desc:
  2172. - Sends a clan chat message to other map servers
  2173. 0x38A2
  2174. Type: IZ
  2175. Structure: <cmd>.W <clan id>.L <online count>.W
  2176. index: 0, 2, 6
  2177. len: 8
  2178. parameter:
  2179. - cmd : packet identification (0x38A2)
  2180. - clan id : the clan id of the clan that needs an update
  2181. - online count : the amount of currently connected players in the clan
  2182. desc:
  2183. - Updates the online clan member count for all other map servers
  2184. ========================
  2185. | 3.2 Char-Map Packets |
  2186. ========================
  2187. 0x2af9
  2188. Type: AZ
  2189. Structure: <cmd>.W <?>.B
  2190. index: 0,2
  2191. len: 3
  2192. parameter:
  2193. - cmd : packet identification (0x2af9)
  2194. - ?
  2195. desc:
  2196. - chrif_connectack
  2197. 0x2afb
  2198. Type: HZ
  2199. Structure: <cmd>.W <size>.W <status>.B <servername>.?B <defaultmap>.?B <mapx>.W <mapy>.W
  2200. index: 0,2,4,5+NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH+2
  2201. len: variable: 9+NAME_LENGTH+MAP_NAME_LENGTH
  2202. parameter:
  2203. - cmd : packet identification (0x2afb)
  2204. - status : 0 Success, 1 : Fail
  2205. - servername :
  2206. - defaultmap :
  2207. - mapx :
  2208. - mapy :
  2209. desc:
  2210. - Map received from map-server, then send reply with server name and default map
  2211. 0x2afd
  2212. Type: AZ
  2213. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <?>.L <?>.L <?>.L <?>.L <?>.B <cd>.?B
  2214. index: 0,2,4,8,12,16,20,24,25
  2215. len: variable: mmo_charstatus_len
  2216. parameter:
  2217. - cmd : packet identification (0x2afd)
  2218. - mmo_charstatus_len
  2219. - account_id
  2220. - ?
  2221. - ?
  2222. - ?
  2223. - ?
  2224. - ?
  2225. - cd
  2226. desc:
  2227. - auth request from map-server
  2228. 0x2b00
  2229. Type: AZ
  2230. Structure: <cmd>.W <users>.L
  2231. index: 0,2
  2232. len: 6
  2233. parameter:
  2234. - cmd : packet identification (0x2b00)
  2235. desc:
  2236. - Send to map-servers the users count on this char-serv, (meaning the total of all mapserv)
  2237. 0x2b03
  2238. Type: AZ
  2239. Structure: <cmd>.W <account_id>.L <?>.B
  2240. index: 0,2,6
  2241. len: 7
  2242. parameter:
  2243. - cmd : packet identification (0x2b03)
  2244. - account_id
  2245. - ?
  2246. desc:
  2247. - Player Requesting char-select from map_serv
  2248. 0x2b04
  2249. Type: AZ
  2250. Structure: <cmd>.W <?>.W <ip>.L <port>.W
  2251. index: 0,2,4,8
  2252. len: ?
  2253. parameter:
  2254. - cmd : packet identification (0x2b04)
  2255. - ?
  2256. - ip
  2257. - port
  2258. desc:
  2259. - Receive maps from some other map-server (relayed via char-server)
  2260. 0x2b06
  2261. Type: AZ
  2262. Structure: <cmd>.W <account_id>.L <login_id1>.L <login_id2>.L <char_id>.L <map_index>.W <x>.W <y>.W <ip>.L <port>.W
  2263. index: 0,2,6,10,14,16,18,20,24,28
  2264. len: 30
  2265. parameter:
  2266. - cmd : packet identification (0x2b06)
  2267. - account_id
  2268. - login_id1
  2269. - login_id2
  2270. - char_id
  2271. - map_index
  2272. - x
  2273. - y
  2274. - ip
  2275. - port
  2276. desc:
  2277. - Map-server change request acknowledgement (positive or negative)
  2278. 0x2b09
  2279. Type: AZ
  2280. Structure: <cmd>.W <?>.L <?>?
  2281. index: 0,2,6
  2282. len: 30
  2283. parameter:
  2284. - cmd : packet identification (0x2b09)
  2285. - ?
  2286. - ?
  2287. desc:
  2288. - Lookup to search if that char_id correspond to a name.
  2289. 0x2b0b
  2290. Type: AZ
  2291. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <count>.W <skill_cooldown_data>.?B
  2292. index: 0,2,4,8,12,14
  2293. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2294. parameter:
  2295. - cmd : packet identification (0x2b0b)
  2296. - len
  2297. - aid
  2298. - cid
  2299. - count
  2300. - skill_cooldown_data
  2301. desc:
  2302. - Retrieve and load skillcooldown for a player
  2303. 0x2b0d
  2304. Type: AZ
  2305. Structure: <cmd>.W <acc>.L <sex>.L
  2306. index:0,2,6
  2307. len: 10
  2308. parameter:
  2309. - cmd : packet identification (0x2b0d)
  2310. - acc
  2311. - sex
  2312. desc:
  2313. - Request char server to change sex of char
  2314. 0x2b0f
  2315. Type: AZ
  2316. Structure: <cmd>.W <aid>.L <name>.24B <operation>.W <result>.W
  2317. index: 0,2,6,30,32
  2318. len: 34
  2319. parameter:
  2320. - cmd : packet identification (0x2b0f)
  2321. - aid
  2322. - name
  2323. - operation
  2324. - result
  2325. desc:
  2326. - Processing a reply to chrif_req_login_operation() (request to modify an account).
  2327. 0x2b12
  2328. Type: AZ
  2329. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L <?>.B
  2330. index: 0,2,6,10
  2331. len: 11
  2332. parameter:
  2333. - cmd : packet identification (0x2b12)
  2334. - partner_id1
  2335. - partner_id2
  2336. - ?
  2337. desc:
  2338. - Divorce players (only used if 'partner_id' is offline)
  2339. 0x2b14
  2340. Type: AZ
  2341. Structure: <cmd>.W <id>.L <res>.B <ret_status>.L
  2342. index: 0,2,6,7
  2343. len: 11
  2344. parameter:
  2345. - cmd : packet identification (0x2b14)
  2346. - id
  2347. - res
  2348. - ret_status
  2349. desc:
  2350. - Disconnection of a player (account has been banned of has a status, from login/char-server)
  2351. 0x2b1b
  2352. Type: AZ
  2353. Structure: <cmd>.W <size>.W <size>.W <size>.W <smith_rank>.?B <alchi_rank>.?B <taek_rank>.?B
  2354. index: 0,2,4,6,?,?,?
  2355. len: ? (Max=32000)
  2356. parameter:
  2357. - cmd : packet identification (0x2b1b)
  2358. - size: total packet length
  2359. - size: Alchemist block size
  2360. - size: Blacksmith block size
  2361. -
  2362. -
  2363. -
  2364. desc:
  2365. - Send map-servers fames ranking lists
  2366. 0x2b1d
  2367. Type: AZ
  2368. Structure: <cmd>.W <len>.W <aid>.L <cid>.L
  2369. index: 0,2,4,8
  2370. len: variable: 14+50*status_change_data
  2371. parameter:
  2372. - cmd : packet identification (0x2b1d)
  2373. - len
  2374. - aid
  2375. - cid
  2376. desc:
  2377. - Map-serv requesting to send the list of sc_data the player has saved
  2378. 0x2b1e
  2379. Type: AZ
  2380. Structure: <cmd>.W <new_ip>.L
  2381. index: 0,2
  2382. len: 6
  2383. parameter:
  2384. - cmd : packet identification (0x2b1e)
  2385. - new_ip
  2386. desc:
  2387. - Request forwarded from char-server for interserver IP sync
  2388. 0x2b1f
  2389. Type: AZ
  2390. Structure: <cmd>.W <account_id>.L <reason>.B
  2391. index: 0,2,6
  2392. len: 7
  2393. parameter:
  2394. - cmd : packet identification (0x2b1f)
  2395. - account_id
  2396. - reason
  2397. desc:
  2398. - Request to kick char from a certain map server
  2399. 0x2b20
  2400. Type: AZ
  2401. Structure: <cmd>.W <len>.W <ip>.L <port>.W
  2402. index: 0,2,4,8
  2403. len: 10
  2404. parameter:
  2405. - cmd : packet identification (0x2b20)
  2406. - len
  2407. - ip
  2408. - port
  2409. desc:
  2410. - Remove specified maps (used when some other map-server disconnects)
  2411. 0x2b21
  2412. Type: AZ
  2413. Structure: <cmd>.W <aid>.L <cid>.L
  2414. index: 0,2,6
  2415. len: 10
  2416. parameter:
  2417. - cmd : packet identification (0x2b21)
  2418. desc:
  2419. - chrif_save_ack (Received after a character has been "final saved" on the char-server)
  2420. 0x2b22
  2421. Type: AZ
  2422. Structure: <cmd>.W <type>.B <index>.B <fame>.L
  2423. index: 0,2,3,4
  2424. len: 8
  2425. parameter:
  2426. - cmd : packet identification (0x2b22)
  2427. - type
  2428. - index
  2429. - fame
  2430. desc:
  2431. - Send to map-servers the updated fame ranking lists
  2432. 0x2b24
  2433. Type: AZ
  2434. Structure: <cmd>.W
  2435. index: 0
  2436. len: 2
  2437. parameter:
  2438. - cmd : packet identification (0x2b24)
  2439. desc:
  2440. - Map-server keep alive packet, awnser back map that we alive as well
  2441. 0x2b25
  2442. Type: AZ
  2443. Structure: <cmd>.W <father_id>.L <mother_id>.L <char_id>.L
  2444. index: 0,2,6
  2445. len: ? (Max=64)
  2446. parameter:
  2447. - cmd : packet identification (0x2b25)
  2448. - father_id
  2449. - mother_id
  2450. - char_id
  2451. desc:
  2452. - Removes baby from Father ID and Mother ID
  2453. 0x2b27
  2454. Type: AZ
  2455. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B
  2456. index: 0,2,6,10,14
  2457. len: 15
  2458. parameter:
  2459. - cmd : packet identification (0x2b27)
  2460. - account_id
  2461. - char_id
  2462. - login_id1
  2463. - sex
  2464. desc:
  2465. - Client authentication failed
  2466. 0x2b29
  2467. free
  2468. 0x2b2b
  2469. Type: AZ
  2470. Structure: <cmd>.W <aid>.L <vip_time>.L <groupid>.L <flag>.B
  2471. index: 0,2,6,10,11
  2472. len: 15
  2473. parameter:
  2474. - cmd : packet identification (0x2b2b)
  2475. - aid
  2476. - vip_time
  2477. - groupid
  2478. - flag : 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
  2479. desc:
  2480. - Received vip-data from char-serv, fill map-serv data
  2481. 0x2b2f
  2482. Type: AZ
  2483. Structure: <cmd>.W <len>.W <cid>.L <count>.B { <bonus_script_data>.?B }
  2484. index: 0,2,4,8
  2485. len: variable: 9+count*bonus_script_data
  2486. parameter:
  2487. - cmd : packet identification (0x2b2f)
  2488. desc:
  2489. - Get bonus_script data(s) from table to load
  2490. 0x2736
  2491. Type: ZA
  2492. Structure: <cmd>.W <ip>.L
  2493. index: 0,2
  2494. len: 6
  2495. parameter:
  2496. - cmd : packet identification (0x2736)
  2497. desc:
  2498. - ip address update
  2499. 0x2afa
  2500. Type: ZA
  2501. Structure: <cmd>.W <size>.W {<map_index>.W}*instance_start
  2502. index: 0,2,4
  2503. len: variable: 4+instance_start*4
  2504. parameter:
  2505. - cmd : packet identification (0x2afa)
  2506. - size
  2507. - map_index*instance_start
  2508. desc:
  2509. - Send available normal maps. chrif_sendmap
  2510. 0x2afc
  2511. Type: ZA
  2512. Structure: <cmd>.W <account_id>.L <char_id>.L
  2513. index: 0,2,6
  2514. len: 10
  2515. parameter:
  2516. - cmd : packet identification (0x2afc)
  2517. - account_id
  2518. - char_id
  2519. desc:
  2520. - Request sc_data from charserver
  2521. 0x2afe
  2522. Type: ZA
  2523. Structure: <cmd>.W <map_usercount>.W
  2524. index: 0,2
  2525. len: 4
  2526. parameter:
  2527. - cmd : packet identification (0x2afe)
  2528. desc:
  2529. - send_usercount_tochar (unused)
  2530. 0x2aff
  2531. Type: ZA
  2532. Structure: <cmd>.W <len>.W <users>.W <account_id>.L <char_id>.L
  2533. index: 0,2,4,6+8*i,6+8+i+4
  2534. len: variable: 6+8*users
  2535. parameter:
  2536. - cmd : packet identification (0x2aff)
  2537. - len
  2538. - users
  2539. - account_id
  2540. - char_id
  2541. desc:
  2542. - Map-serv sent us all his users info, (aid and cid) so we can update online_char_db
  2543. 0x2b01
  2544. Type: ZA
  2545. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <char_id>.L <flag>.B
  2546. index: 0,2,4,8,12
  2547. len: variable: mmo_charstatus_len
  2548. parameter:
  2549. - cmd : packet identification (0x2b01)
  2550. desc:
  2551. - charsave of char XY account XY
  2552. 0x2b02
  2553. Type: ZA
  2554. Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <s_ip>.L <packet_ver>.B
  2555. index: 0,2,6,10,14,18
  2556. len: 19
  2557. parameter:
  2558. - cmd : packet identification (0x2b02)
  2559. - id
  2560. - login_id1
  2561. - login_id2
  2562. - s_ip
  2563. - packet_ver
  2564. desc:
  2565. - chrif_charselectreq
  2566. 0x2b05
  2567. Type: ZA
  2568. Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <char_id>.L <mapindex>.W <x>.W <y>.W <ip>.L <port>.W <sex>.B <client_addr>.L <group_id>.L
  2569. index: 0,2,6,10,14,18,20,22,24,28,30,31,35
  2570. len: 39
  2571. parameter:
  2572. - cmd : packet identification (0x2b05)
  2573. - id
  2574. - login_id1
  2575. - login_id2
  2576. - char_id
  2577. - mapindex
  2578. - x
  2579. - y
  2580. - ip
  2581. - port
  2582. - sex
  2583. - client_addr
  2584. - group_id
  2585. desc:
  2586. - Tell the charserver the mapchange / quest for ok
  2587. 0x2b07
  2588. Type: ZA
  2589. Structure: <cmd>.W <char_id>.L <friend_id>.L
  2590. index: 0,2,6
  2591. len: 10
  2592. parameter:
  2593. - cmd : packet identification (0x2b07)
  2594. - char_id
  2595. - friend_id
  2596. desc:
  2597. - Asks char server to remove friend_id from the friend list of char_id
  2598. 0x2b08
  2599. Type: ZA
  2600. Structure: <cmd>.W <char_id>.L
  2601. index: 0,2
  2602. len: 6
  2603. parameter:
  2604. - cmd : packet identification (0x2b08)
  2605. desc:
  2606. - Search char through id on char serv
  2607. 0x2b0a
  2608. Type: ZA
  2609. Structure: <cmd>.W <account_id>.L <char_id>.L
  2610. index: 0,2,6
  2611. len: 10
  2612. parameter:
  2613. - cmd : packet identification (0x2b0a)
  2614. - account_id
  2615. - char_id
  2616. desc:
  2617. - Request skillcooldown from charserver
  2618. 0x2b0c
  2619. Type: ZA
  2620. Structure: <cmd>.W <id>.W <actual_email>.40B <new_email>.40B
  2621. index: 0,2,6,46
  2622. len: 86
  2623. parameter:
  2624. - cmd : packet identification (0x2b0c)
  2625. - id
  2626. - actual_email
  2627. - new_email
  2628. desc:
  2629. - Change Email
  2630. 0x2b0e
  2631. Type: ZA
  2632. Structure: <cmd>.W <aid>.L <name>.24B <operation_type>.W <timediff>.L <val1>.L <val2>.L
  2633. index: 0,2,30,36,40
  2634. len: 44
  2635. parameter:
  2636. - cmd : packet identification (0x2b0e)
  2637. - aid
  2638. - name
  2639. - operation_type: 1:block account, 2:ban account, 3:unblock account, 4:unban account, 5:changesex, 6:VIP, 7:changecharsex
  2640. - timediff
  2641. - val1
  2642. - val2
  2643. desc:
  2644. - Send an account modification request to the login server (via char server).
  2645. 0x2b10
  2646. Type: ZA
  2647. Structure: <cmd>.W <char_id>.L <fame>.L <type>.B
  2648. index: 0,2,6,10
  2649. len: 11
  2650. parameter:
  2651. - cmd : packet identification (0x2b10)
  2652. - char_id
  2653. - fame
  2654. - type
  2655. desc:
  2656. - Request/Receive top 10 Fame character list
  2657. 0x2b11
  2658. Type: ZA
  2659. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L
  2660. index: 0,2,6
  2661. len: 10
  2662. parameter:
  2663. - cmd : packet identification (0x2b11)
  2664. - partner_id1
  2665. - partner_id2
  2666. desc:
  2667. - Request Char Server to Divorce Players
  2668. 0x2b15
  2669. Type: ZA
  2670. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2671. index: 0,2,4,8,12
  2672. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2673. parameter:
  2674. - cmd : packet identification (0x2b15)
  2675. - len
  2676. - account_id
  2677. - char_id
  2678. - count
  2679. desc:
  2680. - Request to save skill cooldown data
  2681. 0x2b16
  2682. Type: ZA
  2683. Structure: <cmd>.W <base_rate>.L <job_rate>.L <drop_rate>.L
  2684. index: 0,2,6,10
  2685. len: 14
  2686. parameter:
  2687. - cmd : packet identification (0x2b16)
  2688. - base_rate
  2689. - job_rate
  2690. - drop_rate
  2691. desc:
  2692. - Send rates and motd to char server
  2693. 0x2b17
  2694. Type: ZA
  2695. Structure: <cmd>.W <char_id>.L <account_id>.L
  2696. index: 0,2,6
  2697. len: 10
  2698. parameter:
  2699. - cmd : packet identification (0x2b17)
  2700. - char_id
  2701. - account_id
  2702. desc:
  2703. - Tell char-server character disconnected
  2704. 0x2b18
  2705. Type: ZA
  2706. Structure: <cmd>.W
  2707. index: 0
  2708. len: 2
  2709. parameter:
  2710. - cmd : packet identification (0x2b18)
  2711. desc:
  2712. - Tell char-server to reset all chars offline
  2713. 0x2b19
  2714. Type: ZA
  2715. Structure: <cmd>.W <char_id>.L <account_id>.L
  2716. index: 0,2,6
  2717. len: 10
  2718. parameter:
  2719. - cmd : packet identification (0x2b19)
  2720. - char_id
  2721. - account_id
  2722. desc:
  2723. - Tell char-server character is online
  2724. 0x2b1a
  2725. Type: ZA
  2726. Structure: <cmd>.W
  2727. index: 0
  2728. len: 2
  2729. parameter:
  2730. - cmd : packet identification (0x2b1a)
  2731. desc:
  2732. - Build the fame ranking lists and send them
  2733. 0x2b1c
  2734. Type: ZA
  2735. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2736. index: 0,2,4,8,12
  2737. len: variable: 14+SC_MAX*status_change_data
  2738. parameter:
  2739. - cmd : packet identification (0x2b1c)
  2740. - len
  2741. - account_id
  2742. - char_id
  2743. - count
  2744. desc:
  2745. - parses the sc_data of the player and sends it to the char-server for saving
  2746. 0x2b23
  2747. Type: ZA
  2748. Structure: <cmd>.W
  2749. index: 0
  2750. len: 2
  2751. parameter:
  2752. - cmd : packet identification (0x2b23)
  2753. desc:
  2754. - pings the charserver (chrif_keepalive)
  2755. 0x2b26
  2756. Type: ZA
  2757. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B <client_addr>.L <autotrade>.B
  2758. index: 0,2,6,10,14,15,19
  2759. len: 20
  2760. parameter:
  2761. - cmd : packet identification (0x2b26)
  2762. - account_id
  2763. - char_id
  2764. - login_id1
  2765. - sex
  2766. - client_addr
  2767. - autotrade
  2768. desc:
  2769. - client authentication request
  2770. 0x2b28
  2771. Type: ZA
  2772. Structure: <cmd>.W <aid>.L <timediff>.L <character_name>.?B
  2773. index: 0,2,6,10
  2774. len: variable: 10+NAME_LENGTH
  2775. parameter:
  2776. - cmd : packet identification (0x2b28)
  2777. - aid
  2778. - timediff
  2779. - character_name
  2780. desc:
  2781. - chrif_req_charban
  2782. 0x2b2a
  2783. Type: ZA
  2784. Structure: <cmd>.W <aid>.L <character_name>.?B
  2785. index: 0,2,6
  2786. len: 6+NAME_LENGTH
  2787. parameter:
  2788. - cmd : packet identification (0x2b2a)
  2789. - aid
  2790. - character_name
  2791. desc:
  2792. - chrif_req_charunban
  2793. 0x2b2d
  2794. Type: ZA
  2795. Structure: <cmd>.W <char_id>.L
  2796. index: 0,2
  2797. len: 6
  2798. parameter:
  2799. - cmd : packet identification (0x2b2d)
  2800. desc:
  2801. - Requests bonus_script data
  2802. 0x2b2e
  2803. Type: ZA
  2804. Structure: <cmd>.W <len>.W <char_id>.L <count>.B { <bonus_script_data>.?B }
  2805. index: 0,2,4,8
  2806. len: variable: 9+count*bonus_script_data
  2807. parameter:
  2808. - cmd : packet identification (0x2b2e)
  2809. - len
  2810. - char_id
  2811. - count
  2812. desc:
  2813. - Stores bonus_script data(s) to the table