From 08d5db10ef1bfa7e4bd64335dc4edfe207d2c111 Mon Sep 17 00:00:00 2001 From: waterWang Date: Tue, 28 Jul 2026 19:26:19 +0800 Subject: [PATCH] fix: resolve build and SQL errors for AzerothCore main (PlayerUpdates.cpp, SQL schema) --- .../game/Entities/Player/PlayerUpdates.cpp | 32 +++++--------- sql/world/EntryChecker_RUN_FIRST.sql | 2 +- sql/world/FactionFree.sql | 44 +++++++++---------- 3 files changed, 34 insertions(+), 44 deletions(-) diff --git a/cpp/src/server/game/Entities/Player/PlayerUpdates.cpp b/cpp/src/server/game/Entities/Player/PlayerUpdates.cpp index 5ba53c5..9af8056 100644 --- a/cpp/src/server/game/Entities/Player/PlayerUpdates.cpp +++ b/cpp/src/server/game/Entities/Player/PlayerUpdates.cpp @@ -70,11 +70,11 @@ void Player::Update(uint32 p_time) // Update cinematic location, if 500ms have passed and we're doing a // cinematic now. - _cinematicMgr->m_cinematicDiff += p_time; - if (_cinematicMgr->m_cinematicCamera && _cinematicMgr->m_activeCinematicCameraId && GetMSTimeDiffToNow(_cinematicMgr->m_lastCinematicCheck) > CINEMATIC_UPDATEDIFF) + _cinematicMgr.m_cinematicDiff += p_time; + if (_cinematicMgr.m_cinematicCamera && _cinematicMgr.m_activeCinematicCameraId && GetMSTimeDiffToNow(_cinematicMgr.m_lastCinematicCheck) > CINEMATIC_UPDATEDIFF) { - _cinematicMgr->m_lastCinematicCheck = getMSTime(); - _cinematicMgr->UpdateCinematicLocation(p_time); + _cinematicMgr.m_lastCinematicCheck = getMSTime(); + _cinematicMgr.UpdateCinematicLocation(p_time); } // used to implement delayed far teleports @@ -401,7 +401,7 @@ void Player::Update(uint32 p_time) { m_hostileReferenceCheckTimer = 15000; if (!GetMap()->IsDungeon()) - getHostileRefMgr().deleteReferencesOutOfRange( + GetHostileRefMgr().deleteReferencesOutOfRange( GetVisibilityRange()); } else @@ -1290,11 +1290,9 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea, bool force) if (sWorld->getBoolConfig(CONFIG_WEATHER)) { - if (Weather* weather = WeatherMgr::FindWeather(zone->ID)) - weather->SendWeatherUpdateToPlayer(this); - else if (!WeatherMgr::AddWeather(zone->ID)) - // send fine weather packet to remove old zone's weather - WeatherMgr::SendFineWeatherUpdateToPlayer(this); + if (WeatherData const* weatherData = WeatherMgr::GetWeatherData(zone->ID)) + if (Weather* weather = sWorld->FindWeather(zone->ID)) + weather->SendWeatherUpdateToPlayer(this); } sScriptMgr->OnPlayerUpdateZone(this, newZone, newArea); @@ -1602,17 +1600,9 @@ void Player::UpdateVisibilityForPlayer(bool mapChange) m_seer = this; } - Acore::VisibleNotifier notifierNoLarge( - *this, mapChange, - false); // visit only objects which are not large; default distance - Cell::VisitObjects(m_seer, notifierNoLarge, - GetSightRange() + VISIBILITY_INC_FOR_GOBJECTS); - notifierNoLarge.SendToSelf(); - - Acore::VisibleNotifier notifierLarge( - *this, mapChange, true); // visit only large objects; maximum distance - Cell::VisitObjects(m_seer, notifierLarge, GetSightRange()); - notifierLarge.SendToSelf(); + Acore::VisibleNotifier notifier(*this); + Cell::VisitObjects(m_seer, notifier, GetSightRange()); + notifier.SendToSelf(); if (mapChange) m_last_notify_position.Relocate(-5000.0f, -5000.0f, -5000.0f, 0.0f); diff --git a/sql/world/EntryChecker_RUN_FIRST.sql b/sql/world/EntryChecker_RUN_FIRST.sql index fced0a2..50d642c 100644 --- a/sql/world/EntryChecker_RUN_FIRST.sql +++ b/sql/world/EntryChecker_RUN_FIRST.sql @@ -18,7 +18,7 @@ To run this script: /*Check to see if entry 500000 and 500001 are free to add the creature templates for the Teleport Network*/ SELECT `entry`, `name`, `subname`, `faction`, `npcflag` FROM `acore_world`.`creature_template` WHERE `entry` IN (500000, 500001); /*Check to see if GUIDs 500000000-500000019 are free to add the creature objects for the Teleport Network*/ -SELECT `guid`, `id1`, `map`, `zoneId`, `areaId` FROM `acore_world`.`creature` WHERE `guid` BETWEEN 5000000 AND 5000019; +SELECT `guid`, `id`, `map`, `zoneId`, `areaId` FROM `acore_world`.`creature` WHERE `guid` BETWEEN 5000000 AND 5000019; /*Check to see if entry 500000, 500001, and 500003 are free to add the broadcast text entries for the Teleport Network*/ SELECT `ID`, `LanguageID`, `MaleText`, `FemaleText` FROM `acore_world`.`broadcast_text` WHERE `ID` IN (500000, 500001, 500003); /*Check to see if entry 500000, 500001, and 500003 are free to add the npc text entries for the Teleport Network*/ diff --git a/sql/world/FactionFree.sql b/sql/world/FactionFree.sql index 8afb917..b89d702 100644 --- a/sql/world/FactionFree.sql +++ b/sql/world/FactionFree.sql @@ -81,8 +81,8 @@ INSERT INTO `acore_world`.`npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastText may have fewer cities or flight paths. They will use entry 500000 and 500001. If these are already in use within your environment, you can change those values here.*/ DELETE FROM `acore_world`.`creature_template` WHERE `entry` BETWEEN 500000 AND 500001; -INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500000, 0, 0, 0, 0, 0, 'Quinley Gearspark', 'Gobl-ome Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 8, 512, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); -INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500001, 0, 0, 0, 0, 0, 'Harleen Gearspark', 'Gnom-lin Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 512, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); +INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500000, 0, 0, 0, 0, 0, 'Quinley Gearspark', 'Gobl-ome Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 8, 512, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); +INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500001, 0, 0, 0, 0, 0, 'Harleen Gearspark', 'Gnom-lin Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 512, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); /*This will create a series of objects in gameobject_template that were used to add asthetics to the teleport network. They have no purpose other than just to make the area stand out and look better. They will use entry 500000-500004. If these are already in use within your @@ -97,26 +97,26 @@ INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, ` /*This will insert all of the NPC creatures into the appropriate locations within the creature table. They will use GUIDs 500000000-500000019. If If these are already in use within your environment, you can change those values here.*/ DELETE FROM `acore_world`.`creature` WHERE `guid` BETWEEN 5000000 AND 5000019; -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000000, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -4909.89, -929.523, 501.605, 5.28553, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000001, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 1657.53, -4323.54, 62.1195, 5.70502, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000002, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -8840.8, 469.371, 109.634, 1.92423, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000003, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -4032.72, -11807.1, 9.09504, 3.09714, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000004, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 9867.02, 2498.01, 1315.88, 5.69986, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000005, 500000, 0, 0, 0, 0, 0, 1, 1, 0, 1576.13, 243.024, -62.0774, 6.07105, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000006, 500000, 0, 0, 1, 0, 0, 1, 1, 0, -1213.99, 58.1399, 130.209, 3.28225, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000007, 500000, 0, 0, 530, 0, 0, 1, 1, 0, 9475.72, -7299.99, 14.3742, 0.828917, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000008, 500000, 0, 0, 571, 0, 0, 1, 1, 0, 5786.01, 474.657, 657.693, 5.33677, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000009, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -1804.89, 5286.58, -12.428, 2.34394, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000010, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -4911.77, -932.511, 501.588, 5.67823, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000011, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 1657.49, -4327.33, 61.7339, 0.128696, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000012, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -8838.92, 472.435, 109.625, 2.78817, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000013, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -4035.11, -11803.9, 9.07738, 4.34592, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000014, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 9867.09, 2494.36, 1315.88, 0.51623, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000015, 500001, 0, 0, 0, 0, 0, 1, 1, 0, 1577.38, 240.112, -62.0774, 0.820663, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000016, 500001, 0, 0, 1, 0, 0, 1, 1, 0, -1215.98, 61.0444, 129.945, 4.2208, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000017, 500001, 0, 0, 530, 0, 0, 1, 1, 0, 9479.4, -7300.33, 14.3789, 2.16017, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000018, 500001, 0, 0, 571, 0, 0, 1, 1, 0, 5784.8, 470.92, 657.862, 0.345561, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); -INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000019, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -1804.6, 5290.24, -12.428, 3.63985, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000000, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -4909.89, -929.523, 501.605, 5.28553, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000001, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 1657.53, -4323.54, 62.1195, 5.70502, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000002, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -8840.8, 469.371, 109.634, 1.92423, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000003, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -4032.72, -11807.1, 9.09504, 3.09714, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000004, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 9867.02, 2498.01, 1315.88, 5.69986, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000005, 500000, 0, 0, 0, 0, 0, 1, 1, 0, 1576.13, 243.024, -62.0774, 6.07105, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000006, 500000, 0, 0, 1, 0, 0, 1, 1, 0, -1213.99, 58.1399, 130.209, 3.28225, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000007, 500000, 0, 0, 530, 0, 0, 1, 1, 0, 9475.72, -7299.99, 14.3742, 0.828917, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000008, 500000, 0, 0, 571, 0, 0, 1, 1, 0, 5786.01, 474.657, 657.693, 5.33677, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000009, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -1804.89, 5286.58, -12.428, 2.34394, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000010, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -4911.77, -932.511, 501.588, 5.67823, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000011, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 1657.49, -4327.33, 61.7339, 0.128696, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000012, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -8838.92, 472.435, 109.625, 2.78817, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000013, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -4035.11, -11803.9, 9.07738, 4.34592, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000014, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 9867.09, 2494.36, 1315.88, 0.51623, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000015, 500001, 0, 0, 0, 0, 0, 1, 1, 0, 1577.38, 240.112, -62.0774, 0.820663, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000016, 500001, 0, 0, 1, 0, 0, 1, 1, 0, -1215.98, 61.0444, 129.945, 4.2208, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000017, 500001, 0, 0, 530, 0, 0, 1, 1, 0, 9479.4, -7300.33, 14.3789, 2.16017, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000018, 500001, 0, 0, 571, 0, 0, 1, 1, 0, 5784.8, 470.92, 657.862, 0.345561, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); +INSERT INTO `acore_world`.`creature` (`guid`, `id`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000019, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -1804.6, 5290.24, -12.428, 3.63985, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); /*This will insert all of the teleporter game objects into the appropriate locations within the gameobject table. They will use GUIDs 500000000-500000049. If If these are already in use within your environment, you can change those values here.*/