packet_interserv.txt 61 KB

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