diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 16:32:28 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 16:32:28 +0000 |
commit | 51079611e59264b02fdbb4beb0d3675cc64618e6 (patch) | |
tree | 22591fb3e22bd877cf913893437da65bf9122680 /src/char_sql/int_guild.c | |
parent | 3f3a0e79643fecf5209128075028e375a4a5bb95 (diff) | |
download | hercules-51079611e59264b02fdbb4beb0d3675cc64618e6.tar.gz hercules-51079611e59264b02fdbb4beb0d3675cc64618e6.tar.bz2 hercules-51079611e59264b02fdbb4beb0d3675cc64618e6.tar.xz hercules-51079611e59264b02fdbb4beb0d3675cc64618e6.zip |
* Added auto save guild dataevery 5 minutes during WOE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1333 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_guild.c')
-rw-r--r-- | src/char_sql/int_guild.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index 5ec700a54..794f2e01f 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -20,9 +20,6 @@ static struct dbt *guild_db_; static struct dbt *castle_db_; -static struct dbt *guild_expcache_db_; -static struct dbt *guild_infoevent_db_; -static struct dbt *guild_castleinfoevent_db_; static struct guild *guild_pt; static struct guild *guild_pt2; @@ -668,9 +665,6 @@ int inter_guild_sql_init() guild_db_=numdb_init(); castle_db_=numdb_init(); - guild_expcache_db_=numdb_init(); - guild_infoevent_db_=numdb_init(); - guild_castleinfoevent_db_=numdb_init(); printf("interserver guild memory initialize.... (%d byte)\n",sizeof(struct guild)); guild_pt = (struct guild*)aCalloc(sizeof(struct guild), 1); @@ -709,9 +703,6 @@ int inter_guild_sql_init() return 0; } -int guild_expcache_db_final (void *k, void *data, va_list ap) { return 0; } -int guild_infoevent_db_final (void *k, void *data, va_list ap) { return 0; } -int guild_castleinfoevent_db_final (void *k, void *data, va_list ap) { return 0; } int guild_db_final (void *k, void *data, va_list ap) { struct guild *g = (struct guild *) data; @@ -732,9 +723,6 @@ void inter_guild_sql_final() numdb_final(guild_db_, guild_db_final); numdb_final(castle_db_, castle_db_final); - numdb_final(guild_expcache_db_, guild_expcache_db_final); - numdb_final(guild_infoevent_db_, guild_infoevent_db_final); - numdb_final(guild_castleinfoevent_db_, guild_castleinfoevent_db_final); return; } |