DB/World: DBErrors

This commit is contained in:
Céfiro_Caecias
2026-09-01 12:01:17 -03:00
committed by GitHub
parent 0bc64dbd5a
commit a1ff35c25f
@@ -0,0 +1,237 @@
-- DBErrors
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (137231,140387,140390,140951,140952,140955,140971,141319,141423,142335,142379,143851,143853,143854,144546,144823,144824,144872,145875);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(137231, 0, 0, 0, 69497),
(140387, 0, 0, 0, 69497),
(140390, 0, 0, 0, 69497),
(140951, 0, 0, 0, 69497),
(140952, 0, 0, 0, 69497),
(140955, 0, 0, 0, 69497),
(140971, 0, 0, 0, 69497),
(141319, 0, 0, 0, 69497),
(141423, 0, 0, 0, 69497),
(142335, 0, 0, 0, 69497),
(142379, 0, 0, 0, 69497),
(143851, 0, 0, 0, 69497),
(143853, 0, 0, 0, 69497),
(143854, 0, 0, 0, 69497),
(144546, 0, 0, 0, 69497),
(144823, 0, 0, 0, 69497),
(144824, 0, 0, 0, 69497),
(144872, 0, 0, 0, 69497),
(145875, 0, 0, 0, 69497);
DELETE FROM `creature_template` WHERE `entry`=258218;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `IconName`, `TitleAlt`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(258218, 0, 0, 'Unknown NPC', 'Unknown NPC', NULL, NULL, NULL, 0, 0, 35, 0, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 15, 0, '', 0, 1, 0, 0, 0, 0, 1, 0, 0, '', NULL, 69497);
DELETE FROM `creature_template_addon` WHERE `entry`=258218;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(258218, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `creature_template_model` WHERE `CreatureID`=258218;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(258218, 0, 92417, 1, 1, 69497);
UPDATE `creature_template` SET `faction`=35 WHERE `entry` IN (261682,268908,262448,266137,259850,256583,266240,266238,266239,264071,265624,271689,269747);
UPDATE `creature_template` SET `npcflag`=2 WHERE `entry` IN (237601,240747,250415);
DELETE FROM `creature_template_model` WHERE `CreatureID`=259446 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(259446, 0, 144156, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262011 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(262011, 0, 146664, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=259445 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(259445, 0, 144110, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261550 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261550, 0, 146598, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261554 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261554, 0, 147569, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=270306 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(270306, 0, 146680, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=263109 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(263109, 0, 147578, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261573 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261573, 0, 146299, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=272672 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(272672, 0, 146662, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=264498 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(264498, 0, 146403, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261553 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261553, 0, 146654, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261560 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261560, 0, 146653, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261552 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261552, 0, 146661, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=271453 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(271453, 0, 147577, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262398 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(262398, 0, 142361, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=259447 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(259447, 0, 145435, 1, 1, 69497);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261557 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(261557, 0, 146654, 1, 1, 69497);
UPDATE `creature_equip_template` SET `AppearanceModID1`=0 WHERE `CreatureID`=27893 AND `ID`=36;
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (146654,145435,142361,147577,146661,146653,146403,146662,146299,147578,146680,147569,146598,144110,146664,144156);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(146654, 0, 0, 0, 69497),
(145435, 0, 0, 0, 69497),
(142361, 0, 0, 0, 69497),
(147577, 0, 0, 0, 69497),
(146661, 0, 0, 0, 69497),
(146653, 0, 0, 0, 69497),
(146403, 0, 0, 0, 69497),
(146662, 0, 0, 0, 69497),
(146299, 0, 0, 0, 69497),
(147578, 0, 0, 0, 69497),
(146680, 0, 0, 0, 69497),
(147569, 0, 0, 0, 69497),
(146598, 0, 0, 0, 69497),
(144110, 0, 0, 0, 69497),
(146664, 0, 0, 0, 69497),
(144156, 0, 0, 0, 69497);
DELETE FROM `creature_template` WHERE `entry`=264835;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(264835, 0, 0, '[DNT] Kill Credit: Mush-vroom', '', NULL, NULL, '(NULL)', 11, 0, 35, 0, 1, 1.14286, 1, 0, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 10, 0, '', 0, 1, 0, 0, 0, 0, 1, 0, 0, '', '', 69497); -- [DNT] Kill Credit: Mush-vroom
DELETE FROM `creature_template_model` WHERE `CreatureID`=264835;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(264835, 0, 1126, 1, 1, 69497);
DELETE FROM `creature_template` WHERE `entry`=265115;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `TitleAlt`, `IconName`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(265115, 0, 0, 'Hal''hadar Cultivator', '', NULL, NULL, '(NULL)', 11, 0, 35, 0, 1, 1.14286, 1, 0, 0, 2000, 0, 1, 1, 1, 0, 2048, 0, 0, 0, 7, 0, '', 0, 1, 0, 0, 0, 0, 1, 0, 0, '', '', 69497); -- Hal'hadar Cultivator
DELETE FROM `creature_template_model` WHERE `CreatureID`=265115;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(265115, 0, 140950, 1, 1, 69497),
(265115, 1, 140951, 1, 1, 69497),
(265115, 2, 140952, 1, 1, 69497),
(265115, 3, 140956, 1, 1, 69497),
(265115, 4, 140957, 1, 1, 69497),
(265115, 5, 141319, 1, 1, 69497);
UPDATE `gameobject_template` SET `Data1`=639875, `Data30`=0 WHERE `entry`=639875;
DELETE FROM `gameobject_loot_template` WHERE `Entry` = 639875;
INSERT INTO `gameobject_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(639875, 0, 269666, 100, 0, 1, 0, 1, 1, 'Feather of Jan''alai');
UPDATE `npc_vendor` SET `maxcount`=0 WHERE `entry`=232033 AND `item`=7089 AND `ExtendedCost`=0 AND `type`=1;
UPDATE `npc_vendor` SET `maxcount`=0 WHERE `entry`=232035 AND `item`=5973 AND `ExtendedCost`=0 AND `type`=1;
UPDATE `npc_vendor` SET `maxcount`=0 WHERE `entry`=232035 AND `item`=21942 AND `ExtendedCost`=0 AND `type`=1;
UPDATE `npc_vendor` SET `maxcount`=0 WHERE `entry`=232037 AND `item`=11305 AND `ExtendedCost`=0 AND `type`=1;
UPDATE `creature_template` SET `npcflag`=128 WHERE `entry` IN (253037,253039,258882,258883,240225,240239,240404,240407,252203);
UPDATE `creature_template` SET `ScriptName`='npc_lightward_healer' WHERE `entry`=234486;
DELETE FROM `gossip_menu` WHERE `MenuID` IN (37833,37898,37900,38571,38678,38687,38769,38837,38838,38899,39241,39319,39322,39325,39326,39328,39333,39376,39452,39453,39454,39466,39660,39910,39927,39954,39955,39956,39957,39958,39959,39971,40263,41060,42134,42136,42506,42510,42878);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(37833, 1, 69497),
(37898, 1, 69497),
(37900, 1, 69497),
(38571, 1, 69497),
(38678, 1, 69497),
(38687, 1, 69497),
(38769, 1, 69497),
(38837, 1, 69497),
(38838, 1, 69497),
(38899, 1, 69497),
(39241, 1, 69497),
(39319, 1, 69497),
(39322, 1, 69497),
(39325, 1, 69497),
(39326, 1, 69497),
(39328, 1, 69497),
(39333, 1, 69497),
(39376, 1, 69497),
(39452, 1, 69497),
(39453, 1, 69497),
(39454, 1, 69497),
(39466, 1, 69497),
(39660, 1, 69497),
(39910, 1, 69497),
(39927, 1, 69497),
(39954, 1, 69497),
(39955, 1, 69497),
(39956, 1, 69497),
(39957, 1, 69497),
(39958, 1, 69497),
(39959, 1, 69497),
(39971, 1, 69497),
(40263, 1, 69497),
(41060, 1, 69497),
(42134, 1, 69497),
(42136, 1, 69497),
(42506, 1, 69497),
(42510, 1, 69497),
(42878, 1, 69497);
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (147221,147222,147224);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(147221, 0, 0, 0, 69497),
(147222, 0, 0, 0, 69497),
(147224, 0, 0, 0, 69497);
DELETE FROM `creature_template` WHERE `entry`=243936;
INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `IconName`, `TitleAlt`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
(243936, 0, 0, 'Unknown NPC', 'Unknown NPC', NULL, NULL, NULL, 0, 0, 35, 0, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 15, 0, '', 0, 1, 0, 0, 0, 0, 1, 0, 0, '', NULL, 69497);
DELETE FROM `creature_template_addon` WHERE `entry`=243936;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(243936, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `creature_template_model` WHERE `CreatureID`=243936;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
(243936, 0, 92417, 1, 1, 69497);
UPDATE `npc_text` SET `BroadcastTextID0`=50429 WHERE `ID`=251259;
UPDATE `creature_template` SET `npcflag`=130 WHERE `entry` IN (240407,251259);