packet_interserv.txt 56 KB

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