From 262e60ab0b9cfc1f942a7b3ef11f7ed3abc7b208 Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Sun, 4 Mar 2012 18:37:29 +0000 Subject: - Guild Castle code cleanup: - removed `MAX_GUILDCASTLE` limit - char-server now caches guild castles in `DBMap` - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS` - disallowed declaring guild castles on maps that are on other map-servers - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287) - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit'' - optimized castle data load packets (bugreport:287) - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data) - updated related docs - Added `db_size` macro. - Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/castle_db.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/castle_db.txt') diff --git a/db/castle_db.txt b/db/castle_db.txt index 37d615496..1d328f299 100644 --- a/db/castle_db.txt +++ b/db/castle_db.txt @@ -3,7 +3,7 @@ // Structure of Database: // CastleID,MapName,CastleName,OnGuildBreakEventName,Flag // -// 01. CastleID Unique ID of the castle. +// 01. CastleID Unique ID of the castle. Must remain unique across all map-servers. // 02. MapName Map name to be considered as the castle map. // 03. CastleName Name of the castle (used by scripts and guardian name tags). // 04. OnGuildBreakEventName NPC unique name to invoke ::OnGuildBreak on, when a occupied -- cgit v1.2.3-60-g2f50