Commit Graph
28567 Commits
Author SHA1 Message Date
Shauren ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren fa361a40c8 Core/Spells: Fixed crashes with spells cast by gameobject that summon creatures
Closes #28640
2022-12-31 19:29:52 +01:00
Shauren 704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren 2c044ea9f5 Core/Scenarios: Replace assert with null check
Closes #28639
2022-12-31 16:57:59 +01:00
Shauren dc07faf8f4 Core/Maps: Implemented WMOAreaTable -1 grouipid fallback 2022-12-31 12:56:42 +01:00
Shauren 1fe89a3701 Core/Players: Implement saving edit mode account data 2022-12-31 12:56:20 +01:00
Shauren 55091ff4bc Core/Players: Fixed crashes when accessing ActivePlayerData::PvpInfo
Closes #28638
2022-12-31 11:53:12 +01:00
Shauren bb9907f019 Core/Players: Fixed trait config validation
Closes #28601
2022-12-30 22:54:13 +01:00
Shauren 9a96d32350 Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes) 2022-12-30 21:50:16 +01:00
Meji 8d83c78618 Core/Movement: Don't compute orientation for vertical splines (#28556) 2022-12-30 18:00:05 +01:00
Seyden 24d21301a6 Core/Objects: ignore database visibility conditions for personal clones (#28548) 2022-12-30 17:57:58 +01:00
Meji f291ca9796 Core/SAI: Improved SMART_ACTION_JUMP_TO_POS to mirror behavior similar to SMART_ACTION_MOVE_TO_POS (#28547)
*  Support for targets other than positions
*  Added param3 Gravity, to use MoveJumpWithGravity (priority over SpeedZ)
*  Added param4 UseDefaultGravity (priority over Gravity): 19.29110527038574
*  Added param5 PointId, useful for linking the jump to the event SMART_EVENT_MOVEMENTINFORM (Type: 16)
*  Added param6 ContactDistance
*  If the target is different from a position, target params for coords allow to add offsets
2022-12-30 17:48:33 +01:00
Aqua DeusandShauren 09591fbdb0 Core/SAI: Add action param 7 (#28519)
Co-authored-by: Shauren <[email protected]>
2022-12-30 16:32:37 +01:00
Shauren bde93b25d2 Core/Gossip: Integrate banker guid checks into shared gossip interaction data 2022-12-30 14:08:01 +01:00
Shauren 7c4c5ba549 Core/Misc: Clean up WorldSession includes a bit 2022-12-30 14:00:20 +01:00
Shauren cf525beefd Core/Chat: Fixed chat channel name validation
* Removed it entirely for builtin channels (unused)
* Use utf8 character count to determine length instead of number of bytes

Closes #28635
2022-12-30 13:59:46 +01:00
Seyden c5bd2ceda4 Core/Auras: Fixed iterator invalidation crash in Unit::CalcHealAbsorb (#28515) 2022-12-30 12:52:22 +01:00
TeleqraphandShauren dbed48becc Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY (#28517)
Co-authored-by: Shauren <[email protected]>
2022-12-30 01:38:41 +01:00
TeleqraphandShauren 6515319b75 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY (#28511)
Co-authored-by: Shauren <[email protected]>
2022-12-30 01:16:29 +01:00
ModoXandGosha 6ce6665992 Core/Vmaps: Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#28632)
Closes #28326

Co-authored-by: Gosha <[email protected]>
2022-12-30 00:02:40 +01:00
Shauren 14c48272fb Core/Spells: Added missing changes for ade34a7f48 2022-12-29 20:25:01 +01:00
Shauren ade34a7f48 Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS 2022-12-29 16:57:35 +01:00
Shauren c7e89d3576 Core/Gossip: Move setting ActionMenuID and ActionPoiID directly into GossipMenu::AddMenuItem and remove GossipMenu::AddGossipMenuItemData 2022-12-28 15:17:21 +01:00
SeydenandShauren 61c51b76c0 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier (#28500)
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search

Co-authored-by: Shauren <[email protected]>
2022-12-27 16:39:05 +01:00
SeydenandShauren 9ab0679781 Core/Objects: Implement FindNearestCreatureWithOptions helper function (#28488)
Co-authored-by: Shauren <[email protected]>
2022-12-26 20:13:13 +01:00
Shauren 49cef90ddb Core/DataStores: More constexpr in DB2 metadata 2022-12-26 14:18:19 +01:00
Shauren c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren abe84b9acf Core/SAI: Fixed unused param validation for SMART_ACTION_MOVE_OFFSET 2022-12-23 13:45:10 +01:00
Meji e218f27602 Core/SAI: Added param PointId to SMART_ACTION_MOVE_OFFSET (#28555) 2022-12-22 23:51:49 +01:00
Seyden 64a1c7735e Core/Creatures: Implemented AttackableBySummoner summon properties flag (#28489) 2022-12-22 23:45:35 +01:00
Jeremy 8023daabef Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state (#28611) 2022-12-22 17:28:26 +01:00
Shauren 7dc25889c6 Core/Instances: Fixed assertion failure with instance id based lockouts
Closes #28613
2022-12-22 14:11:55 +01:00
Seyden 97f3710fa7 Core/Conversations: Allow delaying starting conversations (#28545) 2022-12-21 14:37:58 +01:00
Shauren dfd2e6d901 Core/GameObjects: Unlink loot from gameobject before deleting it
Closes #28541
Closes #28610
2022-12-20 18:30:30 +01:00
Shauren a2ec80b14c Core/vmaps: Stop worldserver startup when gameobject models cannot be loaded 2022-12-20 16:01:28 +01:00
Shauren 21940405e0 Core/Battlegrounds: Made Battleground inherit ZoneScript
Closes #28480
2022-12-20 01:03:58 +01:00
Shauren 85d5f4bc06 Core/Threading: Modernize ProducerConsumerQueue a bit to fix GCC build
Closes #28607
2022-12-20 01:03:07 +01:00
Shauren 71b23c1b50 Core/Misc: GCC build fix
Closes #28604
2022-12-19 00:04:32 +01:00
Shauren 4b2c1bbe0c Core/PacketIO: Fixed incorrect optional check in SMSG_GOSSIP_MESSAGE 2022-12-18 13:15:34 +01:00
Shauren 743c396317 Core/PacketIO: Fixed structure of SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN
Closes #28602
2022-12-18 01:35:26 +01:00
Meji 9653f96f99 Core/Units: Implemented UNIT_VIS_FLAGS_INVISIBLE (#28448) 2022-12-18 01:10:39 +01:00
Meji 263ce0cd30 Core/Creatures: Never enable gravity for creatures that can only fly (#28411) 2022-12-17 23:48:04 +01:00
Shauren ce7806adc8 Fix line endings 2022-12-17 23:42:38 +01:00
Shauren 0555ab2f56 Core/Players: Implemented setting tradeskill recipes as favorite 2022-12-17 20:27:13 +01:00
ModoX e275c39586 Core/Items: Dropped deprecated ItemFlag2 ITEM_FLAG2_DONT_IGNORE_BUY_PRICE (#28382) 2022-12-17 17:53:37 +01:00
Shauren caad5c36bd Core/Misc: Updated default expansion to 9 2022-12-17 13:36:29 +01:00
Shauren 13ab33f5b5 Tools/mapextractor: Updated gt file list 2022-12-17 12:54:57 +01:00
Shauren 25c28c0c7d GCC build fix 2022-12-17 12:54:38 +01:00
ModoX bf4880973d Core/Spells: Added missed aura handler for SPELL_AURA_535 2022-12-17 11:22:17 +01:00
ModoX 94147c5ba6 Core/Spells: Added SPELL_AURA_535 to aura enum 2022-12-17 11:17:29 +01:00