scriptdev2 / scriptdev2-cata

ScriptDev2 for Cataclysm

Home Page:http://www.scriptdev2.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quest Dimensius the All-Devouring(Addon Burning Crusade, location Netherstorm)

opened this issue · comments

Hello, i wrote partially implementing script. Please see and can help to correct the error.
Thanks advance.
http://www.wowhead.com/quest=10439

REPLACE INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`) VALUES('8001','9','10439','0');
REPLACE INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`) VALUES('8002','33','47','0');
REPLACE INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`) VALUES('8003','33','1','0');
REPLACE INTO `gossip_menu` (`entry`, `text_id`, `script_id`, `condition_id`) VALUES('8228','10229','0','8001');
REPLACE INTO `gossip_menu` (`entry`, `text_id`, `script_id`, `condition_id`) VALUES('8228','10229','0','8002');
REPLACE INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `action_script_id`, `box_coded`, `box_money`, `box_text`, `condition_id`) VALUES('8228','0','0','I am ready.','1','1','-1','0','8228','0','0','Start Event?','8001');
REPLACE INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `action_script_id`, `box_coded`, `box_money`, `box_text`, `condition_id`) VALUES('8228','1','0','Go.','1','1','-1','0','8208','0','0','Start Event?','8002');
DELETE FROM `creature_linking_template` WHERE `entry` IN (20984, 21783, 21805);
INSERT INTO `creature_linking_template` (`entry`, `map`, `master_entry`, `flag`, `search_range`) VALUES
('20984','530','20985','559','60'),
('21783','530','20985','559','60'),
('21805','530','20985','559','60');

UPDATE `creature_template` SET `MovementType` = 0 WHERE `entry` = 20985;
UPDATE `creature` SET `MovementType` = 2 WHERE `id` = 20985;
DELETE FROM `creature` WHERE `id`=20985;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES
(401264, 20985, 530, 1, 1, 0, 20985, 4264.29, 2102.71, 140.839, 6.10865, 600, 0, 0, 34464, 16155, 0, 2);

DELETE FROM `creature` WHERE `id`=20984;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES
(57499, 20984, 530, 1, 1, 0, 0, 4275.36, 2109.73, 138.378, 3.33358, 180, 0, 0, 13522, 0, 0, 0),
(57503, 20984, 530, 1, 1, 0, 0, 4269.3, 2111.34, 138.99, 3.07178, 180, 0, 0, 13522, 0, 0, 0),
(57506, 20984, 530, 1, 1, 0, 0, 4268.54, 2095.39, 141.599, 2.93215, 180, 0, 0, 13522, 0, 0, 0);

DELETE FROM `creature` WHERE `id`=21783;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES
(57498, 21783, 530, 1, 1, 0, 0, 4275.36, 2115.61, 137.004, 3.05433, 180, 0, 0, 11178, 3080, 0, 0),
(57502, 21783, 530, 1, 1, 0, 0, 4275.1, 2092.07, 140.158, 3.14159, 180, 0, 0, 11178, 3080, 0, 0);

DELETE FROM `creature` WHERE `id`=21805;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES
(57500, 21805, 530, 1, 1, 0, 0, 4275.51, 2102.92, 139.008, 3.14159, 180, 0, 0, 10818, 3155, 0, 0),
(57501, 21805, 530, 1, 1, 0, 0, 4274.87, 2097.26, 139.851, 3.22886, 180, 0, 0, 10818, 3155, 0, 0),
(57504, 21805, 530, 1, 1, 0, 0, 4269.44, 2105.87, 138.754, 3.42085, 180, 0, 0, 10818, 3155, 0, 0),
(57505, 21805, 530, 1, 1, 0, 0, 4268.57, 2100.57, 140.903, 3.24631, 180, 0, 0, 10818, 3155, 0, 0);

DELETE FROM `creature` WHERE `id`=19554;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES
(57556, 19554, 530, 1, 1, 0, 0, 3936.81, 2003.83, 257.529, 1.01229, 600, 5, 0, 279440, 0, 0, 0);

DELETE FROM `creature_movement_template` WHERE `entry`=20985;
INSERT INTO `creature_movement_template` (`entry`,`point`,`position_x`,`position_y`,`position_z`,`waittime`,`script_id`,`textid1`,`textid2`,`textid3`,`textid4`,`textid5`,`emote`,`spell`,`wpguid`,`orientation`,`model1`,`model2`) VALUES
(20985, 1, 4264.29, 2102.71, 140.839, 6.10865, 2098501, 0, 0, 0, 0, 0, 0, 0, 401212, 6.21655, 0, 0), 
(20985, 2, 4257.76, 2099.95, 143.481, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401213, 2.88593, 0, 0),
(20985, 3, 4249.97, 2105.68, 144.083, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401214, 2.34008, 0, 0),
(20985, 4, 4246.45, 2111.34, 144.552, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401215, 2.12016, 0, 0),
(20985, 5, 4244.12, 2117.8, 145.031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401216, 1.89632, 0, 0),
(20985, 6, 4240.76, 2127.19, 145.622, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401217, 1.91203, 0, 0),
(20985, 7, 4238.27, 2132.41, 146.226, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401218, 2.07304, 0, 0),
(20985, 8, 4234.2, 2138.31, 147.295, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401219, 2.23797, 0, 0),
(20985, 9, 4229.99, 2143.47, 148.514, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401220, 2.28902, 0, 0),
(20985, 10, 4225.31, 2148.49, 149.663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401221, 2.34793, 0, 0),
(20985, 11, 4221.88, 2142.79, 151.828, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401222, 4.15827, 0, 0),
(20985, 12, 4219.29, 2138.6, 153.614, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401223, 4.15827, 0, 0),
(20985, 13, 4216.51, 2134.12, 154.956, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401224, 4.15435, 0, 0),
(20985, 14, 4213.88, 2129.95, 155.41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401225, 4.14649, 0, 0),
(20985, 15, 4210.92, 2125.62, 155.591, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401226, 4.09544, 0, 0),
(20985, 16, 4208.17, 2121.77, 155.698, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401227, 4.09152, 0, 0),
(20985, 17, 4205.48, 2118.02, 158.689, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401228, 4.09152, 0, 0),
(20985, 18, 4203.09, 2114.72, 160.18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401229, 4.08366, 0, 0),
(20985, 19, 4199.82, 2110.19, 159.595, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401230, 4.09152, 0, 0),
(20985, 20, 4190.83, 2097.62, 158.504, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401231, 4.09152, 0, 0),
(20985, 21, 4180.8, 2081.76, 161.666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401232, 4.15827, 0, 0),
(20985, 22, 4174.75, 2070.9, 164.385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401233, 4.26037, 0, 0),
(20985, 23, 4174.37, 2058.48, 169.121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401234, 5.05362, 0, 0),
(20985, 24, 4178.27, 2051.2, 172.75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401235, 5.23819, 0, 0),
(20985, 25, 4182.15, 2044.52, 176.056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401236, 5.23819, 0, 0),
(20985, 26, 4185.74, 2035.18, 179.999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401237, 4.91618, 0, 0),
(20985, 27, 4186.65, 2023.36, 184.971, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401238, 4.7002, 0, 0),
(20985, 28, 4185.54, 2014.54, 189.862, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401239, 4.52349, 0, 0),
(20985, 29, 4182.17, 2006.35, 195.371, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401240, 4.20933, 0, 0),
(20985, 30, 4177.94, 1999.77, 200.164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401241, 4.11116, 0, 0),
(20985, 31, 4173.38, 1994.37, 203.833, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401242, 3.98942, 0, 0),
(20985, 32, 4168.69, 1989.66, 206.921, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401243, 3.90696, 0, 0),
(20985, 33, 4162.75, 1984.9, 209.942, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401244, 3.78522, 0, 0),
(20985, 34, 4157.4, 1981.32, 212.398, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401245, 3.6949, 0, 0),
(20985, 35, 4150.51, 1977.62, 215.067, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401246, 3.62029, 0, 0),
(20985, 36, 4144.56, 1974.64, 217.155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401247, 3.60065, 0, 0),
(20985, 37, 4134.58, 1969.06, 220.354, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401248, 3.72605, 0, 0),
(20985, 38, 4117.35, 1985, 223.929, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401249, 2.24165, 0, 0),
(20985, 39, 4110.04, 1994.4, 226.897, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401250, 2.22594, 0, 0),
(20985, 40, 4104.33, 2005.52, 229.987, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401251, 1.99032, 0, 0),
(20985, 41, 4097.22, 2020.26, 234.464, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401252, 2.17489, 0, 0),
(20985, 42, 4083.09, 2037.36, 240.329, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401253, 2.35946, 0, 0),
(20985, 43, 4070.09, 2051.12, 246.065, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401254, 2.45763, 0, 0),
(20985, 44, 4057.96, 2062.31, 250.666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401255, 2.44593, 0, 0),
(20985, 45, 4034.9, 2077.34, 254.478, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401256, 2.53248, 0, 0),
(20985, 46, 4002.98, 2097.8, 254.212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401257, 4.04193, 0, 0),
(20985, 47, 3992.89, 2088.86, 254.33, 0, 2098547, 0, 0, 0, 0, 0, 0, 0, 401258, 4.07976, 0, 0),
(20985, 48, 3989.38, 2083.54, 256.337, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401259, 4.29594, 0, 0),
(20985, 49, 3984.63, 2077.76, 256.405, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401260, 4.21721, 0, 0),
(20985, 50, 3978.75, 2066.79, 256.405, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401261, 4.16157, 0, 0),
(20985, 51, 3959.94, 2039.18, 257.63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 401262, 4.12517, 0, 0),
(20985, 52, 3947.84, 2019.95, 256.207, 0, 2098552, 0, 0, 0, 0, 0, 0, 0, 401263, 4.1, 0, 0),
(20985, 53, 3947.84, 2019.95, 256.207, 0, 2098552, 0, 0, 0, 0, 0, 0, 0, 401263, 4.1, 0, 0);  

-- Script id: 2098501
DELETE FROM dbscripts_on_creature_movement WHERE id=2098501;
INSERT INTO dbscripts_on_creature_movement VALUES 
(2098501,0,32,1,0,0,0,0,0,0,0,0,0,0,0,0,'Captain Saeed - Set Pause Movement = true on waypoint reached = 1.'),
(2098501,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,'Captain Saeed - Set Run = True.');

-- Script id: 2098547
DELETE FROM dbscripts_on_creature_movement WHERE id=2098547;
INSERT INTO dbscripts_on_creature_movement VALUES 
(2098547,0,32,1,0,0,0,0,0,0,0,0,0,0,0,0,'Captain Saeed - Set Pause Movement = true on waypoint reached = 47.'),
(2098547,0,29,2,0,0,0,0,0,0,0,0,0,0,0,0,'Captain Saeed - show gossip flag.'),
(2098547,0,0,0,0,0,0,0,2000006674,0,0,0,0,0,0,0,'Captain Saeed - Say Prepare.');

-- Script id: 2098552
DELETE FROM dbscripts_on_creature_movement WHERE id=2098552;
INSERT INTO dbscripts_on_creature_movement VALUES 
(2098552,4,0,1,0,19554,100,4,2000006678,0,0,0,0,0,0,0,'Dimensius the All-Devouring - Talk Preattack.'),
(2098552,7,26,0,0,19554,100,2,0,0,0,0,0,0,0,0,'Captain Saeed  - Attack Start.'),
(2098552,6,4,53,64,19554,100,4,0,0,0,0,0,0,0,0,'Dimensius the All-Devouring - Remove Not Attackable flags.'),
(2098552,0,14,8203,0,19554,100,4,0,0,0,0,0,0,0,0,'Dimensius the All-Devouring - Remove Invisible aura.'),
(2098552,0,0,1,0,0,0,0,2000006676,0,0,0,0,0,0,0,'Captain Saeed - Say Preattack.'),
(2098552,0,32,1,0,0,0,0,0,0,0,0,0,0,0,0,'Captain Saeed - Set Pause Movement = true.');



DELETE FROM creature_ai_summons WHERE id IN (30, 31, 32, 33);
INSERT INTO creature_ai_summons VALUES 
('30','3946.41','1981.89','256.716','2.01385','120000',''),
('31','3960.44','2005.26','256.719','3.12872','120000',''),
('32','3926.61','2029.24','257.165','4.98391','120000',''),
('33','3909.96','2002.07','257.022','0.123846','120000','');


UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` IN (21783, 20984, 20985, 21805, 21780, 19554);
DELETE FROM creature_ai_scripts WHERE creature_id IN (21783, 20984, 20985, 21805, 21780, 19554);
INSERT INTO creature_ai_scripts VALUES 
('2178301','21783','0','0','100','1','2000','2000','3000','3000','11','34232','1','0','0','0','0','0','0','0','0','0','Protectorate Regenerator - Cast Holy Lightning.'),
('2178302','21783','14','0','100','1','1000','50','10000','20000','11','37460','6','1','0','0','0','0','0','0','0','0','Protectorate Regenerator - Cast Regeneration.'),
('2178303','21783','11','0','100','0','0','0','0','0','21','0','0','0','20','0','0','0','29','20','0','0','Protectorate Regenerator - Preevent Combat Movement.'),
('2098501','20985','0','0','100','1','2000','3000','2000','3000','11','15496','1','0','0','0','0','0','0','0','0','0','Captain Saeed - Cast Cleave.'),
('2180501','21805','0','0','100','1','2000','3000','2000','3000','11','15496','1','0','0','0','0','0','0','0','0','0','Protectorate Avenger - Cast Glave.'),
('2098401','20984','0','0','100','1','10000','10000','12000','15000','11','31553','1','8','0','0','0','0','0','0','0','0','Protectorate Defender - Cast Hamstring.'),
('2098402','20984','0','0','100','1','2000','3000','2000','3000','0','0','0','0','0','0','0','0','0','0','0','0','Protectorate Defender - Cast Glave.'),
('1955401','19554','2','0','100','0','52','48','0','0','1','-1708','0','0','32','21780','0','30','32','21780','0','31','Dimensius the All-Devouring - Yell and summon Spawn of Dimensius.'),
('1955402','19554','2','0','100','0','52','48','0','0','32','21780','0','32','32','21780','0','33','11','37396','0','2','Dimensius the All-Devouring - summon Spawn of Dimensius.'),
('1955403','19554','11','0','100','0','0','0','0','0','11','8203','0','32','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - cast Invisible on spawned (maybe hack, not functional in database set visibility).'),
('1955404','19554','0','0','100','1','2000','3000','2000','3000','11','37500','1','0','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - Cast 37500'),
('1955405','19554','0','0','100','1','10000','15000','10000','15000','11','37412','4','10','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - Cast Shadow Vault.'),
('1955406','19554','17','0','100','1','21780','1000','1000','0','45','5','400','0','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - Send AI Event Spawn Dimensius.'),
('1955407','19554','9','0','100','1','90','100','1000','1000','41','0','0','0','0','0','0','0','0','0','0','0','Dimensius the All-Devouring  - Force Despawn on big range target.'),
('1955408','19554','11','0','100','0','0','0','0','0','21','0','0','0','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - Preevent Combat Movement.'),
('1955409','19554','21','0','100','0','0','0','0','0','11','8203','0','32','0','0','0','0','0','0','0','0','Dimensius the All-Devouring - cast Invisible on reached home (maybe hack, not functional in database set visibility).'),
('2178001','21780','11','0','100','0','0','0','0','0','21','0','0','0','20','0','0','0','0','0','0','0','Spawn of Dimensius - Preevent Combat Movement.'),
('2178002','21780','30','0','100','1','5','19554','0','0','11','37450','10','0','0','0','0','0','0','0','0','0','Spawn of Dimensius - Cast Dimensius Feeding');

