1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052 |
- //===== rAthena Documentation ================================
- //= Source Documentation
- //===== By: ==================================================
- //= rAthena Dev Team
- //===== Last Updated: ========================================
- //= 20140831
- //===== Description: =========================================
- //= List of all packets used by login-serv (A), char-serv (H),
- //= and map-serv (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.c').
- =========================
- | 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 <version>.L <clienttype>.B
- index: 0,2,6,10,14,15,16,20,24
- len: 25
- 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
- - version: client version, (clientinfo version)
- - clienttype: unknown @FIXME
- desc:
- - Acknowledge the authentication request from char-serv
- 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-serv
- desc:
- - Retrieve the number of user present on a char-serv
- 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 <u_group>.L <account_id>.L
- index: 0,2,6,10,14,18
- len: 22
- parameter:
- - cmd : packet identification (0x2720)
- - map_fd :
- - u_fd :
- - u_aid :
- - u_group :
- - 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 <password>.33B <birthdate>.11B <pincode>.?B <userid>.?B
- index: 0,2,6,10,18,19,52,92,108,132,136,140,144,155,155+PINCODE_LENGTH
- len: 155 + PINCODE_LENGTH + 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
- - password
- - birthdate
- - pincode
- - 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 an 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 servers.
- 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 loginserv (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-serv
- - 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-serv 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 notify char that 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-serv, 0x2 add duration, 0x8 First request on player login
- - timediff: tick to add to viptime
- - mapfd: map-serv 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-serv link to ack
- desc:
- - Transmit vip specific data to char-serv (will be transfered to mapserv)
- =========================
- | 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-servs connected to this char-serv
- 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.c::wis_db
- - flag: 0=success, 1=target not found, 2=ignored by target
- desc:
- - Inform the char-serv 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: registre variable identifiant, (variable name)
- -value: variable value
- desc:
- - Map-serv is requesting Char-serv to save registry values. (type=1 will forward data to login-serv)
- 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-serv)
- -acc_reg : request account registry (permanent variable of account , save on char-serv)
- -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 Guildskill 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.
- 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 mapservers
- 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 mesasge 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-serv, 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: retreived guild bound items
- desc:
- - Ask map-server to process the retreived 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 : Pakcet 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-serv, (meaning the total of all mapserv)
- 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_serv
- 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 acknowledgement (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-serv 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 interserver 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, awnser 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-serv, fill map-serv 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 charserver
- 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-serv 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 <packet_ver>.B
- index: 0,2,6,10,14,18
- len: 19
- parameter:
- - cmd : packet identification (0x2b02)
- - id
- - login_id1
- - login_id2
- - s_ip
- - packet_ver
- 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 charserver the mapchange / 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 serv
- 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 charserver
- 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 charserver (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
|