Ver código fonte

7s missing sql files. Should fix all related tickets. My fault, sorry.

DrLecter 19 anos atrás
pai
commit
969517f9c4

+ 11 - 0
datapack_development/sql/auto_chat.sql

@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `auto_chat`;
+CREATE TABLE `auto_chat` (
+  `groupId` INT NOT NULL default '0',
+  `npcId` INT NOT NULL default '0',
+  `chatDelay` BIGINT NOT NULL default '-1',
+  PRIMARY KEY  (`groupId`)
+) ENGINE=InnoDB;
+
+INSERT INTO `auto_chat` VALUES 
+(1,8093,-1),
+(2,8094,-1);

+ 24 - 0
datapack_development/sql/auto_chat_text.sql

@@ -0,0 +1,24 @@
+DROP TABLE IF EXISTS `auto_chat_text`;
+CREATE TABLE `auto_chat_text` (
+  `groupId` INT NOT NULL default '0',
+  `chatText` VARCHAR(255) NOT NULL default '',
+  PRIMARY KEY  (`groupId`,`chatText`)
+) ENGINE=InnoDB;
+
+INSERT INTO `auto_chat_text` VALUES 
+(1,'%player_cabal_loser%! All is lost! Prepare to meet the goddess of death!'),
+(1,'%player_cabal_loser%! You bring an ill wind!'),
+(1,'%player_cabal_loser%! You might as well give up!'),
+(1,'A curse upon you!'),
+(1,'All is lost! Prepare to meet the goddess of death!'),
+(1,'All is lost! The prophecy of destruction has been fulfilled!'),
+(1,'The prophecy of doom has awoken!'),
+(1,'This world will soon be annihilated!'),
+(2,'%player_cabal_winner%! I bestow on you the authority of the abyss!'),
+(2,'%player_cabal_winner%, Darkness shall be banished forever!'),
+(2,'%player_cabal_winner%, the time for glory is at hand!'),
+(2,'All hail the eternal twilight!'),
+(2,'As foretold in the prophecy of darkness, the era of chaos has begun!'),
+(2,'The day of judgment is near!'),
+(2,'The prophecy of darkness has been fulfilled!'),
+(2,'The prophecy of darkness has come to pass!');

+ 29 - 0
datapack_development/sql/seven_signs_status.sql

@@ -0,0 +1,29 @@
+DROP TABLE IF EXISTS `seven_signs_status`;
+CREATE TABLE `seven_signs_status` (
+  `current_cycle` INT NOT NULL default '1',
+  `festival_cycle` INT NOT NULL default '1',
+  `active_period` INT NOT NULL default '1',
+  `date` INT NOT NULL default '1',
+  `previous_winner` INT NOT NULL default '0',
+  `dawn_stone_score` INT NOT NULL default '0',
+  `dawn_festival_score` INT NOT NULL default '0',
+  `dusk_stone_score` INT NOT NULL default '0',
+  `dusk_festival_score` INT NOT NULL default '0',
+  `avarice_owner` INT NOT NULL default '0',
+  `gnosis_owner` INT NOT NULL default '0',
+  `strife_owner` INT NOT NULL default '0',
+  `avarice_dawn_score` INT NOT NULL default '0',
+  `gnosis_dawn_score` INT NOT NULL default '0',
+  `strife_dawn_score` INT NOT NULL default '0',
+  `avarice_dusk_score` INT NOT NULL default '0',
+  `gnosis_dusk_score` INT NOT NULL default '0',
+  `strife_dusk_score` INT NOT NULL default '0',
+  `accumulated_bonus0` INT NOT NULL default '0',
+  `accumulated_bonus1` INT NOT NULL default '0',
+  `accumulated_bonus2` INT NOT NULL default '0',
+  `accumulated_bonus3` INT NOT NULL default '0',
+  `accumulated_bonus4` INT NOT NULL default '0'
+);
+
+INSERT INTO `seven_signs_status` VALUES
+(1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

+ 27 - 0
datapack_development/sql/updates/20060412.sql

@@ -0,0 +1,27 @@
+ALTER TABLE `seven_signs`
+CHANGE COLUMN `red_stones` `dawn_red_stones` INT(10) NOT NULL DEFAULT 0,
+CHANGE COLUMN `green_stones` `dawn_green_stones` INT(10) NOT NULL DEFAULT 0,
+CHANGE COLUMN `blue_stones` `dawn_blue_stones` INT(10) NOT NULL DEFAULT 0,
+CHANGE COLUMN `ancient_adena_amount` `dawn_ancient_adena_amount` INT(10) NOT NULL DEFAULT 0,
+CHANGE COLUMN `contribution_score` `dawn_contribution_score` INT(10) NOT NULL DEFAULT 0,
+ADD COLUMN `dusk_red_stones` INT(10) NOT NULL DEFAULT 0,
+ADD COLUMN `dusk_green_stones` INT(10) NOT NULL DEFAULT 0,
+ADD COLUMN `dusk_blue_stones` INT(10) NOT NULL DEFAULT 0,
+ADD COLUMN `dusk_ancient_adena_amount` INT(10) NOT NULL DEFAULT 0,
+ADD COLUMN `dusk_contribution_score` INT(10) NOT NULL DEFAULT 0;
+
+UPDATE `seven_signs` SET 
+`dusk_red_stones` = `dawn_red_stones`, `dawn_red_stones` = 0,
+`dusk_green_stones` = `dawn_green_stones`, `dawn_green_stones` = 0,
+`dusk_blue_stones` = `dawn_blue_stones`, `dawn_blue_stones` = 0,
+`dusk_ancient_adena_amount` = `dawn_ancient_adena_amount`, `dawn_ancient_adena_amount` = 0,
+`dusk_contribution_score` = `dawn_contribution_score`, `dawn_contribution_score` = 0 
+WHERE `cabal` = 'dusk';
+
+-- For those who already used my previous patch for sql seven signs status :)
+ALTER TABLE `seven_signs_status` 
+DROP COLUMN `id`, DROP PRIMARY KEY;
+
+ALTER TABLE `random_spawn_loc` ADD COLUMN `heading` INTEGER NOT NULL DEFAULT -1,
+DROP PRIMARY KEY,
+ADD PRIMARY KEY(`groupId`, `x`, `y`, `z`, `heading`);