From 36a6ab4277c43bbc1649928641ae4b954bf4582b Mon Sep 17 00:00:00 2001 From: DantestyleXD Date: Sat, 27 Aug 2016 06:03:32 +0200 Subject: [PATCH 1/4] [DB/Quest] Not work quest id 10990 10991 10992 #114 --- data/sql/DB - FIX/2016_08_27_01.sql | 11 +++++++++++ src/scripts/World/go_scripts.cpp | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 data/sql/DB - FIX/2016_08_27_01.sql diff --git a/data/sql/DB - FIX/2016_08_27_01.sql b/data/sql/DB - FIX/2016_08_27_01.sql new file mode 100644 index 000000000..5ba659fb0 --- /dev/null +++ b/data/sql/DB - FIX/2016_08_27_01.sql @@ -0,0 +1,11 @@ +/* +Issue: Not work quest id 10990 10991 10992 #114 +NPCs spawns are inside the Gobjs +*/ + +UPDATE gameobject_template SET AIName="SmartGameObjectAI", ScriptName = "" WHERE entry IN (185551,185547,185553); +DELETE FROM smart_scripts WHERE entryorguid IN (185551,185547,185553) AND source_type=1; +INSERT INTO smart_scripts VALUES +(185551,1,0,0,64,0,100,0,0,0,0,0,12,22992,7,0,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22992"), +(185547,1,0,0,64,0,100,0,0,0,0,0,12,22993,7,0,0,0,0,7,0,0,0,0,0,0,0,"Eagle Shrine - On Gossip Hello - Summon Creature 22993"), +(185553,1,0,0,64,0,100,0,0,0,0,0,12,22994,7,0,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22994"); diff --git a/src/scripts/World/go_scripts.cpp b/src/scripts/World/go_scripts.cpp index 5b6840b93..e13b30776 100644 --- a/src/scripts/World/go_scripts.cpp +++ b/src/scripts/World/go_scripts.cpp @@ -448,7 +448,7 @@ public: /*###### ## go_shrine_of_the_birds ######*/ - +/* enum ShrineOfTheBirds { NPC_HAWK_GUARD = 22992, @@ -490,7 +490,7 @@ public: return false; } }; - +*/ /*###### ## go_southfury_moonstone ######*/ From 9076e4a4e80db96d2f67541ed8ac0ebb34162154 Mon Sep 17 00:00:00 2001 From: DantestyleXD Date: Sat, 27 Aug 2016 14:37:21 +0200 Subject: [PATCH 2/4] [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.2 --- data/sql/DB - FIX/2016_08_27_01.sql | 8 ++++---- src/scripts/World/go_scripts.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/sql/DB - FIX/2016_08_27_01.sql b/data/sql/DB - FIX/2016_08_27_01.sql index 5ba659fb0..32be61bf0 100644 --- a/data/sql/DB - FIX/2016_08_27_01.sql +++ b/data/sql/DB - FIX/2016_08_27_01.sql @@ -3,9 +3,9 @@ Issue: Not work quest id 10990 10991 10992 #114 NPCs spawns are inside the Gobjs */ -UPDATE gameobject_template SET AIName="SmartGameObjectAI", ScriptName = "" WHERE entry IN (185551,185547,185553); +UPDATE gameobject_template SET AIName="SmartGameObjectAI", ScriptName = "" /*go_shrine_of_the_birds*/ WHERE entry IN (185551,185547,185553); DELETE FROM smart_scripts WHERE entryorguid IN (185551,185547,185553) AND source_type=1; INSERT INTO smart_scripts VALUES -(185551,1,0,0,64,0,100,0,0,0,0,0,12,22992,7,0,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22992"), -(185547,1,0,0,64,0,100,0,0,0,0,0,12,22993,7,0,0,0,0,7,0,0,0,0,0,0,0,"Eagle Shrine - On Gossip Hello - Summon Creature 22993"), -(185553,1,0,0,64,0,100,0,0,0,0,0,12,22994,7,0,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22994"); +(185551,1,0,0,70,0,100,0,2,0,0,0,12,22992,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Activate - Summon Creature 22992"), +(185547,1,0,0,70,0,100,0,2,0,0,0,12,22993,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Eagle Shrine - On Gossip Hello - Summon Creature 22993"), +(185553,1,0,0,70,0,100,0,2,0,0,0,12,22994,7,60000,0,0,0,7,0,0,0,0,0,0,0,"Hawk Shrine - On Gossip Hello - Summon Creature 22994"); \ No newline at end of file diff --git a/src/scripts/World/go_scripts.cpp b/src/scripts/World/go_scripts.cpp index e13b30776..e994ff879 100644 --- a/src/scripts/World/go_scripts.cpp +++ b/src/scripts/World/go_scripts.cpp @@ -1182,7 +1182,7 @@ void AddSC_go_scripts() // Theirs new go_cat_figurine(); new go_gilded_brazier(); - new go_shrine_of_the_birds(); + //new go_shrine_of_the_birds(); new go_southfury_moonstone(); new go_tablet_of_madness(); new go_tablet_of_the_seven(); From d4aeb75a4769534fbf9fd806488e704d55635168 Mon Sep 17 00:00:00 2001 From: DantestyleXD Date: Sat, 27 Aug 2016 21:47:30 +0200 Subject: [PATCH 3/4] typo --- data/sql/{DB - FIX => dbfix}/2016_08_27_01.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/sql/{DB - FIX => dbfix}/2016_08_27_01.sql (100%) diff --git a/data/sql/DB - FIX/2016_08_27_01.sql b/data/sql/dbfix/2016_08_27_01.sql similarity index 100% rename from data/sql/DB - FIX/2016_08_27_01.sql rename to data/sql/dbfix/2016_08_27_01.sql From 402081def2a1f188fe0128dcc3630fdda125eec4 Mon Sep 17 00:00:00 2001 From: DantestyleXD Date: Mon, 29 Aug 2016 09:52:43 +0200 Subject: [PATCH 4/4] [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.3 --- data/sql/{dbfix => updates/pending_db_world}/2016_08_27_01.sql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/sql/{dbfix => updates/pending_db_world}/2016_08_27_01.sql (100%) diff --git a/data/sql/dbfix/2016_08_27_01.sql b/data/sql/updates/pending_db_world/2016_08_27_01.sql similarity index 100% rename from data/sql/dbfix/2016_08_27_01.sql rename to data/sql/updates/pending_db_world/2016_08_27_01.sql