From 51079611e59264b02fdbb4beb0d3675cc64618e6 Mon Sep 17 00:00:00 2001 From: celest Date: Tue, 29 Mar 2005 16:32:28 +0000 Subject: * 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 --- src/char_sql/int_guild.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/char_sql') 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; } -- cgit v1.2.3-70-g09d2