hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
hondacrx
f636ea225f
Messed up the commit history, so here is all the files rip, Credit to TrinityCore
2023-09-16 08:42:35 -04:00
hondacrx
4134796f1b
Core/Battlegrounds: Rework queues
...
* 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b )
2023-09-14 06:16:30 -04:00
hondacrx
149fadccab
Make PreparedStatements static for each database.
2023-02-04 20:55:14 -05:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
744e9c1c19
Core/Loot: Implemented dungeon encounter personal loot
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/010e6f7f49744b16e3ecececb7d9605f8b8db4d5 )
2022-10-26 01:36:15 -04:00
hondacrx
023fc60699
Core/Groups: Removed group_instance row deletion of empty groups * table does no longer exist
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0be7096b240e9d285e3e47bb4f28e04a341ef8b8 )
2022-10-05 16:09:19 -04:00
hondacrx
807caef08c
Core/Instances: Reimplement resetting instances from UI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddd0c7b152d65b980db0cc2d00f15ae62a602936 )
2022-10-04 14:31:07 -04:00
hondacrx
66c7047a29
Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182 )
2022-10-04 10:57:04 -04:00
hondacrx
793cf91a24
Core/Maps: Check group that owns instance (first group to enter a given instance id owns it)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a131542855d23022714a97640be1c8d68a741c31 )
2022-10-04 10:12:41 -04:00
hondacrx
d3dde761a2
Core/Instances: Instance lock rewrite (WIP)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/17665c929c3a9fb7fe75dd680648129bc1c1f874 )
2022-10-04 10:00:07 -04:00
hondacrx
b76c9571d2
Core/Loot: Move loot rolls from Group to Loot
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ef5079feeedfdafc9d3c1d9f865e96dbc77ecc8 )
2022-09-18 17:57:08 -04:00
hondacrx
0f77a9b27d
Core/Loot: Store method used at loot generation inside Loot object
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9700b2a78680452d80025121a031da340af51348 )
2022-09-18 15:54:17 -04:00
hondacrx
2270e26b0d
Core/Loot: Set loot guid and type in Loot constructor
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9d083a2ee59d297271b04f3b7fb63808f7f0c8c )
2022-09-11 14:57:51 -04:00
hondacrx
7bba4bdd79
Core/Loot: Allocate Loot separately from objects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7957e2d380e08fa831765f610c0e29d2f3e11a04 )
2022-09-02 14:14:04 -04:00
hondacrx
6fa6405c58
Core/PacketIO: Drop correct field in SMSG_PARTY_UPDATE and utilize new bit properly
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d86c670dda434c7956164b1ca4490b93f8d862f )
2022-08-19 20:06:27 -04:00
hondacrx
f777dfbe51
Core/PacketIO: Fixed structure of SMSG_PARTY_UPDATE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/768811f7823f30644ccdc2570991f4704b19ee12 )
2022-08-19 20:03:19 -04:00
hondacrx
cacfc06088
Core/PacketIO: Updated packet structures to 9.2.7
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/20f38369f30309e2c0cd53eca9cfe9c49376ed8c )
2022-08-17 14:37:34 -04:00
hondacrx
3cd58e4a17
Core/Maps: Move terrain data handling out of Map class
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a06346aea16ffd6ee84081cedfdb0c75ac0b38 )
2022-07-24 16:31:00 -04:00
hondacrx
b3a072119e
Core/Groups: Fixed loading character race info for offline group members
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/36d62244ad89e288d966341883df1d676bd3f992 )
2022-07-23 22:51:08 -04:00
hondacrx
df440b2025
Missed some escaped words for newer mysqls
2022-07-11 15:54:00 -04:00
hondacrx
4efe624af1
Core/PacketIO: Updated packet structures to 9.2.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3c4216de8e1dcb9f62d2fcc1b9b72852e5409c9 )
2022-06-03 20:01:55 -04:00
hondacrx
d4a1bd0fc3
Core/Groups: Execute all group related database cleanup at the beginning of LoadGroups.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/86ecc83514f2aea21291595d68dca125893b166c )
2022-06-01 13:03:04 -04:00
hondacrx
b30ba3422f
Core/Auras: Remove aura 490 implementation (purpose unknown, needs more spell examples)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/342eefcb361900741c17cc40a48fd10436908175 )
2022-05-31 13:48:55 -04:00
hondacrx
036c565f69
Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/84486ded67efc4e779412ff865c66ca8b9cee7ea )
2022-05-31 12:07:04 -04:00
hondacrx
6751370788
Misc fiixes
2022-05-30 16:21:09 -04:00
hondacrx
442da7511f
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785 )
2022-05-30 16:12:11 -04:00
hondacrx
712dd7b9de
Core/Common: Merge TimeTrackerSmall with TimeTracker
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae )
2022-03-02 14:06:04 -05:00
hondacrx
c14f1eb3dc
Remove custom OptionalType and use the default c# nullable type.
2022-03-01 17:27:56 -05:00
hondacrx
bbcebe5790
Core/Groups: Fixed crash in loot rolls happening when looted object despawns before roll expires
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f8d6f5c9bc32bbe11de3377501453da1106f98a )
2022-02-25 14:21:19 -05:00
hondacrx
883a3bb990
First try at updating command system to be like TC. Still needs alot of testing/work
2022-01-20 09:57:15 -05:00
hondacrx
6e0becd106
Core/Items: implement some helper methods for easier readability
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8 )
2022-01-06 10:57:06 -05:00
hondacrx
942feb2c3e
Core/Instance: remove wrong raid-only restriction in the logic that kicks offline players out of instances when the instance is reset.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2b1b3e2aad4f2ecfbf156d96890c1ecde678c11 )
2022-01-01 17:06:19 -05:00
hondacrx
c209f30475
Battleground/Arena: Properly check RBAC arena join permission before allowing queue.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a69a061d76fe4e142e84c775230e2fcbd6ddb9d4 )
2021-12-27 17:06:18 -05:00
hondacrx
7a47eaeb24
Core/Conditions: allow spellclick conditions to properly work for aura apply/remove
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/edf12fd6a1b989d7785bc0619002eda1ccc87368 )
2021-12-27 15:23:22 -05:00
hondacrx
7ca6823705
Core/Loot: fix issue that prevented players from rolling for an unique-category item while an equipped item shares the same unique-category.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ca9f51033c92f29eb1bc915fcbf785773ed586c )
2021-12-24 21:28:30 -05:00
hondacrx
ff48f2cab9
Core/Instance : Fix instance resetting exploit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c3c59d7fac0abb02cc1fb433338737ea119831d )
2021-12-22 20:54:24 -05:00
hondacrx
1bd33fce8e
Core/Loot: implement automatic pass in group loot for items that cannot be looted.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c8f94a14f51e5ddfd0eb277e2b709da274e654d )
2021-12-17 19:33:22 -05:00
hondacrx
05e3cfc118
Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc141e9bad5dc06a56179f820670bd6944651804 )
2021-12-17 19:04:23 -05:00
hondacrx
262943f571
Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/27572359563078edacf42e7b62cf0e6f2ad4b3b2 )
2021-09-27 10:53:37 -04:00
hondacrx
aac3003bc2
Core/Battleground: allow Random battleground and arena queues same time.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9e7464e0d1f201b4a84d7fd955018e3a2c2cc59 )
2021-09-26 11:44:23 -04:00
hondacrx
c9b8f09fbc
Core/Achievements: Update CriteriaType enum
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df )
2021-09-09 14:49:19 -04:00
hondacrx
52e43853fe
More Cleanups
2021-06-08 12:56:09 -04:00
hondacrx
ba064327b0
Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object.
2021-04-21 18:06:46 -04:00
hondacrx
1aa78d32eb
Core/Groups: Use std::chrono type for Group::m_readyCheckTimer
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/48b63c4c6721fa9a38f74f8fa92255ac0938da42 )
2021-04-06 23:42:49 -04:00
hondacrx
be2292e815
Core/Misc: Change all unix time columns in character database to bigint (signed)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d29dd1eeb5c52dc76bd741fe1ee0e875c416b8e7 )
2021-04-06 23:32:52 -04:00
hondacrx
62ec699ec6
Core: SOme code cleanup, more to follow.
2021-03-20 22:48:48 -04:00
hondacrx
d40c2938a3
Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b )
2020-09-22 20:05:58 -04:00
hondacrx
d389faabe7
Groups now only disband if all members reject the invitation (as opposed to if any member rejects the invitation).
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3077813d5bf4521fff8be3ea24db231ed00c02f )
2020-07-24 16:22:17 -04:00
hondacrx
c70d2a67a0
- Add new commands .group set assistant, .group set maintank and .group set mainassist to toggle raid member flags.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/17a0139b0e121b0d8d0f2a079fcfd49090ea35a4 )
2020-07-24 13:18:37 -04:00