Shauren
9c5a03e65e
Core/Commands: Fixed .debug moveflags not changing movement flags
2025-07-27 14:23:49 +02:00
Shauren
a59dada96c
Core/Commands: Remove temporary set with custom comparator from .debug objectcount command
2025-07-27 14:22:54 +02:00
Shauren
4db19d3a1a
Core/Commands: Fixed .debug guidlimits output for creature guids
2025-02-01 12:42:15 +01:00
Jeremy
be11f42a16
Core/Battlegrounds: Move to scripts ( #29799 )
...
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Meji
4913d027bf
Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION ( #29832 )
2024-03-27 21:38:08 +01:00
Shauren
0a0b420d86
Build: Support ASAN on msvc
2023-08-22 12:56:13 +02:00
ModoX
95893cf53c
Scripts/Commands: Implemented .debug play objectsound command
2023-08-14 00:00:13 +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
1b55f85fad
Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command
2023-06-12 12:46:56 +02:00
Shauren
781ca507dd
Core/Commands: Added .debug playercondition command
2023-05-26 23:51:20 +02: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
133334a902
Core/Loot: Implemented personal loot and tag sharing for non-boss loot
2022-10-17 23:11:46 +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
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
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
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
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-25 22:14:32 +02:00
Giacomo Pozzoni
a66b968f91
Core/Misc: Fix static analysis issues ( #25924 )
...
* Core/Misc: Fix static analysis issues
* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"
(cherry picked from commit 661f554b9e08a3721227f1e4a4fe6fd74e43a1f4)
2022-03-06 01:35:01 +01:00
jackpoz
4e3d23188e
Scripts/Commands: Improve ".debug objectcount"
...
Include the number of SetActive objects in ".debug objectcount" command
(cherry picked from commit d0231c5a8fdea9704be442cbd8840079caf47a6d)
2022-03-06 01:23:14 +01:00
jackpoz
e7fc68d74b
Core/Commands: Enable .debug loadcells on console and allow to load a specific tile
...
Specify the tile as XY. Note that this is not Grid XY
(cherry picked from commit 6f6cec89e598a046e73d48df14be26b053875470)
2022-02-28 12:18:19 +01:00
Treeston
3fd2eb126c
[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463 )
...
(cherry picked from commit 1eca51b417678b9a48b28552925d5694105f82bb)
2022-02-27 20:08:41 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
Shauren
d057e057d3
Core/Misc: Optimize ChatCommand includes (include only where neccessary)
2022-02-11 21:57:45 +01:00
Shauren
cbcd149ce5
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
2022-02-11 14:33:35 +01:00
Seyden
79c6054369
Core/Objects: Use player as summoner for personal clones ( #27716 )
...
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
Treeston
013c9b2cb7
Core/ChatCommands: make ExactSequence more readable
...
(cherry picked from commit feaaa595cae735bb6093b24a88562c27b2723cfe)
2022-02-05 21:29:53 +01:00
Peter Keresztes Schmidt
26f3c25dae
Scripts/Commands: Convert remaining debug commands (PR #25429 )
...
(cherry picked from commit 062c55f1ab9c84396ce5b054945f5a908e3a354f)
2022-02-05 20:50:33 +01:00
Treeston
45e9e94311
Core/ChatCommands: C++17 cleanup (again) (PR #25323 )
...
(cherry picked from commit 2f7d2ef3e979ecd0536f3a3713e56c8e59652a47)
2022-02-04 21:21:17 +01:00
Peter Keresztes Schmidt
3c82863c52
Core/ChatCommands: Check whether a passed numeric enum value is valid ( #25285 )
...
(cherry picked from commit 4286e7aa02e777268b25d8a5bcc1ee87f7b16c4d)
2022-02-03 00:18:48 +01:00
Treeston
eaa3c7e5a0
Core/Warden: Add .debug warden force, allowing you to force specific warden checks to be sent
...
(cherry picked from commit f04f4e91ff3afbf89f30659b85e8593c3206138e)
2022-02-02 22:47:55 +01:00
Peter Keresztes Schmidt
ec26736e30
Scripts/Commands: Convert argument parsing of most debug commands to new system (PR #25260 )
...
(cherry picked from commit 76f309b4e899d4f450a8448d49c1aa05f9d4e785)
2022-02-02 22:13:50 +01:00
Treeston
e0ddc676d6
Scripts/Commands: Move .debug asan command bodies inside #ifdef ASAN
...
(cherry picked from commit e18f7aaa4d1bc9f6ad4b524c25fd3f111493b774)
(cherry picked from commit 0b13fc192698f65cc6e338ef92c22d4d783281b9)
(cherry picked from commit 5ecbe93f7d75ea3c4808ce45ccc7d14e1d42b26b)
2022-02-02 21:27:52 +01:00
Treeston
673521bc87
Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant to std::variant (for real this time)
...
(cherry picked from commit ffc3e355fe2adfe48d37759091a537b699b12753)
2022-02-02 20:49:42 +01:00
Shauren
7044204130
Core/Objects: Cleanup SmoothPhasing code - move to separate files and better integrate it with visibility system
2022-01-29 20:35:25 +01:00
Peter Keresztes Schmidt
ec44c8296d
Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256 )
...
* Core/Shared: Make Emote enum smart
* Scripts/Commands: Use enum type arg for HandleDebugAnimCommand
(cherry picked from commit 86dc58974a46b554042f33df674e3e40ef0cec1e)
2022-01-26 22:16:05 +01:00
Peter Keresztes Schmidt
2e3c612c80
Core/Unit: Make HandleEmoteCommand typesafe ( #25249 )
...
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter
* Scripts/HoR: Fix wrong emote during escape event
* Core/Unit: Make improve type safety of HandleEmoteCommand
Change argument type to the expected enum type Emote
* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE
UNIT_NPC_EMOTESTATE is no flag field
(cherry picked from commit 6c7837f947ff4eb5110a116a371daa6f9e2b3bbe)
2022-01-26 21:46:51 +01:00
Giacomo Pozzoni
ffd85f9139
Scripts/Comamnds: Improve ".debug objectcount" command ( #25208 )
...
* Scripts/Comamnds: Improve ".debug objectcount" command
Include the top 5 most common creatures in the map
* Use C++ features to copy data
* Fix build warnings
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <[email protected] >
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <[email protected] >
* Update src/server/scripts/Commands/cs_debug.cpp
Co-authored-by: Shauren <[email protected] >
* Move CreatureCountWorker out of function and use template for unhandled cases
* Code cleanup
Co-authored-by: Shauren <[email protected] >
(cherry picked from commit bd5e832a648aadf1d1be94f913ea00b67398f249)
2022-01-26 16:22:00 +01:00
Carbenium
310f996b1d
Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
...
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);
(cherry picked from commit 1131229ee9c43704b11187f0b11c327db92018b6)
2022-01-24 11:55:32 +01:00
Shauren
596bf2b772
Core/Misc: Replace boost::optional with std::optional part 2
2022-01-23 20:31:52 +01:00
Peter Keresztes Schmidt
770fbcca0c
Core/Misc: Replace boost::optional with std::optional ( #25047 )
...
C++17 is already mandatory, so it's a safe thing to do
(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
2022-01-23 18:05:59 +01:00
Peter Keresztes Schmidt
1e1679a1f7
Core/DataStores: Port refactors from Update DBC field names to generated ones ( #24999 )
...
(cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-23 00:06:16 +01:00
jackpoz
5886bf7484
Scripts/Commands: Add .debug objectcount <optional map id> chat command
...
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects
(cherry picked from commit cd37a17103b88a56ec1fde2156c4325b74989e08)
2022-01-06 20:49:28 +01:00
Matan Shukry and Shauren
8fabe5a3aa
Core/Phasing: Implemented db spawns in personal phases ( #26345 )
...
Co-authored-by: Shauren <[email protected] >
2021-12-28 13:24:10 +01:00
Matan Shukry and Shauren
b821a72973
Core/Player: Initial War Mode support ( #25926 )
...
* Enable PvP talents
* War Mode buff aura
* Forced PvP flagging
Co-authored-by: Shauren <[email protected] >
2021-12-26 19:14:46 +01:00
Treeston
51fbda4223
Core/Pooling: Quest pooling rewrite: (PR#23627)
...
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests
(cherry picked from commit a5e73e41c0e813e674bb0a644e0052052435494e)
2021-12-18 15:28:45 +01:00
Treeston
c13d83796f
Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time.
...
(cherry picked from commit 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-17 00:23:33 +01:00
Treeston
6f6cf975e4
Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
...
(cherry picked from commit 293ba08d21c4e9634229bb5015445ecc0cc08fef)
2021-12-16 21:20:38 +01:00
jackpoz
e7b94603f2
Core/Commands: Add .debug guidlimits <optional map id> chat command
...
Add .debug guidlimits <optional map id> chat command to show the highest low guid counter for Creature and GameObject, useful when reaching Respawn.GuidWarnLevel
(cherry picked from commit 7421ccaf7eb134f549ad3734a815397216d020ed)
2021-12-16 00:53:58 +01:00
ForesterDev
61cc88731c
Scripts/Commands: update .wp commands to use orientation field from DB (PR #23566 )
...
Closes #23330
(cherry picked from commit e71773140c8efbea4abe612a71d4a65f041d450c)
2021-12-15 00:17:13 +01:00
Treeston
35e55f1089
Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). Fixes #17981 .
...
(cherry picked from commit dbe3bbefe734f8824e8f07c302e256f0d446b974)
2021-12-12 00:31:15 +01:00