Commit Graph

1141 Commits

Author SHA1 Message Date
Shauren
9d945f0db0 Core/Crypto: Rename our Argon2 to avoid possible conflict with library file on some configurations
(cherry picked from commit 4f6b49cccf)
2025-04-13 18:18:15 +02:00
Shauren
8c76ccac6a Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
(cherry picked from commit b6bc8a50ac)
2025-03-08 15:52:58 +01:00
Shauren
1942647c0d Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer
(cherry picked from commit c81183a660)
2025-02-18 15:39:41 +01:00
Shauren
de9340ccec Core/Battlegrounds: Port BattlegroundQueueTypeId changes from master branch 2025-02-08 19:58:34 +01:00
Shauren
243314806f Core/Spells: Fixed item level requirements for enchanting spells 2024-12-05 14:08:37 +01:00
ModoX
d900e0e955 Core/Entities: Added GetStringId helper methods
(cherry picked from commit 5cea37153e)
2024-10-05 17:55:14 +02:00
Shauren
1fd797fca4 Core/Misc: Reduce differences between branches
(cherry picked from commit 36a90f7098)
(cherry picked from commit 0056360034)
(cherry picked from commit 869a8644e5)
(cherry picked from commit 94e85c34d3)
(cherry picked from commit f27cc65588)
(cherry picked from commit 42f3f91ad4)
(cherry picked from commit 1180fbf531)
(cherry picked from commit 629694cbad)
(cherry picked from commit 506e7913f8)
(cherry picked from commit e7c7158db0)
(cherry picked from commit a369594d61)
(cherry picked from commit cc5450c4a0)
(cherry picked from commit d3e508254b)
(cherry picked from commit dcd915c9b9)
(cherry picked from commit b95d148dbe)
(cherry picked from commit ac81411db4)
(cherry picked from commit d8ce0c8830)
(cherry picked from commit a2b1cf66ca)
(cherry picked from commit 953f093920)

brc
2024-09-10 17:47:34 +02:00
Shauren
0b10514289 Core/Client Builds: Sync build_info structure with master branch 2024-08-30 02:12:49 +02:00
Shauren
4e38582c4f Core/DataStores: Removed hardcoded cap for taxi nodes mask
(cherry picked from commit 376dc7402a)
2024-07-19 20:29:13 +02:00
Shauren
d434182e30 Core/Spells: Port SPELL_ATTR1_REQUIRE_ALL_TARGETS and SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE from master branch
Closes #21632
2024-04-08 11:40:06 +02:00
Shauren
dacc11b8ea Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887

(cherry picked from commit f847cd4eeb)
2024-04-03 21:24:32 +02:00
Shauren
08664aa07f Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
(cherry picked from commit b4064d38c8)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Spells/SpellMgr.cpp
2024-02-21 12:20:11 +01:00
Shauren
45a5b6a9f0 Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427

