packet_interserv.txt 54 KB

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