Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)

This commit is contained in:
Shauren
2011-01-24 11:20:30 +01:00
parent e5b4f8e84d
commit 464837077a
10 changed files with 171 additions and 36 deletions

View File

@@ -40,6 +40,31 @@ LOCK TABLES `account_data` WRITE;
/*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `account_instance_times`
--
DROP TABLE IF EXISTS `account_instance_times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_instance_times` (
`accountId` int(10) unsigned NOT NULL,
`instanceId` int(10) unsigned NOT NULL DEFAULT '0',
`releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`accountId`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `account_instance_times`
--
LOCK TABLES `account_instance_times` WRITE;
/*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
--
-- Table structure for table `addons`
--