[7255] Allows saving characters in Battle Grounds.

* Now player can join to BG after logout during 5 minutes, if BG in progress.
    * All players after server crash or restart should appear at the battlemaster

Author: GriffonHeart

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-10 01:16:16 -06:00
parent 58374f87b4
commit 029554d4e3
10 changed files with 161 additions and 53 deletions

View File

@@ -21,7 +21,7 @@
DROP TABLE IF EXISTS `character_db_version`;
CREATE TABLE `character_db_version` (
`required_7251_02_characters_character_spell` bit(1) default NULL
`required_7255_01_characters_characters` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
--
@@ -285,6 +285,13 @@ CREATE TABLE `characters` (
`taxi_path` text,
`arena_pending_points` int(10) UNSIGNED NOT NULL default '0',
`latency` int(11) unsigned NOT NULL default '0',
`bgid` int(10) unsigned NOT NULL default '0',
`bgteam` int(10) unsigned NOT NULL default '0',
`bgmap` int(10) unsigned NOT NULL default '0',
`bgx` float NOT NULL default '0',
`bgy` float NOT NULL default '0',
`bgz` float NOT NULL default '0',
`bgo` float NOT NULL default '0',
PRIMARY KEY (`guid`),
KEY `idx_account` (`account`),
KEY `idx_online` (`online`),