packet_interserv.txt 56 KB

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