Commit Graph

37538 Commits

Author SHA1 Message Date
Shauren
8733f6fafa Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
# Conflicts:
#	src/server/game/World/World.cpp
2022-06-19 21:42:45 +02:00
Ovahlord
fc0dc939ba fixed nopch build and some warnings 2022-06-19 21:19:26 +02:00
Ovahlord
fbd92f5476 Core/GameEvents: removed a debugging leftover that was causing GameEvents to not launch at all
* fixed a crash when trying to cast event sources and targets into non-allowed types
2022-06-19 19:56:51 +02:00
Shauren
440aecfe7b Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api 2022-06-19 18:47:51 +02:00
Jeremy
c5f81dc58f Core/ZoneScript: Add "invoker" param to ProcessEvent 2022-06-19 18:36:41 +02:00
Ovahlord
b1e99db2a4 Core/Util: ported Coalesce template 2022-06-19 18:20:42 +02:00
Ovahlord
edc3940f37 Scripts/HoO: updated Lift of the Makers console to new transport handling 2022-06-19 18:16:01 +02:00
Shauren
786131a162 Core/Transports: Localized transport objects within each map
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-19 18:11:20 +02:00
Shauren
acb599823e Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2022-06-19 16:15:44 +02:00
Ovahlord
aa0b4ab7f5 Core/Misc: resolved more cherrypick mistakes 2022-06-19 00:38:26 +02:00
Shauren
5a236799c2 Core/Transports: Path generation rewrite v2
* No TaxiPathNode row is skipped anymore (events/delays on first node now work)
* Fixed transport animation synchronization with client
* Fixed stoppable transports randomly resuming their path after relogging
2022-06-18 22:37:46 +02:00
Shauren
c682680a2f Core/Movement: Allow overwriting number of steps for spline length calculations
* Also minor cleanup of non-virtual functions in spline derived classes
2022-06-18 22:21:22 +02:00
Shauren
e212f92161 GCC warning fix 2022-06-18 22:16:26 +02:00
Ovahlord
8312130d34 Core/Transports: corrected a few more mistakes when reverting and porting transport changes 2022-06-18 22:06:44 +02:00
Ovahlord
58aac6430a Core/Transports: corrected a cherry pick mistake for BuildingUpdateValues 2022-06-18 21:55:34 +02:00
Shauren
5c0c2e3f25 Core/Objects: Remove restriction on what object types can be set as active 2022-06-18 21:43:24 +02:00
Ovahlord
97f3bd970e Core/GameEvents: tempoarily use source as game event reference for now 2022-06-18 21:37:51 +02:00
Shauren
25465699f7 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-06-18 21:36:17 +02:00
Shauren
b596675c3b Core/Transports: Extracted transport and vehicle passenger relocation to shared function 2022-06-18 19:13:38 +02:00
Shauren
79aa6e2456 Core/GameObjects: Implement more gameobject gameevent uses 2022-06-18 19:08:44 +02:00
Shauren
2b7b0b0db1 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff) 2022-06-18 19:05:57 +02:00
Seyden
d56acc88ef Core/Creatures: Add summoned creatures to summoners transport 2022-06-18 18:56:05 +02:00
Shauren
43c1876970 Core/Transports: Store information about continent transports 2022-06-18 18:53:25 +02:00
Ovahlord
6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Ovahlord
74c60fa456 Core/Spells: ported SPELLMOD_PCT calculation fixups from master branch 2022-06-18 13:18:48 +02:00
Chaouki Dhib
a588f62838 Core/Spells: Change the radius of PBAoEs following the feedback received on (#16290)
# Conflicts:
#	src/server/game/Spells/Spell.cpp
2022-06-16 22:44:09 +02:00
Mikhail Redko
c0a1bc8c8d * Core/Misc: Improvement item durability repair logic
* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database
2022-06-15 14:24:35 +02:00
KoNicks
b7d6959816 Core/Misc: Fix build when using libstdc++-11 (#26565) 2022-06-15 14:04:18 +02:00
Shauren
30d6f97567 Core/DBLayer: Fixed false positive msvc analysis warning 2022-06-15 14:03:21 +02:00
jackpoz
35d79f54e5 Shared/Database: Improve dead-lock error handling
Improve dead-lock error handling in async transactions by retrying the transaction for up to 60 seconds instead of just 5 times

(cherry picked from commit 54b0b8f5ea)

# Conflicts:
#	src/server/database/Database/Transaction.cpp
2022-06-15 14:03:01 +02:00
sevi
f224ec4508 DB/Spells: Moonkin Aura, Mind Quickening and Wrath of Air totem will no longer stack their cast speed bonus 2022-06-15 13:57:47 +02:00
Ovahlord
6b4056d8e8 Core/Spells: Will of the Necropolis will now reset the cooldown of Rune Tap instead of Blood Tap 2022-06-14 17:43:10 +02:00
Ovahlord
315b913c05 DB/Spells: Evangelism will now proc on cast instead of on hit to avoid triggering multiple procs when a periodic effect ticks 2022-06-13 17:29:24 +02:00
Ovahlord
7438afca74 Core/Spells: corrected the multiplier for Resurgence's mana gain effect 2022-06-13 14:24:33 +02:00
Ovahlord
0e6edacac3 DB/Spells: fixed Daybreak talent 2022-06-12 23:11:17 +02:00
Ovahlord
1383fa8379 Core/Spells: fixed typo in Long Arm of the Law's handling that was causing the talent to use spellId 1 instead of the specified spell 2022-06-12 22:55:44 +02:00
Ovahlord
a6b07c2c9d Scripts/Firelands: Ragnaros' Magma Trap will now trigger Magma Trap Vulnerability only on heroic difficulty 2022-06-02 22:16:12 +02:00
Ovahlord
2ea89f9734 Core/Spells: fixed druid t12 restoration 4p bonus 2022-06-02 22:04:08 +02:00
Ovahlord
4dff2d5ad8 typo fix 2022-06-02 21:49:06 +02:00
Ovahlord
c7e287ccb4 Core/Spells: Blaze of Life triggered by Eye of Blazing Power will now only target the most injured raid or party member instead of all 2022-06-02 21:46:45 +02:00
Intel
ce79689c96 Core/Player: Prevent updating visibility if player is not in world. Closes #13659
(cherry picked from commit 3ec88b7086)

Closes #27914
2022-05-18 13:52:36 +02:00
Shauren
b070267898 Core/Misc: Remove uses of std::aligned_storage (deprecated in future c++ standard)
# Conflicts:
#	src/common/Threading/MPSCQueue.h
#	src/server/game/Server/Packets/AuctionHousePackets.cpp
2022-05-18 13:52:21 +02:00
Ovahlord
c63c81ef6c Core/Packets: enable and implement SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED
* refactored target based summoning to not longer store targets in the target map and pull the directly from the caster's target update field in the effect handler
* implement support for party based summoning and use the new opcode to send error messages when a player cannot be summoned. Note: this packet does support sending multiple reasons for multiple members but sniffs show that they are still being sent one by one instead. Just Blizzard things
2022-05-17 20:43:49 +02:00
Ovahlord
6645a97434 buildfix² 2022-05-01 19:07:26 +02:00
Ovahlord
2af43011e3 buildfix 2022-05-01 19:03:24 +02:00
Ovahlord
80a5956574 Core/Spells: fixed Glyph of Wild Growth not causing Wild Growth to hit additional targets 2022-04-29 22:04:26 +02:00
Ovahlord
3fa069b8fc Scripts/EndTime: added missing repeat timer for Flarecore after Jaina has blinked to a new location 2022-04-26 19:48:23 +02:00
Ovahlord
ff783b2388 Scripts/EndTime: implement Echo of Jaina encounter 2022-04-26 19:44:32 +02:00
Ovahlord
fbd2ae1ee1 DB/WoE: scripted intro monologue for Nozdormu's entrance event 2022-04-25 16:42:54 +02:00
Ovahlord
edfe82b4a3 Core/Misc: refactored a couple more loops to reduce copies and speeding up things
* silenced a few more msvc suggestions while at it
2022-04-22 22:52:52 +02:00