diff options
Diffstat (limited to 'src/char/inter.c')
-rw-r--r-- | src/char/inter.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/char/inter.c b/src/char/inter.c index db12cf3e7..416ab308c 100644 --- a/src/char/inter.c +++ b/src/char/inter.c @@ -39,8 +39,9 @@ struct accreg { unsigned int party_share_level = 10;
-// 送信パケット長リスト
-int inter_send_packet_length[] = {
+// sending packet list
+// NOTE: This variable ain't used at all! And it's confusing.. where do I add that the length of packet 0x2b07 is 10? x.x [Skotlex]
+int inter_send_packet_length[]={
-1,-1,27,-1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0x3000-0x300f
-1, 7, 0, 0, 0, 0, 0, 0, -1,11, 0, 0, 0, 0, 0, 0,
35,-1,11,15, 34,29, 7,-1, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -52,7 +53,7 @@ int inter_send_packet_length[] = { 11,-1, 7, 3, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
// recv. packet list
-int inter_recv_packet_length[] = {
+int inter_recv_packet_length[]={
-1,-1, 7,-1, -1,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0x3000-0x300f
6,-1, 0, 0, 0, 0, 0, 0, 10,-1, 0, 0, 0, 0, 0, 0, //0x3010-0x301f
-1, 6,-1,14, 14,19, 6,-1, 14,14, 0, 0, 0, 0, 0, 0, //0x3020-0x302f
@@ -62,6 +63,7 @@ int inter_recv_packet_length[] = { 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,
48,14,-1, 6, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0x3080-0x308f
+ 68,10,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x3090 - 0x309f Homunculus packets [albator]
};
struct WisData {
@@ -251,6 +253,7 @@ int inter_save(void) { inter_storage_save();
inter_guild_storage_save();
inter_pet_save();
+ inter_homun_save();
inter_accreg_save();
return 0;
@@ -632,6 +635,8 @@ int inter_parse_frommap(int fd) { break;
if (inter_pet_parse_frommap(fd))
break;
+ if (inter_homun_parse_frommap(fd))
+ break;
return 0;
}
RFIFOSKIP(fd, len);
|