aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-15Nopch fixShauren
2020-07-15Dep: Switch to boost process instead of old standalone versionShauren
2020-07-15Core/Battlefield: Fixed startup crash when compiled without scriptsShauren
2020-07-15Core/Misc: Replace boost::optional with std::optional (#25047)Peter Keresztes Schmidt
C++17 is already mandatory, so it's a safe thing to do
2020-07-15Core/Util: Remove EventMap's non-std::chrono::duration based interface (#25049)Peter Keresztes Schmidt
Closes #25012
2020-07-14Core/PacketIO: Updated corpse related packet structures (#24922)NoName
# Conflicts: # src/server/game/Entities/Player/Player.cpp # src/server/game/Handlers/MiscHandler.cpp # src/server/game/Handlers/QueryHandler.cpp # src/server/game/Maps/MapManager.cpp # src/server/game/Server/Packets/MiscPackets.cpp # src/server/game/Server/Packets/QueryPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/Protocol/Opcodes.h # src/server/game/Server/WorldSession.h * + For SMSG_DEATH_RELEASE_LOC G3D::Vector3 -> TaggedPosition<Position::XYZ> + removed non 3.3.5 packets Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> Co-authored-by: Mogadischu <cgnad@live.de> Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-07-14Scripts/World+Pet: Use std::chrono::duration overloads of EventMap (#25017)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(Part 2) (#25041) Part 2: gunship battle and Sindragosa Contributes to https://github.com/TrinityCore/TrinityCore/issues/25012
2020-07-14Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25036) Part 1: without gunship battle and Sindragosa Contributes to #25012
2020-07-14Scripts/Tempest Keep: Use std::chrono::duration overloads of EventMap (#25040)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Utgarde Keep: Use std::chrono::duration overloads of EventMap (#25039)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Magisters Terrace: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25038) Contributes to #25012
2020-07-14Core/CombatAI: Use std::chrono::duration overloads of EventMap (#25037)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Ulduar: Use std::chrono::duration overloads of EventMap (#25035)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Nexus: Use std::chrono::duration overloads of EventMap (#25033)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Naxxramas: Use std::chrono::duration overloads of EventMap (#25032)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Isle of Conquest: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25031) Contributes to #25012
2020-07-14Scripts/Gundrak: Use std::chrono::duration overloads of EventMap (#25030)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Frozen Halls: Use std::chrono::duration overloads of EventMap (#25029)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Drak'Tharon Keep: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25028) Contributes to #25012
2020-07-14Scripts/Chamber of Aspects: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25027) Contributes to #25012
2020-07-14Scripts/Coilfang Reservoir: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25025) Contributes to #25012
2020-07-14Scripts/Hellfire Citadel: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25024) Contributes to #25012
2020-07-14Scripts/Azjol-Nerub: Use std::chrono::duration overloads of EventMap (#25026)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Mana Tombs: Fix Pandemonious Dark Shell event delayShauren
2020-07-14Scripts/Auchindoun: Use std::chrono::duration overloads of EventMap (#25023)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Outland: Use std::chrono::duration overloads of EventMap (#25022)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Northrend: Use std::chrono::duration overloads of EventMap (#25021)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Scripts/Trial of the Crusader: Use std::chrono::duration overloads of ↵Peter Keresztes Schmidt
EventMap (#25020) Contributes to #25012
2020-07-14Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25019) Contributes to #25012
2020-07-14Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25018) Contributes to #25012
2020-07-14Scripts/Kalimdor: Use std::chrono::duration overloads of EventMap (#25016)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Core/Battlegrounds: Use std::chrono::duration overloads of EventMap (#25015)Peter Keresztes Schmidt
Contributes to #25012
2020-07-14Core/Misc: Fixed wrong db field accessors usage found with ↵Shauren
TRINITY_STRICT_DATABASE_TYPE_CHECKS * Fixes loading group instance reset times * Fixes loading battlefield templates
2020-07-14Scripts/Kologarn: Fix another "stuck in combat" issue (#24998)Giacomo Pozzoni
2020-07-14Core/Spells: Check a few aura effects for determining if should be negative ↵Gildor
(#25004)
2020-07-14Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23) (#24997)Giacomo Pozzoni
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23) Original research by @xvwyh. # Conflicts: # src/server/game/DataStores/DBCStores.cpp # src/server/game/DataStores/DBCStructure.h # src/server/game/DataStores/DBCfmt.h # src/server/game/Entities/GameObject/GameObject.h # src/server/game/Entities/GameObject/GameObjectData.h # src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp # src/server/scripts/Kalimdor/HallsOfOrigination/boss_temple_guardian_anhuur.cpp * Add missing sql update * Fix some build errors * Remove unused enum values * Change artkits from 0-4 to 0-3 * Remove unused code * Code review feedback * Fix sql * Remove artkit4 special case handling * Default initialize artKits * Code review feedback * Split sql into structure and data files Co-authored-by: Warpten <vertozor@gmail.com>
2020-07-13Add missing breaksShauren
2020-07-13Fix some compiler warnings reported by GCC (#25007)Peter Keresztes Schmidt
* Core/AI: Remove unneeded null checks GetMap() can never return NULL. Fixes additionally -Wunused-variable warnings reported by GCC. * Core/GameObject: Fix a -Wunused-variable warning reported by GCC * Core/Player: Fix a -Wunused-variable warning reported by GCC * Scritps/CavernsOfTime: Fix -Wimplicit-fallthrough warnings reported by GCC * Scritps/CavernsOfTime: Fix a -Wmaybe-uninitialized warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp: In member function ‘virtual void npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(uint32)’: /home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:1119:58: warning: ‘emote’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1119 | (*it)->HandleEmoteCommand(emote); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ * Scritps/PitOfSaron: Fix -Wunused-variable warnings reported by GCC * Scritps/EyeOfEternity: Fix a -Wclass-memaccess warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp: In member function ‘virtual void boss_malygos::boss_malygosAI::UpdateAI(uint32)’: /home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp:950:81: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess] 950 | memset(_surgeTargetGUID, 0, sizeof(_surgeTargetGUID)); | * Scritps/CoilfangReservoir: Fix a -Wclass-memaccess warning reported by GCC Warning: /home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp: In member function ‘void boss_leotheras_the_blind::boss_leotheras_the_blindAI::Initialize()’: /home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp:220:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess] 220 | memset(InnderDemon, 0, sizeof(InnderDemon)); | ^ * Scritps/Naxx: Fix a -Wimplicit-fallthrough warning reported by GCC For discussion see https://github.com/TrinityCore/TrinityCore/pull/25007
2020-07-12Core/Spells: Use correct SpellEntry field for Amplitude (#25008)Ghaster
2020-07-12Core/DataStores: Update DBC field names to generated ones (#24999)Peter Keresztes Schmidt
2020-07-11Core/Player: Introduce separate level caps for each expansion (#24989)Max Drosdo.www
2020-07-11Core/DBLayer: Fix build with TRINITY_STRICT_DATABASE_TYPE_CHECKSShauren
2020-07-10Core/DBLayer: Optimize string based query results by eliminating unneeded ↵Shauren
buffer copies (cherry picked from commit 59f1f60a8387479d93dc64e3ecc3a56b7f0cbf34) # Conflicts: # src/server/database/Database/Field.cpp # src/server/database/Database/Field.h # src/server/database/Database/QueryResult.cpp
2020-07-09Creature/Script: npc_blackfathom_deeps_event (#24969)Eridium
* Creature/Script: npc_blackfathom_deeps_event * Update blackfathom_deeps.cpp * Update blackfathom_deeps.h * codestyle * Update blackfathom_deeps.cpp Co-authored-by: Killyana <Killyana@users.noreply.github.com> Co-authored-by: Ovah <dreadkiller@gmx.de>
2020-07-09Core/Database: Apply 54b0b8f5ead41f936b12e97d1b4fbacd9b89ab53 to ↵jackpoz
141ada19b00fb9d0dd1a260d86d97bbb709a0f5e
2020-07-09Core/Creature: Add null check for charmed creaturesjackpoz
2020-07-09Core/Spells: Expose corpseTarget to spell scripts with ↵Ovah
SpellScript::GetHitCorpse() (#24981) Closes #24945
2020-07-09Creature/AI: Remove SetVisible from SmartAI::InitializeAIakrom23
Closes #24184
2020-07-09Core/Spells: Don't select corpses for spell targets that expect to hit unitsShauren
Closes #24980