packet_interserv.txt 61 KB

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