packet_interserv.txt 55 KB

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