packet_interserv.txt 61 KB

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