packet_interserv.txt 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940
  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 <type>.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. - type: &1 ack vip data to char-serv, &2 add duration
  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 <isvip>.B <groupid>.L <isgm>.L <mapfd>.B
  431. index: 0,2,6,10,11,15,16
  432. len: 20
  433. parameter:
  434. - cmd : packet identification (0x2743)
  435. - aid: account identification
  436. - vip_time: timestamp of vip_time if he is vip
  437. - isvip: is this account in vip mode atm
  438. - groupid: group id of account
  439. - isgm: is he a gm
  440. - mapfd: map-serv link to ack
  441. desc:
  442. - Transmit vip specific data to char-serv (will be transfered to mapserv)
  443. =========================
  444. | 3.1 Inter-Map Packets |
  445. =========================
  446. 0x3000
  447. Type: ZI
  448. Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
  449. index: 0,2,4,8,10,12,14,16
  450. len: 16+msglen
  451. parameter:
  452. - cmd : packet identification (0x3000)
  453. - len : packet size
  454. - fontColor: (standard broadcast color=0xFF000000)
  455. - fontType:
  456. - fontSize:
  457. - fontAlign:
  458. - fontY:
  459. - mes: message to send
  460. desc:
  461. - Broadcasts a message to all map-servs connected to this char-serv
  462. - NB carefull (also using cmd=3000 rAthena_report but encapsulate it into cmd 3008 for map-char)
  463. 0x3001
  464. Type: ZI
  465. Structure: <cmd>.W <len>.W <name>(NAME_LENGTH)B <nick>(NAME_LENGTH)B <mes>.?B
  466. index: 0,2,4,4+NAME_LENGTH,4+2*NAME_LENGTH
  467. len: 52+mes_len
  468. parameter:
  469. - cmd : packet identification (0x3001)
  470. - len: packet size
  471. - name : sender name of msg
  472. - nick : receiver name of msg
  473. - mes : message to send
  474. desc:
  475. - Send a whisper to another player
  476. 0x3002
  477. Type: ZI
  478. Structure: <cmd>.W <
  479. index: 0,2,6
  480. len: 7
  481. parameter:
  482. - cmd : packet identification (0x3002)
  483. - id: whisper id, identifier to match current whisper session that store in inter.c::wis_db
  484. - flag: 0=success, 1=target not found, 2=ignored by target
  485. desc:
  486. - Inform the char-serv of the result of the whisper
  487. 0x3003
  488. Type: ZI
  489. Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
  490. index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
  491. len: variable: mes_len + 8 + NAME_LENGTH
  492. parameter:
  493. - cmd : packet identification (0x3003)
  494. - packet_len: mes_len + 8 + NAME_LENGTH
  495. - wisp_name
  496. - permission
  497. - message
  498. desc:
  499. - Transmission of GM only Wisp/Page from server to inter-server
  500. 0x3004
  501. Type: ZI
  502. Structure: <cmd>.W <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }?
  503. index: 0,4,8,12,13
  504. len: variable : 13+regnum*(len variable name+len value) (max=288 * MAX_REG_NUM+13)
  505. parameter:
  506. - cmd : packet identification (0x3004)
  507. - aid: account identification
  508. - cid: char identification
  509. -type:
  510. 1: account2 registry
  511. 2: account registry
  512. 3: char registry
  513. -str: registre variable identifiant, (variable name)
  514. -value: variable value
  515. desc:
  516. - Map-serv is requesting Char-serv to save registry values. (type=1 will forward data to login-serv)
  517. 0x3005
  518. Type: ZI
  519. Structure: <cmd>.W <aid>.L <cid>.L <acc_reg2>.B <acc_reg>.B <ch_reg>.B
  520. index: 0,2,6,10,11,12
  521. len: 13
  522. parameter:
  523. - cmd : packet identification (0x3005)
  524. - aid:
  525. - cid:
  526. -acc_reg2 : request account registry (permanent variable of account, save on login-serv)
  527. -acc_reg : request account registry (permanent variable of account , save on char-serv)
  528. -ch_reg : request char registry (permanent variable of char)
  529. desc:
  530. - Request the registries for this player.
  531. 0x3006
  532. Type: ZI
  533. Structure: <cmd>.W <aid>.L <cid>.L <type>.B <NAME_LENGTH>.?
  534. index: 0,2,6,10,11
  535. len: 12+NAME_LENGTH
  536. parameter:
  537. - cmd : packet identification (0x3006)
  538. - aid
  539. - cid
  540. - type
  541. - NAME_LENGTH
  542. desc
  543. 0x3007
  544. Type: ZI
  545. Structure: <cmd>.W <u_fd>.L <aid>.L <group_lv>.L <type>.B <query>.?B
  546. index: 0,2,6,10,14,15
  547. len: 15+NAME_LENGTH
  548. parameter:
  549. - cmd : packet identification (0x3007)
  550. - u_fd
  551. - aid
  552. - group_lv
  553. - type : 0 - Full account info. 1 - Return as clif_account_name
  554. - query : name or aid of player we want info
  555. desc:
  556. - Request acc info
  557. 0x3009
  558. Type: ZI
  559. Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
  560. index: 0,2,6,4,8,9,24
  561. len: 9+NAME_LENGTH+NAME_LENGTH
  562. parameter:
  563. - cmd : packet identification (0x3009)
  564. - len : Packet length
  565. - nameid : ID of obtained item
  566. - source : Source from where the item obtained
  567. - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
  568. - name : Name of player who obtained the item
  569. - srcname : Source name as alternative of source id
  570. desc:
  571. - Send broadcasts request if player get special items.
  572. 0x3018
  573. Type: ZI
  574. Structure: <cmd>.W <aid>.L <gid>.L
  575. index 0,2,6
  576. len: 10
  577. parameter:
  578. - cmd : packet identification (0x3018)
  579. - aid
  580. - gid
  581. desc:
  582. - Request guild storage
  583. 0x3019
  584. Type: ZI
  585. Structure: <cmd>.W <guild_storage>.W <aid>.L <gid>.L
  586. index: 0,2,4,8,12
  587. len: 12+guild_storage
  588. parameter:
  589. - cmd : packet identification (0x3019)
  590. - guild_storage
  591. - aid
  592. - gid
  593. desc:
  594. - Send guild storage
  595. 0x3020
  596. Type: ZI
  597. Structure: <cmd>.W <party_member>.W <name>.24B <item>.B <item2>.B <member>.?B
  598. index: 0,2,4,28,29,30
  599. len: variable: 28+party_member (max=64)
  600. parameter:
  601. - cmd : packet identification (0x3020)
  602. - party_member
  603. - name
  604. - item
  605. - item2
  606. - member
  607. desc:
  608. - Party creation request
  609. 0x3021
  610. Type: ZI
  611. Structure: <cmd>.W <party_id>.L <cid>.L
  612. index: 0,2,6
  613. len: 10
  614. parameter:
  615. - cmd : packet identification (0x3021)
  616. - party_id
  617. - cid
  618. desc:
  619. - Party information request
  620. 0x3022
  621. Type: ZI
  622. Structure: <cmd>.W <party_member>.W <party_id>.L <member>.?B
  623. index: 0,2,4,8
  624. len: variable: 8+party_member (Max=42)
  625. parameter:
  626. - cmd : packet identification (0x3022)
  627. - party_member
  628. - party_id
  629. - member
  630. desc:
  631. - Request to add a member to party
  632. 0x3023
  633. Type: ZI
  634. Structure: <cmd>.W <party_id>.L <aid>.L <exp>.W <item>.W
  635. index: 0,2,6,10,12,14
  636. len: 14
  637. parameter:
  638. - cmd : packet identification (0x3023)
  639. - party_id
  640. - aid
  641. - exp
  642. - item
  643. desc:
  644. - Request to change party configuration (exp,item share)
  645. 0x3024
  646. Type: ZI
  647. Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L
  648. index: 0,2,6,10
  649. len: 14
  650. parameter:
  651. - cmd : packet identification (0x3024)
  652. - party_id
  653. - aid
  654. - cid
  655. desc:
  656. - Request to leave party
  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
  928. index: 0,2,6
  929. len: 7
  930. parameter:
  931. - cmd : packet identification (0x3048)
  932. - cid
  933. - flag
  934. desc:
  935. - Inbox request
  936. 0x3049
  937. Type: ZI
  938. Structure: <cmd>.W <mail_id>.L
  939. index: 0,2
  940. len: 6
  941. parameter:
  942. - cmd : packet identification (0x3049)
  943. - mail_id
  944. desc:
  945. - Mail read
  946. 0x304a
  947. Type: ZI
  948. Structure: <cmd>.W <cid>.L <mail_id>.L
  949. index: 0,2,6
  950. len: 10
  951. parameter:
  952. - cmd : packet identification (0x3093)
  953. - cid
  954. - mail_id
  955. desc:
  956. - Mail get attachment
  957. 0x304b
  958. Type: ZI
  959. Structure: <cmd>.W <cid>.L <mail_id>.L
  960. index: 0,2,6
  961. len: 10
  962. parameter:
  963. - cmd : packet identification (0x3093)
  964. - cid
  965. - mail_id
  966. desc:
  967. - Mail delete
  968. 0x304c
  969. Type: ZI
  970. Structure: <cmd>.W <cid>.L <mail_id>.L
  971. index: 0,2,6
  972. len: 10
  973. parameter:
  974. - cmd : packet identification (0x3093)
  975. - cid
  976. - mail_id
  977. desc:
  978. - Mail return
  979. 0x304d
  980. Type: ZI
  981. Structure: <cmd>.W <len>.W <aid>.L <msg>.?B
  982. index: 0,2,4,8
  983. len: variable: 8+mail_message
  984. parameter:
  985. - cmd : packet identification (0x3093)
  986. - len
  987. - aid
  988. - msg
  989. desc:
  990. - Mail send
  991. 0x3050
  992. Type: ZI
  993. Structure: <cmd>.W <len>.W <cid>.L <type>.W <price>.L <page>.W <searchtext>.?B
  994. index: 0,2,4,8,10,14,16
  995. len: variable: 16+NAME_LENGTH
  996. parameter:
  997. - cmd : packet identification (0x3093)
  998. - len
  999. - cid
  1000. - type
  1001. - price
  1002. - page
  1003. - searchtext
  1004. desc:
  1005. - Auction request list
  1006. 0x3051
  1007. Type: ZI
  1008. Structure: <cmd>.W <len>.W <auction_data>.?B
  1009. index: 0,2,4
  1010. len: variable: 4+auction_data
  1011. parameter:
  1012. - cmd : packet identification (0x3093)
  1013. - len
  1014. - auction_data
  1015. desc:
  1016. - Auction register
  1017. 0x3052
  1018. Type: ZI
  1019. Structure: <cmd>.W <cid>.L <auction_id>.L
  1020. index: 0,2,6
  1021. len: 10
  1022. parameter:
  1023. - cmd : packet identification (0x3093)
  1024. - cid
  1025. - auction_id
  1026. desc:
  1027. - Auction cancel
  1028. 0x3053
  1029. Type: ZI
  1030. Structure: <cmd>.W <cid>.L <auction_id>.L
  1031. index: 0,2,6
  1032. len: 10
  1033. parameter:
  1034. - cmd : packet identification (0x3093)
  1035. - cid
  1036. - auction_id
  1037. desc:
  1038. - Auction close
  1039. 0x3055
  1040. Type: ZI
  1041. Structure: <cmd>.W <len>.W <cid>.L <auction_id>.L <bid>.L <name>.?B
  1042. index: 0,2,4,8,12,16
  1043. len: variable: 16+NAME_LENGTH
  1044. parameter:
  1045. - cmd : packet identification (0x3093)
  1046. - len
  1047. - cid
  1048. - auction_id
  1049. - bid
  1050. desc:
  1051. - Auction bid
  1052. 0x3056
  1053. Type: ZI
  1054. Structure: <cmd>.W <cid>.L <aid>.L <guild_id>.W
  1055. index: 0,2,6,10
  1056. len: 12
  1057. parameter:
  1058. - cmd : packet identification (0x3093)
  1059. - cid
  1060. - aid
  1061. - guild_id
  1062. desc:
  1063. - Itembound request
  1064. 0x3060
  1065. Type: ZI
  1066. Structure: <cmd>.W <cid>.L
  1067. index: 0,2
  1068. len: 6
  1069. parameter:
  1070. - cmd : packet identification (0x3093)
  1071. - cid
  1072. desc:
  1073. - Requests a character's quest log entries to the inter server.
  1074. 0x3061
  1075. Type: ZI
  1076. Structure: <cmd>.W <len>.W <cid>.L <quest_log>.?B
  1077. index: 0,2,4,8
  1078. len: variable: 8+num_quests
  1079. parameter:
  1080. - cmd : packet identification (0x3093)
  1081. desc:
  1082. - Requests to the inter server to save a character's quest log entries.
  1083. 0x3070
  1084. Type: ZI
  1085. Structure: <cmd>.W <size>.W <merc>.?B
  1086. index: 0,2,4
  1087. len: variable: 4+s_mercenary
  1088. parameter:
  1089. - cmd : packet identification (0x3093)
  1090. - size
  1091. - merc
  1092. desc:
  1093. - Mercenary create
  1094. 0x3071
  1095. Type: ZI
  1096. Structure: <cmd>.W <merc_id>.L <char_id>.L
  1097. index: 0,2,6
  1098. len: 10
  1099. parameter:
  1100. - cmd : packet identification (0x3071)
  1101. - merc_id
  1102. - cid
  1103. desc:
  1104. - Mercenary request
  1105. 0x3072
  1106. Type: ZI
  1107. Structure: <cmd>.W <merc_id>.L
  1108. index: 0,2
  1109. len: 6
  1110. parameter:
  1111. - cmd : packet identification (0x3072)
  1112. - merc_id
  1113. desc:
  1114. - Mercenary delete
  1115. 0x3073
  1116. Type: ZI
  1117. Structure: <cmd>.W <size>.W <merc>.?B
  1118. index: 0,2,4
  1119. len: variable: 4+s_mercenary
  1120. parameter:
  1121. - cmd : packet identification (0x3073)
  1122. - size
  1123. - merc
  1124. desc:
  1125. - Mercenary save
  1126. 0x307c
  1127. Type: ZI
  1128. Structure: <cmd>.W <size>.W <ele>.?B
  1129. index: 0,2,4
  1130. len: variable: 4+s_elemental
  1131. parameter:
  1132. - cmd : packet identification (0x307c)
  1133. - size
  1134. - ele
  1135. desc:
  1136. - Elemental create
  1137. 0x307d
  1138. Type: ZI
  1139. Structure: <cmd>.W <ele_id>.L <cid>.L
  1140. index: 0,2,6
  1141. len: 10
  1142. parameter:
  1143. - cmd : packet identification (0x307d)
  1144. - ele_id
  1145. - cid
  1146. desc:
  1147. - Elemental request
  1148. 0x307e
  1149. Type: ZI
  1150. Structure: <cmd>.W <ele_id>.L
  1151. index: 0,2
  1152. len: 6
  1153. parameter:
  1154. - cmd : packet identification (0x307e)
  1155. - ele_id
  1156. desc:
  1157. - Elemental delete
  1158. 0x307f
  1159. Type: ZI
  1160. Structure: <cmd>.W <size>.W <ele>.?B
  1161. index: 0,2,4
  1162. len: variable: 4+s_elemental
  1163. parameter:
  1164. - cmd : packet identification (0x307f)
  1165. - size
  1166. - ele
  1167. desc:
  1168. - Elemental save
  1169. 0x3080
  1170. Type: ZI
  1171. 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
  1172. index: 0,2,6,10,12,14,16,18,20,22,23,24
  1173. len: variable: 24+NAME_LENGTH
  1174. parameter:
  1175. - cmd : packet identification (0x3080)
  1176. - aid
  1177. - cid
  1178. - pet_class
  1179. - pet_lv
  1180. - pet_egg_id
  1181. -pet_equip
  1182. - intimate
  1183. - hungry
  1184. - rename_flag
  1185. - incubate
  1186. desc:
  1187. - Pet create
  1188. 0x3081
  1189. Type: ZI
  1190. Structure: <cmd>.W <aid>.L <cid>.L <pet_id>.L
  1191. index: 0,2,6,10
  1192. len: 14
  1193. parameter:
  1194. - cmd : packet identification (0x3081)
  1195. - aid
  1196. - cid
  1197. - pet_id
  1198. desc:
  1199. - Request pet data
  1200. 0x3082
  1201. Type: ZI
  1202. Structure: <cmd>.W <size>.W <aid>.L <s_pet>.?B
  1203. index: 0,2,4,8
  1204. len: variable: 8+s_pet
  1205. parameter:
  1206. - cmd : packet identification (0x3082)
  1207. - size
  1208. - aid
  1209. - s_pet: Pet data
  1210. desc:
  1211. - Save pet data
  1212. 0x3083
  1213. Type: ZI
  1214. Structure: <cmd>.W <pet_id>.L
  1215. index: 0,2
  1216. len 6:
  1217. parameter:
  1218. - cmd : packet identification (0x3083)
  1219. - pet_id
  1220. desc:
  1221. - Delete pet data
  1222. 0x308a
  1223. Type: ZI
  1224. Structure: <cmd>.W <type>.B <account_id>.L <char_id>.L
  1225. index: 0,2,3,7
  1226. len: 11
  1227. parameter:
  1228. - cmd : packet identification (0x308a)
  1229. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1230. - account_id
  1231. - char_id
  1232. desc:
  1233. - Request inventory/cart/storage data for a player/guild if type = 3
  1234. 0x308b
  1235. Type: ZI
  1236. Structure: <size>.W <type>.B <account_id>.L <char_id>.L <entries>.?B
  1237. index: 0,2,4,5,9,13
  1238. len: 11
  1239. parameter:
  1240. - cmd : packet identification (0x308a)
  1241. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1242. - account_id
  1243. - char_id
  1244. - entries : Inventory/cart/storage entries that will be saved
  1245. desc:
  1246. - Request to save inventory/cart/storage entries
  1247. 0x3090:
  1248. Type: ZI
  1249. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1250. index: 0,2,4,8
  1251. len: variable: 8+s_homunculus
  1252. parameter:
  1253. - cmd : packet identification (0x3090)
  1254. - s_homunculus
  1255. - aid
  1256. - sh
  1257. desc:
  1258. - Homunculus create
  1259. 0x3091:
  1260. Type: ZI
  1261. Structure: <cmd>.W <aid>.L <homun_id>.L
  1262. index: 0,2,6
  1263. len: 10
  1264. parameter:
  1265. - cmd : packet identification (0x3091)
  1266. - aid
  1267. - homun_id
  1268. desc:
  1269. - Homunculus request load
  1270. 0x3092:
  1271. Type: ZI
  1272. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1273. index: 0,2,4,8
  1274. len: variable: 8+s_homunculus
  1275. parameter:
  1276. - cmd : packet identification (0x3092)
  1277. - s_homunculus
  1278. - aid
  1279. - sh
  1280. desc:
  1281. - Homunculus request save
  1282. 0x3093:
  1283. Type: ZI
  1284. Structure: <cmd>.W <homun_id>.L
  1285. index: 0,2
  1286. len: 6
  1287. parameter:
  1288. - cmd : packet identification (0x3093)
  1289. - homun_id
  1290. desc:
  1291. - Homunculus request delete
  1292. 0x3094:
  1293. Type: ZI
  1294. Structure: <cmd>.W <aid>.L <cid>.L <name>.?B
  1295. index: 0,2,6,10
  1296. len: variable: 10+name
  1297. parameter:
  1298. - cmd : packet identification (0x3094)
  1299. - aid
  1300. - cid
  1301. - name
  1302. desc:
  1303. - Homunculus rename
  1304. 0x3800:
  1305. Type: IZ
  1306. Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
  1307. index: 0,2,4,8,10,12,14,16
  1308. len: variable: 16+len
  1309. parameter:
  1310. - cmd : packet identification (0x3800)
  1311. - len
  1312. - fontColor
  1313. - fontType
  1314. - fontSize
  1315. - fontAlign
  1316. - fontY
  1317. - mes
  1318. desc:
  1319. - Send broadcast message
  1320. 0x3801
  1321. Type: IZ
  1322. Structure: <cmd>.W <len>.W <id>.L <src>.24B <dst>.24B <msg>.?B
  1323. index: 0,2,4,8,32,56
  1324. len: variable: 56+len (Max=1991)
  1325. parameter:
  1326. - cmd : packet identification (0x3801)
  1327. - len
  1328. - id
  1329. - src
  1330. - dst
  1331. - msg
  1332. desc:
  1333. - Send whisper message
  1334. 0x3802
  1335. Type: IZ
  1336. Structure: <cmd>.W <src>.24B <flag>.B
  1337. index: 0,2,26
  1338. len: 27
  1339. parameter:
  1340. - cmd : packet identification (0x3802)
  1341. - src
  1342. - flag
  1343. desc:
  1344. - Whisper sending result
  1345. 0x3803
  1346. Type: IZ
  1347. Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
  1348. index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
  1349. len: variable: mes_len + 8 + NAME_LENGTH
  1350. parameter:
  1351. - cmd : packet identification (0x3003)
  1352. - packet_len: mes_len + 8 + NAME_LENGTH
  1353. - wisp_name
  1354. - permission
  1355. - message
  1356. desc:
  1357. - Parse whisper to GM
  1358. 0x3804
  1359. Type: HZ
  1360. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
  1361. index: 0,2,4,8,12,13,14,16,...
  1362. len: variable
  1363. parameter:
  1364. - cmd : packet identification (0x3804)
  1365. - ?
  1366. - aid
  1367. - cid
  1368. - type
  1369. - count
  1370. - keyLength
  1371. - key
  1372. - index
  1373. - val
  1374. - valLength
  1375. desc:
  1376. - Send global account registry to map-server from login-server
  1377. 0x3806
  1378. Type: IZ
  1379. Structure: <cmd>.W <aid>.L <cid>.L <type>.B <flag>.B <name>.B
  1380. index: 0,2,6,10,11,12
  1381. len: 13
  1382. parameter:
  1383. - cmd : packet identification (0x3806)
  1384. - aid
  1385. - cid
  1386. - type
  1387. - flag
  1388. - name
  1389. desc:
  1390. - mapif_namechange_ack
  1391. 0x3807
  1392. Type: IZ
  1393. Structure: <cmd>.W <len>.W <u_fd>.L <aid>.L <msg_out>.?B
  1394. index: 0,2,4,8,12
  1395. len: variable: 12+len
  1396. parameter:
  1397. - cmd : packet identification (0x3807)
  1398. - len
  1399. - u_fd
  1400. - aid
  1401. - msg_out
  1402. desc:
  1403. - sends a mesasge to map server (fd) to a user (u_fd) although we use fd we keep aid for safe-check
  1404. 0x3808
  1405. Type: IZ
  1406. Structure: <cmd>.W <u_fd>.L <aid>.L <acc_name>.?B
  1407. index: 0,2,6,10
  1408. len: variable: 10+NAME+LENGTH
  1409. parameter:
  1410. - cmd : packet identification (0x3807)
  1411. - u_fd
  1412. - aid
  1413. - acc_name
  1414. desc:
  1415. - Transmit the result of a account_information request from map-serv, with type 1
  1416. 0x3809
  1417. Type: IZ
  1418. Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
  1419. index: 0,2,6,4,8,9,24
  1420. len: 9+NAME_LENGTH+NAME_LENGTH
  1421. parameter:
  1422. - cmd : packet identification (0x3809)
  1423. - len : Packet length
  1424. - nameid : ID of obtained item
  1425. - source : Source from where the item obtained
  1426. - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
  1427. - name : Name of player who obtained the item
  1428. - srcname : Source name as alternative of source
  1429. desc:
  1430. - Broadcasts if player get special items.
  1431. 0x3818
  1432. Type: IZ
  1433. Structure: <cmd>.W <len>.W <aid>.L <guild_id>.L <flag>.B <guild_storage>.?B
  1434. index: 0,2,4,8,12,13
  1435. len: variable: 13+guild_storage
  1436. parameter:
  1437. - cmd : packet identification (0x3818)
  1438. - len
  1439. - aid
  1440. - guild_id
  1441. - flag
  1442. - guild_storage
  1443. desc:
  1444. - mapif_load_guild_storage
  1445. 0x3819
  1446. Type: IZ
  1447. Structure: <cmd>.W <aid>.L <guild_id>.L <fail>.B
  1448. index: 0,2,6,10
  1449. len: 11
  1450. parameter:
  1451. - cmd : packet identification (0x3819)
  1452. - aid
  1453. - guild_id
  1454. - fail
  1455. desc:
  1456. - mapif_save_guild_storage_ack
  1457. 0x3820
  1458. Type: IZ
  1459. Structure: <cmd>.W <aid>.L <char_id>.L <?>.B <party_id>.L <name>.?B
  1460. index: 0,2,6,10,11,15
  1461. len: 39
  1462. parameter:
  1463. - cmd : packet identification (0x3820)
  1464. - aid
  1465. - char_id
  1466. - ?
  1467. - party_id
  1468. - name
  1469. desc:
  1470. - ACK party creation
  1471. 0x3821
  1472. Type: IZ
  1473. Structure: <cmd>.W <?>.W <char_id>.L <party_id>.L
  1474. index: 0,2,4,8
  1475. len: 12
  1476. parameter:
  1477. - cmd : packet identification (0x3821)
  1478. - ?
  1479. - char_id
  1480. - party_id
  1481. desc:
  1482. - Party information not found
  1483. 0x3822
  1484. Type: IZ
  1485. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <flag>.B
  1486. index: 0,2,6,10,14
  1487. len: 15
  1488. parameter:
  1489. - cmd : packet identification (0x3822)
  1490. - party_id
  1491. - account_id
  1492. - char_id
  1493. - flag
  1494. desc:
  1495. - mapif_party_memberadded
  1496. 0x3823
  1497. Type: IZ
  1498. Structure: <cmd>.W <party_id>.L <account_id>.L <exp>.W <item>.W <flag>.B
  1499. index: 0,2,6,10,12,14,15?
  1500. len: 16?
  1501. parameter:
  1502. - cmd : packet identification (0x3823)
  1503. - party_id
  1504. - account_id
  1505. - exp
  1506. - item
  1507. - flag
  1508. - ?
  1509. desc:
  1510. - Party setting change notification
  1511. 0x3824
  1512. Type: IZ
  1513. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <?>.?B
  1514. index: 0,2,6,10,14
  1515. len: 16?
  1516. parameter:
  1517. - cmd : packet identification (0x3824)
  1518. - party_ud
  1519. - account_id
  1520. - char_id
  1521. - ?
  1522. desc:
  1523. - Withdrawal notification party
  1524. 0x3825
  1525. Type: IZ
  1526. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <map>.W <online>.B <lv>.W <?>.?B
  1527. index: 0,2,6,10,14,16,17,19
  1528. len: 20?
  1529. parameter:
  1530. - cmd : packet identification (0x3825)
  1531. - party_id
  1532. - account_id
  1533. - char_id
  1534. - map
  1535. - online
  1536. - lv
  1537. - ?
  1538. desc:
  1539. - Party map update notification
  1540. 0x3826
  1541. Type: IZ
  1542. Structure: <cmd>.W <party_id>.L <flag>.B <?>.?B
  1543. index: 0,2,6,7
  1544. len: 16
  1545. parameter:
  1546. - cmd : packet identification (0x3826)
  1547. - party_id
  1548. - flag
  1549. - ?
  1550. desc:
  1551. - Dissolution party notification
  1552. 0x3827
  1553. Type: IZ
  1554. Structure: <cmd>.W <len>.W <party_id>.L <account_id>.L <mes>.?B
  1555. index: 0,2,4,8,12
  1556. len: variable: 12+len (max=512)
  1557. parameter:
  1558. - cmd : packet identification (0x3827)
  1559. - len
  1560. - party_id
  1561. - account_id
  1562. - mes
  1563. desc:
  1564. - mapif_party_message
  1565. 0x3830
  1566. Type: IZ
  1567. Structure: <cmd>.W <account_id>.L <guild_id>.L
  1568. index: 0,2,6
  1569. len: 10
  1570. parameter:
  1571. - cmd : packet identification (0x3830)
  1572. - account_id
  1573. - guild_id
  1574. desc:
  1575. - mapif_guild_created
  1576. 0x3831
  1577. Type: IZ
  1578. Structure: <cmd>.W <?>.W <guild_id>.L <?>.?B
  1579. index: 0,2,4,8
  1580. len: 12
  1581. parameter:
  1582. - cmd : packet identification (0x3831)
  1583. - ?
  1584. - guild_id
  1585. - ?
  1586. desc:
  1587. - mapif_guild_noinfo
  1588. 0x3832
  1589. Type: IZ
  1590. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B
  1591. index: 0,2,6,10,14
  1592. len: 15
  1593. parameter:
  1594. - cmd : packet identification (0x3832)
  1595. - guild_id
  1596. - account_id
  1597. - char_id
  1598. - flag
  1599. desc:
  1600. - ACK member add
  1601. 0x3834
  1602. Type: IZ
  1603. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B <mes>.40B <name>.?B
  1604. index: 0,2,6,10,14,15,55
  1605. len: variable: 55+NAME_LENGTH
  1606. parameter:
  1607. - cmd : packet identification (0x3834)
  1608. - guild_id
  1609. - account_id
  1610. - char_id
  1611. - flag
  1612. - mes
  1613. - name
  1614. desc:
  1615. - mapif_guild_withdraw
  1616. 0x3835
  1617. Type: IZ
  1618. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <online>.B <lv>.W <class_>.W
  1619. index: 0,2,6,10,14,15,17
  1620. len: 19
  1621. parameter:
  1622. - cmd : packet identification (0x3835)
  1623. - guild_id
  1624. - account_id
  1625. - char_id
  1626. - online
  1627. - lv
  1628. - class_
  1629. desc:
  1630. - Send short guild member's info
  1631. 0x3836
  1632. Type: IZ
  1633. Structure: <cmd>.W <guild_id>.L <flag>.B
  1634. index: 0,2,6
  1635. len: 7
  1636. parameter:
  1637. - cmd : packet identification (0x3836)
  1638. - guild_id
  1639. - flag
  1640. desc:
  1641. - mapif_guild_broken
  1642. 0x3837
  1643. Type: IZ
  1644. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <mes>.?B
  1645. index: 0,2,4,8,12
  1646. len: variable: 12+len (max=512)
  1647. parameter:
  1648. - cmd : packet identification (0x3837)
  1649. - len
  1650. - guild_id
  1651. - account_id
  1652. - mes
  1653. desc:
  1654. - Send guild message
  1655. 0x3839
  1656. Type: IZ
  1657. Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
  1658. index: 0,2,4,8,10
  1659. len: variable: 10+len (Max=2048)
  1660. parameter:
  1661. - cmd : packet identification (0x3839)
  1662. - len
  1663. - guild_id
  1664. - type
  1665. - data
  1666. desc:
  1667. - mapif_guild_basicinfochanged
  1668. 0x383a
  1669. Type: IZ
  1670. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <char_id>.L <type>.W <data>.?B
  1671. index: 0,2,4,8,12,16,18
  1672. len: variable: 18+len (Max=2048)
  1673. parameter:
  1674. - cmd : packet identification (0x383a)
  1675. - len
  1676. - guild_id
  1677. - account_id
  1678. - char_id
  1679. - type
  1680. - data
  1681. desc:
  1682. - mapif_guild_memberinfochanged
  1683. 0x383b
  1684. Type: IZ
  1685. Structure: <cmd>.W <len>.W <guild_id>.L <idx>.L <position>.?B
  1686. index: 0,2,4,8,12
  1687. len: variable: 12+guild_position
  1688. parameter:
  1689. - cmd : packet identification (0x383b)
  1690. - len
  1691. - guild_id
  1692. - idx
  1693. - position
  1694. desc:
  1695. - mapif_guild_position
  1696. 0x383c
  1697. Type: IZ
  1698. Structure: <cmd>.W <guild_id>.L <skill_id>.L <account_id>.L
  1699. index: 0,2,6,10
  1700. len: 14
  1701. parameter:
  1702. - cmd : packet identification (0x383c)
  1703. - guild_id
  1704. - skill_id
  1705. - account_id
  1706. desc:
  1707. - ACK guild skill up
  1708. 0x383d
  1709. Type: IZ
  1710. Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B <name1>.?B <name2>.?B
  1711. index: 0,2,6,10,14,18,19
  1712. len: variable: 19+2*NAME_LENGTH
  1713. parameter:
  1714. - cmd : packet identification (0x383d)
  1715. - guild_id1
  1716. - guild_id2
  1717. - account_id1
  1718. - account_id2
  1719. desc:
  1720. - ACK guild alliance
  1721. 0x383e
  1722. Type: IZ
  1723. Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B <?>.?B
  1724. index: 0,2,6,66,186
  1725. len: 256
  1726. parameter:
  1727. - cmd : packet identification (0x383e)
  1728. - guild_id
  1729. - mes1
  1730. - mes2
  1731. - ?
  1732. desc:
  1733. - Send the guild notice
  1734. 0x383f
  1735. Type: IZ
  1736. Structure: <cmd>.W <len>.W <guild_id>.L <emblem_id>.L <emblem_data>.?B
  1737. index: 0,2,4,8,12
  1738. len: variable: 12+emblem_data
  1739. parameter:
  1740. - cmd : packet identification (0x383f)
  1741. - len
  1742. - guild_id
  1743. - emblem_id
  1744. - emblem_data
  1745. desc:
  1746. - Send emblem data
  1747. 0x3840
  1748. Type: IZ
  1749. Structure: <cmd>.W <len>.W <gc>.?B
  1750. index: 0,2,4
  1751. len: variable: 4+num*gc
  1752. parameter:
  1753. - cmd : packet identification (0x3840)
  1754. - len
  1755. - gc
  1756. desc:
  1757. - mapif_guild_castle_dataload
  1758. 0x3843
  1759. Type: IZ
  1760. Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L
  1761. index: 0,2,6,10
  1762. len: 14
  1763. parameter:
  1764. - cmd : packet identification (0x3843)
  1765. - guild_id
  1766. - aid
  1767. - cid
  1768. desc:
  1769. - mapif_guild_master_changed
  1770. 0x3848
  1771. Type: IZ
  1772. Structure: <cmd>.W <size>.W <char_id>.L <flag>.B <md>.?B
  1773. index: 0,2,4,8,9
  1774. len: variable: 9+md
  1775. parameter:
  1776. - cmd : packet identification (0x3848)
  1777. - size
  1778. - char_id
  1779. - flag
  1780. - md : Mail
  1781. desc:
  1782. - A player request for mail inbox
  1783. 0x3849
  1784. Type: IZ
  1785. Structure: <cmd>.W <dest_id>.L <sender_id>.L <sender_name>.24B <mail_title>.40B
  1786. index: 0,2,6,10,34
  1787. len: 74
  1788. parameter:
  1789. - cmd : packet identification (0x3849)
  1790. - dest_id
  1791. - sender_id
  1792. - sender_name
  1793. - mail_title
  1794. desc:
  1795. - Report New Mail to Map Server
  1796. 0x384a
  1797. Type: IZ
  1798. Structure: <cmd>.W <size>.W <char_id>.L <zeny>.L <item>.?B
  1799. index: 0,2,4,8,12
  1800. len: variable: 12+item
  1801. parameter:
  1802. - cmd : packet identification (0x384a)
  1803. - size
  1804. - char_id
  1805. - zeny
  1806. - item
  1807. desc:
  1808. - Get mail attachment
  1809. 0x384b
  1810. Type: IZ
  1811. Structure: <cmd>.W <char_id>.L <mail_id>.L <failed>.B
  1812. index: 0,2,6,10,11
  1813. len: 11
  1814. parameter:
  1815. - cmd : packet identification (0x384b)
  1816. - char_id
  1817. - mail_id
  1818. - failed: Fail status when delete a mail
  1819. desc:
  1820. - Status about mail deletion to player
  1821. 0x384c
  1822. Type: IZ
  1823. Structure: <cmd>.W <char_id>.L <mail_id>.L <new_mail>.B
  1824. index: 0,2,6,10,11
  1825. len: 11
  1826. parameter:
  1827. - cmd : packet identification (0x384c)
  1828. - char_id
  1829. - mail_id
  1830. - new_mail
  1831. desc:
  1832. - Received a returned mail
  1833. 0x384d
  1834. Type: IZ
  1835. Structure: <cmd>.W <size>.W <mail_message>.?B
  1836. index: 0,2,4
  1837. len: variable: 4+mail_message
  1838. parameter:
  1839. - cmd : packet identification (0x384d)
  1840. - size
  1841. - mail_message
  1842. desc:
  1843. - Mail sent status (to player if the sender is player and online)
  1844. 0x3850
  1845. Type: IZ
  1846. Structure: <cmd>.W <size>.W <char_id>.L <count>.W <pages>.W <auction_data>.?B
  1847. index: 0,2,4,8,10,12
  1848. len: variable: 12+auction_data
  1849. parameter:
  1850. - cmd : packet identification (0x3850)
  1851. - size
  1852. - char_id
  1853. - count
  1854. - pages
  1855. - auction_data
  1856. desc:
  1857. - Auction list
  1858. 0x3851
  1859. Type: IZ
  1860. Structure: <cmd>.W <size>.W <auction_data>.?B
  1861. index: 0,2,4
  1862. len: variable: 4+auction_data
  1863. parameter:
  1864. - cmd : packet identification (0x3851)
  1865. - size
  1866. - auction_data
  1867. desc:
  1868. - Status auction registration
  1869. 0x3852
  1870. Type: IZ
  1871. Structure: <cmd>.W <char_id>.L <result>.B
  1872. index: 0,2,6
  1873. len: 7
  1874. parameter:
  1875. - cmd : packet identification (0x3852)
  1876. - char_id
  1877. - result
  1878. desc:
  1879. - Cancel an auction that requested by player
  1880. 0x3853
  1881. Type: IZ
  1882. Structure: <cmd>.W <char_id>.L <result>.B
  1883. index: 0,2,6
  1884. len: 7
  1885. parameter:
  1886. - cmd : packet identification (0x3853)
  1887. - char_id
  1888. - result
  1889. desc:
  1890. - Receive a notification that the auction has ended
  1891. 0x3855
  1892. Type: IZ
  1893. Structure: <cmd>.W <char_id>.L <bid>.L <result>.B
  1894. index: 0,2,6,10
  1895. len: 11
  1896. parameter:
  1897. - cmd : packet identification (0x3855)
  1898. - char_id
  1899. - bid
  1900. - result
  1901. desc:
  1902. - Get back the money from biding auction (someone else have bid it over)
  1903. 0x3856
  1904. Type: IZ
  1905. Structure: <cmd>.W <aid>.L <guild_id>.W
  1906. index: 0,2,6
  1907. len: 8
  1908. parameter:
  1909. - cmd : packet identification (0x3856)
  1910. - aid : account_id
  1911. - guild_id
  1912. desc:
  1913. - Acknowledge the good deletion of the bound item
  1914. 0x3857
  1915. Type: IZ
  1916. Structure: <cmd>.W <size>.W <count>.W <guild_id>.W { <items>.?B }*MAX_INVENTORY
  1917. index: 0,2,4,6,8
  1918. len: variable: 8+items
  1919. parameter:
  1920. - cmd : packet identification (0x3856)
  1921. - size
  1922. - count : number of item retrieved
  1923. - guild_id
  1924. - items: retreived guild bound items
  1925. desc:
  1926. - Ask map-server to process the retreived guild bound items from expelled member
  1927. 0x3860
  1928. Type: IZ
  1929. Structure: <cmd>.W <size>.W <char_id>.L <quest>.?B
  1930. index: 0,2,4,8
  1931. len: variable: 8+quest
  1932. parameter:
  1933. - cmd : packet identification (0x3860)
  1934. - size
  1935. - char_id
  1936. - quest
  1937. desc:
  1938. - Send quest log to a player
  1939. 0x3861
  1940. Type: IZ
  1941. Structure: <cmd>.W <char_id>.L <success>.B
  1942. index: 0,2,4
  1943. len: 5
  1944. parameter:
  1945. - cmd : packet identification (0x3861)
  1946. - char_id
  1947. - success
  1948. desc:
  1949. - Send quest log saving status
  1950. 0x3880
  1951. Type: IZ
  1952. Structure: <cmd>.W <account_id>.L <class>.W <pet_id>.L
  1953. index: 0,2,6,8
  1954. len: 12
  1955. parameter:
  1956. - cmd : packet identification (0x3880)
  1957. - account_id
  1958. - class
  1959. - pet_id
  1960. desc:
  1961. - Send pet egg creation status
  1962. 0x3881
  1963. Type: IZ
  1964. Structure: <cmd>.W <size>.W <account_id>.L <status>.B <s_pet>.?B
  1965. index: 0,2,4,6,8,9
  1966. len: variable: 9+s_pet
  1967. parameter:
  1968. - cmd : packet identification (0x3881)
  1969. - size
  1970. - account_id
  1971. - status: 1 means no info available
  1972. - s_pet: Pet data
  1973. desc:
  1974. - Send packet data to a player
  1975. 0x3882
  1976. Type: IZ
  1977. Structure: <cmd>.W <account_id>.L <flag>.B
  1978. index: 0,2,4
  1979. len: 5
  1980. parameter:
  1981. - cmd : packet identification (0x3882)
  1982. - account_id
  1983. - flag: 1 failed to save
  1984. desc:
  1985. - Send pet save status
  1986. 0x3883
  1987. Type: IZ
  1988. Structure: <cmd>.W <flag>.B
  1989. index: 0,2
  1990. len: 3
  1991. parameter:
  1992. - cmd : packet identification (0x3883)
  1993. - flag
  1994. desc:
  1995. - Send pet deletion status
  1996. 0x388a
  1997. Type: IZ
  1998. Structure: <cmd>.W <size>.W <type>.B <account_id>.L <result>.B <entries>.?B
  1999. index: 0,2,4,5,9
  2000. len: 9+variable
  2001. parameter:
  2002. - cmd : packet identification (0x388a)
  2003. - size
  2004. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2005. - account_id
  2006. - result : True if data loaded, false if failed
  2007. - entries : Inventory/cart/storage entries
  2008. desc:
  2009. - Process inventory/cart/storage entries for player from inter-server
  2010. 0x388b
  2011. Type: IZ
  2012. Structure: <cmd>.W <account_id>.L <result>.B <type>.B
  2013. index: 0,2,6,7
  2014. len: 11
  2015. parameter:
  2016. - cmd : packet identification (0x388b)
  2017. - account_id
  2018. - result : 1 - success, 0 - failed
  2019. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2020. desc:
  2021. - Info about inventory/cart/storage data is saved
  2022. 0x3890
  2023. Type: IZ
  2024. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2025. index: 0,2,4,8,9
  2026. len: variable: 9+s_homunculus
  2027. parameter:
  2028. - cmd : packet identification (0x3890)
  2029. - size
  2030. - account_id
  2031. - flag: 0 means homunculus creation is failed
  2032. - s_homunculus: Homunculus data
  2033. desc:
  2034. - Send homunculus creation status
  2035. 0x3891
  2036. Type: IZ
  2037. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2038. index: 0,2,4,8,9
  2039. len: variable: 9+s_homunculus
  2040. parameter:
  2041. - cmd : packet identification (0x3890)
  2042. - size
  2043. - account_id
  2044. - flag: 0 means failed to retrieve homunculus data
  2045. - s_homunculus: Homunculus data
  2046. desc:
  2047. - Send homunculus data to a player
  2048. 0x3892
  2049. Type: IZ
  2050. Structure: <cmd>.W <account_id>.L <flag>.B
  2051. index: 0,2,4
  2052. len: 5
  2053. parameter:
  2054. - cmd : packet identification (0x3892)
  2055. - account_id
  2056. - flag: 1 if success
  2057. desc:
  2058. - Send homunculus saving status to a player
  2059. 0x3893
  2060. Type: IZ
  2061. Structure: <cmd>.W <flag>.B
  2062. index: 0,2
  2063. len: 3
  2064. parameter:
  2065. - cmd : packet identification (0x3893)
  2066. - flag: 1 Homunculus deleted
  2067. desc:
  2068. - Send homunculus deletion status
  2069. ========================
  2070. | 3.2 Char-Map Packets |
  2071. ========================
  2072. 0x2af9
  2073. Type: AZ
  2074. Structure: <cmd>.W <?>.B
  2075. index: 0,2
  2076. len: 3
  2077. parameter:
  2078. - cmd : packet identification (0x2af9)
  2079. - ?
  2080. desc:
  2081. - chrif_connectack
  2082. 0x2afb
  2083. Type: HZ
  2084. Structure: <cmd>.W <size>.W <status>.B <servername>.?B <defaultmap>.?B <mapx>.W <mapy>.W
  2085. index: 0,2,4,5+NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH+2
  2086. len: variable: 9+NAME_LENGTH+MAP_NAME_LENGTH
  2087. parameter:
  2088. - cmd : packet identification (0x2afb)
  2089. - status : 0 Success, 1 : Fail
  2090. - servername :
  2091. - defaultmap :
  2092. - mapx :
  2093. - mapy :
  2094. desc:
  2095. - Map received from map-server, then send reply with server name and default map
  2096. 0x2afd
  2097. Type: AZ
  2098. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <?>.L <?>.L <?>.L <?>.L <?>.B <cd>.?B
  2099. index: 0,2,4,8,12,16,20,24,25
  2100. len: variable: mmo_charstatus_len
  2101. parameter:
  2102. - cmd : packet identification (0x2afd)
  2103. - mmo_charstatus_len
  2104. - account_id
  2105. - ?
  2106. - ?
  2107. - ?
  2108. - ?
  2109. - ?
  2110. - cd
  2111. desc:
  2112. - auth request from map-server
  2113. 0x2b00
  2114. Type: AZ
  2115. Structure: <cmd>.W <users>.L
  2116. index: 0,2
  2117. len: 6
  2118. parameter:
  2119. - cmd : packet identification (0x2b00)
  2120. desc:
  2121. - Send to map-servers the users count on this char-serv, (meaning the total of all mapserv)
  2122. 0x2b03
  2123. Type: AZ
  2124. Structure: <cmd>.W <account_id>.L <?>.B
  2125. index: 0,2,6
  2126. len: 7
  2127. parameter:
  2128. - cmd : packet identification (0x2b03)
  2129. - account_id
  2130. - ?
  2131. desc:
  2132. - Player Requesting char-select from map_serv
  2133. 0x2b04
  2134. Type: AZ
  2135. Structure: <cmd>.W <?>.W <ip>.L <port>.W
  2136. index: 0,2,4,8
  2137. len: ?
  2138. parameter:
  2139. - cmd : packet identification (0x2b04)
  2140. - ?
  2141. - ip
  2142. - port
  2143. desc:
  2144. - Receive maps from some other map-server (relayed via char-server)
  2145. 0x2b06
  2146. Type: AZ
  2147. 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
  2148. index: 0,2,6,10,14,16,18,20,24,28
  2149. len: 30
  2150. parameter:
  2151. - cmd : packet identification (0x2b06)
  2152. - account_id
  2153. - login_id1
  2154. - login_id2
  2155. - char_id
  2156. - map_index
  2157. - x
  2158. - y
  2159. - ip
  2160. - port
  2161. desc:
  2162. - Map-server change request acknowledgement (positive or negative)
  2163. 0x2b09
  2164. Type: AZ
  2165. Structure: <cmd>.W <?>.L <?>?
  2166. index: 0,2,6
  2167. len: 30
  2168. parameter:
  2169. - cmd : packet identification (0x2b09)
  2170. - ?
  2171. - ?
  2172. desc:
  2173. - Lookup to search if that char_id correspond to a name.
  2174. 0x2b0b
  2175. Type: AZ
  2176. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <count>.W <skill_cooldown_data>.?B
  2177. index: 0,2,4,8,12,14
  2178. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2179. parameter:
  2180. - cmd : packet identification (0x2b0b)
  2181. - len
  2182. - aid
  2183. - cid
  2184. - count
  2185. - skill_cooldown_data
  2186. desc:
  2187. - Retrieve and load skillcooldown for a player
  2188. 0x2b0d
  2189. Type: AZ
  2190. Structure: <cmd>.W <acc>.L <sex>.L
  2191. index:0,2,6
  2192. len: 10
  2193. parameter:
  2194. - cmd : packet identification (0x2b0d)
  2195. - acc
  2196. - sex
  2197. desc:
  2198. - Request char server to change sex of char
  2199. 0x2b0f
  2200. Type: AZ
  2201. Structure: <cmd>.W <aid>.L <name>.24B <operation>.W <result>.W
  2202. index: 0,2,6,30,32
  2203. len: 34
  2204. parameter:
  2205. - cmd : packet identification (0x2b0f)
  2206. - aid
  2207. - name
  2208. - operation
  2209. - result
  2210. desc:
  2211. - Processing a reply to chrif_req_login_operation() (request to modify an account).
  2212. 0x2b12
  2213. Type: AZ
  2214. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L <?>.B
  2215. index: 0,2,6,10
  2216. len: 11
  2217. parameter:
  2218. - cmd : packet identification (0x2b12)
  2219. - partner_id1
  2220. - partner_id2
  2221. - ?
  2222. desc:
  2223. - Divorce players (only used if 'partner_id' is offline)
  2224. 0x2b14
  2225. Type: AZ
  2226. Structure: <cmd>.W <id>.L <res>.B <ret_status>.L
  2227. index: 0,2,6,7
  2228. len: 11
  2229. parameter:
  2230. - cmd : packet identification (0x2b14)
  2231. - id
  2232. - res
  2233. - ret_status
  2234. desc:
  2235. - Disconnection of a player (account has been banned of has a status, from login/char-server)
  2236. 0x2b1b
  2237. Type: AZ
  2238. Structure: <cmd>.W <size>.W <size>.W <size>.W <smith_rank>.?B <alchi_rank>.?B <taek_rank>.?B
  2239. index: 0,2,4,6,?,?,?
  2240. len: ? (Max=32000)
  2241. parameter:
  2242. - cmd : packet identification (0x2b1b)
  2243. - size: total packet length
  2244. - size: Alchemist block size
  2245. - size: Blacksmith block size
  2246. -
  2247. -
  2248. -
  2249. desc:
  2250. - Send map-servers fames ranking lists
  2251. 0x2b1d
  2252. Type: AZ
  2253. Structure: <cmd>.W <len>.W <aid>.L <cid>.L
  2254. index: 0,2,4,8
  2255. len: variable: 14+50*status_change_data
  2256. parameter:
  2257. - cmd : packet identification (0x2b1d)
  2258. - len
  2259. - aid
  2260. - cid
  2261. desc:
  2262. - Map-serv requesting to send the list of sc_data the player has saved
  2263. 0x2b1e
  2264. Type: AZ
  2265. Structure: <cmd>.W <new_ip>.L
  2266. index: 0,2
  2267. len: 6
  2268. parameter:
  2269. - cmd : packet identification (0x2b1e)
  2270. - new_ip
  2271. desc:
  2272. - Request forwarded from char-server for interserver IP sync
  2273. 0x2b1f
  2274. Type: AZ
  2275. Structure: <cmd>.W <account_id>.L <reason>.B
  2276. index: 0,2,6
  2277. len: 7
  2278. parameter:
  2279. - cmd : packet identification (0x2b1f)
  2280. - account_id
  2281. - reason
  2282. desc:
  2283. - Request to kick char from a certain map server
  2284. 0x2b20
  2285. Type: AZ
  2286. Structure: <cmd>.W <len>.W <ip>.L <port>.W
  2287. index: 0,2,4,8
  2288. len: 10
  2289. parameter:
  2290. - cmd : packet identification (0x2b20)
  2291. - len
  2292. - ip
  2293. - port
  2294. desc:
  2295. - Remove specified maps (used when some other map-server disconnects)
  2296. 0x2b21
  2297. Type: AZ
  2298. Structure: <cmd>.W <aid>.L <cid>.L
  2299. index: 0,2,6
  2300. len: 10
  2301. parameter:
  2302. - cmd : packet identification (0x2b21)
  2303. desc:
  2304. - chrif_save_ack (Received after a character has been "final saved" on the char-server)
  2305. 0x2b22
  2306. Type: AZ
  2307. Structure: <cmd>.W <type>.B <index>.B <fame>.L
  2308. index: 0,2,3,4
  2309. len: 8
  2310. parameter:
  2311. - cmd : packet identification (0x2b22)
  2312. - type
  2313. - index
  2314. - fame
  2315. desc:
  2316. - Send to map-servers the updated fame ranking lists
  2317. 0x2b24
  2318. Type: AZ
  2319. Structure: <cmd>.W
  2320. index: 0
  2321. len: 2
  2322. parameter:
  2323. - cmd : packet identification (0x2b24)
  2324. desc:
  2325. - Map-server keep alive packet, awnser back map that we alive as well
  2326. 0x2b25
  2327. Type: AZ
  2328. Structure: <cmd>.W <father_id>.L <mother_id>.L <char_id>.L
  2329. index: 0,2,6
  2330. len: ? (Max=64)
  2331. parameter:
  2332. - cmd : packet identification (0x2b25)
  2333. - father_id
  2334. - mother_id
  2335. - char_id
  2336. desc:
  2337. - Removes baby from Father ID and Mother ID
  2338. 0x2b27
  2339. Type: AZ
  2340. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B
  2341. index: 0,2,6,10,14
  2342. len: 15
  2343. parameter:
  2344. - cmd : packet identification (0x2b27)
  2345. - account_id
  2346. - char_id
  2347. - login_id1
  2348. - sex
  2349. desc:
  2350. - Client authentication failed
  2351. 0x2b29
  2352. free
  2353. 0x2b2b
  2354. Type: AZ
  2355. Structure: <cmd>.W <aid>.L <vip_time>.L <isvip>.B <isgm>.B <groupid>.L
  2356. index: 0,2,6,10,11,12
  2357. len: 16
  2358. parameter:
  2359. - cmd : packet identification (0x2b2b)
  2360. - aid
  2361. - vip_time
  2362. - isvip
  2363. - isgm
  2364. - groupid
  2365. desc:
  2366. - Received vip-data from char-serv, fill map-serv data
  2367. 0x2b2f
  2368. Type: AZ
  2369. Structure: <cmd>.W <len>.W <cid>.L <count>.B { <bonus_script_data>.?B }
  2370. index: 0,2,4,8
  2371. len: variable: 9+count*bonus_script_data
  2372. parameter:
  2373. - cmd : packet identification (0x2b2f)
  2374. desc:
  2375. - Get bonus_script data(s) from table to load
  2376. 0x2736
  2377. Type: ZA
  2378. Structure: <cmd>.W <ip>.L
  2379. index: 0,2
  2380. len: 6
  2381. parameter:
  2382. - cmd : packet identification (0x2736)
  2383. desc:
  2384. - ip address update
  2385. 0x2afa
  2386. Type: ZA
  2387. Structure: <cmd>.W <size>.W {<map_index>.W}*instance_start
  2388. index: 0,2,4
  2389. len: variable: 4+instance_start*4
  2390. parameter:
  2391. - cmd : packet identification (0x2afa)
  2392. - size
  2393. - map_index*instance_start
  2394. desc:
  2395. - Send available normal maps. chrif_sendmap
  2396. 0x2afc
  2397. Type: ZA
  2398. Structure: <cmd>.W <account_id>.L <char_id>.L
  2399. index: 0,2,6
  2400. len: 10
  2401. parameter:
  2402. - cmd : packet identification (0x2afc)
  2403. - account_id
  2404. - char_id
  2405. desc:
  2406. - Request sc_data from charserver
  2407. 0x2afe
  2408. Type: ZA
  2409. Structure: <cmd>.W <map_usercount>.W
  2410. index: 0,2
  2411. len: 4
  2412. parameter:
  2413. - cmd : packet identification (0x2afe)
  2414. desc:
  2415. - send_usercount_tochar (unused)
  2416. 0x2aff
  2417. Type: ZA
  2418. Structure: <cmd>.W <len>.W <users>.W <account_id>.L <char_id>.L
  2419. index: 0,2,4,6+8*i,6+8+i+4
  2420. len: variable: 6+8*users
  2421. parameter:
  2422. - cmd : packet identification (0x2aff)
  2423. - len
  2424. - users
  2425. - account_id
  2426. - char_id
  2427. desc:
  2428. - Map-serv sent us all his users info, (aid and cid) so we can update online_char_db
  2429. 0x2b01
  2430. Type: ZA
  2431. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <char_id>.L <flag>.B
  2432. index: 0,2,4,8,12
  2433. len: variable: mmo_charstatus_len
  2434. parameter:
  2435. - cmd : packet identification (0x2b01)
  2436. desc:
  2437. - charsave of char XY account XY
  2438. 0x2b02
  2439. Type: ZA
  2440. Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <s_ip>.L <packet_ver>.B
  2441. index: 0,2,6,10,14,18
  2442. len: 19
  2443. parameter:
  2444. - cmd : packet identification (0x2b02)
  2445. - id
  2446. - login_id1
  2447. - login_id2
  2448. - s_ip
  2449. - packet_ver
  2450. desc:
  2451. - chrif_charselectreq
  2452. 0x2b05
  2453. Type: ZA
  2454. 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
  2455. index: 0,2,6,10,14,18,20,22,24,28,30,31,35
  2456. len: 39
  2457. parameter:
  2458. - cmd : packet identification (0x2b05)
  2459. - id
  2460. - login_id1
  2461. - login_id2
  2462. - char_id
  2463. - mapindex
  2464. - x
  2465. - y
  2466. - ip
  2467. - port
  2468. - sex
  2469. - client_addr
  2470. - group_id
  2471. desc:
  2472. - Tell the charserver the mapchange / quest for ok
  2473. 0x2b07
  2474. Type: ZA
  2475. Structure: <cmd>.W <char_id>.L <friend_id>.L
  2476. index: 0,2,6
  2477. len: 10
  2478. parameter:
  2479. - cmd : packet identification (0x2b07)
  2480. - char_id
  2481. - friend_id
  2482. desc:
  2483. - Asks char server to remove friend_id from the friend list of char_id
  2484. 0x2b08
  2485. Type: ZA
  2486. Structure: <cmd>.W <char_id>.L
  2487. index: 0,2
  2488. len: 6
  2489. parameter:
  2490. - cmd : packet identification (0x2b08)
  2491. desc:
  2492. - Search char through id on char serv
  2493. 0x2b0a
  2494. Type: ZA
  2495. Structure: <cmd>.W <account_id>.L <char_id>.L
  2496. index: 0,2,6
  2497. len: 10
  2498. parameter:
  2499. - cmd : packet identification (0x2b0a)
  2500. - account_id
  2501. - char_id
  2502. desc:
  2503. - Request skillcooldown from charserver
  2504. 0x2b0c
  2505. Type: ZA
  2506. Structure: <cmd>.W <id>.W <actual_email>.40B <new_email>.40B
  2507. index: 0,2,6,46
  2508. len: 86
  2509. parameter:
  2510. - cmd : packet identification (0x2b0c)
  2511. - id
  2512. - actual_email
  2513. - new_email
  2514. desc:
  2515. - Change Email
  2516. 0x2b0e
  2517. Type: ZA
  2518. Structure: <cmd>.W <aid>.L <name>.24B <operation_type>.W <timediff>.L <val1>.L <val2>.L
  2519. index: 0,2,30,36,40
  2520. len: 44
  2521. parameter:
  2522. - cmd : packet identification (0x2b0e)
  2523. - aid
  2524. - name
  2525. - operation_type: 1:block account, 2:ban account, 3:unblock account, 4:unban account, 5:changesex, 6:VIP, 7:changecharsex
  2526. - timediff
  2527. - val1
  2528. - val2
  2529. desc:
  2530. - Send an account modification request to the login server (via char server).
  2531. 0x2b10
  2532. Type: ZA
  2533. Structure: <cmd>.W <char_id>.L <fame>.L <type>.B
  2534. index: 0,2,6,10
  2535. len: 11
  2536. parameter:
  2537. - cmd : packet identification (0x2b10)
  2538. - char_id
  2539. - fame
  2540. - type
  2541. desc:
  2542. - Request/Receive top 10 Fame character list
  2543. 0x2b11
  2544. Type: ZA
  2545. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L
  2546. index: 0,2,6
  2547. len: 10
  2548. parameter:
  2549. - cmd : packet identification (0x2b11)
  2550. - partner_id1
  2551. - partner_id2
  2552. desc:
  2553. - Request Char Server to Divorce Players
  2554. 0x2b15
  2555. Type: ZA
  2556. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2557. index: 0,2,4,8,12
  2558. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2559. parameter:
  2560. - cmd : packet identification (0x2b15)
  2561. - len
  2562. - account_id
  2563. - char_id
  2564. - count
  2565. desc:
  2566. - Request to save skill cooldown data
  2567. 0x2b16
  2568. Type: ZA
  2569. Structure: <cmd>.W <base_rate>.L <job_rate>.L <drop_rate>.L
  2570. index: 0,2,6,10
  2571. len: 14
  2572. parameter:
  2573. - cmd : packet identification (0x2b16)
  2574. - base_rate
  2575. - job_rate
  2576. - drop_rate
  2577. desc:
  2578. - Send rates and motd to char server
  2579. 0x2b17
  2580. Type: ZA
  2581. Structure: <cmd>.W <char_id>.L <account_id>.L
  2582. index: 0,2,6
  2583. len: 10
  2584. parameter:
  2585. - cmd : packet identification (0x2b17)
  2586. - char_id
  2587. - account_id
  2588. desc:
  2589. - Tell char-server character disconnected
  2590. 0x2b18
  2591. Type: ZA
  2592. Structure: <cmd>.W
  2593. index: 0
  2594. len: 2
  2595. parameter:
  2596. - cmd : packet identification (0x2b18)
  2597. desc:
  2598. - Tell char-server to reset all chars offline
  2599. 0x2b19
  2600. Type: ZA
  2601. Structure: <cmd>.W <char_id>.L <account_id>.L
  2602. index: 0,2,6
  2603. len: 10
  2604. parameter:
  2605. - cmd : packet identification (0x2b19)
  2606. - char_id
  2607. - account_id
  2608. desc:
  2609. - Tell char-server character is online
  2610. 0x2b1a
  2611. Type: ZA
  2612. Structure: <cmd>.W
  2613. index: 0
  2614. len: 2
  2615. parameter:
  2616. - cmd : packet identification (0x2b1a)
  2617. desc:
  2618. - Build the fame ranking lists and send them
  2619. 0x2b1c
  2620. Type: ZA
  2621. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2622. index: 0,2,4,8,12
  2623. len: variable: 14+SC_MAX*status_change_data
  2624. parameter:
  2625. - cmd : packet identification (0x2b1c)
  2626. - len
  2627. - account_id
  2628. - char_id
  2629. - count
  2630. desc:
  2631. - parses the sc_data of the player and sends it to the char-server for saving
  2632. 0x2b23
  2633. Type: ZA
  2634. Structure: <cmd>.W
  2635. index: 0
  2636. len: 2
  2637. parameter:
  2638. - cmd : packet identification (0x2b23)
  2639. desc:
  2640. - pings the charserver (chrif_keepalive)
  2641. 0x2b26
  2642. Type: ZA
  2643. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B <client_addr>.L <autotrade>.B
  2644. index: 0,2,6,10,14,15,19
  2645. len: 20
  2646. parameter:
  2647. - cmd : packet identification (0x2b26)
  2648. - account_id
  2649. - char_id
  2650. - login_id1
  2651. - sex
  2652. - client_addr
  2653. - autotrade
  2654. desc:
  2655. - client authentication request
  2656. 0x2b28
  2657. Type: ZA
  2658. Structure: <cmd>.W <aid>.L <timediff>.L <character_name>.?B
  2659. index: 0,2,6,10
  2660. len: variable: 10+NAME_LENGTH
  2661. parameter:
  2662. - cmd : packet identification (0x2b28)
  2663. - aid
  2664. - timediff
  2665. - character_name
  2666. desc:
  2667. - chrif_req_charban
  2668. 0x2b2a
  2669. Type: ZA
  2670. Structure: <cmd>.W <aid>.L <character_name>.?B
  2671. index: 0,2,6
  2672. len: 6+NAME_LENGTH
  2673. parameter:
  2674. - cmd : packet identification (0x2b2a)
  2675. - aid
  2676. - character_name
  2677. desc:
  2678. - chrif_req_charunban
  2679. 0x2b2d
  2680. Type: ZA
  2681. Structure: <cmd>.W <char_id>.L
  2682. index: 0,2
  2683. len: 6
  2684. parameter:
  2685. - cmd : packet identification (0x2b2d)
  2686. desc:
  2687. - Requests bonus_script data
  2688. 0x2b2e
  2689. Type: ZA
  2690. Structure: <cmd>.W <len>.W <char_id>.L <count>.B { <bonus_script_data>.?B }
  2691. index: 0,2,4,8
  2692. len: variable: 9+count*bonus_script_data
  2693. parameter:
  2694. - cmd : packet identification (0x2b2e)
  2695. - len
  2696. - char_id
  2697. - count
  2698. desc:
  2699. - Stores bonus_script data(s) to the table
  2700. 0x3008
  2701. Type: ZA
  2702. Structure: <cmd>.W <buf>.?B
  2703. index: 0,2
  2704. len: variable: 2+len
  2705. parameter:
  2706. - cmd : packet identification (0x3008)
  2707. - buf
  2708. desc:
  2709. - chrif_send_report