packet_interserv.txt 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050
  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. 0x3070
  1096. Type: ZI
  1097. Structure: <cmd>.W <size>.W <merc>.?B
  1098. index: 0,2,4
  1099. len: variable: 4+s_mercenary
  1100. parameter:
  1101. - cmd : packet identification (0x3070)
  1102. - size
  1103. - merc
  1104. desc:
  1105. - Mercenary create
  1106. 0x3071
  1107. Type: ZI
  1108. Structure: <cmd>.W <merc_id>.L <char_id>.L
  1109. index: 0,2,6
  1110. len: 10
  1111. parameter:
  1112. - cmd : packet identification (0x3071)
  1113. - merc_id
  1114. - cid
  1115. desc:
  1116. - Mercenary request
  1117. 0x3072
  1118. Type: ZI
  1119. Structure: <cmd>.W <merc_id>.L
  1120. index: 0,2
  1121. len: 6
  1122. parameter:
  1123. - cmd : packet identification (0x3072)
  1124. - merc_id
  1125. desc:
  1126. - Mercenary delete
  1127. 0x3073
  1128. Type: ZI
  1129. Structure: <cmd>.W <size>.W <merc>.?B
  1130. index: 0,2,4
  1131. len: variable: 4+s_mercenary
  1132. parameter:
  1133. - cmd : packet identification (0x3073)
  1134. - size
  1135. - merc
  1136. desc:
  1137. - Mercenary save
  1138. 0x307c
  1139. Type: ZI
  1140. Structure: <cmd>.W <size>.W <ele>.?B
  1141. index: 0,2,4
  1142. len: variable: 4+s_elemental
  1143. parameter:
  1144. - cmd : packet identification (0x307c)
  1145. - size
  1146. - ele
  1147. desc:
  1148. - Elemental create
  1149. 0x307d
  1150. Type: ZI
  1151. Structure: <cmd>.W <ele_id>.L <cid>.L
  1152. index: 0,2,6
  1153. len: 10
  1154. parameter:
  1155. - cmd : packet identification (0x307d)
  1156. - ele_id
  1157. - cid
  1158. desc:
  1159. - Elemental request
  1160. 0x307e
  1161. Type: ZI
  1162. Structure: <cmd>.W <ele_id>.L
  1163. index: 0,2
  1164. len: 6
  1165. parameter:
  1166. - cmd : packet identification (0x307e)
  1167. - ele_id
  1168. desc:
  1169. - Elemental delete
  1170. 0x307f
  1171. Type: ZI
  1172. Structure: <cmd>.W <size>.W <ele>.?B
  1173. index: 0,2,4
  1174. len: variable: 4+s_elemental
  1175. parameter:
  1176. - cmd : packet identification (0x307f)
  1177. - size
  1178. - ele
  1179. desc:
  1180. - Elemental save
  1181. 0x3080
  1182. Type: ZI
  1183. 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
  1184. index: 0,2,6,10,12,14,16,18,20,22,23,24
  1185. len: variable: 24+NAME_LENGTH
  1186. parameter:
  1187. - cmd : packet identification (0x3080)
  1188. - aid
  1189. - cid
  1190. - pet_class
  1191. - pet_lv
  1192. - pet_egg_id
  1193. -pet_equip
  1194. - intimate
  1195. - hungry
  1196. - rename_flag
  1197. - incubate
  1198. desc:
  1199. - Pet create
  1200. 0x3081
  1201. Type: ZI
  1202. Structure: <cmd>.W <aid>.L <cid>.L <pet_id>.L
  1203. index: 0,2,6,10
  1204. len: 14
  1205. parameter:
  1206. - cmd : packet identification (0x3081)
  1207. - aid
  1208. - cid
  1209. - pet_id
  1210. desc:
  1211. - Request pet data
  1212. 0x3082
  1213. Type: ZI
  1214. Structure: <cmd>.W <size>.W <aid>.L <s_pet>.?B
  1215. index: 0,2,4,8
  1216. len: variable: 8+s_pet
  1217. parameter:
  1218. - cmd : packet identification (0x3082)
  1219. - size
  1220. - aid
  1221. - s_pet: Pet data
  1222. desc:
  1223. - Save pet data
  1224. 0x3083
  1225. Type: ZI
  1226. Structure: <cmd>.W <pet_id>.L
  1227. index: 0,2
  1228. len 6:
  1229. parameter:
  1230. - cmd : packet identification (0x3083)
  1231. - pet_id
  1232. desc:
  1233. - Delete pet data
  1234. 0x308a
  1235. Type: ZI
  1236. Structure: <cmd>.W <type>.B <account_id>.L <char_id>.L
  1237. index: 0,2,3,7
  1238. len: 11
  1239. parameter:
  1240. - cmd : packet identification (0x308a)
  1241. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1242. - account_id
  1243. - char_id
  1244. desc:
  1245. - Request inventory/cart/storage data for a player/guild if type = 3
  1246. 0x308b
  1247. Type: ZI
  1248. Structure: <size>.W <type>.B <account_id>.L <char_id>.L <entries>.?B
  1249. index: 0,2,4,5,9,13
  1250. len: 11
  1251. parameter:
  1252. - cmd : packet identification (0x308b)
  1253. - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  1254. - account_id
  1255. - char_id
  1256. - entries : Inventory/cart/storage entries that will be saved
  1257. desc:
  1258. - Request to save inventory/cart/storage entries
  1259. 0x3090:
  1260. Type: ZI
  1261. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1262. index: 0,2,4,8
  1263. len: variable: 8+s_homunculus
  1264. parameter:
  1265. - cmd : packet identification (0x3090)
  1266. - s_homunculus
  1267. - aid
  1268. - sh
  1269. desc:
  1270. - Homunculus create
  1271. 0x3091:
  1272. Type: ZI
  1273. Structure: <cmd>.W <aid>.L <homun_id>.L
  1274. index: 0,2,6
  1275. len: 10
  1276. parameter:
  1277. - cmd : packet identification (0x3091)
  1278. - aid
  1279. - homun_id
  1280. desc:
  1281. - Homunculus request load
  1282. 0x3092:
  1283. Type: ZI
  1284. Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
  1285. index: 0,2,4,8
  1286. len: variable: 8+s_homunculus
  1287. parameter:
  1288. - cmd : packet identification (0x3092)
  1289. - s_homunculus
  1290. - aid
  1291. - sh
  1292. desc:
  1293. - Homunculus request save
  1294. 0x3093:
  1295. Type: ZI
  1296. Structure: <cmd>.W <homun_id>.L
  1297. index: 0,2
  1298. len: 6
  1299. parameter:
  1300. - cmd : packet identification (0x3093)
  1301. - homun_id
  1302. desc:
  1303. - Homunculus request delete
  1304. 0x3094:
  1305. Type: ZI
  1306. Structure: <cmd>.W <aid>.L <cid>.L <name>.?B
  1307. index: 0,2,6,10
  1308. len: variable: 10+name
  1309. parameter:
  1310. - cmd : packet identification (0x3094)
  1311. - aid
  1312. - cid
  1313. - name
  1314. desc:
  1315. - Homunculus rename
  1316. 0x30A0:
  1317. Type: ZI
  1318. Structure: <cmd>.W
  1319. index: 0
  1320. len: 2
  1321. parameter:
  1322. - cmd : packet identification (0x30A0)
  1323. desc:
  1324. - Requests the loaded clans from the inter server
  1325. 0x30A1
  1326. Type: ZI
  1327. Structure: <cmd>.W <size>.W <clan id>.L <account id>.L <message>.?B
  1328. index: 0,2,4,8,12
  1329. len: variable: 12+message
  1330. parameter:
  1331. - cmd : packet identification (0x30A1)
  1332. - size
  1333. - clan id : the clan id the message is sent to
  1334. - account id : the account id of the sender
  1335. - message : the message to be sent
  1336. desc:
  1337. - Sends a clan message to the inter server to relay it to all other mapservers
  1338. 0x30A2:
  1339. Type: ZI
  1340. Structure: <cmd>.W <clan id>.L
  1341. index: 0,2
  1342. len: 6
  1343. parameter:
  1344. - cmd : packet identification (0x30A2)
  1345. - clan id : the clan id
  1346. desc:
  1347. - Notifies the inter server that a player has left the clan or disconnected
  1348. 0x30A3:
  1349. Type: ZI
  1350. Structure: <cmd>.W <clan id>.L
  1351. index: 0,2
  1352. len: 6
  1353. parameter:
  1354. - cmd : packet identification (0x30A3)
  1355. - clan id : the clan id
  1356. desc:
  1357. - Notifies the inter server that a player has joined the clan or connected
  1358. 0x3800:
  1359. Type: IZ
  1360. Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
  1361. index: 0,2,4,8,10,12,14,16
  1362. len: variable: 16+len
  1363. parameter:
  1364. - cmd : packet identification (0x3800)
  1365. - len
  1366. - fontColor
  1367. - fontType
  1368. - fontSize
  1369. - fontAlign
  1370. - fontY
  1371. - mes
  1372. desc:
  1373. - Send broadcast message
  1374. 0x3801
  1375. Type: IZ
  1376. Structure: <cmd>.W <len>.W <id>.L <src>.24B <dst>.24B <msg>.?B
  1377. index: 0,2,4,8,32,56
  1378. len: variable: 56+len (Max=1991)
  1379. parameter:
  1380. - cmd : packet identification (0x3801)
  1381. - len
  1382. - id
  1383. - src
  1384. - dst
  1385. - msg
  1386. desc:
  1387. - Send whisper message
  1388. 0x3802
  1389. Type: IZ
  1390. Structure: <cmd>.W <src>.24B <flag>.B
  1391. index: 0,2,26
  1392. len: 27
  1393. parameter:
  1394. - cmd : packet identification (0x3802)
  1395. - src
  1396. - flag
  1397. desc:
  1398. - Whisper sending result
  1399. 0x3803
  1400. Type: IZ
  1401. Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
  1402. index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
  1403. len: variable: mes_len + 8 + NAME_LENGTH
  1404. parameter:
  1405. - cmd : packet identification (0x3803)
  1406. - packet_len: mes_len + 8 + NAME_LENGTH
  1407. - wisp_name
  1408. - permission
  1409. - message
  1410. desc:
  1411. - Parse whisper to GM
  1412. 0x3804
  1413. Type: HZ
  1414. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
  1415. index: 0,2,4,8,12,13,14,16,...
  1416. len: variable
  1417. parameter:
  1418. - cmd : packet identification (0x3804)
  1419. - ?
  1420. - aid
  1421. - cid
  1422. - type
  1423. - count
  1424. - keyLength
  1425. - key
  1426. - index
  1427. - val
  1428. - valLength
  1429. desc:
  1430. - Send global account registry to map-server from login-server
  1431. 0x3806
  1432. Type: IZ
  1433. Structure: <cmd>.W <aid>.L <cid>.L <type>.B <flag>.B <name>.B
  1434. index: 0,2,6,10,11,12
  1435. len: 13
  1436. parameter:
  1437. - cmd : packet identification (0x3806)
  1438. - aid
  1439. - cid
  1440. - type
  1441. - flag
  1442. - name
  1443. desc:
  1444. - mapif_namechange_ack
  1445. 0x3807
  1446. Type: IZ
  1447. Structure: <cmd>.W <len>.W <u_fd>.L <aid>.L <msg_out>.?B
  1448. index: 0,2,4,8,12
  1449. len: variable: 12+len
  1450. parameter:
  1451. - cmd : packet identification (0x3807)
  1452. - len
  1453. - u_fd
  1454. - aid
  1455. - msg_out
  1456. desc:
  1457. - sends a mesasge to map server (fd) to a user (u_fd) although we use fd we keep aid for safe-check
  1458. 0x3808
  1459. Type: IZ
  1460. Structure: <cmd>.W <u_fd>.L <aid>.L <acc_name>.?B
  1461. index: 0,2,6,10
  1462. len: variable: 10+NAME+LENGTH
  1463. parameter:
  1464. - cmd : packet identification (0x3808)
  1465. - u_fd
  1466. - aid
  1467. - acc_name
  1468. desc:
  1469. - Transmit the result of a account_information request from map-serv, with type 1
  1470. 0x3809
  1471. Type: IZ
  1472. Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
  1473. index: 0,2,6,4,8,9,24
  1474. len: 9+NAME_LENGTH+NAME_LENGTH
  1475. parameter:
  1476. - cmd : packet identification (0x3809)
  1477. - len : Packet length
  1478. - nameid : ID of obtained item
  1479. - source : Source from where the item obtained
  1480. - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
  1481. - name : Name of player who obtained the item
  1482. - srcname : Source name as alternative of source
  1483. desc:
  1484. - Broadcasts if player get special items.
  1485. 0x3818
  1486. Type: IZ
  1487. Structure: <cmd>.W <len>.W <aid>.L <guild_id>.L <flag>.B <guild_storage>.?B
  1488. index: 0,2,4,8,12,13
  1489. len: variable: 13+guild_storage
  1490. parameter:
  1491. - cmd : packet identification (0x3818)
  1492. - len
  1493. - aid
  1494. - guild_id
  1495. - flag
  1496. - guild_storage
  1497. desc:
  1498. - mapif_load_guild_storage
  1499. 0x3819
  1500. Type: IZ
  1501. Structure: <cmd>.W <aid>.L <guild_id>.L <fail>.B
  1502. index: 0,2,6,10
  1503. len: 11
  1504. parameter:
  1505. - cmd : packet identification (0x3819)
  1506. - aid
  1507. - guild_id
  1508. - fail
  1509. desc:
  1510. - mapif_save_guild_storage_ack
  1511. 0x3820
  1512. Type: IZ
  1513. Structure: <cmd>.W <aid>.L <char_id>.L <?>.B <party_id>.L <name>.?B
  1514. index: 0,2,6,10,11,15
  1515. len: 39
  1516. parameter:
  1517. - cmd : packet identification (0x3820)
  1518. - aid
  1519. - char_id
  1520. - ?
  1521. - party_id
  1522. - name
  1523. desc:
  1524. - ACK party creation
  1525. 0x3821
  1526. Type: IZ
  1527. Structure: <cmd>.W <?>.W <char_id>.L <party_id>.L
  1528. index: 0,2,4,8
  1529. len: 12
  1530. parameter:
  1531. - cmd : packet identification (0x3821)
  1532. - ?
  1533. - char_id
  1534. - party_id
  1535. desc:
  1536. - Party information not found
  1537. 0x3822
  1538. Type: IZ
  1539. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <flag>.B
  1540. index: 0,2,6,10,14
  1541. len: 15
  1542. parameter:
  1543. - cmd : packet identification (0x3822)
  1544. - party_id
  1545. - account_id
  1546. - char_id
  1547. - flag
  1548. desc:
  1549. - mapif_party_memberadded
  1550. 0x3823
  1551. Type: IZ
  1552. Structure: <cmd>.W <party_id>.L <account_id>.L <exp>.W <item>.W <flag>.B
  1553. index: 0,2,6,10,12,14,15?
  1554. len: 16?
  1555. parameter:
  1556. - cmd : packet identification (0x3823)
  1557. - party_id
  1558. - account_id
  1559. - exp
  1560. - item
  1561. - flag
  1562. - ?
  1563. desc:
  1564. - Party setting change notification
  1565. 0x3824
  1566. Type: IZ
  1567. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <name>.24B <type>.B
  1568. index: 0,2,6,10,14,48
  1569. len: 49
  1570. parameter:
  1571. - cmd : packet identification (0x3824)
  1572. - party_id : Party ID
  1573. - account_id : Account ID
  1574. - char_id : Character ID
  1575. - name : Character Name
  1576. - type : Leaving reason/result
  1577. desc:
  1578. - Withdrawal notification party
  1579. 0x3825
  1580. Type: IZ
  1581. Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <map>.W <online>.B <lv>.W <?>.?B
  1582. index: 0,2,6,10,14,16,17,19
  1583. len: 20?
  1584. parameter:
  1585. - cmd : packet identification (0x3825)
  1586. - party_id
  1587. - account_id
  1588. - char_id
  1589. - map
  1590. - online
  1591. - lv
  1592. - ?
  1593. desc:
  1594. - Party map update notification
  1595. 0x3826
  1596. Type: IZ
  1597. Structure: <cmd>.W <party_id>.L <flag>.B <?>.?B
  1598. index: 0,2,6,7
  1599. len: 16
  1600. parameter:
  1601. - cmd : packet identification (0x3826)
  1602. - party_id
  1603. - flag
  1604. - ?
  1605. desc:
  1606. - Dissolution party notification
  1607. 0x3827
  1608. Type: IZ
  1609. Structure: <cmd>.W <len>.W <party_id>.L <account_id>.L <mes>.?B
  1610. index: 0,2,4,8,12
  1611. len: variable: 12+len (max=512)
  1612. parameter:
  1613. - cmd : packet identification (0x3827)
  1614. - len
  1615. - party_id
  1616. - account_id
  1617. - mes
  1618. desc:
  1619. - mapif_party_message
  1620. 0x3830
  1621. Type: IZ
  1622. Structure: <cmd>.W <account_id>.L <guild_id>.L
  1623. index: 0,2,6
  1624. len: 10
  1625. parameter:
  1626. - cmd : packet identification (0x3830)
  1627. - account_id
  1628. - guild_id
  1629. desc:
  1630. - mapif_guild_created
  1631. 0x3831
  1632. Type: IZ
  1633. Structure: <cmd>.W <?>.W <guild_id>.L <?>.?B
  1634. index: 0,2,4,8
  1635. len: 12
  1636. parameter:
  1637. - cmd : packet identification (0x3831)
  1638. - ?
  1639. - guild_id
  1640. - ?
  1641. desc:
  1642. - mapif_guild_noinfo
  1643. 0x3832
  1644. Type: IZ
  1645. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B
  1646. index: 0,2,6,10,14
  1647. len: 15
  1648. parameter:
  1649. - cmd : packet identification (0x3832)
  1650. - guild_id
  1651. - account_id
  1652. - char_id
  1653. - flag
  1654. desc:
  1655. - ACK member add
  1656. 0x3834
  1657. Type: IZ
  1658. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B <mes>.40B <name>.?B
  1659. index: 0,2,6,10,14,15,55
  1660. len: variable: 55+NAME_LENGTH
  1661. parameter:
  1662. - cmd : packet identification (0x3834)
  1663. - guild_id
  1664. - account_id
  1665. - char_id
  1666. - flag
  1667. - mes
  1668. - name
  1669. desc:
  1670. - mapif_guild_withdraw
  1671. 0x3835
  1672. Type: IZ
  1673. Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <online>.B <lv>.W <class_>.W
  1674. index: 0,2,6,10,14,15,17
  1675. len: 19
  1676. parameter:
  1677. - cmd : packet identification (0x3835)
  1678. - guild_id
  1679. - account_id
  1680. - char_id
  1681. - online
  1682. - lv
  1683. - class_
  1684. desc:
  1685. - Send short guild member's info
  1686. 0x3836
  1687. Type: IZ
  1688. Structure: <cmd>.W <guild_id>.L <flag>.B
  1689. index: 0,2,6
  1690. len: 7
  1691. parameter:
  1692. - cmd : packet identification (0x3836)
  1693. - guild_id
  1694. - flag
  1695. desc:
  1696. - mapif_guild_broken
  1697. 0x3837
  1698. Type: IZ
  1699. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <mes>.?B
  1700. index: 0,2,4,8,12
  1701. len: variable: 12+len (max=512)
  1702. parameter:
  1703. - cmd : packet identification (0x3837)
  1704. - len
  1705. - guild_id
  1706. - account_id
  1707. - mes
  1708. desc:
  1709. - Send guild message
  1710. 0x3839
  1711. Type: IZ
  1712. Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
  1713. index: 0,2,4,8,10
  1714. len: variable: 10+len (Max=2048)
  1715. parameter:
  1716. - cmd : packet identification (0x3839)
  1717. - len
  1718. - guild_id
  1719. - type
  1720. - data
  1721. desc:
  1722. - mapif_guild_basicinfochanged
  1723. 0x383a
  1724. Type: IZ
  1725. Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <char_id>.L <type>.W <data>.?B
  1726. index: 0,2,4,8,12,16,18
  1727. len: variable: 18+len (Max=2048)
  1728. parameter:
  1729. - cmd : packet identification (0x383a)
  1730. - len
  1731. - guild_id
  1732. - account_id
  1733. - char_id
  1734. - type
  1735. - data
  1736. desc:
  1737. - mapif_guild_memberinfochanged
  1738. 0x383b
  1739. Type: IZ
  1740. Structure: <cmd>.W <len>.W <guild_id>.L <idx>.L <position>.?B
  1741. index: 0,2,4,8,12
  1742. len: variable: 12+guild_position
  1743. parameter:
  1744. - cmd : packet identification (0x383b)
  1745. - len
  1746. - guild_id
  1747. - idx
  1748. - position
  1749. desc:
  1750. - mapif_guild_position
  1751. 0x383c
  1752. Type: IZ
  1753. Structure: <cmd>.W <guild_id>.L <skill_id>.L <account_id>.L
  1754. index: 0,2,6,10
  1755. len: 14
  1756. parameter:
  1757. - cmd : packet identification (0x383c)
  1758. - guild_id
  1759. - skill_id
  1760. - account_id
  1761. desc:
  1762. - ACK guild skill up
  1763. 0x383d
  1764. Type: IZ
  1765. Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B <name1>.?B <name2>.?B
  1766. index: 0,2,6,10,14,18,19
  1767. len: variable: 19+2*NAME_LENGTH
  1768. parameter:
  1769. - cmd : packet identification (0x383d)
  1770. - guild_id1
  1771. - guild_id2
  1772. - account_id1
  1773. - account_id2
  1774. desc:
  1775. - ACK guild alliance
  1776. 0x383e
  1777. Type: IZ
  1778. Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B <?>.?B
  1779. index: 0,2,6,66,186
  1780. len: 256
  1781. parameter:
  1782. - cmd : packet identification (0x383e)
  1783. - guild_id
  1784. - mes1
  1785. - mes2
  1786. - ?
  1787. desc:
  1788. - Send the guild notice
  1789. 0x383f
  1790. Type: IZ
  1791. Structure: <cmd>.W <len>.W <guild_id>.L <emblem_id>.L <emblem_data>.?B
  1792. index: 0,2,4,8,12
  1793. len: variable: 12+emblem_data
  1794. parameter:
  1795. - cmd : packet identification (0x383f)
  1796. - len
  1797. - guild_id
  1798. - emblem_id
  1799. - emblem_data
  1800. desc:
  1801. - Send emblem data
  1802. 0x3840
  1803. Type: IZ
  1804. Structure: <cmd>.W <len>.W <gc>.?B
  1805. index: 0,2,4
  1806. len: variable: 4+num*gc
  1807. parameter:
  1808. - cmd : packet identification (0x3840)
  1809. - len
  1810. - gc
  1811. desc:
  1812. - mapif_guild_castle_dataload
  1813. 0x3843
  1814. Type: IZ
  1815. Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <time>.L
  1816. index: 0,2,6,10,14
  1817. len: 18
  1818. parameter:
  1819. - cmd : packet identification (0x3843)
  1820. - guild_id
  1821. - aid
  1822. - cid
  1823. - time of change
  1824. desc:
  1825. - mapif_guild_master_changed
  1826. 0x3848
  1827. Type: IZ
  1828. Structure: <cmd>.W <size>.W <char_id>.L <flag>.B <mail_type>.B <md>.?B
  1829. index: 0,2,4,8,9,10
  1830. len: variable: 10+md
  1831. parameter:
  1832. - cmd : packet identification (0x3848)
  1833. - size
  1834. - char_id
  1835. - flag
  1836. - mail_type
  1837. - md : Mail
  1838. desc:
  1839. - A player request for mail inbox
  1840. 0x3849
  1841. Type: IZ
  1842. Structure: <cmd>.W <dest_id>.L <sender_id>.L <sender_name>.24B <mail_title>.40B
  1843. index: 0,2,6,10,34
  1844. len: 74
  1845. parameter:
  1846. - cmd : packet identification (0x3849)
  1847. - dest_id
  1848. - sender_id
  1849. - sender_name
  1850. - mail_title
  1851. desc:
  1852. - Report New Mail to Map Server
  1853. 0x384a
  1854. Type: IZ
  1855. Structure: <cmd>.W <size>.W <char_id>.L <zeny>.L <item>.?B
  1856. index: 0,2,4,8,12
  1857. len: variable: 12+item
  1858. parameter:
  1859. - cmd : packet identification (0x384a)
  1860. - size
  1861. - char_id
  1862. - zeny
  1863. - item
  1864. desc:
  1865. - Get mail attachment
  1866. 0x384b
  1867. Type: IZ
  1868. Structure: <cmd>.W <char_id>.L <mail_id>.L <failed>.B
  1869. index: 0,2,6,10,11
  1870. len: 11
  1871. parameter:
  1872. - cmd : packet identification (0x384b)
  1873. - char_id
  1874. - mail_id
  1875. - failed: Fail status when delete a mail
  1876. desc:
  1877. - Status about mail deletion to player
  1878. 0x384c
  1879. Type: IZ
  1880. Structure: <cmd>.W <char_id>.L <mail_id>.L <new_mail>.B
  1881. index: 0,2,6,10,11
  1882. len: 11
  1883. parameter:
  1884. - cmd : packet identification (0x384c)
  1885. - char_id
  1886. - mail_id
  1887. - new_mail
  1888. desc:
  1889. - Received a returned mail
  1890. 0x384d
  1891. Type: IZ
  1892. Structure: <cmd>.W <size>.W <mail_message>.?B
  1893. index: 0,2,4
  1894. len: variable: 4+mail_message
  1895. parameter:
  1896. - cmd : packet identification (0x384d)
  1897. - size
  1898. - mail_message
  1899. desc:
  1900. - Mail sent status (to player if the sender is player and online)
  1901. 0x384e
  1902. Type: IZ
  1903. Structure: <cmd>.W <cid_sender>.L <cid_receiver>.L <class>.W <level>.W <name>.24B
  1904. index: 0,2,6,10,12,14
  1905. len: 38
  1906. parameter:
  1907. - cmd : packet identification (0x384e)
  1908. - cid_sender
  1909. - cid_receiver
  1910. - class
  1911. - level
  1912. - name
  1913. desc:
  1914. - Mail receiver's character data(character id, job, level and name)
  1915. 0x3850
  1916. Type: IZ
  1917. Structure: <cmd>.W <size>.W <char_id>.L <count>.W <pages>.W <auction_data>.?B
  1918. index: 0,2,4,8,10,12
  1919. len: variable: 12+auction_data
  1920. parameter:
  1921. - cmd : packet identification (0x3850)
  1922. - size
  1923. - char_id
  1924. - count
  1925. - pages
  1926. - auction_data
  1927. desc:
  1928. - Auction list
  1929. 0x3851
  1930. Type: IZ
  1931. Structure: <cmd>.W <size>.W <auction_data>.?B
  1932. index: 0,2,4
  1933. len: variable: 4+auction_data
  1934. parameter:
  1935. - cmd : packet identification (0x3851)
  1936. - size
  1937. - auction_data
  1938. desc:
  1939. - Status auction registration
  1940. 0x3852
  1941. Type: IZ
  1942. Structure: <cmd>.W <char_id>.L <result>.B
  1943. index: 0,2,6
  1944. len: 7
  1945. parameter:
  1946. - cmd : packet identification (0x3852)
  1947. - char_id
  1948. - result
  1949. desc:
  1950. - Cancel an auction that requested by player
  1951. 0x3853
  1952. Type: IZ
  1953. Structure: <cmd>.W <char_id>.L <result>.B
  1954. index: 0,2,6
  1955. len: 7
  1956. parameter:
  1957. - cmd : packet identification (0x3853)
  1958. - char_id
  1959. - result
  1960. desc:
  1961. - Receive a notification that the auction has ended
  1962. 0x3855
  1963. Type: IZ
  1964. Structure: <cmd>.W <char_id>.L <bid>.L <result>.B
  1965. index: 0,2,6,10
  1966. len: 11
  1967. parameter:
  1968. - cmd : packet identification (0x3855)
  1969. - char_id
  1970. - bid
  1971. - result
  1972. desc:
  1973. - Get back the money from biding auction (someone else have bid it over)
  1974. 0x3856
  1975. Type: IZ
  1976. Structure: <cmd>.W <aid>.L <guild_id>.W
  1977. index: 0,2,6
  1978. len: 8
  1979. parameter:
  1980. - cmd : packet identification (0x3856)
  1981. - aid : account_id
  1982. - guild_id
  1983. desc:
  1984. - Acknowledge the good deletion of the bound item
  1985. 0x3857
  1986. Type: IZ
  1987. Structure: <cmd>.W <size>.W <count>.W <guild_id>.W { <items>.?B }*MAX_INVENTORY
  1988. index: 0,2,4,6,8
  1989. len: variable: 8+items
  1990. parameter:
  1991. - cmd : packet identification (0x3857)
  1992. - size
  1993. - count : number of item retrieved
  1994. - guild_id
  1995. - items: retreived guild bound items
  1996. desc:
  1997. - Ask map-server to process the retreived guild bound items from expelled member
  1998. 0x3860
  1999. Type: IZ
  2000. Structure: <cmd>.W <size>.W <char_id>.L <quest>.?B
  2001. index: 0,2,4,8
  2002. len: variable: 8+quest
  2003. parameter:
  2004. - cmd : packet identification (0x3860)
  2005. - size
  2006. - char_id
  2007. - quest
  2008. desc:
  2009. - Send quest log to a player
  2010. 0x3861
  2011. Type: IZ
  2012. Structure: <cmd>.W <char_id>.L <success>.B
  2013. index: 0,2,4
  2014. len: 5
  2015. parameter:
  2016. - cmd : packet identification (0x3861)
  2017. - char_id
  2018. - success
  2019. desc:
  2020. - Send quest log saving status
  2021. 0x3880
  2022. Type: IZ
  2023. Structure: <cmd>.W <account_id>.L <class>.W <pet_id>.L
  2024. index: 0,2,6,8
  2025. len: 12
  2026. parameter:
  2027. - cmd : packet identification (0x3880)
  2028. - account_id
  2029. - class
  2030. - pet_id
  2031. desc:
  2032. - Send pet egg creation status
  2033. 0x3881
  2034. Type: IZ
  2035. Structure: <cmd>.W <size>.W <account_id>.L <status>.B <s_pet>.?B
  2036. index: 0,2,4,6,8,9
  2037. len: variable: 9+s_pet
  2038. parameter:
  2039. - cmd : packet identification (0x3881)
  2040. - size
  2041. - account_id
  2042. - status: 1 means no info available
  2043. - s_pet: Pet data
  2044. desc:
  2045. - Send packet data to a player
  2046. 0x3882
  2047. Type: IZ
  2048. Structure: <cmd>.W <account_id>.L <flag>.B
  2049. index: 0,2,4
  2050. len: 5
  2051. parameter:
  2052. - cmd : packet identification (0x3882)
  2053. - account_id
  2054. - flag: 1 failed to save
  2055. desc:
  2056. - Send pet save status
  2057. 0x3883
  2058. Type: IZ
  2059. Structure: <cmd>.W <flag>.B
  2060. index: 0,2
  2061. len: 3
  2062. parameter:
  2063. - cmd : packet identification (0x3883)
  2064. - flag
  2065. desc:
  2066. - Send pet deletion status
  2067. 0x388a
  2068. Type: IZ
  2069. Structure: <cmd>.W <size>.W <type>.B <account_id>.L <result>.B <entries>.?B
  2070. index: 0,2,4,5,9
  2071. len: 9+variable
  2072. parameter:
  2073. - cmd : packet identification (0x388a)
  2074. - size
  2075. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2076. - account_id
  2077. - result : True if data loaded, false if failed
  2078. - entries : Inventory/cart/storage entries
  2079. desc:
  2080. - Process inventory/cart/storage entries for player from inter-server
  2081. 0x388b
  2082. Type: IZ
  2083. Structure: <cmd>.W <account_id>.L <result>.B <type>.B
  2084. index: 0,2,6,7
  2085. len: 11
  2086. parameter:
  2087. - cmd : packet identification (0x388b)
  2088. - account_id
  2089. - result : 1 - success, 0 - failed
  2090. - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
  2091. desc:
  2092. - Info about inventory/cart/storage data is saved
  2093. 0x388c
  2094. Type: IZ
  2095. Structure: <cmd>.W <len>.W { <storage_table>.? }*?
  2096. index: 0,2,6,...
  2097. len: 6+variable
  2098. parameter:
  2099. - cmd : packet identification (0x388c)
  2100. - len : Pakcet length
  2101. - storage_table : Storage table information
  2102. desc:
  2103. - Receive storage information
  2104. 0x3890
  2105. Type: IZ
  2106. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2107. index: 0,2,4,8,9
  2108. len: variable: 9+s_homunculus
  2109. parameter:
  2110. - cmd : packet identification (0x3890)
  2111. - size
  2112. - account_id
  2113. - flag: 0 means homunculus creation is failed
  2114. - s_homunculus: Homunculus data
  2115. desc:
  2116. - Send homunculus creation status
  2117. 0x3891
  2118. Type: IZ
  2119. Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
  2120. index: 0,2,4,8,9
  2121. len: variable: 9+s_homunculus
  2122. parameter:
  2123. - cmd : packet identification (0x3891)
  2124. - size
  2125. - account_id
  2126. - flag: 0 means failed to retrieve homunculus data
  2127. - s_homunculus: Homunculus data
  2128. desc:
  2129. - Send homunculus data to a player
  2130. 0x3892
  2131. Type: IZ
  2132. Structure: <cmd>.W <account_id>.L <flag>.B
  2133. index: 0,2,4
  2134. len: 5
  2135. parameter:
  2136. - cmd : packet identification (0x3892)
  2137. - account_id
  2138. - flag: 1 if success
  2139. desc:
  2140. - Send homunculus saving status to a player
  2141. 0x3893
  2142. Type: IZ
  2143. Structure: <cmd>.W <flag>.B
  2144. index: 0,2
  2145. len: 3
  2146. parameter:
  2147. - cmd : packet identification (0x3893)
  2148. - flag: 1 Homunculus deleted
  2149. desc:
  2150. - Send homunculus deletion status
  2151. 0x38A0
  2152. Type: IZ
  2153. Structure: <cmd>.W <size>.W <clan structure>.?B * n
  2154. index: 0, 2, 4
  2155. len: variable: 4+clan*n
  2156. parameter:
  2157. - cmd : packet identification (0x38A0)
  2158. - size
  2159. - clan structure
  2160. desc:
  2161. - Send all loaded clans to the map server
  2162. 0x38A1
  2163. Type: IZ
  2164. Structure: <cmd>.W <size>.W <message>.?B
  2165. index: 0, 2, 4
  2166. len: variable: 4+message
  2167. parameter:
  2168. - cmd : packet identification (0x38A1)
  2169. - size
  2170. - message : the data of the clan chat message packet
  2171. desc:
  2172. - Sends a clan chat message to other map servers
  2173. 0x38A2
  2174. Type: IZ
  2175. Structure: <cmd>.W <clan id>.L <online count>.W
  2176. index: 0, 2, 6
  2177. len: 8
  2178. parameter:
  2179. - cmd : packet identification (0x38A2)
  2180. - clan id : the clan id of the clan that needs an update
  2181. - online count : the amount of currently connected players in the clan
  2182. desc:
  2183. - Updates the online clan member count for all other map servers
  2184. ========================
  2185. | 3.2 Char-Map Packets |
  2186. ========================
  2187. 0x2af9
  2188. Type: AZ
  2189. Structure: <cmd>.W <?>.B
  2190. index: 0,2
  2191. len: 3
  2192. parameter:
  2193. - cmd : packet identification (0x2af9)
  2194. - ?
  2195. desc:
  2196. - chrif_connectack
  2197. 0x2afb
  2198. Type: HZ
  2199. Structure: <cmd>.W <size>.W <status>.B <servername>.?B <defaultmap>.?B <mapx>.W <mapy>.W
  2200. index: 0,2,4,5+NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH+2
  2201. len: variable: 9+NAME_LENGTH+MAP_NAME_LENGTH
  2202. parameter:
  2203. - cmd : packet identification (0x2afb)
  2204. - status : 0 Success, 1 : Fail
  2205. - servername :
  2206. - defaultmap :
  2207. - mapx :
  2208. - mapy :
  2209. desc:
  2210. - Map received from map-server, then send reply with server name and default map
  2211. 0x2afd
  2212. Type: AZ
  2213. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <?>.L <?>.L <?>.L <?>.L <?>.B <cd>.?B
  2214. index: 0,2,4,8,12,16,20,24,25
  2215. len: variable: mmo_charstatus_len
  2216. parameter:
  2217. - cmd : packet identification (0x2afd)
  2218. - mmo_charstatus_len
  2219. - account_id
  2220. - ?
  2221. - ?
  2222. - ?
  2223. - ?
  2224. - ?
  2225. - cd
  2226. desc:
  2227. - auth request from map-server
  2228. 0x2b00
  2229. Type: AZ
  2230. Structure: <cmd>.W <users>.L
  2231. index: 0,2
  2232. len: 6
  2233. parameter:
  2234. - cmd : packet identification (0x2b00)
  2235. desc:
  2236. - Send to map-servers the users count on this char-serv, (meaning the total of all mapserv)
  2237. 0x2b03
  2238. Type: AZ
  2239. Structure: <cmd>.W <account_id>.L <?>.B
  2240. index: 0,2,6
  2241. len: 7
  2242. parameter:
  2243. - cmd : packet identification (0x2b03)
  2244. - account_id
  2245. - ?
  2246. desc:
  2247. - Player Requesting char-select from map_serv
  2248. 0x2b04
  2249. Type: AZ
  2250. Structure: <cmd>.W <?>.W <ip>.L <port>.W
  2251. index: 0,2,4,8
  2252. len: ?
  2253. parameter:
  2254. - cmd : packet identification (0x2b04)
  2255. - ?
  2256. - ip
  2257. - port
  2258. desc:
  2259. - Receive maps from some other map-server (relayed via char-server)
  2260. 0x2b06
  2261. Type: AZ
  2262. 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
  2263. index: 0,2,6,10,14,16,18,20,24,28
  2264. len: 30
  2265. parameter:
  2266. - cmd : packet identification (0x2b06)
  2267. - account_id
  2268. - login_id1
  2269. - login_id2
  2270. - char_id
  2271. - map_index
  2272. - x
  2273. - y
  2274. - ip
  2275. - port
  2276. desc:
  2277. - Map-server change request acknowledgement (positive or negative)
  2278. 0x2b09
  2279. Type: AZ
  2280. Structure: <cmd>.W <?>.L <?>?
  2281. index: 0,2,6
  2282. len: 30
  2283. parameter:
  2284. - cmd : packet identification (0x2b09)
  2285. - ?
  2286. - ?
  2287. desc:
  2288. - Lookup to search if that char_id correspond to a name.
  2289. 0x2b0b
  2290. Type: AZ
  2291. Structure: <cmd>.W <len>.W <aid>.L <cid>.L <count>.W <skill_cooldown_data>.?B
  2292. index: 0,2,4,8,12,14
  2293. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2294. parameter:
  2295. - cmd : packet identification (0x2b0b)
  2296. - len
  2297. - aid
  2298. - cid
  2299. - count
  2300. - skill_cooldown_data
  2301. desc:
  2302. - Retrieve and load skillcooldown for a player
  2303. 0x2b0d
  2304. Type: AZ
  2305. Structure: <cmd>.W <acc>.L <sex>.L
  2306. index:0,2,6
  2307. len: 10
  2308. parameter:
  2309. - cmd : packet identification (0x2b0d)
  2310. - acc
  2311. - sex
  2312. desc:
  2313. - Request char server to change sex of char
  2314. 0x2b0f
  2315. Type: AZ
  2316. Structure: <cmd>.W <aid>.L <name>.24B <operation>.W <result>.W
  2317. index: 0,2,6,30,32
  2318. len: 34
  2319. parameter:
  2320. - cmd : packet identification (0x2b0f)
  2321. - aid
  2322. - name
  2323. - operation
  2324. - result
  2325. desc:
  2326. - Processing a reply to chrif_req_login_operation() (request to modify an account).
  2327. 0x2b12
  2328. Type: AZ
  2329. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L <?>.B
  2330. index: 0,2,6,10
  2331. len: 11
  2332. parameter:
  2333. - cmd : packet identification (0x2b12)
  2334. - partner_id1
  2335. - partner_id2
  2336. - ?
  2337. desc:
  2338. - Divorce players (only used if 'partner_id' is offline)
  2339. 0x2b14
  2340. Type: AZ
  2341. Structure: <cmd>.W <id>.L <res>.B <ret_status>.L
  2342. index: 0,2,6,7
  2343. len: 11
  2344. parameter:
  2345. - cmd : packet identification (0x2b14)
  2346. - id
  2347. - res
  2348. - ret_status
  2349. desc:
  2350. - Disconnection of a player (account has been banned of has a status, from login/char-server)
  2351. 0x2b1b
  2352. Type: AZ
  2353. Structure: <cmd>.W <size>.W <size>.W <size>.W <smith_rank>.?B <alchi_rank>.?B <taek_rank>.?B
  2354. index: 0,2,4,6,?,?,?
  2355. len: ? (Max=32000)
  2356. parameter:
  2357. - cmd : packet identification (0x2b1b)
  2358. - size: total packet length
  2359. - size: Alchemist block size
  2360. - size: Blacksmith block size
  2361. -
  2362. -
  2363. -
  2364. desc:
  2365. - Send map-servers fames ranking lists
  2366. 0x2b1d
  2367. Type: AZ
  2368. Structure: <cmd>.W <len>.W <aid>.L <cid>.L
  2369. index: 0,2,4,8
  2370. len: variable: 14+50*status_change_data
  2371. parameter:
  2372. - cmd : packet identification (0x2b1d)
  2373. - len
  2374. - aid
  2375. - cid
  2376. desc:
  2377. - Map-serv requesting to send the list of sc_data the player has saved
  2378. 0x2b1e
  2379. Type: AZ
  2380. Structure: <cmd>.W <new_ip>.L
  2381. index: 0,2
  2382. len: 6
  2383. parameter:
  2384. - cmd : packet identification (0x2b1e)
  2385. - new_ip
  2386. desc:
  2387. - Request forwarded from char-server for interserver IP sync
  2388. 0x2b1f
  2389. Type: AZ
  2390. Structure: <cmd>.W <account_id>.L <reason>.B
  2391. index: 0,2,6
  2392. len: 7
  2393. parameter:
  2394. - cmd : packet identification (0x2b1f)
  2395. - account_id
  2396. - reason
  2397. desc:
  2398. - Request to kick char from a certain map server
  2399. 0x2b20
  2400. Type: AZ
  2401. Structure: <cmd>.W <len>.W <ip>.L <port>.W
  2402. index: 0,2,4,8
  2403. len: 10
  2404. parameter:
  2405. - cmd : packet identification (0x2b20)
  2406. - len
  2407. - ip
  2408. - port
  2409. desc:
  2410. - Remove specified maps (used when some other map-server disconnects)
  2411. 0x2b21
  2412. Type: AZ
  2413. Structure: <cmd>.W <aid>.L <cid>.L
  2414. index: 0,2,6
  2415. len: 10
  2416. parameter:
  2417. - cmd : packet identification (0x2b21)
  2418. desc:
  2419. - chrif_save_ack (Received after a character has been "final saved" on the char-server)
  2420. 0x2b22
  2421. Type: AZ
  2422. Structure: <cmd>.W <type>.B <index>.B <fame>.L
  2423. index: 0,2,3,4
  2424. len: 8
  2425. parameter:
  2426. - cmd : packet identification (0x2b22)
  2427. - type
  2428. - index
  2429. - fame
  2430. desc:
  2431. - Send to map-servers the updated fame ranking lists
  2432. 0x2b24
  2433. Type: AZ
  2434. Structure: <cmd>.W
  2435. index: 0
  2436. len: 2
  2437. parameter:
  2438. - cmd : packet identification (0x2b24)
  2439. desc:
  2440. - Map-server keep alive packet, awnser back map that we alive as well
  2441. 0x2b25
  2442. Type: AZ
  2443. Structure: <cmd>.W <father_id>.L <mother_id>.L <char_id>.L
  2444. index: 0,2,6
  2445. len: ? (Max=64)
  2446. parameter:
  2447. - cmd : packet identification (0x2b25)
  2448. - father_id
  2449. - mother_id
  2450. - char_id
  2451. desc:
  2452. - Removes baby from Father ID and Mother ID
  2453. 0x2b27
  2454. Type: AZ
  2455. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B
  2456. index: 0,2,6,10,14
  2457. len: 15
  2458. parameter:
  2459. - cmd : packet identification (0x2b27)
  2460. - account_id
  2461. - char_id
  2462. - login_id1
  2463. - sex
  2464. desc:
  2465. - Client authentication failed
  2466. 0x2b29
  2467. free
  2468. 0x2b2b
  2469. Type: AZ
  2470. Structure: <cmd>.W <aid>.L <vip_time>.L <groupid>.L <flag>.B
  2471. index: 0,2,6,10,11
  2472. len: 15
  2473. parameter:
  2474. - cmd : packet identification (0x2b2b)
  2475. - aid
  2476. - vip_time
  2477. - groupid
  2478. - flag : 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
  2479. desc:
  2480. - Received vip-data from char-serv, fill map-serv data
  2481. 0x2b2f
  2482. Type: AZ
  2483. Structure: <cmd>.W <len>.W <cid>.L <count>.B { <bonus_script_data>.?B }
  2484. index: 0,2,4,8
  2485. len: variable: 9+count*bonus_script_data
  2486. parameter:
  2487. - cmd : packet identification (0x2b2f)
  2488. desc:
  2489. - Get bonus_script data(s) from table to load
  2490. 0x2736
  2491. Type: ZA
  2492. Structure: <cmd>.W <ip>.L
  2493. index: 0,2
  2494. len: 6
  2495. parameter:
  2496. - cmd : packet identification (0x2736)
  2497. desc:
  2498. - ip address update
  2499. 0x2afa
  2500. Type: ZA
  2501. Structure: <cmd>.W <size>.W {<map_index>.W}*instance_start
  2502. index: 0,2,4
  2503. len: variable: 4+instance_start*4
  2504. parameter:
  2505. - cmd : packet identification (0x2afa)
  2506. - size
  2507. - map_index*instance_start
  2508. desc:
  2509. - Send available normal maps. chrif_sendmap
  2510. 0x2afc
  2511. Type: ZA
  2512. Structure: <cmd>.W <account_id>.L <char_id>.L
  2513. index: 0,2,6
  2514. len: 10
  2515. parameter:
  2516. - cmd : packet identification (0x2afc)
  2517. - account_id
  2518. - char_id
  2519. desc:
  2520. - Request sc_data from charserver
  2521. 0x2afe
  2522. Type: ZA
  2523. Structure: <cmd>.W <map_usercount>.W
  2524. index: 0,2
  2525. len: 4
  2526. parameter:
  2527. - cmd : packet identification (0x2afe)
  2528. desc:
  2529. - send_usercount_tochar (unused)
  2530. 0x2aff
  2531. Type: ZA
  2532. Structure: <cmd>.W <len>.W <users>.W <account_id>.L <char_id>.L
  2533. index: 0,2,4,6+8*i,6+8+i+4
  2534. len: variable: 6+8*users
  2535. parameter:
  2536. - cmd : packet identification (0x2aff)
  2537. - len
  2538. - users
  2539. - account_id
  2540. - char_id
  2541. desc:
  2542. - Map-serv sent us all his users info, (aid and cid) so we can update online_char_db
  2543. 0x2b01
  2544. Type: ZA
  2545. Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <char_id>.L <flag>.B
  2546. index: 0,2,4,8,12
  2547. len: variable: mmo_charstatus_len
  2548. parameter:
  2549. - cmd : packet identification (0x2b01)
  2550. desc:
  2551. - charsave of char XY account XY
  2552. 0x2b02
  2553. Type: ZA
  2554. Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <s_ip>.L
  2555. index: 0,2,6,10,14
  2556. len: 18
  2557. parameter:
  2558. - cmd : packet identification (0x2b02)
  2559. - id
  2560. - login_id1
  2561. - login_id2
  2562. - s_ip
  2563. desc:
  2564. - chrif_charselectreq
  2565. 0x2b05
  2566. Type: ZA
  2567. 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
  2568. index: 0,2,6,10,14,18,20,22,24,28,30,31,35
  2569. len: 39
  2570. parameter:
  2571. - cmd : packet identification (0x2b05)
  2572. - id
  2573. - login_id1
  2574. - login_id2
  2575. - char_id
  2576. - mapindex
  2577. - x
  2578. - y
  2579. - ip
  2580. - port
  2581. - sex
  2582. - client_addr
  2583. - group_id
  2584. desc:
  2585. - Tell the charserver the mapchange / quest for ok
  2586. 0x2b07
  2587. Type: ZA
  2588. Structure: <cmd>.W <char_id>.L <friend_id>.L
  2589. index: 0,2,6
  2590. len: 10
  2591. parameter:
  2592. - cmd : packet identification (0x2b07)
  2593. - char_id
  2594. - friend_id
  2595. desc:
  2596. - Asks char server to remove friend_id from the friend list of char_id
  2597. 0x2b08
  2598. Type: ZA
  2599. Structure: <cmd>.W <char_id>.L
  2600. index: 0,2
  2601. len: 6
  2602. parameter:
  2603. - cmd : packet identification (0x2b08)
  2604. desc:
  2605. - Search char through id on char serv
  2606. 0x2b0a
  2607. Type: ZA
  2608. Structure: <cmd>.W <account_id>.L <char_id>.L
  2609. index: 0,2,6
  2610. len: 10
  2611. parameter:
  2612. - cmd : packet identification (0x2b0a)
  2613. - account_id
  2614. - char_id
  2615. desc:
  2616. - Request skillcooldown from charserver
  2617. 0x2b0c
  2618. Type: ZA
  2619. Structure: <cmd>.W <id>.W <actual_email>.40B <new_email>.40B
  2620. index: 0,2,6,46
  2621. len: 86
  2622. parameter:
  2623. - cmd : packet identification (0x2b0c)
  2624. - id
  2625. - actual_email
  2626. - new_email
  2627. desc:
  2628. - Change Email
  2629. 0x2b0e
  2630. Type: ZA
  2631. Structure: <cmd>.W <aid>.L <name>.24B <operation_type>.W <timediff>.L <val1>.L <val2>.L
  2632. index: 0,2,30,36,40
  2633. len: 44
  2634. parameter:
  2635. - cmd : packet identification (0x2b0e)
  2636. - aid
  2637. - name
  2638. - operation_type: 1:block account, 2:ban account, 3:unblock account, 4:unban account, 5:changesex, 6:VIP, 7:changecharsex
  2639. - timediff
  2640. - val1
  2641. - val2
  2642. desc:
  2643. - Send an account modification request to the login server (via char server).
  2644. 0x2b10
  2645. Type: ZA
  2646. Structure: <cmd>.W <char_id>.L <fame>.L <type>.B
  2647. index: 0,2,6,10
  2648. len: 11
  2649. parameter:
  2650. - cmd : packet identification (0x2b10)
  2651. - char_id
  2652. - fame
  2653. - type
  2654. desc:
  2655. - Request/Receive top 10 Fame character list
  2656. 0x2b11
  2657. Type: ZA
  2658. Structure: <cmd>.W <partner_id1>.L <partner_id2>.L
  2659. index: 0,2,6
  2660. len: 10
  2661. parameter:
  2662. - cmd : packet identification (0x2b11)
  2663. - partner_id1
  2664. - partner_id2
  2665. desc:
  2666. - Request Char Server to Divorce Players
  2667. 0x2b15
  2668. Type: ZA
  2669. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2670. index: 0,2,4,8,12
  2671. len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
  2672. parameter:
  2673. - cmd : packet identification (0x2b15)
  2674. - len
  2675. - account_id
  2676. - char_id
  2677. - count
  2678. desc:
  2679. - Request to save skill cooldown data
  2680. 0x2b16
  2681. Type: ZA
  2682. Structure: <cmd>.W <base_rate>.L <job_rate>.L <drop_rate>.L
  2683. index: 0,2,6,10
  2684. len: 14
  2685. parameter:
  2686. - cmd : packet identification (0x2b16)
  2687. - base_rate
  2688. - job_rate
  2689. - drop_rate
  2690. desc:
  2691. - Send rates and motd to char server
  2692. 0x2b17
  2693. Type: ZA
  2694. Structure: <cmd>.W <char_id>.L <account_id>.L
  2695. index: 0,2,6
  2696. len: 10
  2697. parameter:
  2698. - cmd : packet identification (0x2b17)
  2699. - char_id
  2700. - account_id
  2701. desc:
  2702. - Tell char-server character disconnected
  2703. 0x2b18
  2704. Type: ZA
  2705. Structure: <cmd>.W
  2706. index: 0
  2707. len: 2
  2708. parameter:
  2709. - cmd : packet identification (0x2b18)
  2710. desc:
  2711. - Tell char-server to reset all chars offline
  2712. 0x2b19
  2713. Type: ZA
  2714. Structure: <cmd>.W <char_id>.L <account_id>.L
  2715. index: 0,2,6
  2716. len: 10
  2717. parameter:
  2718. - cmd : packet identification (0x2b19)
  2719. - char_id
  2720. - account_id
  2721. desc:
  2722. - Tell char-server character is online
  2723. 0x2b1a
  2724. Type: ZA
  2725. Structure: <cmd>.W
  2726. index: 0
  2727. len: 2
  2728. parameter:
  2729. - cmd : packet identification (0x2b1a)
  2730. desc:
  2731. - Build the fame ranking lists and send them
  2732. 0x2b1c
  2733. Type: ZA
  2734. Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
  2735. index: 0,2,4,8,12
  2736. len: variable: 14+SC_MAX*status_change_data
  2737. parameter:
  2738. - cmd : packet identification (0x2b1c)
  2739. - len
  2740. - account_id
  2741. - char_id
  2742. - count
  2743. desc:
  2744. - parses the sc_data of the player and sends it to the char-server for saving
  2745. 0x2b23
  2746. Type: ZA
  2747. Structure: <cmd>.W
  2748. index: 0
  2749. len: 2
  2750. parameter:
  2751. - cmd : packet identification (0x2b23)
  2752. desc:
  2753. - pings the charserver (chrif_keepalive)
  2754. 0x2b26
  2755. Type: ZA
  2756. Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B <client_addr>.L <autotrade>.B
  2757. index: 0,2,6,10,14,15,19
  2758. len: 20
  2759. parameter:
  2760. - cmd : packet identification (0x2b26)
  2761. - account_id
  2762. - char_id
  2763. - login_id1
  2764. - sex
  2765. - client_addr
  2766. - autotrade
  2767. desc:
  2768. - client authentication request
  2769. 0x2b28
  2770. Type: ZA
  2771. Structure: <cmd>.W <aid>.L <timediff>.L <character_name>.?B
  2772. index: 0,2,6,10
  2773. len: variable: 10+NAME_LENGTH
  2774. parameter:
  2775. - cmd : packet identification (0x2b28)
  2776. - aid
  2777. - timediff
  2778. - character_name
  2779. desc:
  2780. - chrif_req_charban
  2781. 0x2b2a
  2782. Type: ZA
  2783. Structure: <cmd>.W <aid>.L <character_name>.?B
  2784. index: 0,2,6
  2785. len: 6+NAME_LENGTH
  2786. parameter:
  2787. - cmd : packet identification (0x2b2a)
  2788. - aid
  2789. - character_name
  2790. desc:
  2791. - chrif_req_charunban
  2792. 0x2b2d
  2793. Type: ZA
  2794. Structure: <cmd>.W <char_id>.L
  2795. index: 0,2
  2796. len: 6
  2797. parameter:
  2798. - cmd : packet identification (0x2b2d)
  2799. desc:
  2800. - Requests bonus_script data
  2801. 0x2b2e
  2802. Type: ZA
  2803. Structure: <cmd>.W <len>.W <char_id>.L <count>.B { <bonus_script_data>.?B }
  2804. index: 0,2,4,8
  2805. len: variable: 9+count*bonus_script_data
  2806. parameter:
  2807. - cmd : packet identification (0x2b2e)
  2808. - len
  2809. - char_id
  2810. - count
  2811. desc:
  2812. - Stores bonus_script data(s) to the table