diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-17 00:15:33 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-17 00:15:33 +0000 |
commit | 7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b (patch) | |
tree | 34fb42eb5bf938c6c02b56e26931c6b1937e4c89 /src/char_sql/inter.c | |
parent | 5a064d5a6723601d08610082ab6c203bc94cdab0 (diff) | |
download | hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.gz hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.bz2 hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.xz hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.zip |
Orn's and Albator's Homunculus system, finally, YAY!!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7706 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/inter.c')
-rw-r--r-- | src/char_sql/inter.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c index 37c331141..73b049044 100644 --- a/src/char_sql/inter.c +++ b/src/char_sql/inter.c @@ -15,6 +15,7 @@ #include "int_guild.h"
#include "int_storage.h"
#include "int_pet.h"
+#include "int_homun.h" //albator
#define WISDATA_TTL (60*1000) // Wisデータの生存時間(60秒)
#define WISDELLIST_MAX 256 // Wisデータ削除リストの要素数
@@ -79,6 +80,10 @@ 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
+// 44,10,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x3090 - 0x309f Homunculus packets [albator]
+ 68,10,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x3090 - 0x309f Homunculus packets [albator]
+
+
};
struct WisData {
@@ -362,6 +367,7 @@ int inter_init(const char *file) inter_party_sql_init();
inter_pet_sql_init();
+ inter_homunculus_sql_init(); // albator
inter_accreg_sql_init();
//printf ("interserver timer initializing : %d sec...\n",autosave_interval);
@@ -419,6 +425,7 @@ void inter_final(void) { inter_storage_sql_final();
inter_party_sql_final();
inter_pet_sql_final();
+ inter_homunculus_sql_final(); //[orn]
if (accreg_pt) aFree(accreg_pt);
return;
@@ -753,7 +760,7 @@ int inter_parse_frommap(int fd) int cmd=RFIFOW(fd,0);
int len=0;
- // inter鯖管轄かを調べる
+ // inter鯖管轄かを調べ
if(cmd < 0x3000 || cmd >= 0x3000 + (sizeof(inter_recv_packet_length)/
sizeof(inter_recv_packet_length[0]) ) )
return 0;
@@ -781,6 +788,8 @@ int inter_parse_frommap(int fd) break;
if(inter_pet_parse_frommap(fd))
break;
+ if(inter_homunculus_parse_frommap(fd)) //albator
+ break;
return 0;
}
|