packet_interserv.txt 59 KB

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