mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10973] Implement game event mail sends at event start/stop.
Also implement save game event state to DB mostly for avoid send mails at resume game event after server downtime. Thanks to X-Savior for inspiring and original research.
This commit is contained in:
parent
da228b707d
commit
6b9de2c958
9 changed files with 241 additions and 26 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
DROP TABLE IF EXISTS `character_db_version`;
|
||||
CREATE TABLE `character_db_version` (
|
||||
`required_10862_01_characters_mail` bit(1) default NULL
|
||||
`required_10973_01_characters_game_event_status` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||
|
||||
--
|
||||
|
|
@ -1060,6 +1060,25 @@ LOCK TABLES `creature_respawn` WRITE;
|
|||
/*!40000 ALTER TABLE `creature_respawn` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `game_event_status`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `game_event_status`;
|
||||
CREATE TABLE `game_event_status` (
|
||||
`event` smallint(6) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`event`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Game event system';
|
||||
|
||||
--
|
||||
-- Dumping data for table `game_event_status`
|
||||
--
|
||||
|
||||
LOCK TABLES `game_event_status` WRITE;
|
||||
/*!40000 ALTER TABLE `game_event_status` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `game_event_status` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `gameobject_respawn`
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue