Commit Graph

10991 Commits

Author SHA1 Message Date
Shauren
d03e90ef43 Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
(cherry picked from commit 1f5f245c02)
2025-08-30 22:55:25 +02:00
Shauren
a3874ee4f9 Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
(cherry picked from commit 7ac0c685dd)
2025-08-30 22:55:25 +02:00
Shauren
7e193e15db Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf)
(cherry picked from commit 67244a1f70)
2025-08-30 22:55:20 +02:00
Shauren
4be538f521 Core/Pools: Remove ReSpawn1Object and optimize single object despawn case in DespawnObject 2025-08-19 13:10:17 +02:00
Jildor
3e6bbb827d Core/Pools: Refactor PoolGroup::SpawnObject
* Prevent double spawn with pools with maxlimit 1 in certain situations
* Prevent infinite recursive call with specific case of nested pools
2025-08-19 13:10:17 +02:00
offl
60c8dc17bc Scripts/AQ40: Rewrite Fankriss (#31200) 2025-08-16 14:35:22 +02:00
Antonio
7de212a640 Core/Misc: Include source object information in ObjectMgr::GetClosestGraveyard() log message (#31194) 2025-08-16 00:11:36 +02:00
Shauren
d125285de9 Core/Scripts: Corrected log message copypaste from fdb71ce19e 2025-07-31 13:22:51 +02:00
Gildor
48fd041304 Core/Pools: Fix handle respawning for nested pools (#31163)
Closes #28524
2025-07-26 13:10:32 +02:00
Shocker
d7c31e0542 Fix build
(cherry picked from commit 443ea12827)
2025-07-25 19:47:53 +02:00
Shocker
0e7b46eac4 Core/Spells: Fix SPELL_AURA_MOD_POWER_COST_SCHOOL and SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT
(cherry picked from commit be07a7d481)
2025-07-25 19:47:13 +02:00
Shauren
65715e7dd9 Core/Misc: Reduce differences between branches 2025-07-25 16:55:15 +02:00
offl
4dece3fe4e Scripts/Arcatraz: Rewrite Mellichar's event (#31081) 2025-07-22 21:26:15 +02:00
Shauren
cbabaa0f3a Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time
(cherry picked from commit 49ad0d2d49)
2025-07-20 17:59:45 +02:00
Shauren
97b16e2eb8 Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf.

(cherry picked from commit 306022054b)
2025-07-20 17:59:37 +02:00
Shauren
9ffc85485a Core/Misc: Reduce differences between branches 2025-07-14 22:26:42 +02:00
Shauren
5bace54513 Core/Loot: Fix checking reference loot in HasQuestDrop/HasQuestDropForPlayer 2025-07-08 19:47:29 +02:00
Gildor
0bd56da09b Core/Misc: Add configuration option for setting the update interval of the Who list cache (#30750) 2025-06-10 19:02:52 +02:00
CraftedRO
59492b81d8 Core/Unit: Pet near teleport fix (#30766)
https: //github.com/psychobilli/TrinityCore/wiki/PetTeleportFix-Test-Notes

Co-authored-by: psychobilli <42016077+psychobilli@users.noreply.github.com>
2025-06-09 21:54:02 +02:00
Shauren
49e02d7c30 Core/GameObjects: Fixed GameObject::SetRespawnTime putting gameobjets not using compatibility spawning mode into invalid state
Closes #31047
2025-06-09 19:04:15 +02:00
Shauren
1a5af00760 Core/Players: Unbreak dual wield 2025-05-24 22:12:32 +02:00
CraftedRO
aae2bea8c5 Core/Pets: Allow pet commands while hunter is under SPELL_AURA_MOD_PACIFY aura 2025-05-23 23:10:07 +02:00
Shauren
b610048f89 Core/Players: Fix Titan's Grip weapon type restrictions
Closes #20972
Closes #30747
2025-05-23 20:09:09 +02:00
CraftedRO
77d20d6aba Core/Misc: Don't teleport players to homebind location when logging out inside instance without a group (#30982) 2025-05-23 14:45:00 +02:00
CraftedRO
e6b9f215e9 Core/Creatures: Update creature GenerateHealth rounding formula (#30971) 2025-05-22 15:37:04 +02:00
CraftedRO
8d6e6c3f7c Core/Spells: Properly retrieve pet to dismiss for spells with SPELL_ATTR1_DISMISS_PET (#30928) 2025-05-17 23:24:44 +02:00
CraftedRO
74f9ffe74b Core/Spells: Fix hunter pets not losing happiness when dismissed (#30756) 2025-05-17 22:32:58 +02:00
ModoX
b3698c4870 Core/Spells: Reserved custom spell attribute SPELL_ATTR0_CU_CAN_TARGET_ANY_PRIVATE_OBJECT 2025-05-11 21:11:19 +02:00
CraftedRO
7b0d1f0913 Core/Misc: Minor corrections to urls and grammar in logs and comments (#30917) 2025-05-08 18:52:04 +02:00
Shauren
9807e9d450 Build: Fixed CMake 3.30 FindBoost deprecation warning
(cherry picked from commit ab5fab5ee9)
2025-04-13 19:05:27 +02:00
Shauren
8cbb263c14 Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver

(cherry picked from commit 77fe2745fe)
2025-04-13 19:05:21 +02:00
Shauren
0d027afe18 Core/Guilds: Fix setting guild notes 2025-04-13 13:02:16 +02:00
Shauren
4d0903c61c Core/Misc: Reduce differences between branches 2025-03-14 19:09:15 +01:00
CraftedRO
e79228533e Core/Spells: Updates autoshoot spell target in case of client-side target change (#30695) 2025-03-13 12:27:01 +01:00
Shauren
059b1b3cf2 Core/Objects: Fix orientation for non-unit transport passengers in SMSG_UPDATE_OBJECT and define missing update flag 2025-03-09 15:11:05 +01: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
b8582e71ca Core/Battlegrounds: Fix possible shutdown crash
Closes #30725
2025-03-04 16:03:32 +01:00
Ovahlord
c9ba09a644 Core/Scripts: updated more documentation comments for spell script hooks to match with the rest
(cherry picked from commit 71ec8c93ac)

# Conflicts:
#	src/server/game/Spells/SpellScript.h
2025-02-22 07:57:47 +01:00
Shauren
114b84d821 Core/Transports: Fixed wrong transport guid generator initialization 2025-02-20 23:42:23 +01:00
Shauren
88a9a1a25d Core/Misc: Reduce differences between branches 2025-02-20 23:42:00 +01:00
Shauren
6522446c1d Core/Players: Name some unknown player flags 2025-02-20 23:41:35 +01:00
Shauren
caa058d496 Core/PacketIO: Implemented CMSG_CORPSE_MAP_POSITION_QUERY/SMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE 2025-02-20 14:01:11 +01:00
Shauren
48baec04df Core/Players: Fixed wrong spell id of Seal of Righteousness being given to players who don't know Judgement of Light
Closes #30642
2025-02-20 13:51:31 +01:00
Shauren
b4168ee833 Core/Spells: Reduce differences between branches (port refactors from c0602889b5) 2025-02-19 19:32:55 +01:00
Mykhailo Redko
81ab02d6f8 Core/Spells: Remove ProcEventInfo::GetProcTarget to avoid confusion. (#30435) 2025-02-18 16:35:32 +01:00
Gildor
8785c0d5a5 Core/Groups: align the player's dungeon/raid difficulty with the group's difficulty upon joining, regardless of the player's level. (#30699) 2025-02-18 12:36:04 +01:00
CraftedRO
de3ba5229f Core/GameObject: Activated world chests will now despawn after 5 minutes (#30269)
Co-authored-by: Kaytotes <kaytotes@users.noreply.github.com>
2025-02-16 19:56:32 +01:00
CraftedRO
d2c1841960 Core/Battlegrounds: Corrected Arathi Basin near victory sound and score threshold (#30690) 2025-02-14 20:29:36 +01:00
Mykhailo Redko
62fe2d6a8d Core/Chat: Corrected names and descriptions for GM.LowerSecurity config option and related rbac permission (#30644) 2025-02-14 18:53:07 +01:00
Shauren
13eb405a3d Core/Pets: a827230910 followup reducing differences between branches 2025-02-11 19:27:47 +01:00