Commit Graph

32052 Commits

Author SHA1 Message Date
Eridium c574972cb2 Sync npc_text naming (#24128)
* Sync npc_text naming

Ref #22287
Ref #22282
We will update the table with data from broadcast_text later

* Fix sql

* Rename 2020_99_99_99_world_335.sql to 2020_02_08_00_world_335.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:26:51 +01:00
Treeston 9304e496cb Core/Misc: Some refactoring, #23603 prep: (#23676)
- Split SpawnMetadata off from SpawnData
- No longer allocate Creature/Gameobject objects in ObjectGridLoader just to check their typeid and delete them afterwards

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:22:37 +01:00
Giacomo Pozzoni 726d5e91b5 Build: Enable and require c++17 (#23868)
* Build: Enable and require c++17

* Build: Raise Visual Studio version from 2017 15.2 to 2017 15.9

* Build: Raise GCC version from 6.3.0 to 7.1.0

* Reduce branch differences

* Fix build after latest merge

* Cleanup after latest merge
2020-02-08 18:14:09 +01:00
Keader 5fa77744e4 nopch build fix 2020-02-06 18:34:07 -03:00
Keader ddd1a3c1ef Game/Battlegrounds: Fixed Position and Rotation of Alterac Valley Gates 2020-02-06 18:09:17 -03:00
Sorikoff e10239311c Scripts/Spells: Gift of the Harvester (#24111)
* Scripts/Spells: Gift of the Harvester

* Scripts/Spells: nopch

* Scripts/Spells: nopch

* Scripts/Spells: validate

* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:55:16 +01:00
funjoker 6c85964065 Sync broadcast_text naming (#24102)
* Sync broadcast_text naming

official namings for broadcast_text

* Rename 2020_01_24_00_world_335.sql to 2020_02_01_02_world_335.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:52:59 +01:00
ForesterDev ba1e5cd413 Core/PacketIO: convert some packets to to new packet class (#24100)
* Core/PacketIO: updated SMSG_INVALIDATE_PLAYER, SMSG_BINDER_CONFIRM, SMSG_BIND_POINT_UPDATE, SMSG_PLAYER_BOUND and SMSG_LOGIN_SET_TIME_SPEED

* small corrections
2020-02-01 14:49:38 +01:00
Giacomo Pozzoni a9e534762f Core/Movement: Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() on Gossip Hello (#24005)
Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() when talking to a NPC, scheduling a 3 minutes pause on the WaypointMovementGenerator even if it was already disabled with no timer, waiting for the player to select a gossip entry to resume the movement.
2020-02-01 14:47:06 +01:00
ForesterDev 573ddf4d22 Core/Items: implement some helper methods for easier readability (#24113) 2020-02-01 14:45:58 +01:00
Sorikoff 8c443ae39f Scripts/Borean Tundra: Iruk (#24117)
* Scripts/Borean Tundra: Iruk

* Apply suggestions from code review

Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

* Update 9999_99_99_99_world.sql

* Rename 9999_99_99_99_world.sql to 2020_02_01_01_world.sql

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:41:44 +01:00
Sorikoff 74d19691a5 Scripts/The Barrens: Beaten Corpse (#24124)
* Scripts/The Barrens: Beaten Corpse

* Rename 9999_99_99_99_world.sql to 2020_02_01_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:40:34 +01:00
Killyana c86d4404c8 DB/Creature: Plagued Dragonflayer Tribesman & Plagued Dragonflayer Rune-Caster & Plagued Dragonflayer Handler
Closes #24122
2020-01-30 21:11:29 +01:00
Killyana d4680bb2b2 DB/Creature: Add missing spawns to The Shattered Halls 2020-01-28 22:05:10 +01:00
Aokromes 890f4078c6 Update 2020_01_28_01_world.sql 2020-01-28 21:23:26 +01:00
Killyana 63e7edfb15 DB/Creature: Visiting Warlock 2020-01-28 20:54:54 +01:00
Killyana c6b294f1d5 DB/Creature: Death Ray 2020-01-28 17:40:24 +01:00
Killyana c7a02a9812 DB/Creature: Lunar Cluster Credit Marker & Lunar Firework Credit Marker 2020-01-28 17:38:02 +01:00
Ovah f0485cea39 Core/Scripting: fixed build. Re-enable ModifyVehiclePassengerExitPos for CreatureScript to allow scripted creatures that already have an AI to benefit from its functionality as well 2020-01-28 06:12:42 +01:00
Ovah ebf116e6a3 Core/AI: call ModifyVehiclePassengerExitPos for CreatureScripts since the hook is available for that class as well 2020-01-28 05:48:10 +01:00
Killyana de7d9f2590 DB/Creature: Wildervar Miner 2020-01-27 18:45:13 +01:00
Killyana fcab97868f DB/Creature: Undercity Guardian 2020-01-27 18:00:20 +01:00
Killyana 0ec2a5fd74 Spell/Script: Fix Prison chain for Unworty Initiate
Closes #24089
The spell 54613 is not used in the game
2020-01-27 02:49:36 +01:00
Sorikoff 13c81f55e3 Scripts/Ebon Hold: How To Win Friends And Influence Enemies (#24090)
* Scripts/Ebon Hold: How To Win Friends And Influence Enemies

* Scripts/Ebon Hold: Improve SQL!

* Scripts/Ebon Hold: Final touch

* Scripts/Ebon Hold: Actually final touch

* Rename 9999_99_99_99_world.sql to 2020_01_26_04_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-01-26 21:15:39 +01:00
Sorikoff 552a638e31 Scripts/Borean Tundra: Plug the Sinkholes (#24085)
* Scripts/Borean Tundra: Plug the Sinkholes

* Scripts/Borean Tundra: Improve SQL

* Scripts/Borean Tundra: Remove item script

* Rename 9999_99_99_99_world.sql to 2020_01_26_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-01-26 21:15:00 +01:00
Killyana 1201b49f08 DB/SAI: Warder Corpse & Defender Corpse
Closes #21102
2020-01-26 19:35:21 +01:00
Rushor 3d9c4a7b02 DB/SAI: Steelforged Defender
Ref #13639
2020-01-26 16:50:15 +01:00
Sorikoff de25e36477 DB/Quests: Update Death Knight quests localization
Closes #24105
2020-01-26 14:34:05 +01:00
Killyana 1451732666 DB/Creature: Lost Soul pooling 2020-01-25 22:08:26 +01:00
Killyana 08ecbbe753 DB/Creature: Sewer Beast pool 2020-01-25 21:58:43 +01:00
Killyana f27e5acd03 DB/Creature: Pridewing Patriarch Pooling 2020-01-25 21:52:05 +01:00
Killyana 144ba5b13a DB/Creature: Mist Howler pooling 2020-01-25 21:13:16 +01:00
Killyana 72b5039ec1 DB/Creature: Spire Spiderling
Summoned by a spell
2020-01-25 21:02:14 +01:00
Killyana 24ad6f7967 DB/Creature: Fix Crown Duster level 2020-01-25 14:37:48 +01:00
Killyana 055c743d75 DB/Creature: Fix Defias Miner movement 2020-01-23 19:42:18 +01:00
Kittnz b0db728c49 Core/GameObject: Add infinite visibility GameObject check (#24074) 2020-01-23 15:33:09 +01:00
Ovah 78c1216bcf Core/Movement: improved RandomMovementGenerator wait handling to get closer to retail behaivior (#24093)
* according to observations Blizzard is letting creatures do 2 up to 10 spline movements right after each other before waiting for a couple seconds
2020-01-22 22:19:42 +01:00
Kelno d0efd76c92 Core/Maps: cosmetic correction on comment (#24096) 2020-01-22 21:34:24 +01:00
Ovahlord 01584cb0b9 Core/Movement: reset position update interrupt info after the interrupt checks have been executed
* for discussion see: https://github.com/TrinityCore/TrinityCore/commit/02daf1bf3afc570c26e8e9f431866fcb3720174a#r36916229
2020-01-22 20:40:09 +01:00
Ovah 02daf1bf3a Core/Movement: properly fix aura interrupts during movement (#24068)
We want our movement to be fully updated before even thinking about interrupting anything. The old logic was updating positions, interrupting stuff and afterwards updating movement generators. This way we were ending up with false interrupts.

properly fixes #22908
2020-01-22 13:32:38 +01:00
Killyana bc1d37f20d DB/SAI: Fix and error in Ara Control Console SAI 2020-01-22 00:04:35 +01:00
jackpoz d293dd3782 Core/MMaps: Handle path on same position
Handle path on the same polygon between 2 very close positions as a normal path.
2020-01-20 22:48:25 +01:00
Giacomo Pozzoni 67d9d04d63 Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24083)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon

Second try of handling paths on same poly in a better way than just building a shortcut

* Fix movement generators using paths with start/end positions far from mmap polygons

* Include flag PATHFIND_FARFROMPOLY even with a normal path if start or end were far away from mmap poly
2020-01-20 08:15:31 +01:00
Killyana a249044700 DB: Missing change in the previous commit 2020-01-19 22:30:19 +01:00
Killyana c1580108f6 DB/Quest: Convert Reports from the Field to SAI 2020-01-19 22:25:56 +01:00
NoName 50d9d9196d Core/Gameobject: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED (#24062)
* Step 1: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED

* Update src/server/shared/SharedDefines.h

Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
2020-01-19 17:51:30 +01:00
Sorikoff bfac09bbcf Scripts/Quests: Reports from the Field (#24075) 2020-01-19 16:45:05 +01:00
Sorikoff 07c0bfe11b Scripts/Violet Stand: Warmages (#24084)
* Scripts/Violet Stand: Warmages

* Rename 9999_99_99_99_world.sql to 2020_01_19_02_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-01-19 16:36:27 +01:00
Sorikoff f20b147c71 Scripts/Transitus Shield: Warmages (#24082)
* Scripts/Transitus Shield: Warmage

* Scripts/Transitus Shield: SQL fix

* Scripts/Transitus Shield: improve SQL

* Rename 9999_99_99_99_world.sql to 2020_01_19_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-01-19 16:35:28 +01:00
Killyana b9353be089 DB/Creature: Ulduar Shield Bunny 2020-01-19 12:01:05 +01:00