DELETE FROM `db_script_string` WHERE `entry` IN (2000006673, 2000006674, 2000006675, 2000006676, 2000006677, 2000006678);
INSERT INTO `db_script_string` (`entry`, `content_default`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
('2000006673','You heard the fleshling! MOVE OUT!','Вы слышали смертных! ВОН ОТСЮДА!!!','0','0','0','0','quest 10439.'),
('2000006674','Tell me when you are ready, <name>. We will attack on your command.','Скажи когда будешь готов, <name>. Мы атакуем по  твоей команде.','0','0','0','0','quest 10439.'),
('2000006675','It\'s now or never, soldiers! Let\'s do this! For K\'aresh! For the Protectorate!','Теперь или никогда, солдаты! Давайте сделаем это! За К\'ареш! За Протекторат!','0','1','0','0','quest 10439.'),
('2000006676','The time for your destruction has finally come, Dimensius!','Время уничтожить тебя наконец-то пришло, Пространствус!','0','1','0','0','quest 10439.'),
('2000006677','We won. Dimensius no more. Report this proffesor Dabiri.','Мы победили. Пространствуса больше нет. Доложи об этом Профессору Дабири.','0','0','0','0','quest 10439.'),
('2000006678','Time only has meaning to mortals, insect. Dimensius is infinite!','Время важно лишь для смертных, насекомое. Пространствус бесконечен!','0','1','0','0','quest 10439.');

DELETE FROM `creature_ai_texts` WHERE entry=-1708;
INSERT INTO `creature_ai_texts` (`entry`, `content_default`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES('-1708','I hunger! Feed me the power of this forge, my children!','Я голоден! Напитайте меня силой этой кузни, дети мои!','0','1','0','0','quest 10439');


-- Script id: 8228
DELETE FROM dbscripts_on_gossip WHERE id=8228;
INSERT INTO dbscripts_on_gossip VALUES 
(8228,0,0,0,0,20985,50,4,2000006673,0,0,0,0,0,0,0,'Captain Saeed - Say Start Event.'),
(8228,5,32,0,0,20985,50,4,0,0,0,0,0,0,0,0,'Captain Saeed - Set Pause Movement = false.'),
(8228,0,29,2,2,20985,50,4,0,0,0,0,0,0,0,0,'Captain Saeed - Remove Gossip Flag.'),
(8228,0,34,8003,0,0,0,8,0,0,0,0,0,0,0,0,'Terminate script on condition waypoint <1');

-- Script id: 8208
DELETE FROM dbscripts_on_gossip WHERE id=8208;
INSERT INTO dbscripts_on_gossip VALUES 
(8208,0,0,1,0,20985,50,4,2000006675,0,0,0,0,0,0,0,'Captain Saeed - Say Prefight 1.'),
(8208,3,32,0,0,20985,50,4,0,0,0,0,0,0,0,0,'Captain Saeed - Pause Movement = false.'),
(8208,0,29,2,2,20985,50,4,0,0,0,0,0,0,0,0,'Captain Saeed - Remove Gossip Flag.');

-- Script id: 19554
DELETE FROM dbscripts_on_creature_death WHERE id=19554;
INSERT INTO dbscripts_on_creature_death VALUES 
(19554,0,0,0,0,20985,100,4,2000006677,0,0,0,0,0,0,0,'Captain Saeed - Say Win.');





Thanks YTDB for settlement.

What remains todo / which errors remain?

Would be nice if an even with this complexibility is already doable via DB scripting ;)

Invisibility Dimensius correct and make visible
Gossip 8208. Could NPC in the database have two Gossip?
How about the script? I'm just saying, I will be doing in the database! There easier to correct.

Fixed and edited the first post! Waiting for your consideration! Hopefully positive!

I will check this tomorrow to see if everything is fine.
But I don't understand the invisibility part for Dimensius. Why does it need that?

Dimensius either invisible or summon script. I decided to make it invisible. It becomes visible only when that Captain Saeed reached the last waypoint. I did the script from memory.
P.S: I thought I can not do without SD2, but fortunately nothing happened.

I will check soonish, as i have some sniffs around netherstorm, so if he is spawned i should have him.

Okay. Excuse me, but I will not have to change. The script should be altered. And so much time ugrohal.

Here are a few notes:

  1. Dimensius is spawned, but it should have the model of creature 21035 before the event. However this isn't a bit issue to fix.
  2. The important issue is that we cannot make the defenders to follow the captain after they evade.
    The possible workaround on this, is to add individual paths for each of the defenders, and keep only the Aggro linking flags. But this will require a lot of waypoints.

https://www.youtube.com/watch?v=HYuilDCG34Q

I do not sniff, I do everything from memory.
About to follow - I'm fine after evading captain should.

You can add an action in EventAI ReturnToLastOOCPos.
And by the way when the 52 waypoint Captain Said sharply comes back, I think it is necessary to add a waypoint 53 unused.

hmm, i thought that linked move-follow will start following again after evade.

Edit: Yes - https://raw.githubusercontent.com/cmangos/mangos-wotlk/master/src/game/MotionMaster.cpp
void MotionMaster::MoveTargetedHome()

Will start refollowing in case of linked following, so this must happen as well on evade.
Evade should call MoveTargetedHome..

Will start refollowing in case of linked following, so this must happen as well on evade.
Evade should call MoveTargetedHome..

There was a time when this didn't work fine. But by looking at the code it looks like it does.
I will test this later.

In any case, this quest is possible and without SD2 dispensed!

I started to review this quest. And the only problem that I have, is that the gossip texts that you provided are wrong.
I could find a vid showing the correct gossip texts, but it's not very clear: https://www.youtube.com/watch?v=HYuilDCG34Q

Maybe someone else can provide more details on this?

xfurry, how can I PM you? Thanks.

http://cmangos.net/user-9.html -> Send user a Private Message

Done.