2020-12-30 14:21:39 -05:00
|
|
|
-- MySQL dump 10.13 Distrib 8.0.22, for Linux (x86_64)
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
|
|
|
|
-- Host: localhost Database: ace_world
|
|
|
|
|
-- ------------------------------------------------------
|
2020-12-30 14:21:39 -05:00
|
|
|
-- Server version 8.0.22
|
2017-04-26 08:05:19 -04:00
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
2017-04-03 20:25:16 -04:00
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
2017-02-03 05:10:13 +13:00
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
2017-04-03 20:25:16 -04:00
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
2017-04-26 08:05:19 -04:00
|
|
|
|
2017-09-02 11:33:49 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Current Database: `ace_world`
|
2017-09-02 11:33:49 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40000 DROP DATABASE IF EXISTS `ace_world`*/;
|
2017-09-02 11:33:49 -04:00
|
|
|
|
2020-12-30 14:21:39 -05:00
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ace_world` /*!40100 DEFAULT CHARACTER SET utf8mb4 */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
2017-09-02 11:33:49 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
USE `ace_world`;
|
2017-09-02 11:33:49 -04:00
|
|
|
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2018-05-24 16:07:00 -04:00
|
|
|
-- Table structure for table `cook_book`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2018-05-24 16:07:00 -04:00
|
|
|
DROP TABLE IF EXISTS `cook_book`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `cook_book` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this cook book instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`source_W_C_I_D` int unsigned NOT NULL COMMENT 'Weenie Class Id of the source object for this recipe',
|
|
|
|
|
`target_W_C_I_D` int unsigned NOT NULL COMMENT 'Weenie Class Id of the target object for this recipe',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
UNIQUE KEY `recipe_source_target_uidx` (`recipe_Id`,`source_W_C_I_D`,`target_W_C_I_D`),
|
2018-05-24 16:07:00 -04:00
|
|
|
KEY `source_idx` (`source_W_C_I_D`),
|
|
|
|
|
KEY `target_idx` (`target_W_C_I_D`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `cookbook_recipe` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Cook Book for Recipes';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `encounter`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `encounter`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `encounter` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Encounter',
|
|
|
|
|
`landblock` int NOT NULL COMMENT 'Landblock for this Encounter',
|
|
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of generator/object to spawn for Encounter',
|
|
|
|
|
`cell_X` int NOT NULL COMMENT 'CellX position of this Encounter',
|
|
|
|
|
`cell_Y` int NOT NULL COMMENT 'CellY position of this Encounter',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
UNIQUE KEY `landblock_cellx_celly_uidx` (`landblock`,`cell_X`,`cell_Y`),
|
|
|
|
|
KEY `landblock_idx` (`landblock`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Encounters';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `event`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `event`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `event` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Event',
|
2018-05-24 16:07:00 -04:00
|
|
|
`name` varchar(255) NOT NULL COMMENT 'Unique Event of Quest',
|
2020-12-30 14:21:39 -05:00
|
|
|
`start_Time` int NOT NULL DEFAULT '-1' COMMENT 'Unixtime of Event Start',
|
|
|
|
|
`end_Time` int NOT NULL DEFAULT '-1' COMMENT 'Unixtime of Event End',
|
|
|
|
|
`state` int NOT NULL COMMENT 'State of Event (GameEventState)',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `name_UNIQUE` (`name`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Events';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `house_portal`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `house_portal`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `house_portal` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this House Portal',
|
|
|
|
|
`house_Id` int unsigned NOT NULL COMMENT 'Unique Id of House',
|
|
|
|
|
`obj_Cell_Id` int unsigned NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
`origin_X` float NOT NULL,
|
|
|
|
|
`origin_Y` float NOT NULL,
|
|
|
|
|
`origin_Z` float NOT NULL,
|
|
|
|
|
`angles_W` float NOT NULL,
|
|
|
|
|
`angles_X` float NOT NULL,
|
|
|
|
|
`angles_Y` float NOT NULL,
|
|
|
|
|
`angles_Z` float NOT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `house_Id_UNIQUE` (`house_Id`,`obj_Cell_Id`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='House Portal Destinations';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-08-04 14:24:52 -05:00
|
|
|
-- Table structure for table `landblock_instance`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2018-08-04 14:24:52 -05:00
|
|
|
DROP TABLE IF EXISTS `landblock_instance`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-08-04 14:24:52 -05:00
|
|
|
CREATE TABLE `landblock_instance` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`guid` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Instance',
|
|
|
|
|
`landblock` int GENERATED ALWAYS AS ((`obj_Cell_Id` >> 16)) VIRTUAL,
|
|
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of object to spawn',
|
|
|
|
|
`obj_Cell_Id` int unsigned NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
`origin_X` float NOT NULL,
|
|
|
|
|
`origin_Y` float NOT NULL,
|
|
|
|
|
`origin_Z` float NOT NULL,
|
|
|
|
|
`angles_W` float NOT NULL,
|
|
|
|
|
`angles_X` float NOT NULL,
|
|
|
|
|
`angles_Y` float NOT NULL,
|
|
|
|
|
`angles_Z` float NOT NULL,
|
2018-08-05 07:30:14 -05:00
|
|
|
`is_Link_Child` bit(1) NOT NULL COMMENT 'Is this a child link for any other instances?',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-08-05 07:30:14 -05:00
|
|
|
PRIMARY KEY (`guid`),
|
2019-04-29 04:56:33 -05:00
|
|
|
KEY `instance_landblock_idx` (`landblock`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Weenie Instances for each Landblock';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2018-08-05 07:30:14 -05:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `landblock_instance_link`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `landblock_instance_link`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-08-05 07:30:14 -05:00
|
|
|
CREATE TABLE `landblock_instance_link` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Instance Link',
|
|
|
|
|
`parent_GUID` int unsigned NOT NULL COMMENT 'GUID of parent instance',
|
|
|
|
|
`child_GUID` int unsigned NOT NULL COMMENT 'GUID of child instance',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-08-05 07:30:14 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2019-04-29 04:56:33 -05:00
|
|
|
UNIQUE KEY `parent_child_uidx` (`parent_GUID`,`child_GUID`),
|
|
|
|
|
KEY `child_idx` (`child_GUID`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `instance_link` FOREIGN KEY (`parent_GUID`) REFERENCES `landblock_instance` (`guid`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Weenie Instance Links';
|
2018-08-05 07:30:14 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `points_of_interest`
|
2017-07-07 10:39:46 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `points_of_interest`;
|
2017-07-07 10:39:46 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `points_of_interest` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this POI',
|
2018-02-14 13:41:17 -05:00
|
|
|
`name` text NOT NULL COMMENT 'Name for POI',
|
2020-12-30 14:21:39 -05:00
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of portal weenie to reference for destination of POI',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2019-04-29 04:56:33 -05:00
|
|
|
UNIQUE KEY `name_UNIQUE` (`name`(100))
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Points of Interest for @telepoi command';
|
2017-07-07 10:39:46 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2018-05-24 16:07:00 -04:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `quest`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `quest`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `quest` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Quest',
|
2018-05-24 16:07:00 -04:00
|
|
|
`name` varchar(255) NOT NULL COMMENT 'Unique Name of Quest',
|
2020-12-30 14:21:39 -05:00
|
|
|
`min_Delta` int unsigned NOT NULL COMMENT 'Minimum time between Quest completions',
|
|
|
|
|
`max_Solves` int NOT NULL COMMENT 'Maximum number of times Quest can be completed',
|
2018-08-01 22:58:19 -05:00
|
|
|
`message` text COMMENT 'Quest solved text - unused?',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `name_UNIQUE` (`name`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Quests';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL COMMENT 'Unique Id of this Recipe',
|
|
|
|
|
`unknown_1` int unsigned NOT NULL,
|
|
|
|
|
`skill` int unsigned NOT NULL,
|
|
|
|
|
`difficulty` int unsigned NOT NULL,
|
|
|
|
|
`salvage_Type` int unsigned NOT NULL,
|
|
|
|
|
`success_W_C_I_D` int unsigned NOT NULL COMMENT 'Weenie Class Id of object to create upon successful application of this recipe',
|
|
|
|
|
`success_Amount` int unsigned NOT NULL COMMENT 'Amount of objects to create upon successful application of this recipe',
|
2018-08-01 19:09:56 -05:00
|
|
|
`success_Message` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`fail_W_C_I_D` int unsigned NOT NULL COMMENT 'Weenie Class Id of object to create upon failing application of this recipe',
|
|
|
|
|
`fail_Amount` int unsigned NOT NULL COMMENT 'Amount of objects to create upon failing application of this recipe',
|
2018-08-01 19:09:56 -05:00
|
|
|
`fail_Message` text,
|
2018-08-05 12:24:43 -05:00
|
|
|
`success_Destroy_Source_Chance` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`success_Destroy_Source_Amount` int unsigned NOT NULL,
|
2018-08-01 22:09:09 -05:00
|
|
|
`success_Destroy_Source_Message` text,
|
2018-08-05 12:24:43 -05:00
|
|
|
`success_Destroy_Target_Chance` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`success_Destroy_Target_Amount` int unsigned NOT NULL,
|
2018-08-01 22:09:09 -05:00
|
|
|
`success_Destroy_Target_Message` text,
|
2018-08-05 12:24:43 -05:00
|
|
|
`fail_Destroy_Source_Chance` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`fail_Destroy_Source_Amount` int unsigned NOT NULL,
|
2018-08-01 22:09:09 -05:00
|
|
|
`fail_Destroy_Source_Message` text,
|
2018-08-05 12:24:43 -05:00
|
|
|
`fail_Destroy_Target_Chance` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`fail_Destroy_Target_Amount` int unsigned NOT NULL,
|
2018-08-01 22:09:09 -05:00
|
|
|
`fail_Destroy_Target_Message` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`data_Id` int unsigned NOT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-08-01 21:35:18 -05:00
|
|
|
PRIMARY KEY (`id`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipes';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mod`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mod`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mod` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
2018-08-01 22:40:36 -05:00
|
|
|
`executes_On_Success` bit(1) NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`health` int NOT NULL,
|
|
|
|
|
`stamina` int NOT NULL,
|
|
|
|
|
`mana` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
`unknown_7` bit(1) NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`data_Id` int NOT NULL,
|
|
|
|
|
`unknown_9` int NOT NULL,
|
|
|
|
|
`instance_Id` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_Mod` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_Mod` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_bool`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_bool`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_bool` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
`value` bit(1) NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_bool` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_bool` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Bool Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_d_i_d`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_d_i_d`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_d_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int unsigned NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_did` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_did` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe DID Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_float`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_float`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_float` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-08-05 12:24:43 -05:00
|
|
|
`value` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_float` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_float` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Float Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_i_i_d`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_i_i_d`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_i_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int unsigned NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_iid` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_iid` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe IID Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_int`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_int`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_int` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_int` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_int` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Int Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_mods_string`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_mods_string`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_mods_string` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Mod instance',
|
|
|
|
|
`recipe_Mod_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe Mod',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`value` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
|
|
|
|
`source` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_mod_string` (`recipe_Mod_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_mod_string` FOREIGN KEY (`recipe_Mod_Id`) REFERENCES `recipe_mod` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe String Mods';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_bool`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_bool`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_bool` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-05-24 16:07:00 -04:00
|
|
|
`value` bit(1) NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_bool` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_bool` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Bool Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_d_i_d`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_d_i_d`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_d_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int unsigned NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_did` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_did` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe DID Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_float`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_float`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_float` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-08-05 12:24:43 -05:00
|
|
|
`value` double NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_float` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_float` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Float Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_i_i_d`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_i_i_d`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_i_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int unsigned NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_iid` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_iid` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe IID Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_int`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_int`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_int` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
|
|
|
|
`value` int NOT NULL,
|
|
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_int` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_int` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe Int Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `recipe_requirements_string`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `recipe_requirements_string`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `recipe_requirements_string` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Recipe Requirement instance',
|
|
|
|
|
`recipe_Id` int unsigned NOT NULL COMMENT 'Unique Id of Recipe',
|
|
|
|
|
`index` tinyint NOT NULL,
|
|
|
|
|
`stat` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`value` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`enum` int NOT NULL,
|
2018-08-01 19:09:56 -05:00
|
|
|
`message` text,
|
2018-05-24 16:07:00 -04:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `recipeId_req_string` (`recipe_Id`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `recipeId_req_string` FOREIGN KEY (`recipe_Id`) REFERENCES `recipe` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Recipe String Requirments';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `spell`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `spell`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-05-24 16:07:00 -04:00
|
|
|
CREATE TABLE `spell` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL COMMENT 'Unique Id of this Spell',
|
2018-05-24 16:07:00 -04:00
|
|
|
`name` text NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`stat_Mod_Type` int unsigned DEFAULT NULL,
|
|
|
|
|
`stat_Mod_Key` int unsigned DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`stat_Mod_Val` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`e_Type` int unsigned DEFAULT NULL,
|
|
|
|
|
`base_Intensity` int DEFAULT NULL,
|
|
|
|
|
`variance` int DEFAULT NULL,
|
|
|
|
|
`wcid` int unsigned DEFAULT NULL,
|
|
|
|
|
`num_Projectiles` int DEFAULT NULL,
|
|
|
|
|
`num_Projectiles_Variance` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`spread_Angle` float DEFAULT NULL,
|
|
|
|
|
`vertical_Angle` float DEFAULT NULL,
|
|
|
|
|
`default_Launch_Angle` float DEFAULT NULL,
|
|
|
|
|
`non_Tracking` bit(1) DEFAULT NULL,
|
|
|
|
|
`create_Offset_Origin_X` float DEFAULT NULL,
|
|
|
|
|
`create_Offset_Origin_Y` float DEFAULT NULL,
|
|
|
|
|
`create_Offset_Origin_Z` float DEFAULT NULL,
|
|
|
|
|
`padding_Origin_X` float DEFAULT NULL,
|
|
|
|
|
`padding_Origin_Y` float DEFAULT NULL,
|
|
|
|
|
`padding_Origin_Z` float DEFAULT NULL,
|
|
|
|
|
`dims_Origin_X` float DEFAULT NULL,
|
|
|
|
|
`dims_Origin_Y` float DEFAULT NULL,
|
|
|
|
|
`dims_Origin_Z` float DEFAULT NULL,
|
|
|
|
|
`peturbation_Origin_X` float DEFAULT NULL,
|
|
|
|
|
`peturbation_Origin_Y` float DEFAULT NULL,
|
|
|
|
|
`peturbation_Origin_Z` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`imbued_Effect` int unsigned DEFAULT NULL,
|
|
|
|
|
`slayer_Creature_Type` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`slayer_Damage_Bonus` float DEFAULT NULL,
|
|
|
|
|
`crit_Freq` double DEFAULT NULL,
|
|
|
|
|
`crit_Multiplier` double DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`ignore_Magic_Resist` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`elemental_Modifier` double DEFAULT NULL,
|
|
|
|
|
`drain_Percentage` float DEFAULT NULL,
|
|
|
|
|
`damage_Ratio` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`damage_Type` int DEFAULT NULL,
|
|
|
|
|
`boost` int DEFAULT NULL,
|
|
|
|
|
`boost_Variance` int DEFAULT NULL,
|
|
|
|
|
`source` int DEFAULT NULL,
|
|
|
|
|
`destination` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`proportion` float DEFAULT NULL,
|
|
|
|
|
`loss_Percent` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`source_Loss` int DEFAULT NULL,
|
|
|
|
|
`transfer_Cap` int DEFAULT NULL,
|
|
|
|
|
`max_Boost_Allowed` int DEFAULT NULL,
|
|
|
|
|
`transfer_Bitfield` int unsigned DEFAULT NULL,
|
|
|
|
|
`index` int DEFAULT NULL,
|
|
|
|
|
`link` int DEFAULT NULL,
|
|
|
|
|
`position_Obj_Cell_ID` int unsigned DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`position_Origin_X` float DEFAULT NULL,
|
|
|
|
|
`position_Origin_Y` float DEFAULT NULL,
|
|
|
|
|
`position_Origin_Z` float DEFAULT NULL,
|
|
|
|
|
`position_Angles_W` float DEFAULT NULL,
|
|
|
|
|
`position_Angles_X` float DEFAULT NULL,
|
|
|
|
|
`position_Angles_Y` float DEFAULT NULL,
|
|
|
|
|
`position_Angles_Z` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`min_Power` int DEFAULT NULL,
|
|
|
|
|
`max_Power` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`power_Variance` float DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`dispel_School` int DEFAULT NULL,
|
|
|
|
|
`align` int DEFAULT NULL,
|
|
|
|
|
`number` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`number_Variance` float DEFAULT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`dot_Duration` double DEFAULT NULL,
|
|
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
|
|
PRIMARY KEY (`id`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Spell Table Extended Data';
|
2018-05-24 16:07:00 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2018-07-22 15:14:59 -04:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_death`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_death`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-07-22 15:14:59 -04:00
|
|
|
CREATE TABLE `treasure_death` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Treasure',
|
|
|
|
|
`treasure_Type` int unsigned NOT NULL COMMENT 'Type of Treasure for this instance',
|
|
|
|
|
`tier` int NOT NULL,
|
2018-08-06 00:16:28 -05:00
|
|
|
`loot_Quality_Mod` float NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`unknown_Chances` int NOT NULL,
|
|
|
|
|
`item_Chance` int NOT NULL,
|
|
|
|
|
`item_Min_Amount` int NOT NULL,
|
|
|
|
|
`item_Max_Amount` int NOT NULL,
|
|
|
|
|
`item_Treasure_Type_Selection_Chances` int NOT NULL,
|
|
|
|
|
`magic_Item_Chance` int NOT NULL,
|
|
|
|
|
`magic_Item_Min_Amount` int NOT NULL,
|
|
|
|
|
`magic_Item_Max_Amount` int NOT NULL,
|
|
|
|
|
`magic_Item_Treasure_Type_Selection_Chances` int NOT NULL,
|
|
|
|
|
`mundane_Item_Chance` int NOT NULL,
|
|
|
|
|
`mundane_Item_Min_Amount` int NOT NULL,
|
|
|
|
|
`mundane_Item_Max_Amount` int NOT NULL,
|
|
|
|
|
`mundane_Item_Type_Selection_Chances` int NOT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-07-22 15:14:59 -04:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
KEY `treasureType_idx` (`treasure_Type`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Death Treasure';
|
2018-07-22 15:14:59 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2020-09-10 08:03:01 -04:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_gem_count`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_gem_count`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2020-09-10 08:03:01 -04:00
|
|
|
CREATE TABLE `treasure_gem_count` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`gem_Code` tinyint unsigned NOT NULL,
|
|
|
|
|
`tier` int NOT NULL,
|
|
|
|
|
`count` int NOT NULL,
|
2020-09-10 08:03:01 -04:00
|
|
|
`chance` float NOT NULL,
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf16;
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2019-04-29 04:56:33 -05:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_material_base`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_material_base`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2019-04-29 04:56:33 -05:00
|
|
|
CREATE TABLE `treasure_material_base` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`material_Code` int unsigned NOT NULL COMMENT 'Derived from PropertyInt.TsysMutationData',
|
|
|
|
|
`tier` int unsigned NOT NULL COMMENT 'Loot Tier',
|
2019-04-29 04:56:33 -05:00
|
|
|
`probability` float NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`material_Id` int unsigned NOT NULL COMMENT 'MaterialType',
|
2019-04-29 04:56:33 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
KEY `tier` (`tier`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
2019-04-29 04:56:33 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_material_color`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_material_color`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2019-04-29 04:56:33 -05:00
|
|
|
CREATE TABLE `treasure_material_color` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`material_Id` int unsigned NOT NULL,
|
|
|
|
|
`color_Code` int unsigned NOT NULL,
|
|
|
|
|
`palette_Template` int unsigned NOT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`probability` float NOT NULL,
|
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
KEY `material_Id` (`material_Id`),
|
|
|
|
|
KEY `tsys_Mutation_Color` (`color_Code`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
2019-04-29 04:56:33 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_material_groups`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_material_groups`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2019-04-29 04:56:33 -05:00
|
|
|
CREATE TABLE `treasure_material_groups` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`material_Group` int unsigned NOT NULL COMMENT 'MaterialType Group',
|
|
|
|
|
`tier` int unsigned NOT NULL COMMENT 'Loot Tier',
|
2019-04-29 04:56:33 -05:00
|
|
|
`probability` float NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`material_Id` int unsigned NOT NULL COMMENT 'MaterialType',
|
2019-04-29 04:56:33 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
KEY `tier` (`tier`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
2019-04-29 04:56:33 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2018-07-22 15:14:59 -04:00
|
|
|
--
|
|
|
|
|
-- Table structure for table `treasure_wielded`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `treasure_wielded`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-07-22 15:14:59 -04:00
|
|
|
CREATE TABLE `treasure_wielded` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Treasure',
|
|
|
|
|
`treasure_Type` int unsigned NOT NULL COMMENT 'Type of Treasure for this instance',
|
|
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of Treasure to Generate',
|
|
|
|
|
`palette_Id` int unsigned NOT NULL COMMENT 'Palette Color of Object Generated',
|
|
|
|
|
`unknown_1` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
2018-07-22 15:14:59 -04:00
|
|
|
`shade` float NOT NULL COMMENT 'Shade of Object generated''s Palette',
|
2020-12-30 14:21:39 -05:00
|
|
|
`stack_Size` int NOT NULL DEFAULT '1' COMMENT 'Stack Size of object to create (-1 = infinite)',
|
2018-08-06 00:16:28 -05:00
|
|
|
`stack_Size_Variance` float NOT NULL,
|
2018-07-22 15:14:59 -04:00
|
|
|
`probability` float NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`unknown_3` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
|
|
|
|
`unknown_4` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
|
|
|
|
`unknown_5` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
2018-08-06 00:16:28 -05:00
|
|
|
`set_Start` bit(1) NOT NULL,
|
|
|
|
|
`has_Sub_Set` bit(1) NOT NULL,
|
|
|
|
|
`continues_Previous_Set` bit(1) NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`unknown_9` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
|
|
|
|
`unknown_10` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
|
|
|
|
`unknown_11` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
|
|
|
|
`unknown_12` int unsigned NOT NULL COMMENT 'Always 0 in cache.bin',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-07-22 15:14:59 -04:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
KEY `treasureType_idx` (`treasure_Type`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Wielded Treasure';
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `version`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `version`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
|
|
CREATE TABLE `version` (
|
|
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`base_Version` varchar(45) DEFAULT NULL,
|
|
|
|
|
`patch_Version` varchar(45) DEFAULT NULL,
|
|
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Version Information';
|
2018-07-22 15:14:59 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie`;
|
2017-09-02 11:33:49 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`class_Id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Weenie Class Id (wcid) / (WCID) / (weenieClassId)',
|
2018-02-14 13:41:17 -05:00
|
|
|
`class_Name` varchar(100) NOT NULL COMMENT 'Weenie Class Name (W_????_CLASS)',
|
2020-12-30 14:21:39 -05:00
|
|
|
`type` int NOT NULL DEFAULT '0' COMMENT 'WeenieType',
|
2019-04-29 04:56:33 -05:00
|
|
|
`last_Modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`class_Id`),
|
|
|
|
|
UNIQUE KEY `className_UNIQUE` (`class_Name`)
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Weenies';
|
2017-09-02 11:33:49 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_anim_part`
|
2017-09-02 11:33:49 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_anim_part`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_anim_part` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`index` tinyint unsigned NOT NULL,
|
|
|
|
|
`animation_Id` int unsigned NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `object_Id_index_uidx` (`object_Id`,`index`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_animpart` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Animation Part Changes (from PCAPs) of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_attribute`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_attribute`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_attribute` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyAttribute.????)',
|
|
|
|
|
`init_Level` int unsigned NOT NULL COMMENT 'innate points',
|
|
|
|
|
`level_From_C_P` int unsigned NOT NULL COMMENT 'points raised',
|
|
|
|
|
`c_P_Spent` int unsigned NOT NULL COMMENT 'XP spent on this attribute',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_attribute_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_attribute` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Attribute Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-04 14:10:12 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_attribute_2nd`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_attribute_2nd`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_attribute_2nd` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyAttribute2nd.????)',
|
|
|
|
|
`init_Level` int unsigned NOT NULL COMMENT 'innate points',
|
|
|
|
|
`level_From_C_P` int unsigned NOT NULL COMMENT 'points raised',
|
|
|
|
|
`c_P_Spent` int unsigned NOT NULL COMMENT 'XP spent on this attribute',
|
|
|
|
|
`current_Level` int unsigned NOT NULL COMMENT 'current value of the vital',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_attribute2nd_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_attribute2nd` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Attribute2nd (Vital) Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_body_part`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_body_part`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_body_part` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`key` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertySkill.????)',
|
|
|
|
|
`d_Type` int NOT NULL,
|
|
|
|
|
`d_Val` int NOT NULL,
|
2018-08-05 12:24:43 -05:00
|
|
|
`d_Var` float NOT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`base_Armor` int NOT NULL,
|
|
|
|
|
`armor_Vs_Slash` int NOT NULL,
|
|
|
|
|
`armor_Vs_Pierce` int NOT NULL,
|
|
|
|
|
`armor_Vs_Bludgeon` int NOT NULL,
|
|
|
|
|
`armor_Vs_Cold` int NOT NULL,
|
|
|
|
|
`armor_Vs_Fire` int NOT NULL,
|
|
|
|
|
`armor_Vs_Acid` int NOT NULL,
|
|
|
|
|
`armor_Vs_Electric` int NOT NULL,
|
|
|
|
|
`armor_Vs_Nether` int NOT NULL,
|
|
|
|
|
`b_h` int NOT NULL,
|
2018-08-05 12:24:43 -05:00
|
|
|
`h_l_f` float NOT NULL,
|
|
|
|
|
`m_l_f` float NOT NULL,
|
|
|
|
|
`l_l_f` float NOT NULL,
|
|
|
|
|
`h_r_f` float NOT NULL,
|
|
|
|
|
`m_r_f` float NOT NULL,
|
|
|
|
|
`l_r_f` float NOT NULL,
|
|
|
|
|
`h_l_b` float NOT NULL,
|
|
|
|
|
`m_l_b` float NOT NULL,
|
|
|
|
|
`l_l_b` float NOT NULL,
|
|
|
|
|
`h_r_b` float NOT NULL,
|
|
|
|
|
`m_r_b` float NOT NULL,
|
|
|
|
|
`l_r_b` float NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_bodypart_type_uidx` (`object_Id`,`key`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_bodypart` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Body Part Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_book`
|
2017-09-02 11:33:49 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_book`;
|
2017-09-02 11:33:49 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_book` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`max_Num_Pages` int NOT NULL DEFAULT '1' COMMENT 'Maximum number of pages per book',
|
|
|
|
|
`max_Num_Chars_Per_Page` int NOT NULL DEFAULT '1000' COMMENT 'Maximum number of characters per page',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_bookdata_uidx` (`object_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_bookdata` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Book Properties of Weenies';
|
2017-09-02 11:33:49 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_book_page_data`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_book_page_data`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_book_page_data` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the Book object this page belongs to',
|
|
|
|
|
`page_Id` int unsigned NOT NULL COMMENT 'Id of the page number for this page',
|
|
|
|
|
`author_Id` int unsigned NOT NULL COMMENT 'Id of the Author of this page',
|
2018-02-14 13:41:17 -05:00
|
|
|
`author_Name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Character Name of the Author of this page',
|
|
|
|
|
`author_Account` varchar(255) NOT NULL DEFAULT 'prewritten' COMMENT 'Account Name of the Author of this page',
|
|
|
|
|
`ignore_Author` bit(1) NOT NULL COMMENT 'if this is true, any character in the world can change the page',
|
|
|
|
|
`page_Text` text NOT NULL COMMENT 'Text of the Page',
|
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_pageid_uidx` (`object_Id`,`page_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_pagedata` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Page Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_bool`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_bool`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_bool` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyBool.????)',
|
2018-02-14 13:41:17 -05:00
|
|
|
`value` bit(1) NOT NULL COMMENT 'Value of this Property',
|
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_bool_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_bool` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Bool Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_create_list`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_create_list`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_create_list` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`destination_Type` tinyint NOT NULL COMMENT 'Type of Destination the value applies to (DestinationType.????)',
|
|
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of object to Create',
|
|
|
|
|
`stack_Size` int NOT NULL DEFAULT '1' COMMENT 'Stack Size of object to create (-1 = infinite)',
|
|
|
|
|
`palette` tinyint NOT NULL COMMENT 'Palette Color of Object',
|
2018-08-05 12:24:43 -05:00
|
|
|
`shade` float NOT NULL COMMENT 'Shade of Object''s Palette',
|
2018-02-14 13:41:17 -05:00
|
|
|
`try_To_Bond` bit(1) NOT NULL COMMENT 'Unused?',
|
|
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `wcid_createlist` (`object_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_createlist` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='CreateList Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_d_i_d`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_d_i_d`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_d_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyDataId.????)',
|
|
|
|
|
`value` int unsigned NOT NULL COMMENT 'Value of this Property',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-06 00:32:56 -05:00
|
|
|
UNIQUE KEY `wcid_did_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_did` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='DataID Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-04 07:41:41 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_emote`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_emote`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_emote` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`category` int unsigned NOT NULL COMMENT 'EmoteCategory',
|
2018-02-14 13:41:17 -05:00
|
|
|
`probability` float NOT NULL DEFAULT '1' COMMENT 'Probability of this EmoteSet being chosen',
|
2020-12-30 14:21:39 -05:00
|
|
|
`weenie_Class_Id` int unsigned DEFAULT NULL,
|
|
|
|
|
`style` int unsigned DEFAULT NULL,
|
|
|
|
|
`substyle` int unsigned DEFAULT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
`quest` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`vendor_Type` int DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`min_Health` float DEFAULT NULL,
|
|
|
|
|
`max_Health` float DEFAULT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `wcid_emote` (`object_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_emote` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Emote Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_emote_action`
|
2017-12-02 00:16:06 -05:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_emote_action`;
|
2017-12-02 00:16:06 -05:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_emote_action` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`emote_Id` int unsigned NOT NULL COMMENT 'Id of the emote this property belongs to',
|
|
|
|
|
`order` int unsigned NOT NULL COMMENT 'Emote Action Sequence Order',
|
|
|
|
|
`type` int unsigned NOT NULL COMMENT 'EmoteType',
|
2018-02-14 13:41:17 -05:00
|
|
|
`delay` float NOT NULL DEFAULT '1' COMMENT 'Time to wait before EmoteAction starts execution',
|
|
|
|
|
`extent` float NOT NULL DEFAULT '1' COMMENT '?',
|
2020-12-30 14:21:39 -05:00
|
|
|
`motion` int DEFAULT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
`message` text,
|
|
|
|
|
`test_String` text,
|
2020-12-30 14:21:39 -05:00
|
|
|
`min` int DEFAULT NULL,
|
|
|
|
|
`max` int DEFAULT NULL,
|
|
|
|
|
`min_64` bigint DEFAULT NULL,
|
|
|
|
|
`max_64` bigint DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`min_Dbl` double DEFAULT NULL,
|
|
|
|
|
`max_Dbl` double DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`stat` int DEFAULT NULL,
|
2019-04-29 04:56:33 -05:00
|
|
|
`display` bit(1) DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`amount` int DEFAULT NULL,
|
|
|
|
|
`amount_64` bigint DEFAULT NULL,
|
|
|
|
|
`hero_X_P_64` bigint DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`percent` double DEFAULT NULL,
|
2020-12-30 14:21:39 -05:00
|
|
|
`spell_Id` int DEFAULT NULL,
|
|
|
|
|
`wealth_Rating` int DEFAULT NULL,
|
|
|
|
|
`treasure_Class` int DEFAULT NULL,
|
|
|
|
|
`treasure_Type` int DEFAULT NULL,
|
|
|
|
|
`p_Script` int DEFAULT NULL,
|
|
|
|
|
`sound` int DEFAULT NULL,
|
|
|
|
|
`destination_Type` tinyint DEFAULT NULL COMMENT 'Type of Destination the value applies to (DestinationType.????)',
|
|
|
|
|
`weenie_Class_Id` int unsigned DEFAULT NULL COMMENT 'Weenie Class Id of object to Create',
|
|
|
|
|
`stack_Size` int DEFAULT NULL COMMENT 'Stack Size of object to create (-1 = infinite)',
|
|
|
|
|
`palette` int DEFAULT NULL COMMENT 'Palette Color of Object',
|
2018-08-11 16:12:08 -04:00
|
|
|
`shade` float DEFAULT NULL COMMENT 'Shade of Object''s Palette',
|
|
|
|
|
`try_To_Bond` bit(1) DEFAULT NULL COMMENT 'Unused?',
|
2020-12-30 14:21:39 -05:00
|
|
|
`obj_Cell_Id` int unsigned DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`origin_X` float DEFAULT NULL,
|
|
|
|
|
`origin_Y` float DEFAULT NULL,
|
|
|
|
|
`origin_Z` float DEFAULT NULL,
|
|
|
|
|
`angles_W` float DEFAULT NULL,
|
|
|
|
|
`angles_X` float DEFAULT NULL,
|
|
|
|
|
`angles_Y` float DEFAULT NULL,
|
|
|
|
|
`angles_Z` float DEFAULT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-06 00:32:56 -05:00
|
|
|
UNIQUE KEY `emoteid_order_uidx` (`emote_Id`,`order`),
|
2018-09-29 00:28:56 -04:00
|
|
|
CONSTRAINT `emoteid_emoteaction` FOREIGN KEY (`emote_Id`) REFERENCES `weenie_properties_emote` (`id`) ON DELETE CASCADE
|
2020-12-30 14:21:39 -05:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='EmoteAction Properties of Weenies';
|
2017-12-02 00:16:06 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_event_filter`
|
2017-12-02 00:16:06 -05:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_event_filter`;
|
Object overhaul (#384)
* Object overhaul - clean up enums (#337)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Review & Comment only || Object overhaul - POC (#339)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Object Overhaul - ready for review and merge. Still Work in Progress but a good spot. (#341)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Continued work. Please review as these are a LOT of manual changes. Compiles and you can log in.
* Continued work. I have all of the items pulling from properties now. Still work to make baseAceObject and AceObject on thing / finish work around workmanship and actually kick the tires and start pulling data. Sorry this is taking so long.
* Had time for a few more and cleaned up whitespace.
* Good point to check in. All of the property tables are hooked up and loading data. I created the workmanship hackery we discussed. As always comments and suggestions much appreciated.
* One quick shot to fix appveyor before bed.
* * Continued work on Overhaul
* Created mapping cross reference file to faciltate docuatation and cleaning up names - work in progress https://goo.gl/eaaNQb
* Created new database schema for world_object - modified mysqlinstall.bat to refect new baseline
* created script to ETL old schema to new schema. I have not included it as we will be refactoring the initial data load to use the new
* schema according to Ripley. I have the script tested and posted on my dropbox if anyone wants it. I also have a complete data dump that
* zips down to a manageable size.
* BaseAceObject is now using the new schema
* I re-hooked up telepoi to use the new schema. Still to do, convert to constructed statement
* Next steps - refactor AceObject and make sure world objects load again.
* Once that is complete - start same process using clone of this schema for character as discussed.
* renabled more data loading.
* Continued work on hooking data back up. Working on moveto debug command - this creates a world object. Not quite there yet.
* WIP
* Making progress. Test object able to be spwaned from new schema. Still to do, renable constructed statements, clean up and re-enable the other constructed statements.
* updated worldbase
* * Intital work done for new schema. Rebased and removed update sql files. (#353)
* Tested and the auto setting of Physics and Weenie Header Flags looks really solid. Side note, the values we have
* in the database for weenieHeaderFlags and PhysicsDescriptionFlag should probably be dropped we don't read them or use them now.
* Doors, portals NPC's and signs are all back in the world now.
* I would suggest we remearge with the main branch sooner rather than later - we can create another branch to introduce these
* changes into the character side.
* TODO items:
* Creature spawns need to be refactored - I left them commented out. We need to ditch seperate tables that we have now, I think all
* creature can use what we have now, plus maybe two additional world tables. Everything else fits into the current schema.
* Test Ripley data and update ACE_World.
* Refactor portals - I just left the old way in and faked it out with a view.
* Once this looks good and stable and we fix any found bugs - we need to clone this over to the character database and start refactoring
* That will get us to persisted inventory.
* Objects - Game data refactored - issue with character login (#355)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Objects (#357)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Best attempt stabbed (#358)
* wip 1
* wip 2
* wip 3
* wip 3
* i think thats it for now. good luck!
* Read cached characters and launch to char list (#360)
* First corrections and commenting out so the start to command line works
* The basics for launching to character list is working.
* Edit config.json for AppVeyor
* Rework Base SQL scripts. (#361)
Expect broken execution until views are corrected for ace_shard
* Cleaning up error list (#362)
Clearing stylecop issues and warnings in Error List
* ACE Enum adjustments (#363)
* More Enum Adjustments (#364)
* More Enum Adjustments
* Further Enum Refinement
* Changed Enum Value
* More Enum and Object Realignment (#365)
* Adding Enums to better align with AC standards. GroupTypeChat and AccessLevel will be converted to these.
* Object level changes to go with enum resorting
* Extend ORM to allow aggregate functions i.e. MAX(column) and (#366)
* Extend ORM to allow aggregate functions i.e. MAX(column) and implement GetNextCharacterId
* For AppVeyor, thanks @ogmage78 for the sql
* Implements IsCharacterNameAvailable and fixes some errors in the chargen code. (#367)
* Character Loading (#368)
* Cleaned up some whitespace issues. Still understanding the direction.
* WIP added enums for PropertyAttribute
* Wip got a lot of aceCharacter done - working on position - about 1/2 done.
* WIP - Ace Character Loading.
* Intital work done for loading character from ace_shard. Rebased and removed update sql files.
* Tested up to position loading. Made changes to position, but have not loaded the dictionary yet.
* Fixed a few bugs - attribute loading had a few.
* TODO items:
* Finish up loading positions then see what is left.
* Work on saving as OptimShi - has character creation ready to go.
* Fixed for rebase and apveyor
* Hand wrote view per request and removed unneeded position.
* Read character creation values from client_portal.dat (#369)
* Read character creation values from client_portal.dat and assign to appropriate Character Properties
* Added AceCharacter properties for the character appearance data
* More fun in Zombieland - character loading. (#370)
* [Og II]
* Continued work loading character from ace_shard. Rebased
* Added cascade delete to all child tables in ace_shard.
* Completed and tested up to skillz loading. Made a few changes on the db side for key consistancy.
* TODO items:
* Finish up loading - spells, friends, allegiance info, spell comps, spell bars etc. etc....
* Fixed bug in setXXXProperty methods with the add new. Was not setting the AceObjectId
* Fixed auto inc and unsealed position class and made aceObjectId virtual again.
* SaveObject implemented in ShardDatabase.cs (#371)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Cleanup of DbGetListAttribute (#372)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Fix the "You do not own this character" error. (#373)
* Refactoring, save/restore progress on object overhaul (#375)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Minor cleanups.
* Object overhaul (#376)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Properly load Data Id instances. Objects now "spawn" in-world, but don't interact properly.
* Fixes to worldbase vw_teleport_location, player description, character handler. Player now gets proper stats and can teleportpoi. Vital inital values are off.
* Sets options on load. May be bad/broken. Need to seriously think how AceObject/AceCharacter and WorldObject/Player should interact. We don't do that well now.
* Fix to attribute2nd, using uint24 instead of uint16 for value (because monster's health can get huuuge).
* Position refactor into backend object AceObjectPropertiesPosition and front-end object Position.
* * fixed issues with the weenieHeaderFlags setting method, fixed PhysicsDescriptionFlag setting issue as well.
* cleaned up and rebased data scripts for WorldBase and ShardBase
* Found issue in my data that was ETL to our new schema - had two flag fields Reversed - that is fixed but would be no issue
* once we have Ripley's new data export. I have shared out a link to the cleaned up data for use while we finish the new export.
* https://www.dropbox.com/s/pohcruvalt9s38h/WorldandShardData.zip?dl=0
* I put in a nasty hack - hard coded weenieClassId on character save - it was being set to 0 and I could not find it. I marked with with a todo.
* player.cs line 490
* Create Landblock.cs
* Updated changelog
* Fear the Walking Dead - More work on our object overhaul - bug fixes and continued work (#377)
* Testing - fixed a few null reference check errors. Added in OptimShi player apperance code.
* added back code needed for ci
* Sending DataId and InstanceId data to character description.
* Forgot to update change log
* Added Ripley's changes to scheam
* Create ShardBase.sql
* Create WorldBase.sql
* Made requested changes
* Lord BucketHead - temp fix. Added start of equipping items and POC code (#378)
* * Added getting and setting ContainerID and Wielder into AceObject and surfaced in worldObject
* Put in a hack to show how equiped weapons and shields work. We will need to establish a place to store this data.
* I put in big TODO to indentify the hack - it is benign and will not impact anything else other than to demo the placement
* of the spear in Rand the Game Hunters hand in Holtburg.
* Modified SetPhysicsDescriptionFlags so it can be container and weilder aware.
* Worked with OptimShi and we put in a fix for Lord BucketHead.
* Found and fixed one more bug with hair styles
* Update Player.cs
removed comment that was out of date.
* SQL Scripts Re-based (#379)
* SQL Scripts Rebased
* More alignment of base DB script.
* Final SQL script rebase
* Code cleanup and a few bug fixes. (#380)
* Code cleanup and a few bug fixes. Working to trello card. Board updated.
* Added first part of wield item.
* Update to remove class diagram
* Update GameActionGetAndWieldItem.cs
* Update GameEventWieldItem.cs
* Fixed Position Saving. (#381)
* Fixed Position Saving.
* Fixed other minor character initialization bugs
* Cleanup backing AceObject (#382)
* Reworked AceObject/Player/WorldObject to better repsect AceObject as a unit backing.
* Enough cleanup to commit. Fixed vitals (Attribute2nd) in the process.
* Fixed bad rebase errors. Appears to work now. Can confirm vitals (Attribute2nds) initialize well, and can be raised.
* Fixed bug with player creation and made a bunch of comments and notes about things I discovered so they would not get lost. (#383)
2017-06-16 09:54:39 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_event_filter` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`event` int NOT NULL COMMENT 'Id of Event to filter',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_eventfilter_type_uidx` (`object_Id`,`event`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_eventfilter` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='EventFilter Properties of Weenies';
|
Object overhaul (#384)
* Object overhaul - clean up enums (#337)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Review & Comment only || Object overhaul - POC (#339)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Object Overhaul - ready for review and merge. Still Work in Progress but a good spot. (#341)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Continued work. Please review as these are a LOT of manual changes. Compiles and you can log in.
* Continued work. I have all of the items pulling from properties now. Still work to make baseAceObject and AceObject on thing / finish work around workmanship and actually kick the tires and start pulling data. Sorry this is taking so long.
* Had time for a few more and cleaned up whitespace.
* Good point to check in. All of the property tables are hooked up and loading data. I created the workmanship hackery we discussed. As always comments and suggestions much appreciated.
* One quick shot to fix appveyor before bed.
* * Continued work on Overhaul
* Created mapping cross reference file to faciltate docuatation and cleaning up names - work in progress https://goo.gl/eaaNQb
* Created new database schema for world_object - modified mysqlinstall.bat to refect new baseline
* created script to ETL old schema to new schema. I have not included it as we will be refactoring the initial data load to use the new
* schema according to Ripley. I have the script tested and posted on my dropbox if anyone wants it. I also have a complete data dump that
* zips down to a manageable size.
* BaseAceObject is now using the new schema
* I re-hooked up telepoi to use the new schema. Still to do, convert to constructed statement
* Next steps - refactor AceObject and make sure world objects load again.
* Once that is complete - start same process using clone of this schema for character as discussed.
* renabled more data loading.
* Continued work on hooking data back up. Working on moveto debug command - this creates a world object. Not quite there yet.
* WIP
* Making progress. Test object able to be spwaned from new schema. Still to do, renable constructed statements, clean up and re-enable the other constructed statements.
* updated worldbase
* * Intital work done for new schema. Rebased and removed update sql files. (#353)
* Tested and the auto setting of Physics and Weenie Header Flags looks really solid. Side note, the values we have
* in the database for weenieHeaderFlags and PhysicsDescriptionFlag should probably be dropped we don't read them or use them now.
* Doors, portals NPC's and signs are all back in the world now.
* I would suggest we remearge with the main branch sooner rather than later - we can create another branch to introduce these
* changes into the character side.
* TODO items:
* Creature spawns need to be refactored - I left them commented out. We need to ditch seperate tables that we have now, I think all
* creature can use what we have now, plus maybe two additional world tables. Everything else fits into the current schema.
* Test Ripley data and update ACE_World.
* Refactor portals - I just left the old way in and faked it out with a view.
* Once this looks good and stable and we fix any found bugs - we need to clone this over to the character database and start refactoring
* That will get us to persisted inventory.
* Objects - Game data refactored - issue with character login (#355)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Objects (#357)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Best attempt stabbed (#358)
* wip 1
* wip 2
* wip 3
* wip 3
* i think thats it for now. good luck!
* Read cached characters and launch to char list (#360)
* First corrections and commenting out so the start to command line works
* The basics for launching to character list is working.
* Edit config.json for AppVeyor
* Rework Base SQL scripts. (#361)
Expect broken execution until views are corrected for ace_shard
* Cleaning up error list (#362)
Clearing stylecop issues and warnings in Error List
* ACE Enum adjustments (#363)
* More Enum Adjustments (#364)
* More Enum Adjustments
* Further Enum Refinement
* Changed Enum Value
* More Enum and Object Realignment (#365)
* Adding Enums to better align with AC standards. GroupTypeChat and AccessLevel will be converted to these.
* Object level changes to go with enum resorting
* Extend ORM to allow aggregate functions i.e. MAX(column) and (#366)
* Extend ORM to allow aggregate functions i.e. MAX(column) and implement GetNextCharacterId
* For AppVeyor, thanks @ogmage78 for the sql
* Implements IsCharacterNameAvailable and fixes some errors in the chargen code. (#367)
* Character Loading (#368)
* Cleaned up some whitespace issues. Still understanding the direction.
* WIP added enums for PropertyAttribute
* Wip got a lot of aceCharacter done - working on position - about 1/2 done.
* WIP - Ace Character Loading.
* Intital work done for loading character from ace_shard. Rebased and removed update sql files.
* Tested up to position loading. Made changes to position, but have not loaded the dictionary yet.
* Fixed a few bugs - attribute loading had a few.
* TODO items:
* Finish up loading positions then see what is left.
* Work on saving as OptimShi - has character creation ready to go.
* Fixed for rebase and apveyor
* Hand wrote view per request and removed unneeded position.
* Read character creation values from client_portal.dat (#369)
* Read character creation values from client_portal.dat and assign to appropriate Character Properties
* Added AceCharacter properties for the character appearance data
* More fun in Zombieland - character loading. (#370)
* [Og II]
* Continued work loading character from ace_shard. Rebased
* Added cascade delete to all child tables in ace_shard.
* Completed and tested up to skillz loading. Made a few changes on the db side for key consistancy.
* TODO items:
* Finish up loading - spells, friends, allegiance info, spell comps, spell bars etc. etc....
* Fixed bug in setXXXProperty methods with the add new. Was not setting the AceObjectId
* Fixed auto inc and unsealed position class and made aceObjectId virtual again.
* SaveObject implemented in ShardDatabase.cs (#371)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Cleanup of DbGetListAttribute (#372)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Fix the "You do not own this character" error. (#373)
* Refactoring, save/restore progress on object overhaul (#375)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Minor cleanups.
* Object overhaul (#376)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Properly load Data Id instances. Objects now "spawn" in-world, but don't interact properly.
* Fixes to worldbase vw_teleport_location, player description, character handler. Player now gets proper stats and can teleportpoi. Vital inital values are off.
* Sets options on load. May be bad/broken. Need to seriously think how AceObject/AceCharacter and WorldObject/Player should interact. We don't do that well now.
* Fix to attribute2nd, using uint24 instead of uint16 for value (because monster's health can get huuuge).
* Position refactor into backend object AceObjectPropertiesPosition and front-end object Position.
* * fixed issues with the weenieHeaderFlags setting method, fixed PhysicsDescriptionFlag setting issue as well.
* cleaned up and rebased data scripts for WorldBase and ShardBase
* Found issue in my data that was ETL to our new schema - had two flag fields Reversed - that is fixed but would be no issue
* once we have Ripley's new data export. I have shared out a link to the cleaned up data for use while we finish the new export.
* https://www.dropbox.com/s/pohcruvalt9s38h/WorldandShardData.zip?dl=0
* I put in a nasty hack - hard coded weenieClassId on character save - it was being set to 0 and I could not find it. I marked with with a todo.
* player.cs line 490
* Create Landblock.cs
* Updated changelog
* Fear the Walking Dead - More work on our object overhaul - bug fixes and continued work (#377)
* Testing - fixed a few null reference check errors. Added in OptimShi player apperance code.
* added back code needed for ci
* Sending DataId and InstanceId data to character description.
* Forgot to update change log
* Added Ripley's changes to scheam
* Create ShardBase.sql
* Create WorldBase.sql
* Made requested changes
* Lord BucketHead - temp fix. Added start of equipping items and POC code (#378)
* * Added getting and setting ContainerID and Wielder into AceObject and surfaced in worldObject
* Put in a hack to show how equiped weapons and shields work. We will need to establish a place to store this data.
* I put in big TODO to indentify the hack - it is benign and will not impact anything else other than to demo the placement
* of the spear in Rand the Game Hunters hand in Holtburg.
* Modified SetPhysicsDescriptionFlags so it can be container and weilder aware.
* Worked with OptimShi and we put in a fix for Lord BucketHead.
* Found and fixed one more bug with hair styles
* Update Player.cs
removed comment that was out of date.
* SQL Scripts Re-based (#379)
* SQL Scripts Rebased
* More alignment of base DB script.
* Final SQL script rebase
* Code cleanup and a few bug fixes. (#380)
* Code cleanup and a few bug fixes. Working to trello card. Board updated.
* Added first part of wield item.
* Update to remove class diagram
* Update GameActionGetAndWieldItem.cs
* Update GameEventWieldItem.cs
* Fixed Position Saving. (#381)
* Fixed Position Saving.
* Fixed other minor character initialization bugs
* Cleanup backing AceObject (#382)
* Reworked AceObject/Player/WorldObject to better repsect AceObject as a unit backing.
* Enough cleanup to commit. Fixed vitals (Attribute2nd) in the process.
* Fixed bad rebase errors. Appears to work now. Can confirm vitals (Attribute2nds) initialize well, and can be raised.
* Fixed bug with player creation and made a bunch of comments and notes about things I discovered so they would not get lost. (#383)
2017-06-16 09:54:39 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-26 08:05:19 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_float`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-02-03 05:10:13 +13:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_float`;
|
Object overhaul (#384)
* Object overhaul - clean up enums (#337)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Review & Comment only || Object overhaul - POC (#339)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Object Overhaul - ready for review and merge. Still Work in Progress but a good spot. (#341)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Continued work. Please review as these are a LOT of manual changes. Compiles and you can log in.
* Continued work. I have all of the items pulling from properties now. Still work to make baseAceObject and AceObject on thing / finish work around workmanship and actually kick the tires and start pulling data. Sorry this is taking so long.
* Had time for a few more and cleaned up whitespace.
* Good point to check in. All of the property tables are hooked up and loading data. I created the workmanship hackery we discussed. As always comments and suggestions much appreciated.
* One quick shot to fix appveyor before bed.
* * Continued work on Overhaul
* Created mapping cross reference file to faciltate docuatation and cleaning up names - work in progress https://goo.gl/eaaNQb
* Created new database schema for world_object - modified mysqlinstall.bat to refect new baseline
* created script to ETL old schema to new schema. I have not included it as we will be refactoring the initial data load to use the new
* schema according to Ripley. I have the script tested and posted on my dropbox if anyone wants it. I also have a complete data dump that
* zips down to a manageable size.
* BaseAceObject is now using the new schema
* I re-hooked up telepoi to use the new schema. Still to do, convert to constructed statement
* Next steps - refactor AceObject and make sure world objects load again.
* Once that is complete - start same process using clone of this schema for character as discussed.
* renabled more data loading.
* Continued work on hooking data back up. Working on moveto debug command - this creates a world object. Not quite there yet.
* WIP
* Making progress. Test object able to be spwaned from new schema. Still to do, renable constructed statements, clean up and re-enable the other constructed statements.
* updated worldbase
* * Intital work done for new schema. Rebased and removed update sql files. (#353)
* Tested and the auto setting of Physics and Weenie Header Flags looks really solid. Side note, the values we have
* in the database for weenieHeaderFlags and PhysicsDescriptionFlag should probably be dropped we don't read them or use them now.
* Doors, portals NPC's and signs are all back in the world now.
* I would suggest we remearge with the main branch sooner rather than later - we can create another branch to introduce these
* changes into the character side.
* TODO items:
* Creature spawns need to be refactored - I left them commented out. We need to ditch seperate tables that we have now, I think all
* creature can use what we have now, plus maybe two additional world tables. Everything else fits into the current schema.
* Test Ripley data and update ACE_World.
* Refactor portals - I just left the old way in and faked it out with a view.
* Once this looks good and stable and we fix any found bugs - we need to clone this over to the character database and start refactoring
* That will get us to persisted inventory.
* Objects - Game data refactored - issue with character login (#355)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Objects (#357)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Best attempt stabbed (#358)
* wip 1
* wip 2
* wip 3
* wip 3
* i think thats it for now. good luck!
* Read cached characters and launch to char list (#360)
* First corrections and commenting out so the start to command line works
* The basics for launching to character list is working.
* Edit config.json for AppVeyor
* Rework Base SQL scripts. (#361)
Expect broken execution until views are corrected for ace_shard
* Cleaning up error list (#362)
Clearing stylecop issues and warnings in Error List
* ACE Enum adjustments (#363)
* More Enum Adjustments (#364)
* More Enum Adjustments
* Further Enum Refinement
* Changed Enum Value
* More Enum and Object Realignment (#365)
* Adding Enums to better align with AC standards. GroupTypeChat and AccessLevel will be converted to these.
* Object level changes to go with enum resorting
* Extend ORM to allow aggregate functions i.e. MAX(column) and (#366)
* Extend ORM to allow aggregate functions i.e. MAX(column) and implement GetNextCharacterId
* For AppVeyor, thanks @ogmage78 for the sql
* Implements IsCharacterNameAvailable and fixes some errors in the chargen code. (#367)
* Character Loading (#368)
* Cleaned up some whitespace issues. Still understanding the direction.
* WIP added enums for PropertyAttribute
* Wip got a lot of aceCharacter done - working on position - about 1/2 done.
* WIP - Ace Character Loading.
* Intital work done for loading character from ace_shard. Rebased and removed update sql files.
* Tested up to position loading. Made changes to position, but have not loaded the dictionary yet.
* Fixed a few bugs - attribute loading had a few.
* TODO items:
* Finish up loading positions then see what is left.
* Work on saving as OptimShi - has character creation ready to go.
* Fixed for rebase and apveyor
* Hand wrote view per request and removed unneeded position.
* Read character creation values from client_portal.dat (#369)
* Read character creation values from client_portal.dat and assign to appropriate Character Properties
* Added AceCharacter properties for the character appearance data
* More fun in Zombieland - character loading. (#370)
* [Og II]
* Continued work loading character from ace_shard. Rebased
* Added cascade delete to all child tables in ace_shard.
* Completed and tested up to skillz loading. Made a few changes on the db side for key consistancy.
* TODO items:
* Finish up loading - spells, friends, allegiance info, spell comps, spell bars etc. etc....
* Fixed bug in setXXXProperty methods with the add new. Was not setting the AceObjectId
* Fixed auto inc and unsealed position class and made aceObjectId virtual again.
* SaveObject implemented in ShardDatabase.cs (#371)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Cleanup of DbGetListAttribute (#372)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Fix the "You do not own this character" error. (#373)
* Refactoring, save/restore progress on object overhaul (#375)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Minor cleanups.
* Object overhaul (#376)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Properly load Data Id instances. Objects now "spawn" in-world, but don't interact properly.
* Fixes to worldbase vw_teleport_location, player description, character handler. Player now gets proper stats and can teleportpoi. Vital inital values are off.
* Sets options on load. May be bad/broken. Need to seriously think how AceObject/AceCharacter and WorldObject/Player should interact. We don't do that well now.
* Fix to attribute2nd, using uint24 instead of uint16 for value (because monster's health can get huuuge).
* Position refactor into backend object AceObjectPropertiesPosition and front-end object Position.
* * fixed issues with the weenieHeaderFlags setting method, fixed PhysicsDescriptionFlag setting issue as well.
* cleaned up and rebased data scripts for WorldBase and ShardBase
* Found issue in my data that was ETL to our new schema - had two flag fields Reversed - that is fixed but would be no issue
* once we have Ripley's new data export. I have shared out a link to the cleaned up data for use while we finish the new export.
* https://www.dropbox.com/s/pohcruvalt9s38h/WorldandShardData.zip?dl=0
* I put in a nasty hack - hard coded weenieClassId on character save - it was being set to 0 and I could not find it. I marked with with a todo.
* player.cs line 490
* Create Landblock.cs
* Updated changelog
* Fear the Walking Dead - More work on our object overhaul - bug fixes and continued work (#377)
* Testing - fixed a few null reference check errors. Added in OptimShi player apperance code.
* added back code needed for ci
* Sending DataId and InstanceId data to character description.
* Forgot to update change log
* Added Ripley's changes to scheam
* Create ShardBase.sql
* Create WorldBase.sql
* Made requested changes
* Lord BucketHead - temp fix. Added start of equipping items and POC code (#378)
* * Added getting and setting ContainerID and Wielder into AceObject and surfaced in worldObject
* Put in a hack to show how equiped weapons and shields work. We will need to establish a place to store this data.
* I put in big TODO to indentify the hack - it is benign and will not impact anything else other than to demo the placement
* of the spear in Rand the Game Hunters hand in Holtburg.
* Modified SetPhysicsDescriptionFlags so it can be container and weilder aware.
* Worked with OptimShi and we put in a fix for Lord BucketHead.
* Found and fixed one more bug with hair styles
* Update Player.cs
removed comment that was out of date.
* SQL Scripts Re-based (#379)
* SQL Scripts Rebased
* More alignment of base DB script.
* Final SQL script rebase
* Code cleanup and a few bug fixes. (#380)
* Code cleanup and a few bug fixes. Working to trello card. Board updated.
* Added first part of wield item.
* Update to remove class diagram
* Update GameActionGetAndWieldItem.cs
* Update GameEventWieldItem.cs
* Fixed Position Saving. (#381)
* Fixed Position Saving.
* Fixed other minor character initialization bugs
* Cleanup backing AceObject (#382)
* Reworked AceObject/Player/WorldObject to better repsect AceObject as a unit backing.
* Enough cleanup to commit. Fixed vitals (Attribute2nd) in the process.
* Fixed bad rebase errors. Appears to work now. Can confirm vitals (Attribute2nds) initialize well, and can be raised.
* Fixed bug with player creation and made a bunch of comments and notes about things I discovered so they would not get lost. (#383)
2017-06-16 09:54:39 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_float` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyFloat.????)',
|
2018-08-05 12:24:43 -05:00
|
|
|
`value` double NOT NULL COMMENT 'Value of this Property',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_float_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_float` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Float Properties of Weenies';
|
Object overhaul (#384)
* Object overhaul - clean up enums (#337)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Review & Comment only || Object overhaul - POC (#339)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Object Overhaul - ready for review and merge. Still Work in Progress but a good spot. (#341)
* Give property enums a static value to aviod positional fubar later on. Cleaned up using.
* Cleaning up enums
* Fixed Line ending update change log.
* Added new positionType
* Started work on implementing object overhaul - want to make sure I am heading in the right direction.
* Minor clean up, responded to feedback and fixed a few bugs. Thanks for the second and third set of eyes.
* Continued work. Please review as these are a LOT of manual changes. Compiles and you can log in.
* Continued work. I have all of the items pulling from properties now. Still work to make baseAceObject and AceObject on thing / finish work around workmanship and actually kick the tires and start pulling data. Sorry this is taking so long.
* Had time for a few more and cleaned up whitespace.
* Good point to check in. All of the property tables are hooked up and loading data. I created the workmanship hackery we discussed. As always comments and suggestions much appreciated.
* One quick shot to fix appveyor before bed.
* * Continued work on Overhaul
* Created mapping cross reference file to faciltate docuatation and cleaning up names - work in progress https://goo.gl/eaaNQb
* Created new database schema for world_object - modified mysqlinstall.bat to refect new baseline
* created script to ETL old schema to new schema. I have not included it as we will be refactoring the initial data load to use the new
* schema according to Ripley. I have the script tested and posted on my dropbox if anyone wants it. I also have a complete data dump that
* zips down to a manageable size.
* BaseAceObject is now using the new schema
* I re-hooked up telepoi to use the new schema. Still to do, convert to constructed statement
* Next steps - refactor AceObject and make sure world objects load again.
* Once that is complete - start same process using clone of this schema for character as discussed.
* renabled more data loading.
* Continued work on hooking data back up. Working on moveto debug command - this creates a world object. Not quite there yet.
* WIP
* Making progress. Test object able to be spwaned from new schema. Still to do, renable constructed statements, clean up and re-enable the other constructed statements.
* updated worldbase
* * Intital work done for new schema. Rebased and removed update sql files. (#353)
* Tested and the auto setting of Physics and Weenie Header Flags looks really solid. Side note, the values we have
* in the database for weenieHeaderFlags and PhysicsDescriptionFlag should probably be dropped we don't read them or use them now.
* Doors, portals NPC's and signs are all back in the world now.
* I would suggest we remearge with the main branch sooner rather than later - we can create another branch to introduce these
* changes into the character side.
* TODO items:
* Creature spawns need to be refactored - I left them commented out. We need to ditch seperate tables that we have now, I think all
* creature can use what we have now, plus maybe two additional world tables. Everything else fits into the current schema.
* Test Ripley data and update ACE_World.
* Refactor portals - I just left the old way in and faked it out with a view.
* Once this looks good and stable and we fix any found bugs - we need to clone this over to the character database and start refactoring
* That will get us to persisted inventory.
* Objects - Game data refactored - issue with character login (#355)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Objects (#357)
* wip
* WIP - character login is trying to persist a world object
* Still throwing an exception on player login.
* Working Code - finished GameData - need to complete PhysicsData and ModelData. Thanks to @Lidefeath for finding my issue.
* WIP compiles but has error on run. Data changes have broken something. Will fix tomorrow.
* Wip - nothing really working yet. I can log in but item creation is not working.
* Best attempt stabbed (#358)
* wip 1
* wip 2
* wip 3
* wip 3
* i think thats it for now. good luck!
* Read cached characters and launch to char list (#360)
* First corrections and commenting out so the start to command line works
* The basics for launching to character list is working.
* Edit config.json for AppVeyor
* Rework Base SQL scripts. (#361)
Expect broken execution until views are corrected for ace_shard
* Cleaning up error list (#362)
Clearing stylecop issues and warnings in Error List
* ACE Enum adjustments (#363)
* More Enum Adjustments (#364)
* More Enum Adjustments
* Further Enum Refinement
* Changed Enum Value
* More Enum and Object Realignment (#365)
* Adding Enums to better align with AC standards. GroupTypeChat and AccessLevel will be converted to these.
* Object level changes to go with enum resorting
* Extend ORM to allow aggregate functions i.e. MAX(column) and (#366)
* Extend ORM to allow aggregate functions i.e. MAX(column) and implement GetNextCharacterId
* For AppVeyor, thanks @ogmage78 for the sql
* Implements IsCharacterNameAvailable and fixes some errors in the chargen code. (#367)
* Character Loading (#368)
* Cleaned up some whitespace issues. Still understanding the direction.
* WIP added enums for PropertyAttribute
* Wip got a lot of aceCharacter done - working on position - about 1/2 done.
* WIP - Ace Character Loading.
* Intital work done for loading character from ace_shard. Rebased and removed update sql files.
* Tested up to position loading. Made changes to position, but have not loaded the dictionary yet.
* Fixed a few bugs - attribute loading had a few.
* TODO items:
* Finish up loading positions then see what is left.
* Work on saving as OptimShi - has character creation ready to go.
* Fixed for rebase and apveyor
* Hand wrote view per request and removed unneeded position.
* Read character creation values from client_portal.dat (#369)
* Read character creation values from client_portal.dat and assign to appropriate Character Properties
* Added AceCharacter properties for the character appearance data
* More fun in Zombieland - character loading. (#370)
* [Og II]
* Continued work loading character from ace_shard. Rebased
* Added cascade delete to all child tables in ace_shard.
* Completed and tested up to skillz loading. Made a few changes on the db side for key consistancy.
* TODO items:
* Finish up loading - spells, friends, allegiance info, spell comps, spell bars etc. etc....
* Fixed bug in setXXXProperty methods with the add new. Was not setting the AceObjectId
* Fixed auto inc and unsealed position class and made aceObjectId virtual again.
* SaveObject implemented in ShardDatabase.cs (#371)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Cleanup of DbGetListAttribute (#372)
* First steps of SaveObject
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Fix the "You do not own this character" error. (#373)
* Refactoring, save/restore progress on object overhaul (#375)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Minor cleanups.
* Object overhaul (#376)
* First steps of SaveObject
* added todo
* Hopefully I didn't bork anything too hard.
* Character creation -- data present on save appears to make its way to the DB. Thanks to Lidefeath for the starter here.
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Removed all references to SaveCharacterOptions -- replace with SaveObject().
* Working on player login. Getting closer. At SendSelf in player.cs
* Reworked DbGetListAttribute, got rid of hacky code.
* Forgot to remove sloppy comments from refactoring.
* Create Database.cs
* Continued work on character login. A little closer - we can get into the world now. Please see change log for list of outstanding items.
* Can log in, and walk around. Some properties still wrong. Still need to submit several DB level fixes.
* Many fixups/bugfixes.
Positions now save.
Character logs in.
Game doesn't crash.
Can open multiple sessions.
(some) ORM issues fixed
Issues:
World Objects still don't appear in game.
Race found in ShardDatabase (commented)
* Properly load Data Id instances. Objects now "spawn" in-world, but don't interact properly.
* Fixes to worldbase vw_teleport_location, player description, character handler. Player now gets proper stats and can teleportpoi. Vital inital values are off.
* Sets options on load. May be bad/broken. Need to seriously think how AceObject/AceCharacter and WorldObject/Player should interact. We don't do that well now.
* Fix to attribute2nd, using uint24 instead of uint16 for value (because monster's health can get huuuge).
* Position refactor into backend object AceObjectPropertiesPosition and front-end object Position.
* * fixed issues with the weenieHeaderFlags setting method, fixed PhysicsDescriptionFlag setting issue as well.
* cleaned up and rebased data scripts for WorldBase and ShardBase
* Found issue in my data that was ETL to our new schema - had two flag fields Reversed - that is fixed but would be no issue
* once we have Ripley's new data export. I have shared out a link to the cleaned up data for use while we finish the new export.
* https://www.dropbox.com/s/pohcruvalt9s38h/WorldandShardData.zip?dl=0
* I put in a nasty hack - hard coded weenieClassId on character save - it was being set to 0 and I could not find it. I marked with with a todo.
* player.cs line 490
* Create Landblock.cs
* Updated changelog
* Fear the Walking Dead - More work on our object overhaul - bug fixes and continued work (#377)
* Testing - fixed a few null reference check errors. Added in OptimShi player apperance code.
* added back code needed for ci
* Sending DataId and InstanceId data to character description.
* Forgot to update change log
* Added Ripley's changes to scheam
* Create ShardBase.sql
* Create WorldBase.sql
* Made requested changes
* Lord BucketHead - temp fix. Added start of equipping items and POC code (#378)
* * Added getting and setting ContainerID and Wielder into AceObject and surfaced in worldObject
* Put in a hack to show how equiped weapons and shields work. We will need to establish a place to store this data.
* I put in big TODO to indentify the hack - it is benign and will not impact anything else other than to demo the placement
* of the spear in Rand the Game Hunters hand in Holtburg.
* Modified SetPhysicsDescriptionFlags so it can be container and weilder aware.
* Worked with OptimShi and we put in a fix for Lord BucketHead.
* Found and fixed one more bug with hair styles
* Update Player.cs
removed comment that was out of date.
* SQL Scripts Re-based (#379)
* SQL Scripts Rebased
* More alignment of base DB script.
* Final SQL script rebase
* Code cleanup and a few bug fixes. (#380)
* Code cleanup and a few bug fixes. Working to trello card. Board updated.
* Added first part of wield item.
* Update to remove class diagram
* Update GameActionGetAndWieldItem.cs
* Update GameEventWieldItem.cs
* Fixed Position Saving. (#381)
* Fixed Position Saving.
* Fixed other minor character initialization bugs
* Cleanup backing AceObject (#382)
* Reworked AceObject/Player/WorldObject to better repsect AceObject as a unit backing.
* Enough cleanup to commit. Fixed vitals (Attribute2nd) in the process.
* Fixed bad rebase errors. Appears to work now. Can confirm vitals (Attribute2nds) initialize well, and can be raised.
* Fixed bug with player creation and made a bunch of comments and notes about things I discovered so they would not get lost. (#383)
2017-06-16 09:54:39 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-26 08:05:19 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_generator`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_generator`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_generator` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
2018-02-14 13:41:17 -05:00
|
|
|
`probability` float NOT NULL DEFAULT '1',
|
2020-12-30 14:21:39 -05:00
|
|
|
`weenie_Class_Id` int unsigned NOT NULL COMMENT 'Weenie Class Id of object to generate',
|
2018-08-11 16:12:08 -04:00
|
|
|
`delay` float DEFAULT NULL COMMENT 'Amount of delay before generation',
|
2020-12-30 14:21:39 -05:00
|
|
|
`init_Create` int NOT NULL DEFAULT '1' COMMENT 'Number of object to generate initially',
|
|
|
|
|
`max_Create` int NOT NULL DEFAULT '1' COMMENT 'Maximum amount of objects to generate',
|
|
|
|
|
`when_Create` int unsigned NOT NULL DEFAULT '2' COMMENT 'When to generate the weenie object',
|
|
|
|
|
`where_Create` int unsigned NOT NULL DEFAULT '4' COMMENT 'Where to generate the weenie object',
|
|
|
|
|
`stack_Size` int DEFAULT NULL COMMENT 'StackSize of object generated',
|
|
|
|
|
`palette_Id` int unsigned DEFAULT NULL COMMENT 'Palette Color of Object Generated',
|
2018-08-11 16:12:08 -04:00
|
|
|
`shade` float DEFAULT NULL COMMENT 'Shade of Object generated''s Palette',
|
2020-12-30 14:21:39 -05:00
|
|
|
`obj_Cell_Id` int unsigned DEFAULT NULL,
|
2018-08-11 16:12:08 -04:00
|
|
|
`origin_X` float DEFAULT NULL,
|
|
|
|
|
`origin_Y` float DEFAULT NULL,
|
|
|
|
|
`origin_Z` float DEFAULT NULL,
|
|
|
|
|
`angles_W` float DEFAULT NULL,
|
|
|
|
|
`angles_X` float DEFAULT NULL,
|
|
|
|
|
`angles_Y` float DEFAULT NULL,
|
|
|
|
|
`angles_Z` float DEFAULT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-11 16:12:08 -04:00
|
|
|
KEY `wcid_generator` (`object_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_generator` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Generator Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_i_i_d`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_i_i_d`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_i_i_d` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyInstanceId.????)',
|
|
|
|
|
`value` int unsigned NOT NULL COMMENT 'Value of this Property',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
2018-08-06 00:32:56 -05:00
|
|
|
UNIQUE KEY `wcid_iid_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_iid` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='InstanceID Properties of Weenies';
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-07-10 14:04:03 -04:00
|
|
|
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_int`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_int`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_int` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyInt.????)',
|
|
|
|
|
`value` int NOT NULL COMMENT 'Value of this Property',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_int_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_int` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Int Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_int64`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_int64`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_int64` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyInt64.????)',
|
|
|
|
|
`value` bigint NOT NULL COMMENT 'Value of this Property',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_int64_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_int64` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Int64 Properties of Weenies';
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-07-10 14:04:03 -04:00
|
|
|
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_palette`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_palette`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_palette` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`sub_Palette_Id` int unsigned NOT NULL,
|
|
|
|
|
`offset` smallint unsigned NOT NULL,
|
|
|
|
|
`length` smallint unsigned NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `object_Id_subPaletteId_offset_length_uidx` (`object_Id`,`sub_Palette_Id`,`offset`,`length`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_palette` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Palette Changes (from PCAPs) of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_position`
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_position`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_position` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Position',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`position_Type` smallint unsigned NOT NULL COMMENT 'Type of Position the value applies to (PositionType.????)',
|
|
|
|
|
`obj_Cell_Id` int unsigned NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
`origin_X` float NOT NULL,
|
|
|
|
|
`origin_Y` float NOT NULL,
|
|
|
|
|
`origin_Z` float NOT NULL,
|
|
|
|
|
`angles_W` float NOT NULL,
|
|
|
|
|
`angles_X` float NOT NULL,
|
|
|
|
|
`angles_Y` float NOT NULL,
|
|
|
|
|
`angles_Z` float NOT NULL,
|
|
|
|
|
PRIMARY KEY (`id`),
|
2018-08-06 00:32:56 -05:00
|
|
|
UNIQUE KEY `wcid_position_type_uidx` (`object_Id`,`position_Type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_position` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Position Properties of Weenies';
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-07-10 14:04:03 -04:00
|
|
|
|
2017-10-02 15:52:58 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_skill`
|
2017-10-02 15:52:58 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_skill`;
|
2017-10-02 15:52:58 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_skill` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertySkill.????)',
|
|
|
|
|
`level_From_P_P` smallint unsigned NOT NULL COMMENT 'points raised',
|
|
|
|
|
`s_a_c` int unsigned NOT NULL COMMENT 'skill state',
|
|
|
|
|
`p_p` int unsigned NOT NULL COMMENT 'XP spent on this skill',
|
|
|
|
|
`init_Level` int unsigned NOT NULL COMMENT 'starting point for advancement of the skill (eg bonus points)',
|
|
|
|
|
`resistance_At_Last_Check` int unsigned NOT NULL COMMENT 'last use difficulty',
|
2018-08-05 12:24:43 -05:00
|
|
|
`last_Used_Time` double NOT NULL COMMENT 'time skill was last used',
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_skill_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_skill` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Skill Properties of Weenies';
|
2017-10-02 15:52:58 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_spell_book`
|
2017-10-02 15:52:58 -04:00
|
|
|
--
|
|
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_spell_book`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_spell_book` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`spell` int NOT NULL COMMENT 'Id of Spell',
|
2018-02-14 13:41:17 -05:00
|
|
|
`probability` float NOT NULL DEFAULT '2' COMMENT 'Chance to cast this spell',
|
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_spellbook_type_uidx` (`object_Id`,`spell`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_spellbook` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='SpellBook Properties of Weenies';
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-10-02 15:52:58 -04:00
|
|
|
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_string`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_string`;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_string` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`type` smallint unsigned NOT NULL COMMENT 'Type of Property the value applies to (PropertyString.????)',
|
2018-02-14 13:41:17 -05:00
|
|
|
`value` text NOT NULL COMMENT 'Value of this Property',
|
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `wcid_string_type_uidx` (`object_Id`,`type`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_string` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='String Properties of Weenies';
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-07-10 14:04:03 -04:00
|
|
|
--
|
2018-02-14 13:41:17 -05:00
|
|
|
-- Table structure for table `weenie_properties_texture_map`
|
2017-04-26 08:05:19 -04:00
|
|
|
--
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2018-02-14 13:41:17 -05:00
|
|
|
DROP TABLE IF EXISTS `weenie_properties_texture_map`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2020-12-30 14:21:39 -05:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2018-02-14 13:41:17 -05:00
|
|
|
CREATE TABLE `weenie_properties_texture_map` (
|
2020-12-30 14:21:39 -05:00
|
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Id of this Property',
|
|
|
|
|
`object_Id` int unsigned NOT NULL COMMENT 'Id of the object this property belongs to',
|
|
|
|
|
`index` tinyint unsigned NOT NULL,
|
|
|
|
|
`old_Id` int unsigned NOT NULL,
|
|
|
|
|
`new_Id` int unsigned NOT NULL,
|
2018-02-14 13:41:17 -05:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
|
UNIQUE KEY `object_Id_index_oldId_uidx` (`object_Id`,`index`,`old_Id`),
|
2020-12-30 14:21:39 -05:00
|
|
|
CONSTRAINT `wcid_texturemap` FOREIGN KEY (`object_Id`) REFERENCES `weenie` (`class_Id`) ON DELETE CASCADE
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Texture Map Changes (from PCAPs) of Weenies';
|
2018-02-14 13:41:17 -05:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2017-04-26 08:05:19 -04:00
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
2017-04-03 20:25:16 -04:00
|
|
|
|
2020-12-30 14:21:39 -05:00
|
|
|
-- Dump completed on 2020-12-29 19:00:03
|