Commit Graph

1467 Commits

Author SHA1 Message Date
Shauren
150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +02:00
Jeremy
0ede6c1556 Core/Battlegrounds: Rework queues (#29200)
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
M'Dic
8898dfec53 Update (core\log): Log correction (#28802)
Loading AreaTrigger definitions to Loading Area Trigger Teleports definitions
and also Re-Loading AreaTrigger teleport definitions to Re-Loading Area Trigger Teleport definitions

(cherry picked from commit 48f9a807f3)
2023-08-23 18:47:18 +02:00
Shauren
0a0b420d86 Build: Support ASAN on msvc 2023-08-22 12:56:13 +02:00
Shauren
9e1b97900e Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type) 2023-08-18 18:23:29 +02:00
ModoX
95893cf53c Scripts/Commands: Implemented .debug play objectsound command 2023-08-14 00:00:13 +02:00
Shauren
86725ed926 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:08:10 +02:00
Shauren
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Shauren
0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren
81f0bf9525 Core/Conditions: Replaced Player argument to world state expression checking with Map 2023-06-26 22:53:07 +02:00
Shauren
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Shauren
1b55f85fad Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command 2023-06-12 12:46:56 +02:00
Смердокрыл
39bebe6a65 Core/Commands: Fix crash in .character customize chat output (#29069) 2023-06-09 22:21:55 +02:00
Shauren
8cfc8e4141 Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport 2023-06-08 18:37:08 +02:00
Jeremy
c1df555e16 Core/Graveyards: Drop Faction column and replace it with conditions (#28965) 2023-06-01 02:33:46 +02:00
Meji
06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
Shauren
781ca507dd Core/Commands: Added .debug playercondition command 2023-05-26 23:51:20 +02:00
Shauren
3260b94dd6 Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo 2023-05-13 15:46:27 +02:00
Meji
81ea6f54d9 Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale (#28863) 2023-03-30 18:54:27 +02:00
Shauren
7395d75b5a Core/Misc: Fixed clang 15 warnings 2023-01-31 18:51:31 +01:00
Meji
03918978c1 Core/Players: Several currency fixes and improvements (#28676) 2023-01-29 17:42:23 +01:00
Shauren
3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
a53e4a5756 Core/Misc: Replace enable_if overload selection with if constexpr 2023-01-07 22:38:21 +01:00
Shauren
704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Seyden
61c51b76c0 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier (#28500)
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-27 16:39:05 +01:00
Shauren
133334a902 Core/Loot: Implemented personal loot and tag sharing for non-boss loot 2022-10-17 23:11:46 +02:00
Shauren
641390dca2 Core/Loot: Initial support for personal loot in gameobjects (non-instanced content) 2022-10-16 15:33:39 +02:00
Shauren
ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren
76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren
9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Shauren
224d764ded Core/Commands: Allow gameobject/gameobject_template chat links as input to .go gameobject commands 2022-09-30 15:19:42 +02:00
Shauren
301572212f Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size 2022-09-19 00:33:19 +02:00
Shauren
c00e2e4851 Core/Loot: Simplify loot containers
* Unify items and quest_items
* Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-17 20:58:24 +02:00
Shauren
3ef5079fee Core/Loot: Move loot rolls from Group to Loot
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren
6d2b851154 Core/Commands: Convert quest commands to new system 2022-09-02 19:27:27 +02:00
ModoX
10302dca55 Core/Commands: Added .quest objective complete command to complete single quest objectives 2022-09-02 19:27:27 +02:00
Shauren
b08a58dec6 Core/Misc: Reduce differences between branches (refactors from 44ac5cbbea) 2022-09-02 15:12:28 +02:00
Shauren
7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +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
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
8466894d81 Core/Maps: Replace some Instanceable() checks with IsDungeon() 2022-07-20 18:55:40 +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
9e4f9bb120 Core/Commands: Add missing constructor to RBACCommandData
Closes #28136
2022-07-19 10:18:03 +02:00
Shauren
cb99b08b86 Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync 2022-07-17 20:23:37 +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
55436117ba Core/Commands: Fixed bnetaccount create not printing gameaccount name 2022-07-12 13:35:27 +02:00
Shauren
a161b6cd32 Core/WorldStates: Migrate Tol Barad worldstates to new system 2022-06-27 23:20:24 +02:00
Shauren
94d829c84f Core/Pools: Implemented pooling for instances 2022-06-11 14:04:56 +02:00