454 Commits

Author SHA1 Message Date
Shauren
c6e6e17b9a Core/Misc: Remove large functions from headers 2025-10-29 19:40:58 +01:00
Shauren
3d8a75b0b5 Core/Misc: Reduce differences between branches 2025-10-04 15:05:17 +02:00
Jeremy
9ed3d12ec0 Core/Arenas: Allow queueing for rated arenas (#31148) 2025-08-10 11:25:32 +02:00
Shauren
419cdf87dd Core/Misc: Rename LinkedListHead insertion functions to push_back/push_front to fit standard container naming 2025-07-11 18:47:08 +02:00
Shauren
f4c0ede726 Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming 2025-07-11 17:51:49 +02:00
Shauren
cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Shauren
7657a289d7 Core/Misc: Kill copy/move constructors for singleton classes 2025-06-10 13:12:33 +02:00
Shauren
b7122c2f6a Core/PacketIO: Migration to PacketUtilities bit/string operations part 3 2025-05-22 13:46:45 +02:00
Shauren
afbde8800a Core/Misc: Reduce code differences between branches 2025-02-09 22:35:20 +01:00
Shauren
c72de2fbbc Core/Objects: Use span/array instead of vector for raw ObjectGuid manipulations 2025-01-03 13:47:24 +01:00
Shauren
d6ae7030da Core/Position: Position constructor improvements
* Prevent constructing with only X coord
* Remove unneccessary NormalizeOrientation calls when constructed with default orientation (0)
2024-11-10 18:35:45 +01:00
Shauren
df51150381 Core/DataStores: Updated to 11.0.0 2024-08-02 14:40:12 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren
9242eda6c7 Core/Misc: Reduce amount of virtual functions and copypasting in Reference<> implementations 2024-07-29 22:18:22 +02:00
Shauren
76ab45ee2d Core/Groups: Make member field naming consistent and add missing consts 2024-07-25 12:29:59 +02:00
Shauren
4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Jeremy
6ed8b5c907 Core/PacketIO: Handle QueryCountdownTimer (#29539)
* Add it to battleground
* Base implementation countdowns in Group
* Fix timer sync between groups in battlegrounds
2024-01-25 14:15:58 +01:00
Jeremy
1ef0c04520 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types (#29535)
* Fix criteria data type bg loss team score
2023-12-29 14:12:15 +01:00
Shauren
41a20b1e40 Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
2023-09-25 00:53:56 +02:00
Shauren
c2f5ce2b03 Core/Groups: Implemented 10.1.7 ping system 2023-09-14 00:11:06 +02:00
Shauren
8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +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
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
e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren
010e6f7f49 Core/Loot: Implemented dungeon encounter personal loot
Closes #20066
2022-10-25 00:30:52 +02:00
ModoX
0be7096b24 Core/Groups: Removed group_instance row deletion of empty groups
* table does no longer exist ref 9b924522d0

Closes #28331
2022-10-04 23:37:49 +02:00
Shauren
ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 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
a131542855 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it) 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
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
9700b2a786 Core/Loot: Store method used at loot generation inside Loot object 2022-09-14 22:03:47 +02:00
Shauren
e9d083a2ee Core/Loot: Set loot guid and type in Loot constructor 2022-09-11 18:21:01 +02:00
Shauren
7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +02:00
ModoX
6d86c670dd Core/PacketIO: Drop correct field in SMSG_PARTY_UPDATE and utilize new bit properly
* 768811f782 followup
2022-08-19 16:28:53 +02:00
ModoX
768811f782 Core/PacketIO: Fixed structure of SMSG_PARTY_UPDATE 2022-08-19 13:43:23 +02:00
Shauren
20f38369f3 Core/PacketIO: Updated packet structures to 9.2.7 2022-07-31 21:39:48 +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
36d62244ad Core/Groups: Fixed loading character race info for offline group members 2022-07-22 19:37:25 +02:00
Shauren
d3c4216de8 Core/PacketIO: Updated packet structures to 9.2.5 2022-06-01 23:13:29 +02:00
Shauren
a12f939070 Core/PacketIO: Implemented SMSG_BROADCAST_SUMMON_CAST and SMSG_BROADCAST_SUMMON_RESPONSE 2022-05-14 20:40:55 +02:00
dufernst
86ecc83514 Core/Groups: Execute all group related database cleanup at the beginning of LoadGroups. (#27935)
Makes certain group_member entries be deleted when their respective groups are removed during cleanup. In cases when LoadGroups aborts early if no groups remain to be loaded after cleanup they would otherwise not be removed.
2022-05-01 17:46:50 +02:00
Shauren
84486ded67 Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time 2022-04-16 12:15:37 +02:00
Shauren
f0c56fde0a Core/Groups: Escape mysql keyword in group loading query 2022-04-12 13:29:53 +02:00
Shauren
b47185cabf Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag 2022-03-27 18:14:47 +02:00
jackpoz
d0fe16b787 Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
2022-03-11 11:48:18 +01:00
Mikhail Redko
9e6def8ae2 Core/Console: Improve ReadWinConsole logic and cosmetic changes (#26402)
* Core/Console: Improve ReadWinConsole logic and cosmetic changes

* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes

* Fix codestyle

* Removed auto

* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console

* Core/Misc: Cast Difficulty to uint32 for output to console

Co-authored-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit 6c12f45f3b)
2022-03-09 14:55:18 +01: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 661f554b9e)
2022-03-06 01:35:01 +01:00
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
2022-03-05 20:07:57 +01:00