12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068 |
- //===== rAthena Documentation ================================
- //= Source Documentation
- //===== By: ==================================================
- //= rAthena Dev Team
- //===== Last Updated: ========================================
- //= 20180924
- //===== Description: =========================================
- //= List of all packets used by login-server (A), char-server
- //= (H), and map-server (Z) to communicate with each other.
- //= See packet_client.txt for communication to client (C).
- //============================================================
- This file provides information about rAthena's packets, ordered by number.
- This assumes knowledge of packet notation, which is detailed in
- 'doc/packet_struct_notation.txt'.
- The format of this file is as follows:
- 1. Notes
- 2. Login-Char Packets
- 3. Char/Inter Packets
- - 3.1 Inter-Map Packets
- - 3.2 Char-Map Packets
- ============
- | 1. Notes |
- ============
- Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket.cpp').
- =========================
- | 2. Login-Char Packets |
- =========================
- 0x2712:
- Type: HA
- Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <ip>.L <request_id>.L
- index: 0,2,6,10,14,15,19
- len: 23
- parameter:
- - cmd : packet identification (0x2712)
- - aid : account identification
- - login_id1: unknown @FIXME
- - login_id2: unknown @FIXME
- - sex: the sex of the account
- - ip: the ip of the connection (obsolete)
- - request_id: unknown @FIXME
- desc:
- - Request from char-server to authenticate an account.
- 0x2713:
- Type: AH
- Structure: <cmd>.W <aid>.L <login_id1>.L <login_id2>.L <sex>.B <auth>.B <request_id>.L <clienttype>.B
- index: 0,2,6,10,14,15,16,20
- len: 21
- parameter:
- - cmd : packet identification (0x2713)
- - aid : account identification
- - login_id1: unknown @FIXME
- - login_id2: unknown @FIXME
- - sex: the sex of the account
- - ok : 1=auth failed, 1=ok
- - request_id: unknown @FIXME
- - clienttype: unknown @FIXME
- desc:
- - Acknowledge the authentication request from char-server
- 0x2714:
- Type: HA
- Structure: <cmd>.W <user_count>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2714)
- - user_count: number of user present on the char-server
- desc:
- - Retrieve the number of user present on a char-server
- 0x2715:
- free
- 0x2716:
- Type: HA
- Structure: <cmd>.W <aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2716)
- - aid: account identification
- desc:
- - Request the account information of aid (see 0x2717)
- 0x2717
- Type: AH
- 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
- index: 0,2,6,46,50,51,52,63,68,72,73,74
- len: 75
- parameter:
- - cmd: packet identification (0x2717)
- - aid: account identification
- - email: email of aid
- - expiration_time: unknow @FIXME
- - group_id: the group the aid belong too
- - char_slots: number of slot available the account have (will be displayed on client)
- - birthdate: birthdate of aid
- - pincode: current pincode of aid
- - pincode_change: new pincode of aid
- - isvip: if this aid is currently vip or not
- - char_vip: number of charslot that are vip (could only do creation on if you are vip)
- - MAX_CHAR_BILLING: number of charslort that are for billing
- desc:
- - Request account data
- 0x2718
- Type: AH
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2718)
- desc:
- - Keep alive packet, (confirm we are still connected)
- 0x2719:
- Type: HA
- Structure: <cmd>.W
- index: 0,2
- len: 2
- parameter:
- - cmd : packet identification (0x2719)
- desc:
- - Ping request from char-server
- 0x2720:
- Type: HA
- Structure: <cmd>.W <map_fd>.L <u_fd>.L <u_aid>.L <account_id>.L
- index: 0,2,6,10,14
- len: 18
- parameter:
- - cmd : packet identification (0x2720)
- - map_fd :
- - u_fd :
- - u_aid :
- - account_id :
- desc:
- -
- 0x2721:
- Type: AH
- Structure: <cmd>.W <map_fd>.L <u_fd>.L <u_aid>.L <account_id>.L <status>.B <password>.33B <email>.40B <last_ip>.16B <last_login>.24B <group_id>.L <logincount>.L <state>.L <birthdate>.11B <userid>.?B
- index: 0,2,6,10,18,19,52,92,108,132,136,140,144,122+NAME_LENGTH
- len: 122 + NAME_LENGTH
- parameter:
- - cmd : packet identification (0x2721)
- - map_fd
- - u_fd
- - u_aid
- - account_id
- - status: 0 - Failed
- - password
- - email
- - last_ip
- - last_login
- - group_id
- - logincount
- - state
- - birthdate
- - userid
- desc:
- -
- 0x2722:
- Type: HA
- Structure: <cmd>.W <account_id>.L <actual_e-mail>.40B <new_e-mail>.40B
- index: 0,2,6,46
- len: 86
- parameter:
- - cmd : packet identification (0x2722)
- - aid: account identification
- - actual_email: current email address
- - new_email: new email address
- desc:
- - Map-server sends information to change an email of an account via char-server
- 0x2723:
- Type: AH
- Structure: <cmd>.W <aid>.L <sex>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x2723)
- - aid: account identification
- - sex: sex of account
- 0 = SEX_FEMALE
- 1= SEX_MALE
- 2=SEX_SERVER
- desc:
- - Acknowledge sex update
- 0x2724:
- Type: HA
- Structure: <cmd>.W <t_aid>.L <state>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2724)
- - t_aid: account identification of target
- - state: state of account
- - 0 : unblock
- - 5 : block (Connection refused)
- desc:
- - Receiving an account state update request from a map-server (relayed via char-server)
- 0x2725:
- Type: HA
- Structure: <cmd>.W <t_aid>.L <timediff>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2725)
- - t_aid: account identification of target
- - timediff: tick to add or remove to a timestamp
- desc:
- - Receiving of map-server via char-server a ban request (alter the ban time)
- 0x2726:
- Type: AH
- Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
- index: 0,2,4,8,12,13,14,16,...
- len: variable
- parameter:
- - cmd : packet identification (0x2726)
- - ?
- - aid
- - cid
- - type
- - count
- - keyLength
- - key
- - index
- - val
- - valLength
- desc:
- - Send global account registry
- 0x2727:
- Type: HA
- Structure: <cmd>.W <aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2727)
- - aid: account identification
- desc:
- - Receive a request to change sex (sex is reversed)
- 0x2728:
- Type: HA
- Structure: <cmd>.W <len>.W <aid>.L <cid>.L { <keyLength>.B <key>.<keyLength> <index>.L <type>.B <value>.?B }
- index: 0,2,4,8,13
- len: variable (reg size+4)
- parameter:
- - cmd : packet identification (0x2728)
- - len: pakcet size
- - aid: account identification
- - cid : char identification
- - keyLength
- - key
- - index
- - type
- - value
- desc:
- - Receive a request to fetch account_reg2 from a char-server, see packet 0x3004 (mapif_parse_Registry)
- 0x2729:
- Type: AH
- Structure: <cmd>.W <len>.L <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }
- index: 0,2,4,8,12,13
- len: variable (reg2 size+13)
- parameter:
- - cmd : packet identification (0x2729)
- - len: pakcet size
- - aid: account identification
- - cid : char identification
- -type:
- -type:
- 1: account2 registry (only one used atm)
- 2: account registry
- 3: char registry
- - str : name of variable in registry
- - value : value of varaible in registry
- desc:
- - Receive account_reg2 registry, forward to map-server.
- 0x272a:
- Type: HA
- Structure: <cmd>.W <t_aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x272a)
- - t_aid: account identification
- desc:
- - request unban account
- 0x272b:
- Type: HA
- Structure: <cmd>.W <t_aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x272b)
- - t_aid: account identification
- desc:
- - Add aid to list of online user on login-server (setacconline).
- 0x272c:
- Type: HA
- Structure: <cmd>.W <t_aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x272c)
- - t_aid: account identification
- desc:
- - Remove aid to the list of online user (setaccoffline).
- 0x272d:
- Type: HA
- Structure: <cmd>.W <len>.W <nb_online>.L {<aid>.L}*
- index: 0,2,4,8
- len: 8+users*4
- parameter:
- - cmd : packet identification (0x272d)
- - len : size of packet
- - users: number of users connected to char-server
- - aid: account identification
- desc:
- - receive account list from char-server
- 0x272e:
- Type: HA
- Structure: <cmd>.W <aid>.L <cid>.L
- index: 0,2,4,6
- len: 10
- parameter:
- - cmd : packet identification (0x272e)
- - aid: account identification
- - cid: char identification
- desc:
- - request accreg2 to login
- 0x272f:
- 0x2730:
- free
- 0x2731:
- Type: AH
- Structure: <cmd>.W <aid>.L <state>.B <status/date>.L
- index: 0,2,6,7
- len: 11
- parameter:
- - cmd : packet identification (0x2731)
- - aid: account identification
- - state: 0=change of status, 1=ban
- - status|date: status or final date of a banishment
- desc:
- - Notify char-server of a state change or ban (accbannotification).
- 0x2732:
- 0x2733:
- free
- 0x2734:
- Type: AH
- Structure: <cmd>.W <aid>.L
- index: 0,2,
- len: 6
- parameter:
- - cmd : packet identification (0x2734)
- - aid: account identification
- desc:
- - Account is already marked as online. (Login-server request to kick a character out).
- 0x2735:
- Type: AH
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2735)
- desc:
- - IP address update signal from login-server.
- - Send back the IP of char-server to login-server if IP was changed.
- 0x2736:
- Type: HA
- Structure: <cmd>.W <ip>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2736)
- - ip: ip of char-server
- desc:
- - IP update for char-server
- 0x2737:
- Type: HA
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2737)
- desc:
- - Request to set all account as offline from char-server
- 0x2738:
- Type: HA
- Structure: <cmd>.W <aid>.L <pincode>.?B
- index: 0,2,6
- len: variable: 11+PINCODE_LENGTH+1
- parameter:
- - cmd : packet identification (0x2738)
- - aid : account identification
- - pincode : new pincode code
- desc:
- - Change PIN Code of an account
- 0x2739:
- Type: HA
- Structure: <cmd>.W <aid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2739)
- - aid : account identification
- desc:
- - Login-server notifies char-server for too many wrong PIN code entered. (fail auth)
- 0x273a
- 0x273b
- 0x273c
- 0x273d
- 0x273e
- 0x273f
- free
- 0x2740
- 0x2741
- free
- 0x2742:
- Type: HA
- Structure: <cmd>.W <aid>.L <flag>.B <timediff>.L <mapfd>.L
- index: 0,2,6,7,11
- len: 15
- parameter:
- - cmd : packet identification (0x2742)
- - aid: account identification
- - flag: 0x1 ack vip data to char-server, 0x2 add duration, 0x8 First request on player login
- - timediff: tick to add to viptime
- - mapfd: map-server link to ack if type&1
- desc:
- - Received a VIP data request from char
- 0x2743:
- Type: AH
- Structure: <cmd>.W <aid>.L <vip_time>.L <flag>.B <groupid>.L <mapfd>.L
- index: 0,2,6,10,11,15
- len: 19
- parameter:
- - cmd : packet identification (0x2743)
- - aid: account identification
- - vip_time: timestamp of vip_time if he is vip
- - flag: 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
- - groupid: group id of account
- - mapfd: map-server link to ack
- desc:
- - Transmit vip specific data to char-server (will be transfered to map-server)
- =========================
- | 3.1 Inter-Map Packets |
- =========================
- 0x3000
- Type: ZI
- Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
- index: 0,2,4,8,10,12,14,16
- len: 16+msglen
- parameter:
- - cmd : packet identification (0x3000)
- - len : packet size
- - fontColor: (standard broadcast color=0xFF000000)
- - fontType:
- - fontSize:
- - fontAlign:
- - fontY:
- - mes: message to send
- desc:
- - Broadcasts a message to all map-servers connected to this char-server
- 0x3001
- Type: ZI
- Structure: <cmd>.W <len>.W <name>(NAME_LENGTH)B <nick>(NAME_LENGTH)B <mes>.?B
- index: 0,2,4,4+NAME_LENGTH,4+2*NAME_LENGTH
- len: 52+mes_len
- parameter:
- - cmd : packet identification (0x3001)
- - len: packet size
- - name : sender name of msg
- - nick : receiver name of msg
- - mes : message to send
- desc:
- - Send a whisper to another player
- 0x3002
- Type: ZI
- Structure: <cmd>.W <
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x3002)
- - id: whisper id, identifier to match current whisper session that store in inter.cpp::wis_db
- - flag: 0=success, 1=target not found, 2=ignored by target
- desc:
- - Inform the char-server of the result of the whisper
- 0x3003
- Type: ZI
- Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
- index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
- len: variable: mes_len + 8 + NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3003)
- - packet_len: mes_len + 8 + NAME_LENGTH
- - wisp_name
- - permission
- - message
- desc:
- - Transmission of GM only Wisp/Page from server to inter-server
- 0x3004
- Type: ZI
- Structure: <cmd>.W <aid>.L <cid>.L <type>.B { <str>.?B <value>.?B }?
- index: 0,4,8,12,13
- len: variable : 13+regnum*(len variable name+len value) (max=288 * MAX_REG_NUM+13)
- parameter:
- - cmd : packet identification (0x3004)
- - aid: account identification
- - cid: char identification
- -type:
- 1: account2 registry
- 2: account registry
- 3: char registry
- -str: register variable identity, (variable name)
- -value: variable value
- desc:
- - Map-server is requesting char-server to save registry values. (type=1 will forward data to login-server)
- 0x3005
- Type: ZI
- Structure: <cmd>.W <aid>.L <cid>.L <acc_reg2>.B <acc_reg>.B <ch_reg>.B
- index: 0,2,6,10,11,12
- len: 13
- parameter:
- - cmd : packet identification (0x3005)
- - aid:
- - cid:
- -acc_reg2 : request account registry (permanent variable of account, save on login-server)
- -acc_reg : request account registry (permanent variable of account , save on char-server)
- -ch_reg : request char registry (permanent variable of char)
- desc:
- - Request the registries for this player.
- 0x3006
- Type: ZI
- Structure: <cmd>.W <aid>.L <cid>.L <type>.B <NAME_LENGTH>.?
- index: 0,2,6,10,11
- len: 12+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3006)
- - aid
- - cid
- - type
- - NAME_LENGTH
- desc
- 0x3007
- Type: ZI
- Structure: <cmd>.W <u_fd>.L <aid>.L <group_lv>.L <type>.B <query>.?B
- index: 0,2,6,10,14,15
- len: 15+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3007)
- - u_fd
- - aid
- - group_lv
- - type : 0 - Full account info. 1 - Return as clif_account_name
- - query : name or aid of player we want info
- desc:
- - Request acc info
- 0x3009
- Type: ZI
- Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
- index: 0,2,6,4,8,9,24
- len: 9+NAME_LENGTH+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3009)
- - len : Packet length
- - nameid : ID of obtained item
- - source : Source from where the item obtained
- - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
- - name : Name of player who obtained the item
- - srcname : Source name as alternative of source id
- desc:
- - Send broadcasts request if player get special items.
- 0x3018
- Type: ZI
- Structure: <cmd>.W <aid>.L <gid>.L
- index 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3018)
- - aid
- - gid
- desc:
- - Request guild storage
- 0x3019
- Type: ZI
- Structure: <cmd>.W <guild_storage>.W <aid>.L <gid>.L
- index: 0,2,4,8,12
- len: 12+guild_storage
- parameter:
- - cmd : packet identification (0x3019)
- - guild_storage
- - aid
- - gid
- desc:
- - Send guild storage
- 0x3020
- Type: ZI
- Structure: <cmd>.W <party_member>.W <name>.24B <item>.B <item2>.B <member>.?B
- index: 0,2,4,28,29,30
- len: variable: 28+party_member (max=64)
- parameter:
- - cmd : packet identification (0x3020)
- - party_member
- - name
- - item
- - item2
- - member
- desc:
- - Party creation request
- 0x3021
- Type: ZI
- Structure: <cmd>.W <party_id>.L <cid>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3021)
- - party_id
- - cid
- desc:
- - Party information request
- 0x3022
- Type: ZI
- Structure: <cmd>.W <party_member>.W <party_id>.L <member>.?B
- index: 0,2,4,8
- len: variable: 8+party_member (Max=42)
- parameter:
- - cmd : packet identification (0x3022)
- - party_member
- - party_id
- - member
- desc:
- - Request to add a member to party
- 0x3023
- Type: ZI
- Structure: <cmd>.W <party_id>.L <aid>.L <exp>.W <item>.W
- index: 0,2,6,10,12,14
- len: 14
- parameter:
- - cmd : packet identification (0x3023)
- - party_id
- - aid
- - exp
- - item
- desc:
- - Request to change party configuration (exp,item share)
- 0x3024
- Type: ZI
- Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <name>.24B <type>.B
- index: 0,2,6,10,14,48
- len: 49
- parameter:
- - cmd : packet identification (0x3024)
- - party_id : Party ID
- - aid : Account ID
- - cid : Character ID
- - name : Character Name
- - type : Leave (PARTY_MEMBER_WITHDRAW_LEAVE) or kick (PARTY_MEMBER_WITHDRAW_EXPEL) the player
- desc:
- - Request to leave party or kick party member
- 0x3025
- Type: ZI
- Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L <mapindex>.W <online>.B <base_level>.W
- index: 0,2,6,10,14,16,17
- len: 19
- parameter:
- - cmd : packet identification (0x3025)
- - party_id
- - aid
- - cid
- - mapindex
- - online
- - base_level
- desc:
- - Party change map
- 0x3026
- Type: ZI
- Structure: <cmd>.W <party_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3026)
- - party_id
- desc:
- - Request breaking party
- 0x3027
- Type: ZI
- Structure: <cmd>.W <len>.W <party_id>.L <aid>.L <mes>.?B
- index: 0,2,4,8,12
- len: variable: 12+len
- parameter:
- - cmd : packet identification (0x3027)
- - len
- - party_id
- - aid
- - mes
- desc:
- - Sending party chat
- 0x3029
- Type: ZI
- Structure: <cmd>.W <party_id>.L <aid>.L <cid>.L
- index: 0,2,6,10
- len: 14
- parameter:
- - cmd : packet identification (0x3029)
- - party_id
- - aid
- - cid
- desc:
- - Request a new leader for party
- 0x302A
- Type: ZI
- Structure: <cmd>.W <share_lvl>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x302a)
- - share_lvl
- desc:
- - Request to update party share level
- 0x3030
- Type: ZI
- Structure: <cmd>.W <guild_member>.W <aid>.L <name>.?B <master>.?B
- index: 0,2,4,8,8+NAME_LENGTH
- len:
- parameter:
- - cmd : packet identification (0x3030)
- - guild_member
- - aid
- - name
- - master
- desc:
- - Request a Guild creation
- 0x3031
- Type: ZI
- Structure: <cmd>.W <guild_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3031)
- - guild_id
- desc:
- - Request Guild information
- 0x3032
- Type: ZI
- Structure: <cmd>.W <guild_member>.W <guild_id>.L <m>.?B
- index: 0,2,4,8
- len: variable: 8+guild_member
- parameter:
- - cmd : packet identification (0x3032)
- desc:
- - Request to add member to the guild
- 0x3033
- Type: ZI
- Structure: <cmd>.W <len>.W <guild_id>.L <name>.?B
- index: 0,2,4,8
- len: variable: 8+len
- parameter:
- - cmd : packet identification (0x3033)
- - len
- - guild_id
- - name
- desc:
- - Request a new leader for guild
- 0x3034
- Type: ZI
- Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <flag>.B <mes> .40B
- index: 0,2,6,10,14,15
- len: 55
- parameter:
- - cmd : packet identification (0x3034)
- - guild_id
- - aid
- - cid
- - flag
- - mes
- desc:
- - Request to leave guild
- 0x3035
- Type: ZI
- Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <online>.B <lv>.W <class_>.W
- index: 0,2,6,10,14,15,17
- len: 19
- parameter:
- - cmd : packet identification (0x3035)
- - guild_id
- - aid
- - cid
- - online
- - lv
- - class_
- desc:
- - Update request / Lv online status of the guild members
- 0x3036
- Type: ZI
- Structure: <cmd>.W <guild_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3036)
- - guild_id
- desc:
- - Guild disbanded notification
- 0x3037
- Type: ZI
- Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <mes>.?B
- index: 0,2,4,8,12
- len: variable: 12+len
- parameter:
- - cmd : packet identification (0x3037)
- - len
- - guild_id
- - aid
- - mes
- desc:
- - Send a guild message
- 0x3039
- Type: ZI
- Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
- index: 0,2,4,8,10
- len: variable: 10+len
- parameter:
- - cmd : packet identification (0x3039)
- - len
- - guild_id
- - type
- - data
- desc:
- - Request a change of Guild basic information
- 0x303a
- Type: ZI
- Structure: <cmd>.W <len>.W <guild_id>.L <aid>.L <cid>.L <type>.W <data>.?B
- index: 0,2,4,8,12,16,18
- len: variable: 18+len
- parameter:
- - cmd : packet identification (0x303a)
- - len
- - guild_id
- - aid
- - cid
- - type
- - data
- desc:
- - Request a change of Guild member information
- 0x303b
- Type: ZI
- Structure: <cmd>.W <guild_position>.W <guild_id>.L <idx>.L <p>.?B
- index: 0,2,4,8,12
- len: variable: 12+guild_position
- parameter:
- - cmd : packet identification (0x303b)
- - guild_position
- - guild_id
- - idx
- - p
- desc:
- - Request a change of Guild title
- 0x303c
- Type: ZI
- Structure: <cmd>.W <guild_id>.L <skill_id>.L <aid>.L <max>.L
- index: 0,2,6,10,14
- len: 18
- parameter:
- - cmd : packet identification (0x303c)
- - guild_id
- - skill_id
- - aid
- - max
- desc:
- - Request an update of Guild skill skill_id
- 0x303d
- Type: ZI
- Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B
- index: 0,2,6,10,14,18
- len: 19
- parameter:
- - cmd : packet identification (0x303d)
- - guild_id1
- - guild_id2
- - account_id1
- - account_id2
- - flag
- desc:
- - Request a new guild alliance
- 0x303e
- Type: ZI
- Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B
- index: 0,2,6,66
- len: 186
- parameter:
- - cmd : packet identification (0x303e)
- - guild_id
- - mes1
- - mes2
- desc:
- - Request to change guild notice
- 0x303f
- Type: ZI
- Structure: <cmd>.W <len>.W <guild_id>.L <0>.L <data>.?B
- index: 0,2,4,8,12
- len: variable: 12+len (Max=2012)
- parameter:
- - cmd : packet identification (0x303f)
- desc:
- - Request to change guild emblem
- 0x3040
- Type: ZI
- Structure: <cmd>.W <num>.W <castle_ids>.?B
- index: 0,2,4
- len: variable: 4 + num * 2,147,483,647
- parameter:
- - cmd : packet identification (0x3040)
- - num
- - castle_ids
- desc:
- - Requests guild castles data from char-server
- 0x3041
- Type: ZI
- Structure: <cmd>.W <castle_ids>.W <index>.B <value>.L
- index: 0,2,4,5
- len: 9
- parameter:
- - cmd : packet identification (0x3041)
- - castle_ids
- - index
- - value
- desc:
- - Request change castle guild owner and save data
- 0x3048
- Type: ZI
- Structure: <cmd>.W <cid>.L <flag>.B <mail_type>.B
- index: 0,2,6,7
- len: 8
- parameter:
- - cmd : packet identification (0x3048)
- - cid
- - flag
- - mail_type
- desc:
- - Inbox request
- 0x3049
- Type: ZI
- Structure: <cmd>.W <mail_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3049)
- - mail_id
- desc:
- - Mail read
- 0x304a
- Type: ZI
- Structure: <cmd>.W <cid>.L <mail_id>.L <attachment_type>.B
- index: 0,2,6,10
- len: 11
- parameter:
- - cmd : packet identification (0x304a)
- - cid
- - mail_id
- - attachment_type
- desc:
- - Mail get attachment
- 0x304b
- Type: ZI
- Structure: <cmd>.W <cid>.L <mail_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x304b)
- - cid
- - mail_id
- desc:
- - Mail delete
- 0x304c
- Type: ZI
- Structure: <cmd>.W <cid>.L <mail_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x304c)
- - cid
- - mail_id
- desc:
- - Mail return
- 0x304d
- Type: ZI
- Structure: <cmd>.W <len>.W <aid>.L <msg>.?B
- index: 0,2,4,8
- len: variable: 8+mail_message
- parameter:
- - cmd : packet identification (0x304d)
- - len
- - aid
- - msg
- desc:
- - Mail send
- 0x304e
- Type: ZI
- Structure: <cmd>.W <cid>.L <name>.24B
- index: 0,2,6
- len: 30
- parameter:
- - cmd : packet identification (0x304e)
- - cid
- - name
- desc:
- - Checks if a character with the given name exists.
- 0x3050
- Type: ZI
- Structure: <cmd>.W <len>.W <cid>.L <type>.W <price>.L <page>.W <searchtext>.?B
- index: 0,2,4,8,10,14,16
- len: variable: 16+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3050)
- - len
- - cid
- - type
- - price
- - page
- - searchtext
- desc:
- - Auction request list
- 0x3051
- Type: ZI
- Structure: <cmd>.W <len>.W <auction_data>.?B
- index: 0,2,4
- len: variable: 4+auction_data
- parameter:
- - cmd : packet identification (0x3051)
- - len
- - auction_data
- desc:
- - Auction register
- 0x3052
- Type: ZI
- Structure: <cmd>.W <cid>.L <auction_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3052)
- - cid
- - auction_id
- desc:
- - Auction cancel
- 0x3053
- Type: ZI
- Structure: <cmd>.W <cid>.L <auction_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3053)
- - cid
- - auction_id
- desc:
- - Auction close
- 0x3055
- Type: ZI
- Structure: <cmd>.W <len>.W <cid>.L <auction_id>.L <bid>.L <name>.?B
- index: 0,2,4,8,12,16
- len: variable: 16+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3055)
- - len
- - cid
- - auction_id
- - bid
- desc:
- - Auction bid
- 0x3056
- Type: ZI
- Structure: <cmd>.W <cid>.L <aid>.L <guild_id>.W
- index: 0,2,6,10
- len: 12
- parameter:
- - cmd : packet identification (0x3056)
- - cid
- - aid
- - guild_id
- desc:
- - Itembound request
- 0x3060
- Type: ZI
- Structure: <cmd>.W <cid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3060)
- - cid
- desc:
- - Requests a character's quest log entries to the inter-server.
- 0x3061
- Type: ZI
- Structure: <cmd>.W <len>.W <cid>.L <quest_log>.?B
- index: 0,2,4,8
- len: variable: 8+num_quests
- parameter:
- - cmd : packet identification (0x3061)
- desc:
- - Requests to the inter-server to save a character's quest log entries.
- 0x3062
- Type: ZI
- Structure: <cmd>.W <cid>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3062)
- - cid
- desc:
- - Requests a character's achievement log entries to the inter-server.
- 0x3063
- Type: ZI
- Structure: <cmd>.W <len>.W <cid>.L <achievement_log>.?B
- index: 0,2,4,8
- len: variable: 8+count
- parameter:
- - cmd : packet identification (0x3063)
- desc:
- - Requests to the inter-server to save a character's achievement log entries.
- 0x3070
- Type: ZI
- Structure: <cmd>.W <size>.W <merc>.?B
- index: 0,2,4
- len: variable: 4+s_mercenary
- parameter:
- - cmd : packet identification (0x3070)
- - size
- - merc
- desc:
- - Mercenary create
- 0x3071
- Type: ZI
- Structure: <cmd>.W <merc_id>.L <char_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3071)
- - merc_id
- - cid
- desc:
- - Mercenary request
- 0x3072
- Type: ZI
- Structure: <cmd>.W <merc_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3072)
- - merc_id
- desc:
- - Mercenary delete
- 0x3073
- Type: ZI
- Structure: <cmd>.W <size>.W <merc>.?B
- index: 0,2,4
- len: variable: 4+s_mercenary
- parameter:
- - cmd : packet identification (0x3073)
- - size
- - merc
- desc:
- - Mercenary save
- 0x307c
- Type: ZI
- Structure: <cmd>.W <size>.W <ele>.?B
- index: 0,2,4
- len: variable: 4+s_elemental
- parameter:
- - cmd : packet identification (0x307c)
- - size
- - ele
- desc:
- - Elemental create
- 0x307d
- Type: ZI
- Structure: <cmd>.W <ele_id>.L <cid>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x307d)
- - ele_id
- - cid
- desc:
- - Elemental request
- 0x307e
- Type: ZI
- Structure: <cmd>.W <ele_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x307e)
- - ele_id
- desc:
- - Elemental delete
- 0x307f
- Type: ZI
- Structure: <cmd>.W <size>.W <ele>.?B
- index: 0,2,4
- len: variable: 4+s_elemental
- parameter:
- - cmd : packet identification (0x307f)
- - size
- - ele
- desc:
- - Elemental save
- 0x3080
- Type: ZI
- 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
- index: 0,2,6,10,12,14,16,18,20,22,23,24
- len: variable: 24+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3080)
- - aid
- - cid
- - pet_class
- - pet_lv
- - pet_egg_id
- -pet_equip
- - intimate
- - hungry
- - rename_flag
- - incubate
- desc:
- - Pet create
- 0x3081
- Type: ZI
- Structure: <cmd>.W <aid>.L <cid>.L <pet_id>.L
- index: 0,2,6,10
- len: 14
- parameter:
- - cmd : packet identification (0x3081)
- - aid
- - cid
- - pet_id
- desc:
- - Request pet data
- 0x3082
- Type: ZI
- Structure: <cmd>.W <size>.W <aid>.L <s_pet>.?B
- index: 0,2,4,8
- len: variable: 8+s_pet
- parameter:
- - cmd : packet identification (0x3082)
- - size
- - aid
- - s_pet: Pet data
- desc:
- - Save pet data
- 0x3083
- Type: ZI
- Structure: <cmd>.W <pet_id>.L
- index: 0,2
- len 6:
- parameter:
- - cmd : packet identification (0x3083)
- - pet_id
- desc:
- - Delete pet data
- 0x308a
- Type: ZI
- Structure: <cmd>.W <type>.B <account_id>.L <char_id>.L
- index: 0,2,3,7
- len: 11
- parameter:
- - cmd : packet identification (0x308a)
- - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
- - account_id
- - char_id
- desc:
- - Request inventory/cart/storage data for a player/guild if type = 3
- 0x308b
- Type: ZI
- Structure: <size>.W <type>.B <account_id>.L <char_id>.L <entries>.?B
- index: 0,2,4,5,9,13
- len: 11
- parameter:
- - cmd : packet identification (0x308b)
- - type : 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
- - account_id
- - char_id
- - entries : Inventory/cart/storage entries that will be saved
- desc:
- - Request to save inventory/cart/storage entries
- 0x3090:
- Type: ZI
- Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
- index: 0,2,4,8
- len: variable: 8+s_homunculus
- parameter:
- - cmd : packet identification (0x3090)
- - s_homunculus
- - aid
- - sh
- desc:
- - Homunculus create
- 0x3091:
- Type: ZI
- Structure: <cmd>.W <aid>.L <homun_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3091)
- - aid
- - homun_id
- desc:
- - Homunculus request load
- 0x3092:
- Type: ZI
- Structure: <cmd>.W <s_homunculus>.W <aid>.L <sh>.?B
- index: 0,2,4,8
- len: variable: 8+s_homunculus
- parameter:
- - cmd : packet identification (0x3092)
- - s_homunculus
- - aid
- - sh
- desc:
- - Homunculus request save
- 0x3093:
- Type: ZI
- Structure: <cmd>.W <homun_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x3093)
- - homun_id
- desc:
- - Homunculus request delete
- 0x3094:
- Type: ZI
- Structure: <cmd>.W <aid>.L <cid>.L <name>.?B
- index: 0,2,6,10
- len: variable: 10+name
- parameter:
- - cmd : packet identification (0x3094)
- - aid
- - cid
- - name
- desc:
- - Homunculus rename
- 0x30A0:
- Type: ZI
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x30A0)
- desc:
- - Requests the loaded clans from the inter-server
- 0x30A1
- Type: ZI
- Structure: <cmd>.W <size>.W <clan id>.L <account id>.L <message>.?B
- index: 0,2,4,8,12
- len: variable: 12+message
- parameter:
- - cmd : packet identification (0x30A1)
- - size
- - clan id : the clan id the message is sent to
- - account id : the account id of the sender
- - message : the message to be sent
- desc:
- - Sends a clan message to the inter-server to relay it to all other map-servers
- 0x30A2:
- Type: ZI
- Structure: <cmd>.W <clan id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x30A2)
- - clan id : the clan id
- desc:
- - Notifies the inter-server that a player has left the clan or disconnected
- 0x30A3:
- Type: ZI
- Structure: <cmd>.W <clan id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x30A3)
- - clan id : the clan id
- desc:
- - Notifies the inter-server that a player has joined the clan or connected
- 0x3800:
- Type: IZ
- Structure: <cmd>.W <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <mes>.?B
- index: 0,2,4,8,10,12,14,16
- len: variable: 16+len
- parameter:
- - cmd : packet identification (0x3800)
- - len
- - fontColor
- - fontType
- - fontSize
- - fontAlign
- - fontY
- - mes
- desc:
- - Send broadcast message
- 0x3801
- Type: IZ
- Structure: <cmd>.W <len>.W <id>.L <src>.24B <dst>.24B <msg>.?B
- index: 0,2,4,8,32,56
- len: variable: 56+len (Max=1991)
- parameter:
- - cmd : packet identification (0x3801)
- - len
- - id
- - src
- - dst
- - msg
- desc:
- - Send whisper message
- 0x3802
- Type: IZ
- Structure: <cmd>.W <src>.24B <flag>.B
- index: 0,2,26
- len: 27
- parameter:
- - cmd : packet identification (0x3802)
- - src
- - flag
- desc:
- - Whisper sending result
- 0x3803
- Type: IZ
- Structure: <cmd>.W <packet_len>.W <wispname>.?B <permission>.L <message>.?B
- index: 0,2,4,4+NAME_LENGTH,8+NAME_LENGTH
- len: variable: mes_len + 8 + NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3803)
- - packet_len: mes_len + 8 + NAME_LENGTH
- - wisp_name
- - permission
- - message
- desc:
- - Parse whisper to GM
- 0x3804
- Type: HZ
- Structure: <cmd>.W <len>.W <aid>.L <cid>.L <?>.B <type>.B <count>.W { <keyLength>.B <key>.<keyLength> <index>.L <valLength>.B <val>.<valLength> }*
- index: 0,2,4,8,12,13,14,16,...
- len: variable
- parameter:
- - cmd : packet identification (0x3804)
- - ?
- - aid
- - cid
- - type
- - count
- - keyLength
- - key
- - index
- - val
- - valLength
- desc:
- - Send global account registry to map-server from login-server
- 0x3806
- Type: IZ
- Structure: <cmd>.W <aid>.L <cid>.L <type>.B <flag>.B <name>.B
- index: 0,2,6,10,11,12
- len: 13
- parameter:
- - cmd : packet identification (0x3806)
- - aid
- - cid
- - type
- - flag
- - name
- desc:
- - mapif_namechange_ack
- 0x3807
- Type: IZ
- Structure: <cmd>.W <len>.W <u_fd>.L <aid>.L <msg_out>.?B
- index: 0,2,4,8,12
- len: variable: 12+len
- parameter:
- - cmd : packet identification (0x3807)
- - len
- - u_fd
- - aid
- - msg_out
- desc:
- - sends a message to map-server (fd) to a user (u_fd) although we use fd we keep aid for safe-check
- 0x3808
- Type: IZ
- Structure: <cmd>.W <u_fd>.L <aid>.L <acc_name>.?B
- index: 0,2,6,10
- len: variable: 10+NAME+LENGTH
- parameter:
- - cmd : packet identification (0x3808)
- - u_fd
- - aid
- - acc_name
- desc:
- - Transmit the result of a account_information request from map-server, with type 1
- 0x3809
- Type: IZ
- Structure: <cmd>.W <len>.W <nameid>.W <source>.W <type>.B <name>.24B <srcname>.24B
- index: 0,2,6,4,8,9,24
- len: 9+NAME_LENGTH+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3809)
- - len : Packet length
- - nameid : ID of obtained item
- - source : Source from where the item obtained
- - type : Obtained type. 0: Box/Package, 1: Monster, 2: NPC
- - name : Name of player who obtained the item
- - srcname : Source name as alternative of source
- desc:
- - Broadcasts if player get special items.
- 0x3818
- Type: IZ
- Structure: <cmd>.W <len>.W <aid>.L <guild_id>.L <flag>.B <guild_storage>.?B
- index: 0,2,4,8,12,13
- len: variable: 13+guild_storage
- parameter:
- - cmd : packet identification (0x3818)
- - len
- - aid
- - guild_id
- - flag
- - guild_storage
- desc:
- - mapif_load_guild_storage
- 0x3819
- Type: IZ
- Structure: <cmd>.W <aid>.L <guild_id>.L <fail>.B
- index: 0,2,6,10
- len: 11
- parameter:
- - cmd : packet identification (0x3819)
- - aid
- - guild_id
- - fail
- desc:
- - mapif_save_guild_storage_ack
- 0x3820
- Type: IZ
- Structure: <cmd>.W <aid>.L <char_id>.L <?>.B <party_id>.L <name>.?B
- index: 0,2,6,10,11,15
- len: 39
- parameter:
- - cmd : packet identification (0x3820)
- - aid
- - char_id
- - ?
- - party_id
- - name
- desc:
- - ACK party creation
- 0x3821
- Type: IZ
- Structure: <cmd>.W <?>.W <char_id>.L <party_id>.L
- index: 0,2,4,8
- len: 12
- parameter:
- - cmd : packet identification (0x3821)
- - ?
- - char_id
- - party_id
- desc:
- - Party information not found
- 0x3822
- Type: IZ
- Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <flag>.B
- index: 0,2,6,10,14
- len: 15
- parameter:
- - cmd : packet identification (0x3822)
- - party_id
- - account_id
- - char_id
- - flag
- desc:
- - mapif_party_memberadded
- 0x3823
- Type: IZ
- Structure: <cmd>.W <party_id>.L <account_id>.L <exp>.W <item>.W <flag>.B
- index: 0,2,6,10,12,14,15?
- len: 16?
- parameter:
- - cmd : packet identification (0x3823)
- - party_id
- - account_id
- - exp
- - item
- - flag
- - ?
- desc:
- - Party setting change notification
- 0x3824
- Type: IZ
- Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <name>.24B <type>.B
- index: 0,2,6,10,14,48
- len: 49
- parameter:
- - cmd : packet identification (0x3824)
- - party_id : Party ID
- - account_id : Account ID
- - char_id : Character ID
- - name : Character Name
- - type : Leaving reason/result
- desc:
- - Withdrawal notification party
- 0x3825
- Type: IZ
- Structure: <cmd>.W <party_id>.L <account_id>.L <char_id>.L <map>.W <online>.B <lv>.W <?>.?B
- index: 0,2,6,10,14,16,17,19
- len: 20?
- parameter:
- - cmd : packet identification (0x3825)
- - party_id
- - account_id
- - char_id
- - map
- - online
- - lv
- - ?
- desc:
- - Party map update notification
- 0x3826
- Type: IZ
- Structure: <cmd>.W <party_id>.L <flag>.B <?>.?B
- index: 0,2,6,7
- len: 16
- parameter:
- - cmd : packet identification (0x3826)
- - party_id
- - flag
- - ?
- desc:
- - Dissolution party notification
- 0x3827
- Type: IZ
- Structure: <cmd>.W <len>.W <party_id>.L <account_id>.L <mes>.?B
- index: 0,2,4,8,12
- len: variable: 12+len (max=512)
- parameter:
- - cmd : packet identification (0x3827)
- - len
- - party_id
- - account_id
- - mes
- desc:
- - mapif_party_message
- 0x3830
- Type: IZ
- Structure: <cmd>.W <account_id>.L <guild_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x3830)
- - account_id
- - guild_id
- desc:
- - mapif_guild_created
- 0x3831
- Type: IZ
- Structure: <cmd>.W <?>.W <guild_id>.L <?>.?B
- index: 0,2,4,8
- len: 12
- parameter:
- - cmd : packet identification (0x3831)
- - ?
- - guild_id
- - ?
- desc:
- - mapif_guild_noinfo
- 0x3832
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B
- index: 0,2,6,10,14
- len: 15
- parameter:
- - cmd : packet identification (0x3832)
- - guild_id
- - account_id
- - char_id
- - flag
- desc:
- - ACK member add
- 0x3834
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <flag>.B <mes>.40B <name>.?B
- index: 0,2,6,10,14,15,55
- len: variable: 55+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x3834)
- - guild_id
- - account_id
- - char_id
- - flag
- - mes
- - name
- desc:
- - mapif_guild_withdraw
- 0x3835
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <account_id>.L <char_id>.L <online>.B <lv>.W <class_>.W
- index: 0,2,6,10,14,15,17
- len: 19
- parameter:
- - cmd : packet identification (0x3835)
- - guild_id
- - account_id
- - char_id
- - online
- - lv
- - class_
- desc:
- - Send short guild member's info
- 0x3836
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <flag>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x3836)
- - guild_id
- - flag
- desc:
- - mapif_guild_broken
- 0x3837
- Type: IZ
- Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <mes>.?B
- index: 0,2,4,8,12
- len: variable: 12+len (max=512)
- parameter:
- - cmd : packet identification (0x3837)
- - len
- - guild_id
- - account_id
- - mes
- desc:
- - Send guild message
- 0x3839
- Type: IZ
- Structure: <cmd>.W <len>.W <guild_id>.L <type>.W <data>.?B
- index: 0,2,4,8,10
- len: variable: 10+len (Max=2048)
- parameter:
- - cmd : packet identification (0x3839)
- - len
- - guild_id
- - type
- - data
- desc:
- - mapif_guild_basicinfochanged
- 0x383a
- Type: IZ
- Structure: <cmd>.W <len>.W <guild_id>.L <account_id>.L <char_id>.L <type>.W <data>.?B
- index: 0,2,4,8,12,16,18
- len: variable: 18+len (Max=2048)
- parameter:
- - cmd : packet identification (0x383a)
- - len
- - guild_id
- - account_id
- - char_id
- - type
- - data
- desc:
- - mapif_guild_memberinfochanged
- 0x383b
- Type: IZ
- Structure: <cmd>.W <len>.W <guild_id>.L <idx>.L <position>.?B
- index: 0,2,4,8,12
- len: variable: 12+guild_position
- parameter:
- - cmd : packet identification (0x383b)
- - len
- - guild_id
- - idx
- - position
- desc:
- - mapif_guild_position
- 0x383c
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <skill_id>.L <account_id>.L
- index: 0,2,6,10
- len: 14
- parameter:
- - cmd : packet identification (0x383c)
- - guild_id
- - skill_id
- - account_id
- desc:
- - ACK guild skill up
- 0x383d
- Type: IZ
- Structure: <cmd>.W <guild_id1>.L <guild_id2>.L <account_id1>.L <account_id2>.L <flag>.B <name1>.?B <name2>.?B
- index: 0,2,6,10,14,18,19
- len: variable: 19+2*NAME_LENGTH
- parameter:
- - cmd : packet identification (0x383d)
- - guild_id1
- - guild_id2
- - account_id1
- - account_id2
- desc:
- - ACK guild alliance
- 0x383e
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <mes1>.60B <mes2>.120B <?>.?B
- index: 0,2,6,66,186
- len: 256
- parameter:
- - cmd : packet identification (0x383e)
- - guild_id
- - mes1
- - mes2
- - ?
- desc:
- - Send the guild notice
- 0x383f
- Type: IZ
- Structure: <cmd>.W <len>.W <guild_id>.L <emblem_id>.L <emblem_data>.?B
- index: 0,2,4,8,12
- len: variable: 12+emblem_data
- parameter:
- - cmd : packet identification (0x383f)
- - len
- - guild_id
- - emblem_id
- - emblem_data
- desc:
- - Send emblem data
- 0x3840
- Type: IZ
- Structure: <cmd>.W <len>.W <gc>.?B
- index: 0,2,4
- len: variable: 4+num*gc
- parameter:
- - cmd : packet identification (0x3840)
- - len
- - gc
- desc:
- - mapif_guild_castle_dataload
- 0x3843
- Type: IZ
- Structure: <cmd>.W <guild_id>.L <aid>.L <cid>.L <time>.L
- index: 0,2,6,10,14
- len: 18
- parameter:
- - cmd : packet identification (0x3843)
- - guild_id
- - aid
- - cid
- - time of change
- desc:
- - mapif_guild_master_changed
- 0x3848
- Type: IZ
- Structure: <cmd>.W <size>.W <char_id>.L <flag>.B <mail_type>.B <md>.?B
- index: 0,2,4,8,9,10
- len: variable: 10+md
- parameter:
- - cmd : packet identification (0x3848)
- - size
- - char_id
- - flag
- - mail_type
- - md : Mail
- desc:
- - A player request for mail inbox
- 0x3849
- Type: IZ
- Structure: <cmd>.W <dest_id>.L <sender_id>.L <sender_name>.24B <mail_title>.40B
- index: 0,2,6,10,34
- len: 74
- parameter:
- - cmd : packet identification (0x3849)
- - dest_id
- - sender_id
- - sender_name
- - mail_title
- desc:
- - Report New Mail to map-server
- 0x384a
- Type: IZ
- Structure: <cmd>.W <size>.W <char_id>.L <zeny>.L <item>.?B
- index: 0,2,4,8,12
- len: variable: 12+item
- parameter:
- - cmd : packet identification (0x384a)
- - size
- - char_id
- - zeny
- - item
- desc:
- - Get mail attachment
- 0x384b
- Type: IZ
- Structure: <cmd>.W <char_id>.L <mail_id>.L <failed>.B
- index: 0,2,6,10,11
- len: 11
- parameter:
- - cmd : packet identification (0x384b)
- - char_id
- - mail_id
- - failed: Fail status when delete a mail
- desc:
- - Status about mail deletion to player
- 0x384c
- Type: IZ
- Structure: <cmd>.W <char_id>.L <mail_id>.L <new_mail>.B
- index: 0,2,6,10,11
- len: 11
- parameter:
- - cmd : packet identification (0x384c)
- - char_id
- - mail_id
- - new_mail
- desc:
- - Received a returned mail
- 0x384d
- Type: IZ
- Structure: <cmd>.W <size>.W <mail_message>.?B
- index: 0,2,4
- len: variable: 4+mail_message
- parameter:
- - cmd : packet identification (0x384d)
- - size
- - mail_message
- desc:
- - Mail sent status (to player if the sender is player and online)
- 0x384e
- Type: IZ
- Structure: <cmd>.W <cid_sender>.L <cid_receiver>.L <class>.W <level>.W <name>.24B
- index: 0,2,6,10,12,14
- len: 38
- parameter:
- - cmd : packet identification (0x384e)
- - cid_sender
- - cid_receiver
- - class
- - level
- - name
- desc:
- - Mail receiver's character data(character id, job, level and name)
- 0x3850
- Type: IZ
- Structure: <cmd>.W <size>.W <char_id>.L <count>.W <pages>.W <auction_data>.?B
- index: 0,2,4,8,10,12
- len: variable: 12+auction_data
- parameter:
- - cmd : packet identification (0x3850)
- - size
- - char_id
- - count
- - pages
- - auction_data
- desc:
- - Auction list
- 0x3851
- Type: IZ
- Structure: <cmd>.W <size>.W <auction_data>.?B
- index: 0,2,4
- len: variable: 4+auction_data
- parameter:
- - cmd : packet identification (0x3851)
- - size
- - auction_data
- desc:
- - Status auction registration
- 0x3852
- Type: IZ
- Structure: <cmd>.W <char_id>.L <result>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x3852)
- - char_id
- - result
- desc:
- - Cancel an auction that requested by player
- 0x3853
- Type: IZ
- Structure: <cmd>.W <char_id>.L <result>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x3853)
- - char_id
- - result
- desc:
- - Receive a notification that the auction has ended
- 0x3855
- Type: IZ
- Structure: <cmd>.W <char_id>.L <bid>.L <result>.B
- index: 0,2,6,10
- len: 11
- parameter:
- - cmd : packet identification (0x3855)
- - char_id
- - bid
- - result
- desc:
- - Get back the money from biding auction (someone else have bid it over)
- 0x3856
- Type: IZ
- Structure: <cmd>.W <aid>.L <guild_id>.W
- index: 0,2,6
- len: 8
- parameter:
- - cmd : packet identification (0x3856)
- - aid : account_id
- - guild_id
- desc:
- - Acknowledge the good deletion of the bound item
- 0x3857
- Type: IZ
- Structure: <cmd>.W <size>.W <count>.W <guild_id>.W { <items>.?B }*MAX_INVENTORY
- index: 0,2,4,6,8
- len: variable: 8+items
- parameter:
- - cmd : packet identification (0x3857)
- - size
- - count : number of item retrieved
- - guild_id
- - items: retrieved guild bound items
- desc:
- - Ask map-server to process the retrieved guild bound items from expelled member
- 0x3860
- Type: IZ
- Structure: <cmd>.W <size>.W <char_id>.L <quest>.?B
- index: 0,2,4,8
- len: variable: 8+quest
- parameter:
- - cmd : packet identification (0x3860)
- - size
- - char_id
- - quest
- desc:
- - Send quest log to a player
- 0x3861
- Type: IZ
- Structure: <cmd>.W <char_id>.L <success>.B
- index: 0,2,4
- len: 5
- parameter:
- - cmd : packet identification (0x3861)
- - char_id
- - success
- desc:
- - Send quest log saving status
- 0x3880
- Type: IZ
- Structure: <cmd>.W <account_id>.L <class>.W <pet_id>.L
- index: 0,2,6,8
- len: 12
- parameter:
- - cmd : packet identification (0x3880)
- - account_id
- - class
- - pet_id
- desc:
- - Send pet egg creation status
- 0x3881
- Type: IZ
- Structure: <cmd>.W <size>.W <account_id>.L <status>.B <s_pet>.?B
- index: 0,2,4,6,8,9
- len: variable: 9+s_pet
- parameter:
- - cmd : packet identification (0x3881)
- - size
- - account_id
- - status: 1 means no info available
- - s_pet: Pet data
- desc:
- - Send packet data to a player
- 0x3882
- Type: IZ
- Structure: <cmd>.W <account_id>.L <flag>.B
- index: 0,2,4
- len: 5
- parameter:
- - cmd : packet identification (0x3882)
- - account_id
- - flag: 1 failed to save
- desc:
- - Send pet save status
- 0x3883
- Type: IZ
- Structure: <cmd>.W <flag>.B
- index: 0,2
- len: 3
- parameter:
- - cmd : packet identification (0x3883)
- - flag
- desc:
- - Send pet deletion status
- 0x388a
- Type: IZ
- Structure: <cmd>.W <size>.W <type>.B <account_id>.L <result>.B <entries>.?B
- index: 0,2,4,5,9
- len: 9+variable
- parameter:
- - cmd : packet identification (0x388a)
- - size
- - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
- - account_id
- - result : True if data loaded, false if failed
- - entries : Inventory/cart/storage entries
- desc:
- - Process inventory/cart/storage entries for player from inter-server
- 0x388b
- Type: IZ
- Structure: <cmd>.W <account_id>.L <result>.B <type>.B
- index: 0,2,6,7
- len: 11
- parameter:
- - cmd : packet identification (0x388b)
- - account_id
- - result : 1 - success, 0 - failed
- - type : Storage type, 0 - TABLE_INVENTORY, 1 - TABLE_CART, 2 - TABLE_STORAGE
- desc:
- - Info about inventory/cart/storage data is saved
- 0x388c
- Type: IZ
- Structure: <cmd>.W <len>.W { <storage_table>.? }*?
- index: 0,2,6,...
- len: 6+variable
- parameter:
- - cmd : packet identification (0x388c)
- - len : packet length
- - storage_table : Storage table information
- desc:
- - Receive storage information
- 0x3890
- Type: IZ
- Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
- index: 0,2,4,8,9
- len: variable: 9+s_homunculus
- parameter:
- - cmd : packet identification (0x3890)
- - size
- - account_id
- - flag: 0 means homunculus creation is failed
- - s_homunculus: Homunculus data
- desc:
- - Send homunculus creation status
- 0x3891
- Type: IZ
- Structure: <cmd>.W <size>.W <account_id>.L <flag>.B <s_homunculus>.?B
- index: 0,2,4,8,9
- len: variable: 9+s_homunculus
- parameter:
- - cmd : packet identification (0x3891)
- - size
- - account_id
- - flag: 0 means failed to retrieve homunculus data
- - s_homunculus: Homunculus data
- desc:
- - Send homunculus data to a player
- 0x3892
- Type: IZ
- Structure: <cmd>.W <account_id>.L <flag>.B
- index: 0,2,4
- len: 5
- parameter:
- - cmd : packet identification (0x3892)
- - account_id
- - flag: 1 if success
- desc:
- - Send homunculus saving status to a player
- 0x3893
- Type: IZ
- Structure: <cmd>.W <flag>.B
- index: 0,2
- len: 3
- parameter:
- - cmd : packet identification (0x3893)
- - flag: 1 Homunculus deleted
- desc:
- - Send homunculus deletion status
- 0x38A0
- Type: IZ
- Structure: <cmd>.W <size>.W <clan structure>.?B * n
- index: 0, 2, 4
- len: variable: 4+clan*n
- parameter:
- - cmd : packet identification (0x38A0)
- - size
- - clan structure
- desc:
- - Send all loaded clans to the map-server
- 0x38A1
- Type: IZ
- Structure: <cmd>.W <size>.W <message>.?B
- index: 0, 2, 4
- len: variable: 4+message
- parameter:
- - cmd : packet identification (0x38A1)
- - size
- - message : the data of the clan chat message packet
- desc:
- - Sends a clan chat message to other map-servers
- 0x38A2
- Type: IZ
- Structure: <cmd>.W <clan id>.L <online count>.W
- index: 0, 2, 6
- len: 8
- parameter:
- - cmd : packet identification (0x38A2)
- - clan id : the clan id of the clan that needs an update
- - online count : the amount of currently connected players in the clan
- desc:
- - Updates the online clan member count for all other map-servers
- ========================
- | 3.2 Char-Map Packets |
- ========================
- 0x2af9
- Type: AZ
- Structure: <cmd>.W <?>.B
- index: 0,2
- len: 3
- parameter:
- - cmd : packet identification (0x2af9)
- - ?
- desc:
- - chrif_connectack
- 0x2afb
- Type: HZ
- Structure: <cmd>.W <size>.W <status>.B <servername>.?B <defaultmap>.?B <mapx>.W <mapy>.W
- index: 0,2,4,5+NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH,5+NAME_LENGTH+MAP_NAME_LENGTH+2
- len: variable: 9+NAME_LENGTH+MAP_NAME_LENGTH
- parameter:
- - cmd : packet identification (0x2afb)
- - status : 0 Success, 1 : Fail
- - servername :
- - defaultmap :
- - mapx :
- - mapy :
- desc:
- - Map received from map-server, then send reply with server name and default map
- 0x2afd
- Type: AZ
- Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <?>.L <?>.L <?>.L <?>.L <?>.B <cd>.?B
- index: 0,2,4,8,12,16,20,24,25
- len: variable: mmo_charstatus_len
- parameter:
- - cmd : packet identification (0x2afd)
- - mmo_charstatus_len
- - account_id
- - ?
- - ?
- - ?
- - ?
- - ?
- - cd
- desc:
- - auth request from map-server
- 0x2b00
- Type: AZ
- Structure: <cmd>.W <users>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2b00)
- desc:
- - Send to map-servers the users count on this char-server, (meaning the total of all map-server)
- 0x2b03
- Type: AZ
- Structure: <cmd>.W <account_id>.L <?>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x2b03)
- - account_id
- - ?
- desc:
- - Player Requesting char-select from map-server
- 0x2b04
- Type: AZ
- Structure: <cmd>.W <?>.W <ip>.L <port>.W
- index: 0,2,4,8
- len: ?
- parameter:
- - cmd : packet identification (0x2b04)
- - ?
- - ip
- - port
- desc:
- - Receive maps from some other map-server (relayed via char-server)
- 0x2b06
- Type: AZ
- 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
- index: 0,2,6,10,14,16,18,20,24,28
- len: 30
- parameter:
- - cmd : packet identification (0x2b06)
- - account_id
- - login_id1
- - login_id2
- - char_id
- - map_index
- - x
- - y
- - ip
- - port
- desc:
- - Map-server change request acknowledgment (positive or negative)
- 0x2b09
- Type: AZ
- Structure: <cmd>.W <?>.L <?>?
- index: 0,2,6
- len: 30
- parameter:
- - cmd : packet identification (0x2b09)
- - ?
- - ?
- desc:
- - Lookup to search if that char_id correspond to a name.
- 0x2b0b
- Type: AZ
- Structure: <cmd>.W <len>.W <aid>.L <cid>.L <count>.W <skill_cooldown_data>.?B
- index: 0,2,4,8,12,14
- len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
- parameter:
- - cmd : packet identification (0x2b0b)
- - len
- - aid
- - cid
- - count
- - skill_cooldown_data
- desc:
- - Retrieve and load skillcooldown for a player
- 0x2b0d
- Type: AZ
- Structure: <cmd>.W <acc>.L <sex>.L
- index:0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b0d)
- - acc
- - sex
- desc:
- - Request char-server to change sex of char
- 0x2b0f
- Type: AZ
- Structure: <cmd>.W <aid>.L <name>.24B <operation>.W <result>.W
- index: 0,2,6,30,32
- len: 34
- parameter:
- - cmd : packet identification (0x2b0f)
- - aid
- - name
- - operation
- - result
- desc:
- - Processing a reply to chrif_req_login_operation() (request to modify an account).
- 0x2b12
- Type: AZ
- Structure: <cmd>.W <partner_id1>.L <partner_id2>.L <?>.B
- index: 0,2,6,10
- len: 11
- parameter:
- - cmd : packet identification (0x2b12)
- - partner_id1
- - partner_id2
- - ?
- desc:
- - Divorce players (only used if 'partner_id' is offline)
- 0x2b14
- Type: AZ
- Structure: <cmd>.W <id>.L <res>.B <ret_status>.L
- index: 0,2,6,7
- len: 11
- parameter:
- - cmd : packet identification (0x2b14)
- - id
- - res
- - ret_status
- desc:
- - Disconnection of a player (account has been banned of has a status, from login/char-server)
- 0x2b1b
- Type: AZ
- Structure: <cmd>.W <size>.W <size>.W <size>.W <smith_rank>.?B <alchi_rank>.?B <taek_rank>.?B
- index: 0,2,4,6,?,?,?
- len: ? (Max=32000)
- parameter:
- - cmd : packet identification (0x2b1b)
- - size: total packet length
- - size: Alchemist block size
- - size: Blacksmith block size
- -
- -
- -
- desc:
- - Send map-servers fames ranking lists
- 0x2b1d
- Type: AZ
- Structure: <cmd>.W <len>.W <aid>.L <cid>.L
- index: 0,2,4,8
- len: variable: 14+50*status_change_data
- parameter:
- - cmd : packet identification (0x2b1d)
- - len
- - aid
- - cid
- desc:
- - Map-server requesting to send the list of sc_data the player has saved
- 0x2b1e
- Type: AZ
- Structure: <cmd>.W <new_ip>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2b1e)
- - new_ip
- desc:
- - Request forwarded from char-server for inter-server IP sync
- 0x2b1f
- Type: AZ
- Structure: <cmd>.W <account_id>.L <reason>.B
- index: 0,2,6
- len: 7
- parameter:
- - cmd : packet identification (0x2b1f)
- - account_id
- - reason
- desc:
- - Request to kick char from a certain map-server
- 0x2b20
- Type: AZ
- Structure: <cmd>.W <len>.W <ip>.L <port>.W
- index: 0,2,4,8
- len: 10
- parameter:
- - cmd : packet identification (0x2b20)
- - len
- - ip
- - port
- desc:
- - Remove specified maps (used when some other map-server disconnects)
- 0x2b21
- Type: AZ
- Structure: <cmd>.W <aid>.L <cid>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b21)
- desc:
- - chrif_save_ack (Received after a character has been "final saved" on the char-server)
- 0x2b22
- Type: AZ
- Structure: <cmd>.W <type>.B <index>.B <fame>.L
- index: 0,2,3,4
- len: 8
- parameter:
- - cmd : packet identification (0x2b22)
- - type
- - index
- - fame
- desc:
- - Send to map-servers the updated fame ranking lists
- 0x2b24
- Type: AZ
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2b24)
- desc:
- - Map-server keep alive packet, answer back map that we alive as well
- 0x2b25
- Type: AZ
- Structure: <cmd>.W <father_id>.L <mother_id>.L <char_id>.L
- index: 0,2,6
- len: ? (Max=64)
- parameter:
- - cmd : packet identification (0x2b25)
- - father_id
- - mother_id
- - char_id
- desc:
- - Removes baby from Father ID and Mother ID
- 0x2b27
- Type: AZ
- Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B
- index: 0,2,6,10,14
- len: 15
- parameter:
- - cmd : packet identification (0x2b27)
- - account_id
- - char_id
- - login_id1
- - sex
- desc:
- - Client authentication failed
- 0x2b29
- free
- 0x2b2b
- Type: AZ
- Structure: <cmd>.W <aid>.L <vip_time>.L <groupid>.L <flag>.B
- index: 0,2,6,10,11
- len: 15
- parameter:
- - cmd : packet identification (0x2b2b)
- - aid
- - vip_time
- - groupid
- - flag : 0x1: isvip, is this account in vip mode atm, 0x2: isgm, 0x4: show rates on player
- desc:
- - Received vip-data from char-server, fill map-server data
- 0x2b2f
- Type: AZ
- Structure: <cmd>.W <len>.W <cid>.L <count>.B { <bonus_script_data>.?B }
- index: 0,2,4,8
- len: variable: 9+count*bonus_script_data
- parameter:
- - cmd : packet identification (0x2b2f)
- desc:
- - Get bonus_script data(s) from table to load
- 0x2736
- Type: ZA
- Structure: <cmd>.W <ip>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2736)
- desc:
- - ip address update
- 0x2afa
- Type: ZA
- Structure: <cmd>.W <size>.W {<map_index>.W}*instance_start
- index: 0,2,4
- len: variable: 4+instance_start*4
- parameter:
- - cmd : packet identification (0x2afa)
- - size
- - map_index*instance_start
- desc:
- - Send available normal maps. chrif_sendmap
- 0x2afc
- Type: ZA
- Structure: <cmd>.W <account_id>.L <char_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2afc)
- - account_id
- - char_id
- desc:
- - Request sc_data from char-server
- 0x2afe
- Type: ZA
- Structure: <cmd>.W <map_usercount>.W
- index: 0,2
- len: 4
- parameter:
- - cmd : packet identification (0x2afe)
- desc:
- - send_usercount_tochar (unused)
- 0x2aff
- Type: ZA
- Structure: <cmd>.W <len>.W <users>.W <account_id>.L <char_id>.L
- index: 0,2,4,6+8*i,6+8+i+4
- len: variable: 6+8*users
- parameter:
- - cmd : packet identification (0x2aff)
- - len
- - users
- - account_id
- - char_id
- desc:
- - Map-server sent us all his users info, (aid and cid) so we can update online_char_db
- 0x2b01
- Type: ZA
- Structure: <cmd>.W <mmo_charstatus_len>.W <account_id>.L <char_id>.L <flag>.B
- index: 0,2,4,8,12
- len: variable: mmo_charstatus_len
- parameter:
- - cmd : packet identification (0x2b01)
- desc:
- - charsave of char XY account XY
- 0x2b02
- Type: ZA
- Structure: <cmd>.W <id>.L <login_id1>.L <login_id2>.L <s_ip>.L
- index: 0,2,6,10,14
- len: 18
- parameter:
- - cmd : packet identification (0x2b02)
- - id
- - login_id1
- - login_id2
- - s_ip
- desc:
- - chrif_charselectreq
- 0x2b05
- Type: ZA
- 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
- index: 0,2,6,10,14,18,20,22,24,28,30,31,35
- len: 39
- parameter:
- - cmd : packet identification (0x2b05)
- - id
- - login_id1
- - login_id2
- - char_id
- - mapindex
- - x
- - y
- - ip
- - port
- - sex
- - client_addr
- - group_id
- desc:
- - Tell the char-server the map change / quest for ok
- 0x2b07
- Type: ZA
- Structure: <cmd>.W <char_id>.L <friend_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b07)
- - char_id
- - friend_id
- desc:
- - Asks char-server to remove friend_id from the friend list of char_id
- 0x2b08
- Type: ZA
- Structure: <cmd>.W <char_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2b08)
- desc:
- - Search char through id on char-server
- 0x2b0a
- Type: ZA
- Structure: <cmd>.W <account_id>.L <char_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b0a)
- - account_id
- - char_id
- desc:
- - Request skillcooldown from char-server
- 0x2b0c
- Type: ZA
- Structure: <cmd>.W <id>.W <actual_email>.40B <new_email>.40B
- index: 0,2,6,46
- len: 86
- parameter:
- - cmd : packet identification (0x2b0c)
- - id
- - actual_email
- - new_email
- desc:
- - Change Email
- 0x2b0e
- Type: ZA
- Structure: <cmd>.W <aid>.L <name>.24B <operation_type>.W <timediff>.L <val1>.L <val2>.L
- index: 0,2,30,36,40
- len: 44
- parameter:
- - cmd : packet identification (0x2b0e)
- - aid
- - name
- - operation_type: 1:block account, 2:ban account, 3:unblock account, 4:unban account, 5:changesex, 6:VIP, 7:changecharsex
- - timediff
- - val1
- - val2
- desc:
- - Send an account modification request to the login-server (via char-server).
- 0x2b10
- Type: ZA
- Structure: <cmd>.W <char_id>.L <fame>.L <type>.B
- index: 0,2,6,10
- len: 11
- parameter:
- - cmd : packet identification (0x2b10)
- - char_id
- - fame
- - type
- desc:
- - Request/Receive top 10 Fame character list
- 0x2b11
- Type: ZA
- Structure: <cmd>.W <partner_id1>.L <partner_id2>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b11)
- - partner_id1
- - partner_id2
- desc:
- - Request char-server to Divorce Players
- 0x2b15
- Type: ZA
- Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
- index: 0,2,4,8,12
- len: variable: 14+MAX_SKILLCOOLDOWN*skill_cooldown_data
- parameter:
- - cmd : packet identification (0x2b15)
- - len
- - account_id
- - char_id
- - count
- desc:
- - Request to save skill cooldown data
- 0x2b16
- Type: ZA
- Structure: <cmd>.W <base_rate>.L <job_rate>.L <drop_rate>.L
- index: 0,2,6,10
- len: 14
- parameter:
- - cmd : packet identification (0x2b16)
- - base_rate
- - job_rate
- - drop_rate
- desc:
- - Send rates and motd to char-server
- 0x2b17
- Type: ZA
- Structure: <cmd>.W <char_id>.L <account_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b17)
- - char_id
- - account_id
- desc:
- - Tell char-server character disconnected
- 0x2b18
- Type: ZA
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2b18)
- desc:
- - Tell char-server to reset all chars offline
- 0x2b19
- Type: ZA
- Structure: <cmd>.W <char_id>.L <account_id>.L
- index: 0,2,6
- len: 10
- parameter:
- - cmd : packet identification (0x2b19)
- - char_id
- - account_id
- desc:
- - Tell char-server character is online
- 0x2b1a
- Type: ZA
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2b1a)
- desc:
- - Build the fame ranking lists and send them
- 0x2b1c
- Type: ZA
- Structure: <cmd>.W <len>.W <account_id>.L <char_id>.L <count>.W
- index: 0,2,4,8,12
- len: variable: 14+SC_MAX*status_change_data
- parameter:
- - cmd : packet identification (0x2b1c)
- - len
- - account_id
- - char_id
- - count
- desc:
- - parses the sc_data of the player and sends it to the char-server for saving
- 0x2b23
- Type: ZA
- Structure: <cmd>.W
- index: 0
- len: 2
- parameter:
- - cmd : packet identification (0x2b23)
- desc:
- - pings the char-server (chrif_keepalive)
- 0x2b26
- Type: ZA
- Structure: <cmd>.W <account_id>.L <char_id>.L <login_id1>.L <sex>.B <client_addr>.L <autotrade>.B
- index: 0,2,6,10,14,15,19
- len: 20
- parameter:
- - cmd : packet identification (0x2b26)
- - account_id
- - char_id
- - login_id1
- - sex
- - client_addr
- - autotrade
- desc:
- - client authentication request
- 0x2b28
- Type: ZA
- Structure: <cmd>.W <aid>.L <timediff>.L <character_name>.?B
- index: 0,2,6,10
- len: variable: 10+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x2b28)
- - aid
- - timediff
- - character_name
- desc:
- - chrif_req_charban
- 0x2b2a
- Type: ZA
- Structure: <cmd>.W <aid>.L <character_name>.?B
- index: 0,2,6
- len: 6+NAME_LENGTH
- parameter:
- - cmd : packet identification (0x2b2a)
- - aid
- - character_name
- desc:
- - chrif_req_charunban
- 0x2b2d
- Type: ZA
- Structure: <cmd>.W <char_id>.L
- index: 0,2
- len: 6
- parameter:
- - cmd : packet identification (0x2b2d)
- desc:
- - Requests bonus_script data
- 0x2b2e
- Type: ZA
- Structure: <cmd>.W <len>.W <char_id>.L <count>.B { <bonus_script_data>.?B }
- index: 0,2,4,8
- len: variable: 9+count*bonus_script_data
- parameter:
- - cmd : packet identification (0x2b2e)
- - len
- - char_id
- - count
- desc:
- - Stores bonus_script data(s) to the table
|