packet_interserv.txt 60 KB

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