From a084c9a19e0c92d5843b8bdc27f9b44305356160 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 6 Jan 2017 11:45:36 +0000 Subject: [PATCH] Gameserver SQL cleanup. --- .../db_installer/sql/game/auction_watch.sql | 6 - .../{bbs_favorite.sql => bbs_favorites.sql} | 0 .../sql/game/custom_npc_buffer.sql | 66 --------- .../sql/game/herb_droplist_groups.sql | 138 ------------------ 4 files changed, 210 deletions(-) delete mode 100644 L2J_Mobius_Underground/dist/db_installer/sql/game/auction_watch.sql rename L2J_Mobius_Underground/dist/db_installer/sql/game/{bbs_favorite.sql => bbs_favorites.sql} (100%) delete mode 100644 L2J_Mobius_Underground/dist/db_installer/sql/game/custom_npc_buffer.sql delete mode 100644 L2J_Mobius_Underground/dist/db_installer/sql/game/herb_droplist_groups.sql diff --git a/L2J_Mobius_Underground/dist/db_installer/sql/game/auction_watch.sql b/L2J_Mobius_Underground/dist/db_installer/sql/game/auction_watch.sql deleted file mode 100644 index fce297db3c..0000000000 --- a/L2J_Mobius_Underground/dist/db_installer/sql/game/auction_watch.sql +++ /dev/null @@ -1,6 +0,0 @@ -DROP TABLE IF EXISTS `auction_watch`; -CREATE TABLE IF NOT EXISTS `auction_watch` ( - `charObjId` INT NOT NULL DEFAULT 0, - `auctionId` INT NOT NULL DEFAULT 0, - PRIMARY KEY (`charObjId`,`auctionId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/db_installer/sql/game/bbs_favorite.sql b/L2J_Mobius_Underground/dist/db_installer/sql/game/bbs_favorites.sql similarity index 100% rename from L2J_Mobius_Underground/dist/db_installer/sql/game/bbs_favorite.sql rename to L2J_Mobius_Underground/dist/db_installer/sql/game/bbs_favorites.sql diff --git a/L2J_Mobius_Underground/dist/db_installer/sql/game/custom_npc_buffer.sql b/L2J_Mobius_Underground/dist/db_installer/sql/game/custom_npc_buffer.sql deleted file mode 100644 index 9f82567452..0000000000 --- a/L2J_Mobius_Underground/dist/db_installer/sql/game/custom_npc_buffer.sql +++ /dev/null @@ -1,66 +0,0 @@ -DROP TABLE IF EXISTS `custom_npc_buffer`; -CREATE TABLE IF NOT EXISTS `custom_npc_buffer` ( - `npc_id` mediumint(7) NOT NULL, - `skill_id` int(6) NOT NULL, - `skill_level` int(6) NOT NULL DEFAULT '1', - `skill_fee_id` int(6) NOT NULL DEFAULT '0', - `skill_fee_amount` int(6) NOT NULL DEFAULT '0', - `buff_group` int(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`npc_id`,`skill_id`,`buff_group`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -INSERT IGNORE INTO `custom_npc_buffer` VALUES -(1000003,264,1,57,100,264), -(1000003,265,1,57,100,265), -(1000003,266,1,57,100,266), -(1000003,267,1,57,100,267), -(1000003,268,1,57,100,268), -(1000003,269,1,57,100,269), -(1000003,270,1,57,100,270), -(1000003,271,1,57,100,271), -(1000003,272,1,57,100,272), -(1000003,273,1,57,100,273), -(1000003,274,1,57,100,274), -(1000003,275,1,57,100,275), -(1000003,276,1,57,100,276), -(1000003,277,1,57,100,277), -(1000003,304,1,57,100,304), -(1000003,305,1,57,100,305), -(1000003,306,1,57,100,306), -(1000003,307,1,57,100,307), -(1000003,308,1,57,100,308), -(1000003,309,1,57,100,309), -(1000003,310,1,57,100,310), -(1000003,311,1,57,100,311), -(1000003,349,1,57,100,349), -(1000003,363,1,57,100,363), -(1000003,364,1,57,100,364), -(1000003,366,1,57,100,366), -(1000003,367,1,57,100,367), -(1000003,529,1,57,100,529), -(1000003,530,1,57,100,530), -(1000003,1032,1,57,100,1032), -(1000003,1033,1,57,100,1033), -(1000003,1035,1,57,100,1035), -(1000003,1036,1,57,100,1036), -(1000003,1040,1,57,100,1040), -(1000003,1043,1,57,100,1043), -(1000003,1044,1,57,100,1044), -(1000003,1045,1,57,100,1045), -(1000003,1048,1,57,100,1048), -(1000003,1059,1,57,100,1059), -(1000003,1062,1,57,100,1062), -(1000003,1068,1,57,100,1068), -(1000003,1077,1,57,100,1077), -(1000003,1078,1,57,100,1078), -(1000003,1085,1,57,100,1085), -(1000003,1086,1,57,100,1086), -(1000003,1182,1,57,100,1182), -(1000003,1189,1,57,100,1189), -(1000003,1191,1,57,100,1191), -(1000003,1204,1,57,100,1204), -(1000003,1240,1,57,100,1240), -(1000003,1242,1,57,100,1242), -(1000003,1243,1,57,100,1243), -(1000003,1303,1,57,100,1303), -(1000003,1397,1,57,100,1397); \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/db_installer/sql/game/herb_droplist_groups.sql b/L2J_Mobius_Underground/dist/db_installer/sql/game/herb_droplist_groups.sql deleted file mode 100644 index f2979674bf..0000000000 --- a/L2J_Mobius_Underground/dist/db_installer/sql/game/herb_droplist_groups.sql +++ /dev/null @@ -1,138 +0,0 @@ --- This table holds data definitions for different herb dropping groups. --- These groups once they're bound with mobs in the npc table, define which mobs --- drop which herbs (with a certain chance to drop none, one or more of them). --- --- If a mob appertain to group 0 (table default), it won't drop herbs at all. --- For any other group larger than zero, herbs will be drop same way as droplists works --- You can add any type of items here even not herbs, but players will auto loot it if --- AUTO_LOOT_HERBS config is true. --- --- About categries: --- 0: is for Vitality herbs --- 1: is for Life herbs --- 2: is for Mana herbs --- 3: is for special herbs --- all other: is for Common herbs - -DROP TABLE IF EXISTS `herb_droplist_groups`; -CREATE TABLE `herb_droplist_groups` ( - `groupId` tinyint(1) unsigned NOT NULL DEFAULT '0', - `itemId` smallint(5) unsigned NOT NULL DEFAULT '0', - `min` smallint(2) unsigned NOT NULL DEFAULT '0', - `max` smallint(2) unsigned NOT NULL DEFAULT '0', - `category` smallint(3) NOT NULL DEFAULT '0', - `chance` mediumint(7) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`groupId`,`itemId`,`category`), - KEY `key_mobId` (`groupId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - -INSERT INTO `herb_droplist_groups` VALUES --- default group -(1,13028,1,1,0,20000), -- Vitality Replenishing Herb -(1,8600,1,1,1,100000), -- Herb of Life -(1,8601,1,1,1,40000), -- Greater Herb of Life -(1,8602,1,1,1,8000), -- Superior Herb of Life -(1,8603,1,1,2,100000), -- Herb of Mana -(1,8604,1,1,2,40000), -- Greater Herb of Mana -(1,8605,1,1,2,8000), -- Superior Herb of Mana -(1,8612,1,1,3,2000), -- Herb of the Warrior -(1,8613,1,1,3,2000), -- Herb of the Mystic -(1,8614,1,1,3,2000), -- Herb of Recovery -(1,8606,1,1,4,150000), -- Herb of Power -(1,8607,1,1,5,150000), -- Herb of Magic -(1,8608,1,1,6,150000), -- Herb of Atk. Spd. -(1,8609,1,1,7,150000), -- Herb of Casting Spd. -(1,8610,1,1,8,150000), -- Herb of Critical Attack - Probability -(1,8611,1,1,9,150000), -- Herb of Speed -(1,10655,1,1,10,150000), -- Herb of Vampiric Rage -(1,10656,1,1,11,150000), -- Herb of Critical Attack - Power -(1,10657,1,1,12,50000), -- Herb of Doubt --- primeval island mobs. Guessed chances -(2,13028,1,1,0,20000), -- Vitality Replenishing Herb -(2,8600,1,1,1,200000), -- Herb of Life -(2,8601,1,1,1,80000), -- Greater Herb of Life -(2,8602,1,1,1,16000), -- Superior Herb of Life -(2,8603,1,1,2,150000), -- Herb of Mana -(2,8604,1,1,2,60000), -- Greater Herb of Mana -(2,8605,1,1,2,12000), -- Superior Herb of Mana -(2,8613,1,1,3,4000), -- Herb of the Mystic -(2,8614,1,1,3,4000), -- Herb of Recovery -(2,8607,1,1,4,150000), -- Herb of Magic -(2,8609,1,1,5,150000), -- Herb of Casting Spd. -(2,8611,1,1,6,150000), -- Herb of Speed -(2,10657,1,1,7,75000), -- Herb of Doubt --- Field of Silence & Field of Whisper mobs -(3,13028,1,1,0,5000), -- Vitality Replenishing Herb -(3,8600,1,1,1,210000), -- Herb of Life -(3,8601,1,1,1,150000), -- Greater Herb of Life -(3,8602,1,1,1,35000), -- Superior Herb of Life -(3,8603,1,1,2,190000), -- Herb of Mana -(3,8604,1,1,2,180000), -- Greater Herb of Mana -(3,8605,1,1,2,50000), -- Superior Herb of Mana -(3,8612,1,1,3,2000), -- Herb of the Warrior -(3,8613,1,1,3,10000), -- Herb of the Mystic -(3,8614,1,1,3,2000), -- Herb of Recovery -(3,8606,1,1,4,60000), -- Herb of Power -(3,8607,1,1,5,60000), -- Herb of Magic -(3,8608,1,1,6,80000), -- Herb of Atk. Spd. -(3,8609,1,1,7,40000), -- Herb of Casting Spd. -(3,8610,1,1,8,20000), -- Herb of Critical Attack - Probability -(3,8611,1,1,9,90000), -- Herb of Speed -(3,10655,1,1,10,60000), -- Herb of Vampiric Rage -(3,10656,1,1,11,30000), -- Herb of Critical Attack - Power -(3,10657,1,1,12,5000), -- Herb of Doubt -(3,14824,1,1,13,9000),-- Ancient Herb - Slayer -(3,14825,1,1,13,9000),-- Ancient Herb - Immortal -(3,14826,1,1,13,25000), -- Ancient Herb - Terminator -(3,14827,1,1,13,30000), -- Ancient Herb - Guide --- Sel Mahum training grounds - chief group -(4,13028,1,1,0,3299), -- Vitality Replenishing Herb -(4,8600,1,1,1,231000), -- Herb of Life -(4,8601,1,1,1,159600), -- Greater Herb of Life -(4,8602,1,1,1,29400), -- Superior Herb of Life -(4,8603,1,1,2,44000), -- Herb of Mana -(4,8604,1,1,2,57200), -- Greater Herb of Mana -(4,8605,1,1,2,8800), -- Superior Herb of Mana -(4,8612,1,1,3,3300), -- Herb of the Warrior -(4,8613,1,1,3,3300), -- Herb of the Mystic -(4,8614,1,1,3,3400), -- Herb of Recovery -(4,8606,1,1,4,50000), -- Herb of Power -(4,8608,1,1,4,50000), -- Herb of Atk. Spd. -(4,8610,1,1,4,50000), -- Herb of Critical Attack - Probability -(4,10655,1,1,4,50000), -- Herb of Vampiric Rage -(4,10656,1,1,4,50000), -- Herb of Critical Attack - Power -(4,8607,1,1,5,50000), -- Herb of Magic -(4,8609,1,1,5,50000), -- Herb of Casting Spd. -(4,8611,1,1,6,103400), -- Herb of Speed -(4,10657,1,1,6,3299), -- Herb of Doubt --- Sel Mahum training grounds - soldier group -(5,8600,1,1,1,275000), -- Herb of Life -(5,8601,1,1,1,190000), -- Greater Herb of Life -(5,8602,1,1,1,35000), -- Superior Herb of Life --- Sel Mahum training grounds - squad leader group -(6,13028,1,1,0,3300), -- Vitality Replenishing Herb -(6,8600,1,1,1,231000), -- Herb of Life -(6,8601,1,1,1,159600), -- Greater Herb of Life -(6,8602,1,1,1,29400), -- Superior Herb of Life -(6,8603,1,1,2,44000), -- Herb of Mana -(6,8604,1,1,2,57200), -- Greater Herb of Mana -(6,8605,1,1,2,8800), -- Superior Herb of Mana -(6,8606,1,1,3,50000), -- Herb of Power -(6,8608,1,1,3,50000), -- Herb of Atk. Spd. -(6,8610,1,1,3,50000), -- Herb of Critical Attack - Probability -(6,10655,1,1,3,50000), -- Herb of Vampiric Rage -(6,10656,1,1,3,50000), -- Herb of Critical Attack - Power -(6,8607,1,1,4,50000), -- Herb of Magic -(6,8609,1,1,4,50000), -- Herb of Casting Spd. -(6,8612,1,1,5,3300), -- Herb of the Warrior -(6,8613,1,1,5,3300), -- Herb of the Mystic -(6,8614,1,1,5,3400), -- Herb of Recovery -(6,8611,1,1,6,103400), -- Herb of Speed -(6,10657,1,1,6,3300), -- Herb of Doubt -(6,10655,1,1,7,450000), -- Herb of Vampiric Rage --- Antharas minions - Behemoth and Tarask Dragon -(7,8952,10,20,1,1000000), -- Greater Herb of Life -(7,8953,10,20,2,1000000), -- Greater Herb of Mana --- Antharas minions - Dragon Bomber -(8,8952,10,20,1,1000000), -- Greater Herb of Life -(8,8953,10,20,2,1000000); -- Greater Herb of Mana