Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 9bfc29f4af Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones
(cherry picked from commit e8dfd8c25c69247b17bc9359dfbe3a1d96ef98bf)
2022-09-05 22:23:02 +02:00
Shauren 3fa46c6dc1 Core/Crypto: Fixed loading legacy openssl provider for RC4 on windows 2022-09-05 18:48:43 +02:00
Shauren eafc5214b2 Core/Misc: Minor refactor to std::hash specialization for std::pair to avoid showing incorrect documentation in IDEs on entire std namespace 2022-09-02 21:25:36 +02:00
Shauren 6d2b851154 Core/Commands: Convert quest commands to new system 2022-09-02 19:27:27 +02:00
Shauren b08a58dec6 Core/Misc: Reduce differences between branches (refactors from 44ac5cbbea4f8e17be978412681634130f006d16) 2022-09-02 15:12:28 +02:00
Shauren 74dbed1d0e Core/Loot: Updated LootType enum for 9.2.7 2022-09-01 21:31:56 +02:00
Shauren 7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +02:00
Shauren ba251da7c3 Core/Loot: Removed unneccessary field from Loot class and pass it as parameter everywhere 2022-08-25 14:46:34 +02:00
Shauren 605b75f6c0 Core/Loot: Removed old auto looting code for currency token items 2022-08-25 14:45:44 +02:00
Shauren a2749366e4 Core/Misc: Updated some enums for 9.2.7 2022-08-25 10:40:59 +02:00
Shauren 3485243d02 Core: Updated allowed build to 9.2.7.45161 2022-08-19 09:55:58 +02:00
Shauren cf56aff76d Core/Misc: Dynamic build fix (add missing TC_COMMON_API) 2022-08-18 10:00:22 +02:00
Shauren 8bc1690366 Core: Updated allowed build to 9.2.7.45114 2022-08-17 10:24:37 +02:00
Shauren c73f430297 Core/PacketIO: Rename m+ packet fields 2022-08-16 22:06:44 +02:00
Shauren 82b119da91 Core/DataStores: Sprinkle some constexpr on db2 meta 2022-08-16 20:00:36 +02:00
Shauren 7c76a394a5 Core/DataStores: Updated db2 structures to 9.2.7 2022-08-01 11:55:23 +02:00
Shauren 20f38369f3 Core/PacketIO: Updated packet structures to 9.2.7 2022-07-31 21:39:48 +02:00
Shauren 71e885cd4b Core/Phasing: Fixed terrain swaps appearing on incorrect maps when player is added to a map wilth not meeting its condition but later condition gets satisfied 2022-08-14 12:42:21 +02:00
Shauren 1d5696a08b Core/Misc: Refactor some updatefield constant creation code to work around msvc internal compiler errors 2022-08-13 19:34:15 +02:00
Shauren 243d9746c3 Core/PacketIO: Fixed structure of SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN 2022-08-12 10:24:35 +02:00
Shauren 6e2ef35718 Core/Scenarios: Group criteria storage by scenario id 2022-08-09 23:44:07 +02:00
Shauren 7b1df18140 Core/Misc: Fixed ResetFailedReason enum values for 9.2.5 client 2022-08-08 22:42:38 +02:00
Shauren 70cf0d074f Dep/rapidjson: Upgrade to Tencent/rapidjson@27c3a8dc0e 2022-08-07 14:57:06 +02:00
Shauren 240ff8314a Core/Misc: Update /roll max cap 2022-08-06 14:22:25 +02:00
Shauren 40c3add02e Core/Items: Implemented ITEM_FLAG3_DONT_REPORT_LOOT_LOG_TO_PARTY 2022-08-06 14:11:19 +02:00
Shauren f44ee96682 Core/LFG: Filter out lfg dungeons that have invalid map/difficulty pairs 2022-08-05 00:06:13 +02:00
Shauren 4fb59511f9 Core/PacketIO: Fixed structure of SMSG_CALENDAR_RAID_LOCKOUT_UPDATED 2022-08-04 22:58:33 +02:00
Shauren 87e2d53fc1 Core: Updated allowed build to 9.2.5.44908 2022-08-02 18:33:57 +02:00
Shauren 08fd31c79d DB: Added some wdb data from builds 42560 - 44325 2022-08-02 00:10:25 +02:00
Shauren 72264f1d79 Core/Crypto: Removed unneccessary std::reverse in Ed25519::Sign 2022-08-01 11:54:51 +02:00
Shauren ed2a2f032a Core/Crypto: Added Ed25519 implementation 2022-08-01 00:12:47 +02:00
Shauren 6713fa4c93 Core/Scripts: Added CalcCastTime spell script hook 2022-07-29 20:24:28 +02:00
Shauren 53b7c4d47c Core/PacketIO: Implemented SMSG_SPELL_HEAL_ABSORB_LOG 2022-07-28 21:26:48 +02:00
Shauren 515c0a43ef Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced sanctuary hack 2022-07-25 21:43:19 +02:00
Shauren 47aa69ca32 Core/Conditions: Allow empty (CONDITION_NONE) conditions with just script attached 2022-07-25 20:59:46 +02:00
Shauren 3f0266624d Core/Maps: Fixed deadlock in battleground map creation
Closes #28154
2022-07-25 20:59:12 +02:00
Shauren 3598d280ff Core/WorldStates: Implemented setting dungeon encounter world states 2022-07-24 22:15:57 +02:00
Shauren c1eb91c1c1 Core/WorldStates: Add generic worldstates for team in instance 2022-07-24 20:11:24 +02:00
Shauren 071be5a086 Core/WorldStates: Allow using -1 in database for MapIDs column to mark worldstates that should be bound to a map and allowed on all maps 2022-07-24 20:05:37 +02:00
Shauren fbe0b8efeb Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-07-24 18:56:40 +02:00
Shauren 8f2c5413d7 Core/DataStores: Fixed unsigned underflow in TaxiMask constructor happening before TaxiNodes.db2 is loaded 2022-07-24 18:57:13 +02:00
Shauren 67dc228497 Dynamic build fix 2022-07-23 21:28:59 +02:00
Shauren 16a06346ae Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-07-23 19:13:33 +02:00
Shauren 82138bec18 Core: Updated allowed build to 9.2.5.44730 2022-07-23 01:46:22 +02:00
Shauren 36d62244ad Core/Groups: Fixed loading character race info for offline group members 2022-07-22 19:37:25 +02:00
Shauren 8466894d81 Core/Maps: Replace some Instanceable() checks with IsDungeon() 2022-07-20 18:55:40 +02:00
Shauren 32dbb4b6b4 codestyle fix 2022-07-20 00:26:26 +02:00
Shauren 073a036d84 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-07-19 23:18:19 +02:00
Shauren 83b3266794 Core/PacketIO: Remove packet handlers for deleted opcodes 2022-07-19 22:01:51 +02:00
Shauren ff59362aa9 Dynamic build fix 2022-07-19 13:40:52 +02:00
Shauren 9e4f9bb120 Core/Commands: Add missing constructor to RBACCommandData
Closes #28136
2022-07-19 10:18:03 +02:00
Shauren e9152679d7 Build: Fixed finding mysql binary on first cmake run
Closes #28133
2022-07-19 00:33:07 +02:00
Shauren e1eb474531 Core/Spawns: Removed ObjectMgr::AddCreatureData and ObjectMgr::AddGameObjectData (old outdoorpvp helpers) 2022-07-18 22:51:37 +02:00
Shauren 775be0682a Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects 2022-07-18 22:45:03 +02:00
Shauren 21ae376692 Core/OutdoorPvP: Remove manual spawn management functions from OutdoorPvP 2022-07-18 22:42:23 +02:00
Shauren 195341c807 Core/OutdoorPvP: Move remaining outdoorpvp spawns to db 2022-07-18 22:35:54 +02:00
Shauren 1f853d068f Core/OutdoorPvP: Move Zangarmarsh outdoorpvp spawns to db 2022-07-18 22:03:00 +02:00
Shauren c42e52f171 Core/OutdoorPvP: Move Halaa spawns to db using worldstate conditions 2022-07-18 20:21:58 +02:00
Shauren 26d757946f Core/Players: Cleaned some old updatefield definitions and updated values for completed quests size 2022-07-17 21:25:10 +02:00
Shauren cb99b08b86 Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync 2022-07-17 20:23:37 +02:00
Shauren b8e52fd90b Core/Maps: Made instance_template no longer required to create and enter instance maps 2022-07-17 19:14:13 +02:00
Shauren 87b0a19304 Core/Criteria: Fixed criteria type DoEmote
Closes #28127
2022-07-17 13:40:25 +02:00
Shauren 7073a8bbe5 Core/WorldStates: Fixed wrong prepared statement being used for saving world state values 2022-07-16 00:07:02 +02:00
Shauren 06010c11b1 Core/PacketIO: Fixed structure of SMSG_START_TIMER 2022-07-15 23:29:46 +02:00
Shauren 37c374c49f Core/Transports: Initialize stoppable transports at start of path 2022-07-15 21:31:03 +02:00
Shauren 701532f9f0 Core/Scripts: Expose calculated spell value variance to scripts 2022-07-15 18:31:54 +02:00
Shauren e487d78ba7 Core/WorldStates: Move custom worldstates to separate table and move saving worldstate values to WorldStateMgr 2022-07-14 22:32:21 +02:00
Shauren f4951f9031 Core/DataStores: Named WorldStateExpression function 38 2022-07-13 20:51:20 +02:00
Shauren 55436117ba Core/Commands: Fixed bnetaccount create not printing gameaccount name 2022-07-12 13:35:27 +02:00
Shauren 47a5902b29 Core/WorldStates: Migrate Ebon Hold worldstates from Player::SendInitWorldStates to new system 2022-07-12 00:35:24 +02:00
Shauren e1effd961d Core/WorldStates: Migrate remaining hardcoded worldstates from Player::SendInitWorldStates to new system 2022-07-11 21:32:16 +02:00
Shauren 5f601f53b8 Core/WorldStates: Migrate pvp season worldstates to new system 2022-07-11 20:35:36 +02:00
Shauren 020166649d Core/WorldStates: Migrate battleground HolidayWorldState to new system 2022-07-11 16:15:07 +02:00
Shauren 36ff703df5 Core/WorldStates: Migrate OutdoorPvP worldstates to new system 2022-07-11 15:49:49 +02:00
Shauren 5dbfaecd5c Core/WorldStates: Migrate battleground worldstates to new system 2022-07-10 18:59:29 +02:00
Shauren af4474926f Core/GameObjects: Fixed crash when GameObject::Delete was used for transports 2022-07-10 00:54:36 +02:00
Shauren db79e29121 Core/WorldStates: Skip sending SMSG_UPDATE_WORLD_STATE when value does not change 2022-07-09 00:50:29 +02:00
Shauren 5dca7309f4 Core/Battlegrounds: Fixed AV turnins being counted when opening quest completion UI instead after completing the quest 2022-07-09 00:09:54 +02:00
Shauren 490b6f88d4 Core/Conditions: Implemented PlayerCondition::CurrentPvpFaction 2022-07-08 00:35:24 +02:00
Shauren de26cafbbe Core/WorldStates: Allow setting "hidden" field of SMSG_UPDATE_WORLD_STATE 2022-07-07 23:07:20 +02:00
Shauren 3d34febd6d Core/Auras: Don't save auras to db with SpellAuraInterruptFlags::LeaveWorld 2022-07-07 16:03:43 +02:00
Shauren 49ad0d2d49 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-07-03 23:44:48 +02:00
Shauren 306022054b Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf.
2022-07-03 22:22:45 +02:00
Shauren 2a53298476 Core/Units: Defined many UnitFlags3 and implemented UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE 2022-07-02 23:17:57 +02:00
Shauren 4ac86c13d2 Core/WorldStates: Migrate war mode bonus value worldstates to new system 2022-07-01 15:19:31 +02:00
Shauren cfca26c264 Core/WorldStates: Migrate instance script worldstates to new system 2022-06-30 00:16:41 +02:00
Shauren a161b6cd32 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-06-27 23:20:24 +02:00
Shauren ea0551b4e1 Core: Update allowed build to 9.2.5.44325 2022-06-27 21:17:02 +02:00
Shauren 70eacebad5 Core/WorldStates: Add area requirements to world states 2022-06-26 21:27:17 +02:00
Shauren 6285033ed5 Core/WorldStates: Migrate Wintergrasp worldstates to new system 2022-06-26 19:16:30 +02:00
Shauren f874f34f04 Core/WorldStates: Allow multiple map ids for world states 2022-06-26 14:33:53 +02:00
Shauren 7029b78cab Core/WorldStates: Migrate conditions and criteria to new worldstate api 2022-06-26 12:18:45 +02:00
Shauren 743308267f Core/DataStores: Updated WorldStateExpression function enum to 9.2.5 2022-06-26 00:00:34 +02:00
Shauren 737d94d7ef Core/World: implement database support for default map and realm wide world states
Co-Authored-By: Shauren <[email protected]>
2022-06-25 22:48:27 +02:00
Shauren 5d27939667 Core/Conditions: Implemented conditions for spawn groups 2022-06-24 22:20:34 +02:00
Shauren e2cf6d68fc Core/SpawnGroups: Renamed GetSpawnGroupsForInstance and its argument to not cause confusion with instance ids (equivalent to instance save id, not map id) 2022-06-24 21:38:29 +02:00
Shauren bb8a8cbc47 Core/Players: Don't trigger quest objective and criteria updates for gold modifications before quest log and criteria progress are loaded 2022-06-24 21:37:06 +02:00
Shauren 33c3ea1013 Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2 2022-06-24 21:36:08 +02:00
Shauren 2e479707e3 Build: Removed duplicate find_package(MySQL) call 2022-06-23 00:05:27 +02:00
Shauren 4dfb1f248f Core/Items: Fixed logic mistake in ItemTemplate::IsRangedWeapon 2022-06-22 23:51:22 +02:00