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
Shauren
06f59caf3d
Core/DataStores: Rename TalentTabEntry::CategoryEnumID back to PetTalentMask
2020-07-31 20:02:08 +02:00
Shauren
3ad05386c8
Core/Networking: Fixed authserver socket read handlers being called on incorrect thread
2020-07-28 19:44:38 +02:00
Treeston
4f570e5d08
Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. Sorry. ( 5e36bf7 follow-up)
2020-07-26 05:20:41 +02:00
Treeston
210176fd91
Core/Authserver: Authserver cleanup (PR#25093)
...
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above
2020-07-26 01:53:34 +02:00
Peter Keresztes Schmidt
e6e5775be8
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
2020-07-18 20:43:16 +02:00
Giacomo Pozzoni
203573db83
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 ) ( #24997 )
...
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23 )
Original research by @xvwyh.
# Conflicts:
# src/server/game/DataStores/DBCStores.cpp
# src/server/game/DataStores/DBCStructure.h
# src/server/game/DataStores/DBCfmt.h
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/GameObject/GameObjectData.h
# src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
# src/server/scripts/Kalimdor/HallsOfOrigination/boss_temple_guardian_anhuur.cpp
* Add missing sql update
* Fix some build errors
* Remove unused enum values
* Change artkits from 0-4 to 0-3
* Remove unused code
* Code review feedback
* Fix sql
* Remove artkit4 special case handling
* Default initialize artKits
* Code review feedback
* Split sql into structure and data files
Co-authored-by: Warpten <vertozor@gmail.com >
2020-07-14 09:34:03 +02:00
Peter Keresztes Schmidt
c92950b3e1
Core/DataStores: Update DBC field names to generated ones ( #24999 )
2020-07-12 15:36:55 +02:00
Max Drosdo.www
3529442668
Core/Player: Introduce separate level caps for each expansion ( #24989 )
2020-07-11 11:10:04 +02:00
Shauren
0468c70dfe
Core/Maps: Implemented getting area id from gameobject spawns
...
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
(cherry picked from commit 42f9deb21e )
2020-06-27 20:23:30 +02:00
jackpoz
54c701cf0d
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
2020-06-26 23:37:52 +02:00
Carbenium
22c12e7123
Core/Misc: Move WorldState enum to SharedDefines
...
Move WG battlefield world states to the global enum
2020-06-24 15:09:57 +02:00
Carbenium
6a8c12587e
Core/Misc: Create new enum for AreaIds
...
Move Wintergrasp BF related values there
2020-06-24 15:09:57 +02:00