Skip to content

Commit

Permalink
remove bad sql, add drop create
Browse files Browse the repository at this point in the history
  • Loading branch information
hatersgit committed Nov 22, 2023
1 parent c7a093e commit 843b298
Showing 1 changed file with 3 additions and 239 deletions.
242 changes: 3 additions & 239 deletions modules/mod-Forge/sql/world/updates/20231122 areatrigger backport.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- acore_world.areatrigger_create_properties definition

DROP TABLE IF EXISTS acore_world.`areatrigger_create_properties`;
CREATE TABLE acore_world.`areatrigger_create_properties` (
`Id` int unsigned NOT NULL,
`AreaTriggerId` int unsigned NOT NULL,
Expand Down Expand Up @@ -117,245 +117,8 @@ INSERT INTO acore_world.areatrigger_create_properties (Id,AreaTriggerId,MoveCurv
(26198,29828,0,0,0,0,-1,0,492,0,0,1,4.0,30.0,10.0,4.0,30.0,10.0,0.0,0.0,'',46924),
(27204,4520,0,0,0,0,-1,0,0,0,604800000,0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,'',46924);



-- acore_world.areatrigger_scripts definition

CREATE TABLE acore_world.`areatrigger_scripts` (
`entry` int NOT NULL,
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`entry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(962,'at_zumrah'),
(1105,'SmartTrigger'),
(1125,'SmartTrigger'),
(1447,'SmartTrigger'),
(1526,'at_ring_of_law'),
(1726,'at_scent_larkorwi'),
(1727,'at_scent_larkorwi'),
(1728,'at_scent_larkorwi'),
(1729,'at_scent_larkorwi'),
(1730,'at_scent_larkorwi');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(1731,'at_scent_larkorwi'),
(1732,'at_scent_larkorwi'),
(1733,'at_scent_larkorwi'),
(1734,'at_scent_larkorwi'),
(1735,'at_scent_larkorwi'),
(1736,'at_scent_larkorwi'),
(1737,'at_scent_larkorwi'),
(1738,'at_scent_larkorwi'),
(1739,'at_scent_larkorwi'),
(1740,'at_scent_larkorwi');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(1786,'SmartTrigger'),
(1946,'at_nearby_scarshield_infiltrator'),
(2026,'at_blackrock_stadium'),
(2046,'at_dragonspire_hall'),
(2387,'SmartTrigger'),
(3066,'SmartTrigger'),
(3546,'at_bring_your_orphan_to'),
(3547,'at_bring_your_orphan_to'),
(3548,'at_bring_your_orphan_to'),
(3549,'at_bring_your_orphan_to');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(3551,'at_bring_your_orphan_to'),
(3552,'at_bring_your_orphan_to'),
(3626,'SmartTrigger'),
(4016,'at_malfurion_stormrage'),
(4017,'at_twilight_grove'),
(4052,'at_aq_battleguard_sartura'),
(4112,'at_kelthuzad_center'),
(4113,'at_thaddius_entrance'),
(4115,'at_faerlina_entrance'),
(4119,'at_anubrekhan_entrance');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4339,'SmartTrigger'),
(4356,'at_bring_your_orphan_to'),
(4368,'SmartTrigger'),
(4369,'SmartTrigger'),
(4371,'SmartTrigger'),
(4372,'SmartTrigger'),
(4389,'SmartTrigger'),
(4422,'at_area_52_entrance'),
(4425,'SmartTrigger'),
(4426,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4428,'SmartTrigger'),
(4429,'SmartTrigger'),
(4430,'SmartTrigger'),
(4466,'at_area_52_entrance'),
(4471,'at_area_52_entrance'),
(4472,'at_area_52_entrance'),
(4479,'SmartTrigger'),
(4485,'SmartTrigger'),
(4495,'SmartTrigger'),
(4497,'at_commander_dawnforge');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4498,'SmartTrigger'),
(4501,'SmartTrigger'),
(4502,'SmartTrigger'),
(4503,'SmartTrigger'),
(4524,'at_nethekurse_exit'),
(4542,'SmartTrigger'),
(4546,'SmartTrigger'),
(4560,'at_legion_teleporter'),
(4568,'at_battleground_buffs'),
(4569,'at_battleground_buffs');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4570,'at_battleground_buffs'),
(4571,'at_battleground_buffs'),
(4591,'at_coilfang_waterfall'),
(4665,'at_teron_gorefiend_entrance'),
(4724,'SmartTrigger'),
(4725,'SmartTrigger'),
(4726,'SmartTrigger'),
(4752,'at_nats_landing'),
(4762,'SmartTrigger'),
(4769,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4770,'SmartTrigger'),
(4772,'SmartTrigger'),
(4774,'SmartTrigger'),
(4778,'SmartTrigger'),
(4779,'SmartTrigger'),
(4801,'SmartTrigger'),
(4802,'SmartTrigger'),
(4803,'SmartTrigger'),
(4804,'SmartTrigger'),
(4820,'at_brewfest');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4829,'at_brewfest'),
(4838,'SmartTrigger'),
(4850,'SmartTrigger'),
(4857,'SmartTrigger'),
(4858,'SmartTrigger'),
(4860,'SmartTrigger'),
(4871,'SmartTrigger'),
(4872,'SmartTrigger'),
(4873,'SmartTrigger'),
(4894,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4946,'SmartTrigger'),
(4947,'SmartTrigger'),
(4948,'SmartTrigger'),
(4950,'SmartTrigger'),
(4951,'SmartTrigger'),
(4956,'SmartTrigger'),
(4960,'SmartTrigger'),
(4984,'SmartTrigger'),
(4987,'SmartTrigger'),
(4990,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(4991,'at_skadi_gaunlet'),
(5030,'SmartTrigger'),
(5046,'at_sholazar_waygate'),
(5047,'at_sholazar_waygate'),
(5051,'SmartTrigger'),
(5056,'SmartTrigger'),
(5057,'SmartTrigger'),
(5058,'SmartTrigger'),
(5059,'SmartTrigger'),
(5060,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5061,'SmartTrigger'),
(5079,'SmartTrigger'),
(5080,'SmartTrigger'),
(5082,'SmartTrigger'),
(5083,'SmartTrigger'),
(5084,'SmartTrigger'),
(5095,'SmartTrigger'),
(5096,'SmartTrigger'),
(5097,'SmartTrigger'),
(5098,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5108,'SmartTrigger'),
(5173,'at_frostgrips_hollow'),
(5174,'SmartTrigger'),
(5175,'SmartTrigger'),
(5176,'SmartTrigger'),
(5187,'SmartTrigger'),
(5190,'SmartTrigger'),
(5284,'SmartTrigger'),
(5285,'SmartTrigger'),
(5286,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5287,'SmartTrigger'),
(5291,'at_stratholme_inn_stairs_cot'),
(5332,'SmartTrigger'),
(5334,'SmartTrigger'),
(5338,'SmartTrigger'),
(5339,'SmartTrigger'),
(5340,'SmartTrigger'),
(5500,'SmartTrigger'),
(5580,'at_pit_cavern_entrance'),
(5581,'at_pit_cavern_end');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5604,'at_sindragosa_lair'),
(5605,'at_hor_shadow_throne'),
(5611,'at_icc_nerubar_broodkeeper'),
(5612,'at_icc_nerubar_broodkeeper'),
(5616,'at_icc_start_frostwing_gauntlet'),
(5617,'at_icc_start_frostwing_gauntlet'),
(5618,'at_icc_start_frostwing_gauntlet'),
(5628,'SmartTrigger'),
(5629,'SmartTrigger'),
(5630,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5631,'SmartTrigger'),
(5632,'at_hor_intro_start'),
(5633,'at_tyrannus_event_starter'),
(5649,'at_icc_shutdown_traps'),
(5650,'SmartTrigger'),
(5660,'at_hor_uther_quel_delar_start'),
(5697,'at_hor_waves_restarter'),
(5698,'at_icc_saurfang_portal'),
(5703,'SmartTrigger'),
(5704,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5705,'SmartTrigger'),
(5706,'SmartTrigger'),
(5708,'at_blood_prince_council_start_intro'),
(5709,'at_lady_deathwhisper_entrance'),
(5710,'SmartTrigger'),
(5711,'SmartTrigger'),
(5712,'SmartTrigger'),
(5714,'SmartTrigger'),
(5715,'SmartTrigger'),
(5716,'SmartTrigger');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(5718,'at_frozen_throne_teleport'),
(5732,'at_lord_marrowgar_entrance'),
(5740,'at_hor_impenetrable_door'),
(5867,'at_baltharus_plateau'),
(6033,'SmartTrigger'),
(6070,'at_sc_slabhide_intro'),
(6076,'at_sc_corborus_intro'),
(6135,'SmartTrigger'),
(6222,'at_silverpine_forsaken_rear_guard'),
(6230,'at_silverpine_no_escape');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(6427,'SmartTrigger'),
(6454,'SmartTrigger'),
(6455,'SmartTrigger'),
(7016,'at_darkmoon_faire_entrance'),
(7246,'at_alizabal_intro'),
(8130,'SmartTrigger'),
(8189,'SmartTrigger'),
(8190,'SmartTrigger'),
(10125,'SmartTrigger'),
(10500,'at_battleground_buffs');
INSERT INTO acore_world.areatrigger_scripts (entry,ScriptName) VALUES
(10501,'at_battleground_buffs'),
(10502,'at_battleground_buffs'),
(10503,'at_battleground_buffs'),
(10504,'at_battleground_buffs'),
(10505,'at_battleground_buffs');


-- acore_world.areatrigger_template definition

DROP TABLE IF EXISTS acore_world.`areatrigger_template`;
CREATE TABLE acore_world.`areatrigger_template` (
`Id` int unsigned NOT NULL,
`IsServerSide` tinyint unsigned NOT NULL,
Expand Down Expand Up @@ -1107,6 +870,7 @@ INSERT INTO acore_world.areatrigger_template (Id,IsServerSide,`Type`,Flags,Data0

-- acore_world.areatrigger_template_actions definition

DROP TABLE IF EXISTS acore_world.`areatrigger_template_actions`;
CREATE TABLE acore_world.`areatrigger_template_actions` (
`AreaTriggerId` int unsigned NOT NULL,
`IsServerSide` tinyint unsigned NOT NULL,
Expand Down

0 comments on commit 843b298

Please sign in to comment.