Jeremy
d0d5d309bb
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
(cherry picked from commit be11f42a16 )
2024-03-28 20:38:55 +01:00
Ovahlord
88ff1e7cff
Core/Packets: fixed CMSG_SET_ACTION_BUTTON packet structure and downgraded player actions for classic
2024-03-19 20:08:00 +01:00
Ovahlord
d9ffc33724
Core/DataStores: duc-taped build
2024-03-10 02:39:59 +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
Shauren
0b5406dd88
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
2024-01-11 20:56:24 +01:00
Shauren
d2baaac9ec
Core/Chat: Corrected chat channel flag implementations
2023-10-07 18:29:53 +02:00
ModoX
4e7508db7b
Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity ( #29115 )
2023-07-21 18:55:20 +02:00
Shauren
0cea730fa2
Core: Update to 10.1.5
2023-07-12 16:29:00 +02:00
Shauren
f62b1d0190
Core/Misc: Exclude most of WorldSession::HandleAreaTriggerOpcode from being called when leaving the areatrigger
2023-06-20 00:18:32 +02:00
Shauren
d4fc589f4c
Core/Misc: Don't logout players instantly when client automatically requests a logout by idling too long
2023-06-15 23:35:22 +02:00
Shauren
4d4c7e6893
Core/Quests: Quest flag fixups
...
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
2023-06-10 20:31:33 +02:00
Jeremy
c1df555e16
Core/Graveyards: Drop Faction column and replace it with conditions ( #28965 )
2023-06-01 02:33:46 +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
c3e1ff90a5
Core/Maps: Changed functions checking if map can be entered to use TransferAbortReason directly instead of intermediate Map::EnterState enum
2022-10-08 19:11:34 +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
17665c929c
Core/Instances: Instance lock rewrite (WIP)
2022-10-04 00:19:38 +02:00
Shauren
f67cd38312
Core/Player: Extend action button value to uint64 to be able to hold battle pet guids
2022-09-18 23:52:17 +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
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Shauren
32c6c76476
Core/Guilds: Forward declare GuildAchievementMgr
2022-02-11 22:14:18 +01:00
Giacomo Pozzoni
864d775280
Core/Misc: Fix static analysis issues ( #25194 )
...
(cherry picked from commit 07fd84b679 )
2022-01-26 14:06:40 +01:00
Giacomo Pozzoni
fda8a09766
Core/Misc: Replace boost::shared_mutex with std::shared_mutex ( #24328 )
...
* Core/Misc: Replace boost::shared_mutex with std::shared_mutex
* Remove std forward declarations
(cherry picked from commit 7032ee0bdb )
2022-01-23 21:51:47 +01:00
Treeston
d11c3807b3
Core/Time: Rename GetGameTime{System, Steady}Point methods
...
The names are a bit unhandy. Rename them (shorter but still meaningful).
GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()
Also add 2 new typedefs:
typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;
Closes #25042
(cherry picked from commit 896b68d5c2 )
2022-01-23 21:36:03 +01:00
Shauren
96137fb30f
Core/Misc: Future msvc warning fixes
2022-01-21 13:40:48 +01:00
NoName
a4b3e694e8
Entities/Player: Restore old checks for UpdatePvPFlag ( #24372 )
...
Partly revert 671052575a
+ implemented timer reset to 300s after relog never worked, therefore removing that part;
+ reverting other parts with 300s timer changes, as not needed;
(cherry picked from commit 2efaf1dda8 )
2022-01-06 19:05:04 +01:00
Giacomo Pozzoni
a9e325f6b7
Core/Logs: Log full guid instead of just low guid, part 2
...
(cherry picked from commit 3def52c1c4 )
2022-01-01 00:51:54 +01:00
Giacomo Pozzoni
6ec933f281
Core/Logs: Log full guid instead of just low guid
...
(cherry picked from commit 468ecb7252 )
2021-12-31 21:56:40 +01:00
Matan Shukry
b821a72973
Core/Player: Initial War Mode support ( #25926 )
...
* Enable PvP talents
* War Mode buff aura
* Forced PvP flagging
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2021-12-26 19:14:46 +01:00
Shauren
22987b705b
Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself
...
(cherry picked from commit 267bdde323 )
2021-12-18 23:39:11 +01:00
Giacomo Pozzoni
c886e87991
Core/Misc: Fix static analysis issue
...
Fix static analysis issue
(cherry picked from commit ed08754663 )
2021-12-18 22:24:09 +01:00
Treeston
a5d8807af8
Entities/Player: Properly restore PvP-enabled state on login
...
(cherry picked from commit 671052575a )
2021-12-14 23:31:56 +01:00
Wyrserth
edf12fd6a1
Core/Conditions: allow spellclick conditions to properly work for aura apply/remove ( #23527 )
...
(cherry picked from commit 12e545f7e2 )
2021-12-14 20:52:13 +01:00
Chaouki Dhib
c19a4db1c1
Core/Movement: Add time synchronisation ( #18189 )
...
(cherry picked from commit 975f1e364a )
2021-11-30 22:11:36 +01:00
Shauren
14b8d7d839
Core/PacketIO: Implemented splash screen opcodes
2021-11-12 21:53:40 +01:00
ModoX
6ebd5926fb
Core/Conditions: Added conditions for old areatrigger system (AreaTrigger.db2) ( #27174 )
2021-10-26 22:58:49 +02:00
ModoX
6d9ce8e8ba
Core/PacketIO: Implemented CMSG_CONVERSATION_LINE_STARTED ( #27036 )
...
* Added OnConversationLineStarted hook to ConversationScripts
* Added example for Defender of Azeroth conversation
2021-10-12 00:16:20 +02:00
Shauren
6352a84bf7
Core/Quests: Unify quest objective updating into one function and replace iterating entire quest log to find objective with direct {type, id} lookup
2021-05-10 22:45:54 +02:00
Shauren
91b91b502f
Core/Quests: Quest improvements
...
* Add quest log slot argument to functions dealing with objective progress
* Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
2021-05-09 20:21:32 +02:00
jackpoz
e17e4e6f07
Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
...
(cherry picked from commit 12701cb0c6 )
Conflicts:
src/server/game/Achievements/AchievementMgr.cpp
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
src/server/game/Battlefield/Battlefield.cpp
src/server/game/Battlefield/Zones/BattlefieldWG.cpp
src/server/game/Battlegrounds/BattlegroundMgr.cpp
src/server/game/Calendar/CalendarMgr.h
src/server/game/DungeonFinding/LFGQueue.cpp
src/server/game/Entities/Corpse/Corpse.cpp
src/server/game/Entities/Creature/Creature.cpp
src/server/game/Entities/Item/Item.cpp
src/server/game/Entities/Pet/Pet.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Grids/ObjectGridLoader.cpp
src/server/game/Guilds/Guild.cpp
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Handlers/BattlefieldHandler.cpp
src/server/game/Handlers/CalendarHandler.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/ChatHandler.cpp
src/server/game/Handlers/LFGHandler.cpp
src/server/game/Handlers/MailHandler.cpp
src/server/game/Handlers/MiscHandler.cpp
src/server/game/Handlers/MovementHandler.cpp
src/server/game/Handlers/PetHandler.cpp
src/server/game/Handlers/QueryHandler.cpp
src/server/game/Handlers/TicketHandler.cpp
src/server/game/Instances/InstanceSaveMgr.cpp
src/server/game/Server/WorldSession.cpp
src/server/game/Server/WorldSocket.cpp
src/server/game/Spells/Auras/SpellAuras.cpp
src/server/game/Tickets/TicketMgr.cpp
src/server/game/Tickets/TicketMgr.h
src/server/game/World/World.cpp
src/server/scripts/Commands/cs_gobject.cpp
src/server/scripts/Commands/cs_instance.cpp
src/server/scripts/Commands/cs_list.cpp
src/server/scripts/Northrend/zone_wintergrasp.cpp
src/server/scripts/Spells/spell_item.cpp
2021-04-15 05:53:27 +02:00
Shauren
f2202869f7
Core/PacketIO: Updated packet structures to 9.0.5
2021-04-09 20:57:47 +02:00
Shauren
f759809d9d
Core/PacketIO: Use new time utilities in packets instead of plain time_t/uint32
2021-04-06 19:10:28 +02:00
Aokromes
0316ae913e
Core/Misc: Fix build on CentOS
...
By Nayd. Closes #20413
(cherry picked from commit c5a3ec667f )
2021-01-13 22:04:52 +01:00
Shauren
f922c6e7a4
Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
2020-09-19 12:44:42 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
8f9a69c9fa
Core: Updated to 8.3.7.35249
2020-07-23 20:00:27 +02:00
Shauren
deca201f77
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
2020-06-27 13:33:17 +02:00