(cherry picked from commit b888b1b09f)
2023-12-02 15:57:03 +01:00
Shauren
d5b64a0bb2 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class
(cherry picked from commit a3702cc526)
2023-10-18 20:21:53 +02:00
Shauren
d028bb0e37 Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura)
(cherry picked from commit 0f7dd4eadf)
2023-10-15 14:20:50 +02:00
Shauren
451314241d Core/Misc: Modernize comparison operators
(cherry picked from commit f0a862e71b)
2023-08-24 11:48:45 +02:00
Shauren
aaa6e73c8c Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
(cherry picked from commit d791afae1d)
2023-08-15 20:10:04 +02:00
Shauren
3144566584 Core/Misc: Include cleanup, 2023 edition
(cherry picked from commit 92ed5e8af1)
2023-08-12 17:56:16 +02:00
Shauren
b7287e85e4 Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
2023-08-12 14:24:24 +02:00
robinsch
13fa60ab86 Core/Item: Fixed incorrect damage mod for Heirloom 2H weapons (#28836) 2023-03-11 14:07:03 +01:00
Ovah
b47ef3ce90 Core/Spells: fixed up block mechanics (#28286)
* Ranged attacks can now be blocked
* Implement SPELL_ATTR3_COMPLETELY_BLOCKED
* Fixed a bug which was causing blocking to block entire spell effects regardless if the attribute was present or not
* Fixed a logic mistake which was causing blocks to roll twice (once for effect negation and once on hit)
* No longer send blocked miss conditions in spell_go packets when the spell is not completely blocked to match sniff data
2022-10-01 17:21:07 +02:00
Shauren
5eea9883c2 Core/GameObjects: Reduce differences between branches part 3 - gameobject updatefield accessors 2022-03-30 18:01:24 +02:00
Shauren
85bdeed51e Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
(cherry picked from commit f6e72494f1)
2022-02-14 13:37:45 +01:00
Shauren
32cef906b0 Core/Time: Remove artificially high minimal update intervals
(cherry picked from commit 3a67e37681)
2022-01-03 16:19:29 +01:00
offl
4b028e599e Core/Misc: Rename few type flags 2021-09-16 22:10:46 +03:00
offl
8047532605 Core/Misc: Name unknown CreatureEliteType 2021-09-16 21:48:19 +03:00
stoneharry
a18b19aece Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA (#26901)
When this aura is given on a spell, it allows for it to bypass 314 SPELL_AURA_PREVENT_RESURRECTION.
2021-09-12 17:13:44 +02:00
Shauren
4c59532865 Core/Spells: Begin unifying spell effect access api with master branch
* Introduce SpellInfo::GetEffects and SpellInfo::GetEffect functoins
2021-08-28 23:42:25 +02:00
Gildor
bd6de8eb61 Core/Spells: defined and implemented SPELL_ATTR7_CANT_DODGE, SPELL_ATTR7_CANT_PARRY and SPELL_ATTR7_CANT_MISS (#26742) 2021-07-24 14:48:57 +02:00
Jan Van Buggenhout
f0536cf465 Core/Shared: Remove unneeded DetourNavMesh.h include from SharedDefines.h (#26374) 2021-04-12 14:59:00 +02:00
offl
e6d9d9ead9 Core/Misc: Define / rename attributes and flags (#26315)
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
2021-04-08 19:28:02 +03:00
Gildor
80f30d5ca9 Core/Maps: increase value of fixed offset when retrieving floor Z (#26321) 2021-03-26 13:26:21 +01:00
Giacomo Pozzoni
f96aab2186 Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z (#26092)
Use a fixed offset 0.5f instead of full collision height when retrieving floor Z as a full collision height ended up on the floor above a few times. It makes more sense to cast the ray just a bit higher up than using a full collision height (which by default is 2.0f)
2021-02-21 17:29:09 +01:00
jackpoz
1939736060 Core/Spells: Defined new spell attributes
(cherry picked from commit b2ddf547ff)

# Conflicts:
#	src/server/game/Miscellaneous/SharedDefines.h
2021-01-17 17:29:54 +01:00
xvwyh
7c6d92012a Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY (#25837)
* Update SharedDefines.h

* Update SpellInfo.cpp
2021-01-14 10:41:03 +01:00
Kargatum
a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
Giacomo Pozzoni
3b2c878dd0 Core/Spells: Implemented personal summons (#19231) (#25765)
* Core/Spells: Implemented personal summons (#19231)

* By default determined by summon property flag SUMMON_PROP_FLAG_PERSONAL_SPAWN

Closes #18254

(cherry picked from commit b7bb5e6a98)

# Conflicts:
#	src/server/game/Combat/ThreatManager.cpp
#	src/server/game/DataStores/DBCEnums.h
#	src/server/game/Entities/Creature/TemporarySummon.cpp
#	src/server/game/Entities/Creature/TemporarySummon.h
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/Entities/Object/Object.h
#	src/server/game/Maps/Map.h
#	src/server/game/Spells/SpellEffects.cpp

* Build fix

* Implement feedback

* Fix parameters passed in wrong order
2020-12-26 22:32:01 +01:00
Shauren
a415540775 Core/PacketIO: Add missing ByteBuffer operator overload 2020-09-28 10:37:32 +02:00
Shauren
155e37831e Dep/Boost: Partial support for boost 1.74 - asio
Ref #25470
2020-09-27 20:20:59 +02:00
Peter Keresztes Schmidt
062c55f1ab Scripts/Commands: Convert remaining debug commands (PR #25429) 2020-09-10 01:05:44 +02:00
Treeston
00dd337b5d Scripts/Commands: .character command conversion 2020-09-07 15:38:23 +02:00
Treeston
470f45db7a UnitTests: |Hspell and |Htalent unit testing 2020-09-02 12:42:02 +02:00
Treeston
d0b91f6927 Core/Misc: More DBC std::array refactors, stricter |Hitem checks, and more hyperlink unit tests 2020-09-01 22:02:22 +02:00
Treeston
3fbbe7cfbe Core/Misc: DBC std::array refactors, and |Hachievement unit tests 2020-09-01 00:38:46 +02:00
Treeston
534a2388b7 Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327) 2020-08-28 00:11:16 +02:00
Treeston
91744de316 Common/Utilities: Move EnumUtils' implementation struct from Trinity::Impl to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl. 2020-08-23 15:05:04 +02:00
Peter Keresztes Schmidt
5bab0e43c6 Scripts/Commands: Convert argument parsing of some misc commands to new system (#25308)
* Core/Shared: Make WeatherType smart

* Scripts/Commands: Convert argument parsing of some misc commands to new system
2020-08-22 22:28:51 +02:00
Peter Keresztes Schmidt
4286e7aa02 Core/ChatCommands: Check whether a passed numeric enum value is valid (#25285) 2020-08-20 00:46:52 +02:00
Peter Keresztes Schmidt
86dc58974a Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256)
* Core/Shared: Make Emote enum smart
* Scripts/Commands: Use enum type arg for HandleDebugAnimCommand
2020-08-16 16:26:47 +02:00
Peter Keresztes Schmidt
6c7837f947 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
2020-08-15 15:29:43 +02:00