diff --git a/sql/base/auth.sql b/sql/base/auth.sql index a189a22ca..38f210f95 100644 --- a/sql/base/auth.sql +++ b/sql/base/auth.sql @@ -1,6 +1,16 @@ /* Navicat MySQL Data Transfer -Date: 2015-06-17 19:16:27 + +Source Server : Arkania-NG +Source Server Version : 50505 +Source Host : localhost:3306 +Source Database : ng_auth + +Target Server Type : MYSQL +Target Server Version : 50505 +File Encoding : 65001 + +Date: 2017-03-20 21:41:04 */ SET FOREIGN_KEY_CHECKS=0; @@ -24,7 +34,7 @@ CREATE TABLE `account` ( `failed_logins` int(10) unsigned NOT NULL DEFAULT '0', `locked` tinyint(3) unsigned NOT NULL DEFAULT '0', `lock_country` varchar(2) NOT NULL DEFAULT '00', - `last_login` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + `last_login` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `online` tinyint(3) unsigned NOT NULL DEFAULT '0', `expansion` tinyint(3) unsigned NOT NULL DEFAULT '3', `mutetime` bigint(20) NOT NULL DEFAULT '0', @@ -37,7 +47,12 @@ CREATE TABLE `account` ( `trial_end` int(10) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `idx_username` (`username`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='Account System'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Account System'; + +-- ---------------------------- +-- Records of account +-- ---------------------------- +INSERT INTO `account` VALUES ('1', 'ADMIN', 'unknown', '', '', '', '', '', '', '2014-06-30 04:04:59', '192.168.178.79', '0', '0', '00', '2016-08-09 10:18:56', '0', '3', '0', '', '', '3', 'Win', '0', '0', '1'); -- ---------------------------- -- Table structure for account_access @@ -53,8 +68,6 @@ CREATE TABLE `account_access` ( -- ---------------------------- -- Records of account_access -- ---------------------------- -INSERT INTO `account_access` VALUES ('1', '3', '-1'); -INSERT INTO `account_access` VALUES ('3', '3', '-1'); -- ---------------------------- -- Table structure for account_banned @@ -191,10 +204,10 @@ CREATE TABLE `rbac_default_permissions` ( -- ---------------------------- -- Records of rbac_default_permissions -- ---------------------------- -INSERT INTO `rbac_default_permissions` VALUES ('3', '192'); -INSERT INTO `rbac_default_permissions` VALUES ('2', '193'); -INSERT INTO `rbac_default_permissions` VALUES ('1', '194'); INSERT INTO `rbac_default_permissions` VALUES ('0', '195'); +INSERT INTO `rbac_default_permissions` VALUES ('1', '194'); +INSERT INTO `rbac_default_permissions` VALUES ('2', '193'); +INSERT INTO `rbac_default_permissions` VALUES ('3', '192'); -- ---------------------------- -- Table structure for rbac_linked_permissions @@ -234,6 +247,17 @@ INSERT INTO `rbac_linked_permissions` VALUES ('192', '790'); INSERT INTO `rbac_linked_permissions` VALUES ('192', '791'); INSERT INTO `rbac_linked_permissions` VALUES ('192', '792'); INSERT INTO `rbac_linked_permissions` VALUES ('192', '793'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '794'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '795'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '796'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '797'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '798'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '799'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '800'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '801'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '802'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '803'); +INSERT INTO `rbac_linked_permissions` VALUES ('192', '804'); INSERT INTO `rbac_linked_permissions` VALUES ('193', '48'); INSERT INTO `rbac_linked_permissions` VALUES ('193', '194'); INSERT INTO `rbac_linked_permissions` VALUES ('193', '197'); @@ -1468,6 +1492,17 @@ INSERT INTO `rbac_permissions` VALUES ('790', 'Command: ahbot ratio neutral'); INSERT INTO `rbac_permissions` VALUES ('791', 'Command: ahbot rebuild'); INSERT INTO `rbac_permissions` VALUES ('792', 'Command: ahbot reload'); INSERT INTO `rbac_permissions` VALUES ('793', 'Command: ahbot status'); +INSERT INTO `rbac_permissions` VALUES ('794', 'npcbot'); +INSERT INTO `rbac_permissions` VALUES ('795', 'npcbot add'); +INSERT INTO `rbac_permissions` VALUES ('796', 'npcbot remove'); +INSERT INTO `rbac_permissions` VALUES ('797', 'npcbot reset'); +INSERT INTO `rbac_permissions` VALUES ('798', 'npcbot command'); +INSERT INTO `rbac_permissions` VALUES ('799', 'npcbot distance'); +INSERT INTO `rbac_permissions` VALUES ('800', 'npcbot info'); +INSERT INTO `rbac_permissions` VALUES ('801', 'npcbot helper'); +INSERT INTO `rbac_permissions` VALUES ('802', 'npcbot revive'); +INSERT INTO `rbac_permissions` VALUES ('803', 'maintank (mt)'); +INSERT INTO `rbac_permissions` VALUES ('804', 'npcbot test'); -- ---------------------------- -- Table structure for realmcharacters @@ -1484,6 +1519,7 @@ CREATE TABLE `realmcharacters` ( -- ---------------------------- -- Records of realmcharacters -- ---------------------------- +INSERT INTO `realmcharacters` VALUES ('1', '1', '2'); -- ---------------------------- -- Table structure for realmlist @@ -1509,7 +1545,7 @@ CREATE TABLE `realmlist` ( -- ---------------------------- -- Records of realmlist -- ---------------------------- -INSERT INTO `realmlist` VALUES ('1', 'ArkCORE4-NG', '127.0.0.1', '127.0.0.1', '255.255.255.0', '8085', '0', '0', '9', '0', '0', '15595'); +INSERT INTO `realmlist` VALUES ('1', 'ArkCORE4-NG', 'localhost', '127.0.0.1', '255.255.255.0', '8085', '0', '0', '9', '0', '0', '15595'); -- ---------------------------- -- Table structure for uptime @@ -1527,4 +1563,3 @@ CREATE TABLE `uptime` ( -- ---------------------------- -- Records of uptime -- ---------------------------- - diff --git a/sql/base/characters.sql b/sql/base/characters.sql index c8cbc1b4f..fe6673e78 100644 --- a/sql/base/characters.sql +++ b/sql/base/characters.sql @@ -1,7 +1,7 @@ /* Navicat MySQL Data Transfer -Source Server : WoW +Source Server : Arkania-NG Source Server Version : 50505 Source Host : localhost:3306 Source Database : ng_characters @@ -10,7 +10,7 @@ Target Server Type : MYSQL Target Server Version : 50505 File Encoding : 65001 -Date: 2016-03-15 13:25:41 +Date: 2017-03-20 21:49:24 */ SET FOREIGN_KEY_CHECKS=0; @@ -1150,7 +1150,7 @@ CREATE TABLE `corpse` ( `posZ` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', `mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `phaseMask` smallint(5) unsigned NOT NULL DEFAULT '1', + `phaseIds` text NOT NULL, `displayId` int(10) unsigned NOT NULL DEFAULT '0', `itemCache` text NOT NULL, `bytes1` int(10) unsigned NOT NULL DEFAULT '0', @@ -1720,111 +1720,6 @@ CREATE TABLE `instance_reset` ( -- ---------------------------- -- Records of instance_reset -- ---------------------------- -INSERT INTO `instance_reset` VALUES ('33', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('36', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('249', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('249', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('269', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('409', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('469', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('509', '0', '1458273600'); -INSERT INTO `instance_reset` VALUES ('531', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('532', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('533', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('533', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('534', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('540', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('542', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('543', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('544', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('545', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('546', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('547', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('548', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('550', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('552', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('553', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('554', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('555', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('556', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('557', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('558', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('560', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('564', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('565', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('568', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('574', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('575', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('576', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('578', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('580', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('585', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('595', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('598', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('599', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('600', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('601', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('602', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('603', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('603', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('604', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('608', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('615', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('615', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('616', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('616', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('619', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('624', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('624', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('631', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('631', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('631', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('631', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('632', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('643', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('644', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('645', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('649', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('649', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('649', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('649', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('650', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('657', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('658', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('668', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('669', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('669', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('669', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('669', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('670', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('671', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('671', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('671', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('671', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('720', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('720', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('720', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('720', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('724', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('724', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('724', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('724', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('725', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('754', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('754', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('754', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('754', '3', '1458619200'); -INSERT INTO `instance_reset` VALUES ('755', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('757', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('757', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('859', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('938', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('939', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('940', '1', '1458100800'); -INSERT INTO `instance_reset` VALUES ('967', '0', '1458619200'); -INSERT INTO `instance_reset` VALUES ('967', '1', '1458619200'); -INSERT INTO `instance_reset` VALUES ('967', '2', '1458619200'); -INSERT INTO `instance_reset` VALUES ('967', '3', '1458619200'); -- ---------------------------- -- Table structure for item_instance @@ -2146,3 +2041,12 @@ CREATE TABLE `worldstates` ( -- ---------------------------- -- Records of worldstates -- ---------------------------- +INSERT INTO `worldstates` VALUES ('3781', '600000', null); +INSERT INTO `worldstates` VALUES ('3801', '0', null); +INSERT INTO `worldstates` VALUES ('3802', '0', null); +INSERT INTO `worldstates` VALUES ('20001', '1488171600', null); +INSERT INTO `worldstates` VALUES ('20002', '1488206181', null); +INSERT INTO `worldstates` VALUES ('20003', '1487653200', null); +INSERT INTO `worldstates` VALUES ('20006', '1487653200', null); +INSERT INTO `worldstates` VALUES ('20007', '1488322800', null); +INSERT INTO `worldstates` VALUES ('20050', '1', null);