📄 client_packet_en.txt
字号:
------------------------------------------------------------------
client_packet_en.txt
Author: Colus @ #weiss, others (see credits)
Description: This document is an attempt to translate the most
recent client_packet.txt documentation from the Japanese Athena
dev team. As they add new packets and information, I will try to
keep the document up to date. Where things change or fall out of
date, I will attempt to correct them (corrections and advice on
translations are welcome).
Version History:
2003/12/31: Initial revision of this documentation.
Based on client_packet.txt of 2003/12/15.
2004/01/04: Added bit more formatting on the packet length table.
Packet 019d added.
Japanese devs did some reordering that matches mine. :)
Added some info on 011f v. 01c9.
Based on client_packet.txt of 2004/01/01.
2004/01/17: Added more info on some packets for item creation and
equipment graphics (to accomodate Pharmacy).
2004/01/23: Added 012a, corrected some 0119 values.
2004/03/01: Updated 0189 definition.
2004/03/19: Added 01ee, 01ef, 01f0 packet information.
2004/04/21: A new new packets and corrections/additions. Oatmeal
also added a few extra effects at some point. Based on
client_packet.txt of 2004/04/20.
2004/06/25: Lots of additions (note especially the first packets over
x200.) Definitely compare to the last version to see
what's been added. Based on client_packet.txt of
2004/06/21.
Credits:
- The Japanese Athena dev team, for providing the original list.
- My interest in translating the current version was based on the
work of a previous, unknown (to me) translator whose work appeared
in the release of Fusion Weiss 1.2.0.6. Most of the first packets
(up to about the time of Comodo changes) were translated to some
extent by this person, and I merely tried to clean up and
confirm those initial translations. My thanks to them.
Questions, Problems:
Contact me in the Weiss IRC channel.
------------------------------------------------------------------
0 1 2 3 4 5 6 7 8 9 A B C D E F
#0x0000
10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
#0x0040
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 55, 17, 3, 37, 46, -1, 23, -1, 3,108, 3, 2,
3, 28, 19, 11, 3, -1, 9, 5, 54, 53, 58, 60, 41, 2, 6, 6,
#0x0080
7, 3, 2, 2, 2, 5, 16, 12, 10, 7, 29, 23, -1, -1, -1, 0,
7, 22, 28, 2, 6, 30, -1, -1, 3, -1, -1, 5, 9, 17, 17, 6,
23, 6, 6, -1, -1, -1, -1, 8, 7, 6, 7, 4, 7, 0, -1, 6,
8, 8, 3, 3, -1, 6, 6, -1, 7, 6, 2, 5, 6, 44, 5, 3,
#0x00C0
7, 2, 6, 8, 6, 7, -1, -1, -1, -1, 3, 3, 6, 6, 2, 27,
3, 4, 4, 2, -1, -1, 3, -1, 6, 14, 3, -1, 28, 29, -1, -1,
30, 30, 26, 2, 6, 26, 3, 3, 8, 19, 5, 2, 3, 2, 2, 2,
3, 2, 6, 8, 21, 8, 8, 2, 2, 26, 3, -1, 6, 27, 30, 10,
#0x0100
2, 6, 6, 30, 79, 31, 10, 10, -1, -1, 4, 6, 6, 2, 11, -1,
10, 39, 4, 10, 31, 35, 10, 18, 2, 13, 15, 20, 68, 2, 3, 16,
6, 14, -1, -1, 21, 8, 8, 8, 8, 8, 2, 2, 3, 4, 2, -1,
6, 86, 6, -1, -1, 7, -1, 6, 3, 16, 4, 4, 4, 6, 24, 26,
#0x0140
22, 14, 6, 10, 23, 19, 6, 39, 8, 9, 6, 27, -1, 2, 6, 6,
110, 6, -1, -1, -1, -1, -1, 6, -1, 54, 66, 54, 90, 42, 6, 42,
-1, -1, -1, -1, -1, 30, -1, 3, 14, 3, 30, 10, 43, 14,186,182,
14, 30, 10, 3, -1, 6,106, -1, 4, 5, 4, -1, 6, 7, -1, -1,
#0x0180
6, 3,106, 10, 10, 34, 0, 6, 8, 4, 4, 4, 29, -1, 10, 6,
90, 86, 24, 6, 30,102, 9, 4, 8, 4, 14, 10, 4, 6, 2, 6,
3, 3, 35, 5, 11, 26, -1, 4, 4, 6, 10, 12, 6, -1, 4, 4,
11, 7, -1, 67, 12, 18,114, 6, 3, 6, 26, 26, 26, 26, 2, 3,
#0x01C0
2, 14, 10, -1, 22, 22, 4, 2, 13, 97, 0, 9, 9, 29, 6, 28,
8, 14, 10, 35, 6, 8, 4, 11, 54, 53, 60, 2, -1, 47, 33, 6,
30, 8, 34, 14, 2, 6, 26, 2, 28, 81, 6, 10, 26, 2, -1, -1,
-1, -1, 20, 10, 32, 9, 34, 14, 2, 6, 48, 56, -1, 4, 5, 10,
#0x200
26, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 19,
S 僋儔僀傾儞僩偐傜尒偰憲怣
R 僋儔僀傾儞僩偐傜尒偰庴怣
S sent by the client
R received by the client
B 僶僀僩
w 儚乕僪=2B
l 儘儞僌儚乕僪=4B
* 0屄埲忋偔傝偐偊偟
B byte
w word (2 bytes)
l long (4 bytes)
* at least this amount, but can be empty
S 0064 <version>.l <account name>.24B <password>.24B <version2>.B
傾僇僂儞僩ID&僷僗儚乕僪憲怣
Send account ID and password.
S 0065 <account ID>.l <login ID1>.l <login ID2>.l ?.2B <sex>.B
僉儍儔僙儗嶪愙懕梫媮
Send request to connect to character selection server.
S 0066 <character number>.B
僉儍儔僋僞慖戰梫媮
Request to select character.
S 0067 <character name>.24B <param etc>.11B
僉儍儔僋僞嶌惉梫媮
Request to create new character.
S 0068 <character ID>.l <mail address>.40B
僉儍儔僋僞嶍彍梫媮
Request to delete character.
R 0069 <len>.w <login ID1>.l <account ID>.l <login ID2>.l ?.32B <sex>.B {<IP>.l <port>.w <server name>.20B <login users>.w <maintenance>.w <new>.w}.32B*
login惉岟&嶪忣曬
Information about success of login to login server.
R 006a <error No>.B
login幐攕 偦偺侾
err No=00 枹搊榐偺ID偱偡
err No=01 僷僗儚乕僪偑堘偄傑偡
err No=02 巊梡婜娫偑廔椆偟偰偄傑偡
err No=03 僒乕僶乕偐傜愙懕嫅斲偝傟傑偟偨
err No=04 夝栺偝傟偨ID丄傑偨偼傾僇僂儞僩僽儘僢僋偝傟偰偄傞ID偱偡
err No=05 嵟怴偺僷僢僠偱偼偁傝傑偣傫
err No=06 夝栺偝傟偨ID丄傑偨偼傾僇僂儞僩僽儘僢僋偝傟偰偄傞ID偱偡
err No=07 僒乕僶乕偑崿嶨偟偰偄傑偡
Login failure, the first type:
err No=00 Unregistered ID.
err No=01 Password incorrect.
err No=02 Usage period has expired.
err No=03 Connection rejected by the server.
err No=04 Blocked ID, or an ID of a locked account.
err No=05 Not up-to-date on latest patch.
err No=06 Blocked ID, or an ID of a locked account.
err No=07 Server is full.
R 006b <len>.w <charactor select data>.106B*
僉儍儔僙儗嶪愙懕惉岟&僉儍儔僋僞僨乕僞
<charactor select data> = <charactor ID>.l <base exp>.l <zeny>.l <job exp>.l <job level>.l ?.8B <option>.l <karma>.l <manner>.l ?.2B <HP>.w <MaxHP>.w <SP>.w <MaxSP>.w <speed>.w <class>.w <hair>.w <weapon>.2w <base level>.w <skill point>.w <head_bottom>.w <sheild>.w <head option top>.w <head option mid>.w <hair color>.w ?.w <name>.24B <STR>.B <AGI>.B <VIT>.B <INT>.B <DEX>.B <LUK>.B <charactor number>.B ?.B
Information about a success of connection to character select server & character data.
R 006c <error No>.B
僉儍儔僋僞慖戰幐攕
Character selection failed.
R 006d <charactor select data>.106B
僉儍儔僋僞嶌惉惉岟
Successful character creation.
R 006e <error No>.B
僉儍儔僋僞嶌惉幐攕
Failed character creation.
R 006f
僉儍儔僋僞嶍彍惉岟
Successful character deletion.
R 0070 <error No>.B
僉儍儔僋僞嶍彍幐攕
err No=00 儊乕儖傾僪儗僗偑堘偆
err No=01 嶍彍偑嫅斲偝傟偨
Failed character deletion:
err No=00 Mail address incorrect.
err No=01 Deletion was rejected.
R 0071 <charactor ID>.l <map name>.16B <ip>.l <port>.w
僉儍儔僋僞慖戰惉岟&儅僢僾柤&僎乕儉嶪IP/port
Success to select character & map name and IP/port number for game server.
S 0072 <account ID>.l <charactor ID>.l <login ID1>.l <login ID2>.l <sex>.b
僎乕儉嶪愙懕梫媮
Game server connection request.
R 0073 <server tick>.l <coordidate>.3B ?.2B
僎乕儉嶪愙懕惉岟&僒乕僶懁1ms帪寁&弌尰埵抲
Game server connection successful. Returns server time and spawn location.
R 0078 <ID>.l <speed>.w <opt1>.w <opt2>.w <option>.w <class>.w <hair>.w <weapon>.w <head option bottom>.w <sheild>.w <head option top>.w <head option mid>.w <hair color>.w ?.w <head dir>.w <guild>.l <emblem>.l <manner>.w <karma>.B <sex>.B <X_Y_dir>.3B ?.B ?.B <sit>.B <Lv>.B
儅僢僾儘乕僪帪&堏摦帪梡丄岦偒晅偒梡僉儍儔忣曬?
A packet for map load or moving, information about a direction for character?
R 0079 <ID>.l <speed>.w <opt1>.w <opt2>.w <option>.w <class>.w <hair>.w <weapon>.w <head option bottom>.w <sheild>.w <head option top>.w <head option mid>.w <hair color>.w ?.w <head dir>.w <guild>.l <emblem>.l <manner>.w <karma>.B <sex>.B <X_Y_dir>.3B ?.B ?.B <Lv>.B
僥儗億摍偺昞帵斖埻撪暒偒僉儍儔梡丄岦偒晅偒柍偟僉儍儔忣曬?
Information about characters in a range of a skill like teleport, no info about direction for character?
R 007b <ID>.l <speed>.w <opt1>.w <opt2>.w <option>.w <class>.w <hair>.w <weapon>.w <head option bottom>.w <server tick>.l <sheild>.w <head option top>.w <head option mid>.w <hair color>.w ?.w <head dir>.w <guild>.l <emblem>.l <manner>.w <karma>.B <sex>.B <X_Y_X_Y>.5B ?.B ?.B ?.B <Lv>.B
昞帵斖埻撪僉儍儔堏摦忣曬
Information about movement in the character's visible range.
R 007c <ID>.l <speed>.w ?.6w <class>.w ?.7w <X_Y>.3B ?.2B
NPC梡昞帵斖埻撪僉儍儔忣曬
Character information for NPCs in the character's visible range.
S 007d
map儘乕僪廔傝
Map loading complete.
S 007e <client tick>.l
僋儔僀傾儞僩懁1ms僞僀儅憲怣
Sends a client tick.
R 007f <server tick>.l
僒乕僶懁1ms僞僀儅憲怣
Receives a server tick.
R 0080 <ID>.l <type>.B
type=00 僉儍儔徚柵 (夋柺奜堏摦丅巰懱徚柵摍?)
type=01 僉儍儔巰朣
type=02 僉儍儔徚柵 (logout摍?)
type=03 僥儗億乕僩 (僥儗億,攬,挶摍丠)
Information about a character leaving the visible area:
type=00 Character disappeared (Moved offscreen. Died and respawned?)
type=01 Character died.
type=02 Character vanished (logout?)
type=03 Teleport (Teleport, fly wing, butterfly wing?)
R 0081 <type>.B
login幐攕 偦偺俀
type=01 僒乕僶乕愙懕廔椆
type=02 摨偠ID偱懠偺巊梡幰偑儘僌僀儞偟傑偟偨
type=03 僒乕僶乕偲偺摨婜偵幐攕偟傑偟偨
type=04 抧堟偺廂梕恖堳挻夁偱愙懕偱偒傑偣傫
type=05 侾俉嵨埲壓偼愙懕偱偒傑偣傫
type=06 寛嵪偝傟偨傾僇僂儞僩偱偼偁傝傑偣傫
type=07 僒乕僶乕偑崿嶨偟偰偄傑偡
type=08 慜偺愙懕忣曬偑巆偭偰偄傑偡
type=0b 傾僇僂儞僩偑曐棷偝傟傑偟偨
type=0c 壽嬥僔僗僥儉曄峏偺偨傔丄堦帪廔椆偟傑偡
type=0d IP偑堦抳偟側偄偨傔丄愙懕傪廔椆偟傑偡
type=10 桳椏僒乕價僗偵側傝傑偟偨
type=11 僠働僢僩偑攦傢傟偰偄側偄偐丄桳岠婜尷偑愗傟偰偄傑偡
Login failure, second type:
type=01 Server connection rejected.
type=02 Another user is logged in on the same ID.
type=03 Server lost sync.
type=04 Too many simultaneous users trying to log in (?)
type=05 Underage players are blocked.
type=06 Unpaid account.
type=07 Server is full.
type=08 Previous connection information still remains (duplicate login?)
type=0b Account is put on hold.
type=0c Changing payment system, closed temporarily.
type=0d IP does not resolve (?), connection rejected.
type=10 Using pay-to-play (toll, debit?) service.
type=11 Due to lack of payment card, debit service is cancelled.
S 0085 <X_Y>.3B
堏摦梫媮
Walking request.
R 0087 <server tick>.l <X_Y_X_Y>.5B ?.B
堏摦墳摎
Server response to walk request.
R 0088 <ID>.l <X>.w <Y>.w
堏摦搑拞掆巭
Stop walking.
S 0089 <target ID>.l <type>.B
type=00 target傪1夞墸傞
type=02 嵗傞
type=03 棫偪忋傞
type=07 target傪墸傝懕偗傞
type=00 Hit target once.
type=02 Sit.
type=03 Stand.
type=07 Hit target continuously.
R 008a <src ID>.l <dst ID>.l <server tick>.l <src speed>.l <dst speed>.l <param1>.w <param2>.w <type>.B <param3>.w
type=00 param1=0 miss
type=00 param1:僟儊乕僕(偺崌寁?) param2:暘妱悢 param3:傾僒僔儞2搧棳媡庤僟儊乕僕
NPC偐傜偺峌寕偺応崌丄param2,param3偼僑儈僨乕僞
speed偼PC偺応崌撪晹ASPD偲堦抳
type=01 item傪廍偆 ID*2埲奜僑儈
type=02 嵗傞 src ID埲奜僑儈
type=03 棫偮 src ID埲奜僑儈
type=08 暋悢峌寕
type=09 僟儊乕僕儌乕僔儑儞側偟偵僟儊乕僕偩偗昞帵偝傟傞暔(僀儞僨儏傾)
type=0a 僋儕僥傿僇儖
type=0b 姰慡夞旔
type=00 param1=0
Miss.
type=00 param1: Total damage param2: Number of divisions param3: Assassin's off-hand damage
If the attack came from an NPC, param2 and param3 are ignored.
speed is the PC's ASPD.
type=01 Pick up an item. Only the IDs are used.
type=02 Sit. Only src ID is used.
type=03 Stand. Only src ID is used.
type=08 Multiple attack. When param2 is 2, double attack; when param2 is 255, Triple Attack. (Go figure.)
type=09 Damage without damage motion (damage while Enduring)
type=0a Critical attack.
type=0b Perfect evade.
S 008c <len>.w <str>.?B
捠忢敪尵憲怣丅僠儍僢僩拞偼僠儍僢僩撪敪尵梡偵側傞
愭摢偺"<nick> : "偺晹暘偼僋儔僀傾儞僩懁偱晅偗傞帠
Send normal speech. While chatting, it becomes a chatroom speech.
The "<nick> : " prefix is added by the client.
R 008d <len>.w <ID>.l <str>.?B
ID偝傫偺敪尵庴怣丅僠儍僢僩拞偼僠儍僢僩撪敪尵梡偵側傞
Receive speech from the ID given. While chatting, it becomes a chatroom speech.
R 008e <len>.w <str>.?B
帺暘偺敪尵庴怣丅僠儍僢僩拞偼僠儍僢僩撪敪尵梡偵側傞
Receive your own character's speech. While chatting, it becomes a chatroom speech.
S 0090 <ID>.l <type?>.B
NPC偵榖偟偐偗傞丅type偼01偟偐尒偨帠柍偟
Speak to an NPC. (Haven't seen types other than 01.)
R 0091 <map name>.16B <X>.w <Y>.w
嶪撪儅僢僾娫堏摦丄僥儗億,攬摍梡
Map change within the server, teleport, flywing...
R 0092 <map name>.16B <X>.w <Y>.w <IP>.l <port>.w
嶪娫堏摦
Map change to different server.
R 0093
8寧拞偵1夞偩偗娤應丅撲
This packet was observed once in August. Unknown.
S 0094 <ID>.l
ID偺僉儍儔柤摍梫媮丅0095偐0195偺曉摎偑偁傞偼偢
Request a character name for ID. 0095 or 0195 response is expected.
R 0095 <ID>.l <nick>.24B
NPC,僊儖僪枹強懏PC偺0094傊偺曉摎
0193 <charID>.l 偱栤偄崌傢偣偰
0194 <charID>.l <name>.24B 偺墳摎偱摼偰傑偡丅
Response for 0094 request from an NPC or guildless PC:
0193 <charID>.l
If you inquire with this method,
0194 <charID>.l <name>.24B
You get a response in this format.
S 0096 <len>.w <nick>.24B <message>.?B
wis憲怣
Send whisper text.
R 0097 <len>.w <nick>.24B <message>.?B
wis庴怣
Receive whisper text.
R 0098 <type>.B
type=00 wis憲怣惉岟
type=01 wis憡庤偑login偟偰側偄?
type=02 wis憡庤偐傜ignore偝傟偰傞?
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -