packet_interserv.txt 48 KB

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