packet_interserv.txt 55 KB

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