packet_interserv.txt 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849
  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. 0x3860
  1864. Type: IZ
  1865. Structure: <cmd>.W <size>.W <char_id>.L <quest>.?B
  1866. index: 0,2,4,8
  1867. len: variable: 8+quest
  1868. parameter:
  1869. - cmd : packet identification (0x3860)
  1870. - size
  1871. - char_id
  1872. - quest
  1873. desc:
  1874. - Send quest log to a player
  1875. 0x3861
  1876. Type: IZ
  1877. Structure: <cmd>.W <char_id>.L <success>.B
  1878. index: 0,2,4
  1879. len: 5
  1880. parameter:
  1881. - cmd : packet identification (0x3861)
  1882. - char_id
  1883. - success
  1884. desc:
  1885. - Send quest log saving status
  1886. 0x3880
  1887. Type: IZ
  1888. Structure: <cmd>.W <account_id>.L <class>.W <pet_id>.L
  1889. index: 0,2,6,8
  1890. len: 12
  1891. parameter:
  1892. - cmd : packet identification (0x3880)
  1893. - account_id
  1894. - class
  1895. - pet_id
  1896. desc:
  1897. - Send pet egg creation status
  1898. 0x3881
  1899. Type: IZ
  1900. Structure: <cmd>.W <size>.W <account_id>.L <status>.B <s_pet>.?B
  1901. index: 0,2,4,6,8,9
  1902. len: variable: 9+s_pet
  1903. parameter:
  1904. - cmd : packet identification (0x3881)
  1905. - size
  1906. - account_id
  1907. - status: 1 means no info available
  1908. - s_pet: Pet data
  1909. desc:
  1910. - Send packet data to a player
  1911. 0x3882
  1912. Type: IZ
  1913. Structure: <cmd>.W <account_id>.L <flag>.B
  1914. index: 0,2,4
  1915. len: 5
  1916. parameter:
  1917. - cmd : packet identification (0x3882)
  1918. - account_id
  1919. - flag: 1 failed to save
  1920. desc:
  1921. - Send pet save status
  1922. 0x3883
  1923. Type: IZ
  1924. Structure: <cmd>.W <flag>.B
  1925. index: 0,2
  1926. len: 3
  1927. parameter:
  1928. - cmd : packet identification (0x3883)
  1929. - flag
  1930. desc:
  1931. - Send pet deletion status
  1932. 0x3890
  1933. Type: IZ
  1934. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  1935. index: 0,2,4,8,9
  1936. len: variable: 9+s_homunculus
  1937. parameter:
  1938. - cmd : packet identification (0x3890)
  1939. - size
  1940. - account_id
  1941. - flag: 0 means homunculus creation is failed
  1942. - s_homunculus: Homunculus data
  1943. desc:
  1944. - Send homunculus creation status
  1945. 0x3891
  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 failed to retrieve homunculus data
  1955. - s_homunculus: Homunculus data
  1956. desc:
  1957. - Send homunculus data to a player
  1958. 0x3892
  1959. Type: IZ
  1960. Structure: <cmd>.W <account_id>.L <flag>.B
  1961. index: 0,2,4
  1962. len: 5
  1963. parameter:
  1964. - cmd : packet identification (0x3892)
  1965. - account_id
  1966. - flag: 1 if success
  1967. desc:
  1968. - Send homunculus saving status to a player
  1969. 0x3893
  1970. Type: IZ
  1971. Structure: <cmd>.W <flag>.B
  1972. index: 0,2
  1973. len: 3
  1974. parameter:
  1975. - cmd : packet identification (0x3893)
  1976. - flag: 1 Homunculus deleted
  1977. desc:
  1978. - Send homunculus deletion status
  1979. ========================
  1980. | 3.2 Char-Map Packets |
  1981. ========================
  1982. 0x2af9
  1983. Type: AZ
  1984. Structure: <cmd>.W <?>.B
  1985. index: 0,2
  1986. len: 3
  1987. parameter:
  1988. - cmd : packet identification (0x2af9)
  1989. - ?
  1990. desc:
  1991. - chrif_connectack
  1992. 0x2afb
  1993. Type: AZ
  1994. Structure: <cmd>.W <?>.B
  1995. index: 0,2
  1996. len: variable: 3+NAME_LENGTH
  1997. parameter:
  1998. - cmd : packet identification (0x2afb)
  1999. - ?
  2000. desc:
  2001. - send name for wisp to player
  2002. 0x2afd
  2003. Type: AZ
  2004. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <?>.L <?>.L <?>.L <?>.L <?>.B <cd>.?B
  2005. index: 0,2,4,8,12,16,20,24,25
  2006. len: variable: mmo_charstatus_len
  2007. parameter:
  2008. - cmd : packet identification (0x2afd)
  2009. - mmo_charstatus_len
  2010. - account_id
  2011. - ?
  2012. - ?
  2013. - ?
  2014. - ?
  2015. - ?
  2016. - cd
  2017. desc:
  2018. - auth request from map-server
  2019. 0x2b00
  2020. Type: AZ
  2021. Structure: <cmd>.W <users>.L
  2022. index: 0,2
  2023. len: 6
  2024. parameter:
  2025. - cmd : packet identification (0x2b00)
  2026. desc:
  2027. - Send to map-servers the users count on this char-serv, (meaning the total of all mapserv)
  2028. 0x2b03
  2029. Type: AZ
  2030. Structure: <cmd>.W <account_id>.L <?>.B
  2031. index: 0,2,6
  2032. len: 7
  2033. parameter:
  2034. - cmd : packet identification (0x2b03)
  2035. - account_id
  2036. - ?
  2037. desc:
  2038. - Player Requesting char-select from map_serv
  2039. 0x2b04
  2040. Type: AZ
  2041. Structure: <cmd>.W <?>.W <ip>.L <port>.W
  2042. index: 0,2,4,8
  2043. len: ?
  2044. parameter:
  2045. - cmd : packet identification (0x2b04)
  2046. - ?
  2047. - ip
  2048. - port
  2049. desc:
  2050. - Receive maps from some other map-server (relayed via char-server)
  2051. 0x2b06
  2052. Type: AZ
  2053. 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
  2054. index: 0,2,6,10,14,16,18,20,24,28
  2055. len: 30
  2056. parameter:
  2057. - cmd : packet identification (0x2b06)
  2058. - account_id
  2059. - login_id1
  2060. - login_id2
  2061. - char_id
  2062. - map_index
  2063. - x
  2064. - y
  2065. - ip
  2066. - port
  2067. desc:
  2068. - Map-server change request acknowledgement (positive or negative)
  2069. 0x2b09
  2070. Type: AZ
  2071. Structure: <cmd>.W <?>.L <?>?
  2072. index: 0,2,6
  2073. len: 30
  2074. parameter:
  2075. - cmd : packet identification (0x2b09)
  2076. - ?
  2077. - ?
  2078. desc:
  2079. - Lookup to search if that char_id correspond to a name.
  2080. 0x2b0b
  2081. Type: AZ
  2082. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <count>.W <skill_cooldown_data>.?B
  2083. index: 0,2,4,8,12,14
  2084. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2085. parameter:
  2086. - cmd : packet identification (0x2b0b)
  2087. - len
  2088. - aid
  2089. - cid
  2090. - count
  2091. - skill_cooldown_data
  2092. desc:
  2093. - Retrieve and load skillcooldown for a player
  2094. 0x2b0d
  2095. Type: AZ
  2096. Structure: <cmd>.W <acc>.L <sex>.L
  2097. index:0,2,6
  2098. len: 10
  2099. parameter:
  2100. - cmd : packet identification (0x2b0d)
  2101. - acc
  2102. - sex
  2103. desc:
  2104. - Request char server to change sex of char
  2105. 0x2b0f
  2106. Type: AZ
  2107. Structure: <cmd>.W <aid>.L <name>.24B <operation>.W <result>.W
  2108. index: 0,2,6,30,32
  2109. len: 34
  2110. parameter:
  2111. - cmd : packet identification (0x2b0f)
  2112. - aid
  2113. - name
  2114. - operation
  2115. - result
  2116. desc:
  2117. - Processing a reply to chrif_req_login_operation() (request to modify an account).
  2118. 0x2b12
  2119. Type: AZ
  2120. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L <?>.B
  2121. index: 0,2,6,10
  2122. len: 11
  2123. parameter:
  2124. - cmd : packet identification (0x2b12)
  2125. - partner_id1
  2126. - partner_id2
  2127. - ?
  2128. desc:
  2129. - Divorce players (only used if 'partner_id' is offline)
  2130. 0x2b14
  2131. Type: AZ
  2132. Structure: <cmd>.W <id>.L <res>.B <ret_status>.L
  2133. index: 0,2,6,7
  2134. len: 11
  2135. parameter:
  2136. - cmd : packet identification (0x2b14)
  2137. - id
  2138. - res
  2139. - ret_status
  2140. desc:
  2141. - Disconnection of a player (account has been banned of has a status, from login/char-server)
  2142. 0x2b1b
  2143. Type: AZ
  2144. Structure: <cmd>.W <size>.W <size>.W <size>.W <smith_rank>.?B <alchi_rank>.?B <taek_rank>.?B
  2145. index: 0,2,4,6,?,?,?
  2146. len: ? (Max=32000)
  2147. parameter:
  2148. - cmd : packet identification (0x2b1b)
  2149. - size: total packet length
  2150. - size: Alchemist block size
  2151. - size: Blacksmith block size
  2152. -
  2153. -
  2154. -
  2155. desc:
  2156. - Send map-servers fames ranking lists
  2157. 0x2b1d
  2158. Type: AZ
  2159. Structure: <cmd>.W <len>.W <aid>.L <cid>.L
  2160. index: 0,2,4,8
  2161. len: variable: 14+50*status_change_data
  2162. parameter:
  2163. - cmd : packet identification (0x2b1d)
  2164. - len
  2165. - aid
  2166. - cid
  2167. desc:
  2168. - Map-serv requesting to send the list of sc_data the player has saved
  2169. 0x2b1e
  2170. Type: AZ
  2171. Structure: <cmd>.W <new_ip>.L
  2172. index: 0,2
  2173. len: 6
  2174. parameter:
  2175. - cmd : packet identification (0x2b1e)
  2176. - new_ip
  2177. desc:
  2178. - Request forwarded from char-server for interserver IP sync
  2179. 0x2b1f
  2180. Type: AZ
  2181. Structure: <cmd>.W <account_id>.L <reason>.B
  2182. index: 0,2,6
  2183. len: 7
  2184. parameter:
  2185. - cmd : packet identification (0x2b1f)
  2186. - account_id
  2187. - reason
  2188. desc:
  2189. - Request to kick char from a certain map server
  2190. 0x2b20
  2191. Type: AZ
  2192. Structure: <cmd>.W <len>.W <ip>.L <port>.W
  2193. index: 0,2,4,8
  2194. len: 10
  2195. parameter:
  2196. - cmd : packet identification (0x2b20)
  2197. - len
  2198. - ip
  2199. - port
  2200. desc:
  2201. - Remove specified maps (used when some other map-server disconnects)
  2202. 0x2b21
  2203. Type: AZ
  2204. Structure: <cmd>.W <aid>.L <cid>.L
  2205. index: 0,2,6
  2206. len: 10
  2207. parameter:
  2208. - cmd : packet identification (0x2b21)
  2209. desc:
  2210. - chrif_save_ack (Received after a character has been "final saved" on the char-server)
  2211. 0x2b22
  2212. Type: AZ
  2213. Structure: <cmd>.W <type>.B <index>.B <fame>.L
  2214. index: 0,2,3,4
  2215. len: 8
  2216. parameter:
  2217. - cmd : packet identification (0x2b22)
  2218. - type
  2219. - index
  2220. - fame
  2221. desc:
  2222. - Send to map-servers the updated fame ranking lists
  2223. 0x2b24
  2224. Type: AZ
  2225. Structure: <cmd>.W
  2226. index: 0
  2227. len: 2
  2228. parameter:
  2229. - cmd : packet identification (0x2b24)
  2230. desc:
  2231. - Map-server keep alive packet, awnser back map that we alive as well
  2232. 0x2b25
  2233. Type: AZ
  2234. Structure: <cmd>.W <father_id>.L <mother_id>.L <char_id>.L
  2235. index: 0,2,6
  2236. len: ? (Max=64)
  2237. parameter:
  2238. - cmd : packet identification (0x2b25)
  2239. - father_id
  2240. - mother_id
  2241. - char_id
  2242. desc:
  2243. - Removes baby from Father ID and Mother ID
  2244. 0x2b27
  2245. Type: AZ
  2246. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B
  2247. index: 0,2,6,10,14
  2248. len: 15
  2249. parameter:
  2250. - cmd : packet identification (0x2b27)
  2251. - account_id
  2252. - char_id
  2253. - login_id1
  2254. - sex
  2255. desc:
  2256. - Client authentication failed
  2257. 0x2b29
  2258. Type: AZ
  2259. Structure: <cmd>.W <aid>.L <bank_vault>.L
  2260. index: 0,2,6
  2261. len: 10
  2262. parameter:
  2263. - cmd : packet identification (0x2b29)
  2264. - aid
  2265. - bank_vault
  2266. desc:
  2267. - Received bank data for player to be loaded
  2268. 0x2b2b
  2269. Type: AZ
  2270. Structure: <cmd>.W <aid>.L <vip_time>.L <isvip>.B <isgm>.B <groupid>.L
  2271. index: 0,2,6,10,11,12
  2272. len: 16
  2273. parameter:
  2274. - cmd : packet identification (0x2b2b)
  2275. - aid
  2276. - vip_time
  2277. - isvip
  2278. - isgm
  2279. - groupid
  2280. desc:
  2281. - Received vip-data from char-serv, fill map-serv data
  2282. 0x2b2f
  2283. Type: AZ
  2284. Structure: <cmd>.W <len>.W <cid>.L <count>.W
  2285. index: 0,2,4,8
  2286. len: variable: 10+50*bonus_script_data
  2287. parameter:
  2288. - cmd : packet identification (0x2b2f)
  2289. desc:
  2290. - Get bonus_script data(s) from table to load
  2291. 0x2736
  2292. Type: ZA
  2293. Structure: <cmd>.W <ip>.L
  2294. index: 0,2
  2295. len: 6
  2296. parameter:
  2297. - cmd : packet identification (0x2736)
  2298. desc:
  2299. - ip address update
  2300. 0x2afa
  2301. Type: ZA
  2302. Structure: <cmd>.W <size>.W {<map_index>.W}*instance_start
  2303. index: 0,2,4
  2304. len: variable: 4+instance_start*4
  2305. parameter:
  2306. - cmd : packet identification (0x2afa)
  2307. - size
  2308. - map_index*instance_start
  2309. desc:
  2310. - Send available normal maps. chrif_sendmap
  2311. 0x2afc
  2312. Type: ZA
  2313. Structure: <cmd>.W <account_id>.L <char_id>.L
  2314. index: 0,2,6
  2315. len: 10
  2316. parameter:
  2317. - cmd : packet identification (0x2afc)
  2318. - account_id
  2319. - char_id
  2320. desc:
  2321. - Request sc_data from charserver
  2322. 0x2afe
  2323. Type: ZA
  2324. Structure: <cmd>.W <map_usercount>.W
  2325. index: 0,2
  2326. len: 4
  2327. parameter:
  2328. - cmd : packet identification (0x2afe)
  2329. desc:
  2330. - send_usercount_tochar (unused)
  2331. 0x2aff
  2332. Type: ZA
  2333. Structure: <cmd>.W <len>.W <users>.W <account_id>.L <char_id>.L
  2334. index: 0,2,4,6+8*i,6+8+i+4
  2335. len: variable: 6+8*users
  2336. parameter:
  2337. - cmd : packet identification (0x2aff)
  2338. - len
  2339. - users
  2340. - account_id
  2341. - char_id
  2342. desc:
  2343. - Map-serv sent us all his users info, (aid and cid) so we can update online_char_db
  2344. 0x2b01
  2345. Type: ZA
  2346. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <char_id>.L <flag>.B
  2347. index: 0,2,4,8,12
  2348. len: variable: mmo_charstatus_len
  2349. parameter:
  2350. - cmd : packet identification (0x2b01)
  2351. desc:
  2352. - charsave of char XY account XY
  2353. 0x2b02
  2354. Type: ZA
  2355. Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <s_ip>.L <packet_ver>.B
  2356. index: 0,2,6,10,14,18
  2357. len: 19
  2358. parameter:
  2359. - cmd : packet identification (0x2b02)
  2360. - id
  2361. - login_id1
  2362. - login_id2
  2363. - s_ip
  2364. - packet_ver
  2365. desc:
  2366. - chrif_charselectreq
  2367. 0x2b05
  2368. Type: ZA
  2369. 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
  2370. index: 0,2,6,10,14,18,20,22,24,28,30,31,35
  2371. len: 39
  2372. parameter:
  2373. - cmd : packet identification (0x2b05)
  2374. - id
  2375. - login_id1
  2376. - login_id2
  2377. - char_id
  2378. - mapindex
  2379. - x
  2380. - y
  2381. - ip
  2382. - port
  2383. - sex
  2384. - client_addr
  2385. - group_id
  2386. desc:
  2387. - Tell the charserver the mapchange / quest for ok
  2388. 0x2b07
  2389. Type: ZA
  2390. Structure: <cmd>.W <char_id>.L <friend_id>.L
  2391. index: 0,2,6
  2392. len: 10
  2393. parameter:
  2394. - cmd : packet identification (0x2b07)
  2395. - char_id
  2396. - friend_id
  2397. desc:
  2398. - Asks char server to remove friend_id from the friend list of char_id
  2399. 0x2b08
  2400. Type: ZA
  2401. Structure: <cmd>.W <char_id>.L
  2402. index: 0,2
  2403. len: 6
  2404. parameter:
  2405. - cmd : packet identification (0x2b08)
  2406. desc:
  2407. - Search char through id on char serv
  2408. 0x2b0a
  2409. Type: ZA
  2410. Structure: <cmd>.W <account_id>.L <char_id>.L
  2411. index: 0,2,6
  2412. len: 10
  2413. parameter:
  2414. - cmd : packet identification (0x2b0a)
  2415. - account_id
  2416. - char_id
  2417. desc:
  2418. - Request skillcooldown from charserver
  2419. 0x2b0c
  2420. Type: ZA
  2421. Structure: <cmd>.W <id>.W <actual_email>.40B <new_email>.40B
  2422. index: 0,2,6,46
  2423. len: 86
  2424. parameter:
  2425. - cmd : packet identification (0x2b0c)
  2426. - id
  2427. - actual_email
  2428. - new_email
  2429. desc:
  2430. - Change Email
  2431. 0x2b0e
  2432. Type: ZA
  2433. Structure: <cmd>.W <aid>.L <name>.24B <operation_type>.W <timediff>.L <val1>.L <val2>.L
  2434. index: 0,2,30,36,40
  2435. len: 44
  2436. parameter:
  2437. - cmd : packet identification (0x2b0e)
  2438. - aid
  2439. - name
  2440. - operation_type
  2441. - timediff
  2442. - val1
  2443. - val2
  2444. desc:
  2445. - Send an account modification request to the login server (via char server).
  2446. 0x2b10
  2447. Type: ZA
  2448. Structure: <cmd>.W <char_id>.L <fame>.L <type>.B
  2449. index: 0,2,6,10
  2450. len: 11
  2451. parameter:
  2452. - cmd : packet identification (0x2b10)
  2453. - char_id
  2454. - fame
  2455. - type
  2456. desc:
  2457. - Request/Receive top 10 Fame character list
  2458. 0x2b11
  2459. Type: ZA
  2460. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L
  2461. index: 0,2,6
  2462. len: 10
  2463. parameter:
  2464. - cmd : packet identification (0x2b11)
  2465. - partner_id1
  2466. - partner_id2
  2467. desc:
  2468. - Request Char Server to Divorce Players
  2469. 0x2b15
  2470. Type: ZA
  2471. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2472. index: 0,2,4,8,12
  2473. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2474. parameter:
  2475. - cmd : packet identification (0x2b15)
  2476. - len
  2477. - account_id
  2478. - char_id
  2479. - count
  2480. desc:
  2481. - Request to save skill cooldown data
  2482. 0x2b16
  2483. Type: ZA
  2484. Structure: <cmd>.W <base_rate>.L <job_rate>.L <drop_rate>.L
  2485. index: 0,2,6,10
  2486. len: 14
  2487. parameter:
  2488. - cmd : packet identification (0x2b16)
  2489. - base_rate
  2490. - job_rate
  2491. - drop_rate
  2492. desc:
  2493. - Send rates and motd to char server
  2494. 0x2b17
  2495. Type: ZA
  2496. Structure: <cmd>.W <char_id>.L <account_id>.L
  2497. index: 0,2,6
  2498. len: 10
  2499. parameter:
  2500. - cmd : packet identification (0x2b17)
  2501. - char_id
  2502. - account_id
  2503. desc:
  2504. - Tell char-server character disconnected
  2505. 0x2b18
  2506. Type: ZA
  2507. Structure: <cmd>.W
  2508. index: 0
  2509. len: 2
  2510. parameter:
  2511. - cmd : packet identification (0x2b18)
  2512. desc:
  2513. - Tell char-server to reset all chars offline
  2514. 0x2b19
  2515. Type: ZA
  2516. Structure: <cmd>.W <char_id>.L <account_id>.L
  2517. index: 0,2,6
  2518. len: 10
  2519. parameter:
  2520. - cmd : packet identification (0x2b19)
  2521. - char_id
  2522. - account_id
  2523. desc:
  2524. - Tell char-server character is online
  2525. 0x2b1a
  2526. Type: ZA
  2527. Structure: <cmd>.W
  2528. index: 0
  2529. len: 2
  2530. parameter:
  2531. - cmd : packet identification (0x2b1a)
  2532. desc:
  2533. - Build the fame ranking lists and send them
  2534. 0x2b1c
  2535. Type: ZA
  2536. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2537. index: 0,2,4,8,12
  2538. len: variable: 14+SC_MAX*status_change_data
  2539. parameter:
  2540. - cmd : packet identification (0x2b1c)
  2541. - len
  2542. - account_id
  2543. - char_id
  2544. - count
  2545. desc:
  2546. - parses the sc_data of the player and sends it to the char-server for saving
  2547. 0x2b23
  2548. Type: ZA
  2549. Structure: <cmd>.W
  2550. index: 0
  2551. len: 2
  2552. parameter:
  2553. - cmd : packet identification (0x2b23)
  2554. desc:
  2555. - pings the charserver (chrif_keepalive)
  2556. 0x2b26
  2557. Type: ZA
  2558. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B <client_addr>.L <autotrade>.B
  2559. index: 0,2,6,10,14,15,19
  2560. len: 20
  2561. parameter:
  2562. - cmd : packet identification (0x2b26)
  2563. - account_id
  2564. - char_id
  2565. - login_id1
  2566. - sex
  2567. - client_addr
  2568. - autotrade
  2569. desc:
  2570. - client authentication request
  2571. 0x2b28
  2572. Type: ZA
  2573. Structure: <cmd>.W <aid>.L <timediff>.L <character_name>.?B
  2574. index: 0,2,6,10
  2575. len: variable: 10+NAME_LENGTH
  2576. parameter:
  2577. - cmd : packet identification (0x2b28)
  2578. - aid
  2579. - timediff
  2580. - character_name
  2581. desc:
  2582. - chrif_req_charban
  2583. 0x2b2a
  2584. Type: ZA
  2585. Structure: <cmd>.W <aid>.L <character_name>.?B
  2586. index: 0,2,6
  2587. len: 6+NAME_LENGTH
  2588. parameter:
  2589. - cmd : packet identification (0x2b2a)
  2590. - aid
  2591. - character_name
  2592. desc:
  2593. - chrif_req_charunban
  2594. 0x2b2d
  2595. Type: ZA
  2596. Structure: <cmd>.W <char_id>.L
  2597. index: 0,2
  2598. len: 6
  2599. parameter:
  2600. - cmd : packet identification (0x2b2d)
  2601. desc:
  2602. - Requests bonus_script data
  2603. 0x2b2e
  2604. Type: ZA
  2605. Structure: <cmd>.W <len>.W <char_id>.L <count>.W
  2606. index: 0,2,4,8
  2607. len: variable: 10+MAX_PC_BONUS_SCRIPT*bonus_script_data
  2608. parameter:
  2609. - cmd : packet identification (0x2b2e)
  2610. - len
  2611. - char_id
  2612. - count
  2613. desc:
  2614. - Stores bonus_script data(s) to the table
  2615. 0x3008
  2616. Type: ZA
  2617. Structure: <cmd>.W <buf>.?B
  2618. index: 0,2
  2619. len: variable: 2+len
  2620. parameter:
  2621. - cmd : packet identification (0x3008)
  2622. - buf
  2623. desc:
  2624. - chrif_send_report