aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarpten <vertozor@gmail.com>2013-01-05 04:35:36 -0800
committerWarpten <vertozor@gmail.com>2013-01-05 04:35:36 -0800
commitea23d3282001322752917b93c0ecfb311e43c615 (patch)
tree2f6f41a73f39e1916376ec7a711f89c1a2f03597
parentc11dcb0dbddf8ddde2c6f1657dea7c020969c545 (diff)
DB/SAI: Fixed some runtime errors.
-rw-r--r--sql/updates/world/2012_01_05_00_world_sai.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2012_01_05_00_world_sai.sql b/sql/updates/world/2012_01_05_00_world_sai.sql
new file mode 100644
index 00000000000..bfa06980983
--- /dev/null
+++ b/sql/updates/world/2012_01_05_00_world_sai.sql
@@ -0,0 +1,8 @@
+-- Fixup some runtime errors, linked events that were not SMART_EVENT_LINK
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=38017 AND `id`=1 AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=1443 AND `id`=1 AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=3448 AND `id` IN (1, 2, 3) AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=3616 AND `id` IN (1, 2) AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=4049 AND `id`=1 AND `source_type`=0;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=305400 AND `id` IN (1, 2) AND `source_type`=9;
+UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=83600 AND `id` IN (1, 2, 3) AND `source_type`=9;