Commit Graph
38259 Commits
Author SHA1 Message Date
Meji a601976e4c Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM 2023-12-08 16:37:27 +01:00
Ovahlord 1251a781a0 CMake: added MySQL 8.2.0 to FindMySQL macro 2023-12-04 22:17:26 +01:00
Shauren bf51eda550 Core/Misc: PackedGuid refactoring to remove ByteBuffer.h include from ObjectGuid 2023-12-04 22:14:02 +01:00
Kelno b4f6bee92c Core/Items: Fixed soulbound tradeable items not being properly update once every second (#29416)
In the current code they were updated only if the difftime went above 1 second.
2023-12-04 22:09:52 +01:00
Shauren 10ff84361a Core/CrashHandler: Add a timeout to retrieving windows version from WMI
(cherry picked from commit 36a64884054f0bf34e815b62157be61c3476127a)
2023-12-04 22:09:24 +01:00
Shauren 63f06c1157 Core/Battlefield: Fixed using invalidated iterator when a player queued for wintergrasp is inside a battleground
Closes #29405
2023-12-04 22:06:32 +01:00
Gildor 679298cb59 Core/Loot: Check bank for unique loot items when determining loot roll eligibility (#29373)
# Conflicts:
#	src/server/game/Groups/Group.cpp
2023-12-04 22:06:26 +01:00
sevi 986c129bc0 Core/Quests: implement the option to cast spells upon abandoning quests (#434)
* Core/Quest: Implement a way to cast Spells on Quest Abandon.

* Core/Player: add a missing ;

* Core/Quest: moved the Abandon Spell away from a own table into quest_template_addon.
2023-12-01 16:07:39 +01:00
Ovahlord b4811b7a5d Core/Packets: used the correct opcode for RoleChangedInform packet 2023-12-01 13:19:50 +01:00
Ovahlord 133588ca60 Core/Groups: fixed a crash when rolling for items 2023-11-12 07:36:39 +01:00
Ovahlord 4d27b31b6b Core/Misc: removed dead AddonHandler code which has been moved into WorldSession a long time ago 2023-10-31 22:02:49 +01:00
Shauren 7d57ef7299 Core/Random: Changed random functions returning doubles to return floats
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 22:00:52 +01:00
Andrius Peleckas 56dc3bddd5 Core/Movement: corrected path completion logic for smartAI waypoint movement (#429) 2023-10-31 02:13:11 +01:00
Ovahlord 056248cef1 Core/Packets: converted CMSG_SET_ROLE and SMSG_ROLE_CHANGED_INFORM to packet class 2023-10-30 22:30:14 +01:00
Ovahlord 2283572243 Core/Packets: use the reserve instead of resize in PartyCommandResult packet
ref #428
2023-10-30 22:01:36 +01:00
Ovahlord e9ea6f8f06 Core/Groups: converted group roll raw pointers to smart pointers 2023-10-30 01:26:57 +01:00
Shauren 3e209a76dd Core/CrashHandler: Support retrieving windows version names for all future versions
(cherry picked from commit ca9b82fb856c8314c3e84b15bc16ffb3fe8239ba)
2023-10-30 00:36:26 +01:00
Shauren ffb78a2a30 Build: Fixed msvc version check 2023-10-30 00:36:26 +01:00
Shauren 3f6f51489c Core/Vehicles: Fixed crash happening if a vehicle despawns during handling of control vehicle aura removal
Closes #29290
2023-10-30 00:36:26 +01:00
Ovahlord 94f7ee4dda Core/Spells: check the correct effect index for Beacon of Light auras in heal predicitions 2023-10-24 22:12:55 +02:00
Shauren 388c504047 Core/Spells: Named and implemented most of SpellAttr8 2023-10-23 18:07:05 +02:00
Ovahlord 1dfe0f0974 Core/Spells: modernize a bunch of spell scripts in spell_generic 2023-10-21 21:34:19 +02:00
Ovahlord 6e5a63f165 Core/Spells: handle missing creature interrupt part of Silence, Strangulate and Arcane Torrent 2023-10-21 21:09:24 +02:00
Meji 56077b35c3 Core/Creatures: Improved movement interruption while casting spells 2023-10-21 20:41:40 +02:00
Shauren 3c0cf32b43 Core/Spells: Named and implemented most of SpellAttr7 2023-10-21 20:32:32 +02:00
Ovahlord 4b1cf485e0 Tools/MapExtractor: fixed dbc/db2 extraction under linux
clses #426
2023-10-20 15:53:46 +02:00
KobeSagami cbb027438c Core/Misc: Minor change to racial wisp handling to make custom easier (or so i heard) (#22954)
(cherry picked from commit 7d60b9a289ee0942cf57b49626c0f3f9caeed331)
2023-10-18 23:29:07 +02:00
funjoker b7a9e6db72 Dep/Boost: Drop windows boost hacks (#29358) 2023-10-18 23:18:50 +02:00
Shauren 031e41c94e Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 22:04:11 +02:00
Shauren 2e2a928204 Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell 2023-10-18 22:00:01 +02:00
Shauren 7b4371e25d Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map 2023-10-18 21:55:21 +02:00
Shauren e90a2e6ef3 Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura) 2023-10-18 21:45:16 +02:00
Shauren 77c017555b Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one 2023-10-18 21:43:46 +02:00
Meji 7bc8e31be0 Core/Misc: Use DBCManager::IsInArea for area-related criterias and conditions 2023-10-18 21:40:57 +02:00
funjoker e4a33bd4df Tools/Launcher: do not close console when launched with --console 2023-10-13 14:03:41 +02:00
Ovahlord ef9b9b3887 nopchfix 2023-10-13 00:47:54 +02:00
Ovahlord 75ae2cbeac Core/Packets: converted reforge packets to packet class and enabled and added packet structure for SMSG_FORGE_MASTER_SET 2023-10-12 22:01:16 +02:00
Ovahlord bfb045e964 nopch fix 2023-10-11 03:32:57 +02:00
Ovahlord 1f5aa1a219 Scripts/VP: fixed resetting Asaad's achievement 'Not Static At All' 2023-10-11 03:30:50 +02:00
Ovahlord 5ee22c58f6 Core/Achievements: renamed ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL2 to ACHIEVEMENT_CRITERIA_TYPE_LAND_TARGETED_SPELL_ON_SPELL_TARGET 2023-10-11 03:17:14 +02:00
Ovahlord 4ff88148c8 Core/Spells: only provide base difficulty spell Ids to criteria events to match their requirements (see It's Not Easy Being Green' for reference) 2023-10-11 02:09:44 +02:00
Ovahlord faa4fbfbce nopch buildfix 2023-10-11 01:51:34 +02:00
Ovahlord df0de16bc5 Scripts/ZG: fixed achievement 'It's Not Easy Being Green' 2023-10-11 01:49:39 +02:00
Ovahlord ff0eb86c54 Core/Achievements: ported start event and fail event mechanics from master branch 2023-10-11 01:38:01 +02:00
Ovahlord a599f7461d build fix 2023-10-10 22:03:26 +02:00
Ovahlord 88e4309bcb Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_MIN_ACHIEVEMENT_POINTS 2023-10-10 21:50:10 +02:00
Ovahlord 4851269f9b Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_COMPLETE_QUEST_NOT_IN_GROUP 2023-10-10 21:47:26 +02:00
Ovahlord 9a82ad2a75 Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_SOURCE_IS_ALIVE 2023-10-10 21:44:27 +02:00
Shauren 83f01216f6 Core/Misc: Fixed logging output
(cherry picked from commit 6bc82403859e2ef9795eab79f4978b272a40fc00)
2023-10-10 21:42:23 +02:00
Ovahlord 3efa9c9ed3 Core/Achievements: implement ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_SOURCE_DRUNK_VALUE 2023-10-10 21:41:00 +02:00