Commit Graph
100 Commits
Author SHA1 Message Date
Shauren ef7892f725 Core: Update allowed build to 10.2.0.52129 2023-11-14 11:37:22 +01:00
Shauren dfc757acc3 Core/Objects: Fixed SelectNearestPlayer 2023-11-13 19:01:11 +01:00
Shauren 765f86fdc0 Core/Achievements: Implemented DefeatDungeonEncounter and DefeatDungeonEncounterWhileElegibleForLoot criteria types 2023-11-12 00:31:45 +01:00
Shauren ab5ffe27ea Scripts/Sepulcher of the First Ones: Clean up Anduin script
* Includes
* Fixed duplicated EventMaps/TaskSchedulers in BossAI
* Fixed invalid second argument passed to ScriptedAI constructor
* Removed deprecated Prepare*Script macros
* Removed mythic achievement hack
2023-11-11 15:09:39 +01:00
Shauren 42c44bd787 Core/Chat: Explicitly ignore disabling chat feature
Closes #29425
2023-11-10 19:55:35 +01:00
Shauren 97f9e18cbd Tools: Updated expected table hash for Map.db2 in extractors 2023-11-09 19:08:17 +01:00
Shauren 1eea1d11b1 Core: Update to 10.2.0 2023-11-09 13:33:26 +01:00
Shauren 1dcb2904d5 Core/Mail: Moved gold check closer to where it is taken away 2023-11-07 19:15:21 +01:00
Shauren f4e4e62aea Core/Conditions: Allow battleground maps to use CONDITION_INSTANCE_INFO 2023-11-05 20:49:05 +01:00
Shauren 4628622b1b Core/Auras: Fixed SPELL_AURA_CHARGE_RECOVERY_AFFECTED_BY_HASTE_REGEN affecting unrelated spells 2023-11-04 15:08:50 +01:00
Shauren 9bbede8a09 Add missing sql file for previous commit 2023-11-03 13:01:09 +01:00
Shauren e9b0d347a4 Core/Spells: Store BasePoints as float in SpellEffectInfo 2023-11-03 10:38:43 +01:00
Shauren 31da896eb2 Core/Spells: Prevent duplicating trait configs for Generic type 2023-11-02 20:05:29 +01:00
Shauren 20b0ad736c Core/Gossip: Rename and document text id field in SMSG_GOSSIP_MESSAGE to include classic differences 2023-11-01 23:43:12 +01:00
Shauren 32c537c24f Build fix 2023-10-31 21:22:51 +01:00
Shauren 9894f6b802 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 20:20:00 +01:00
Shauren a0fdac0ecc Core/Auras: Update mount capability aura after all login loading is done 2023-10-30 14:02:26 +01:00
Shauren eb847ff537 Build: Fixed msvc version check 2023-10-29 12:14:36 +01:00
Shauren 73e0b3e77c Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes

Closes #29389
2023-10-28 22:13:59 +02:00
Shauren 64a14f13ac Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed
Closes #29391
2023-10-27 20:10:20 +02:00
Shauren 858c393d07 Core/Spells: Make SpellEffectInfo not copyable 2023-10-26 15:52:22 +02:00
Shauren 2d492c1b72 Core: Update allowed build to 10.1.7.51886 2023-10-25 00:06:36 +02:00
Shauren 2eceab3963 Add missing override 2023-10-24 10:51:00 +02:00
Shauren 930a08fe03 Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing 2023-10-24 10:38:27 +02:00
Shauren 973b5f404f Core/DataStores: Don't send hotfix ids in SMSG_AVAILABLE_HOTFIXES that don't have a hotfix blob for client locale
Closes #29378
2023-10-23 18:15:01 +02:00
Shauren dc9361fcc2 Core/Spells: Named and implemented most of SpellAttr8 2023-10-22 18:39:59 +02:00
Shauren 4e87bd7942 Core/Spells: Named and implemented most of SpellAttr7 2023-10-21 14:49:42 +02:00
Shauren 4abcf7fb33 Core/Players: Fixed pvp flag being missing when logging in with war mode disabled but pvp enabled
Closes #29336
2023-10-19 18:32:16 +02:00
Shauren a3702cc526 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 20:21:32 +02:00
Shauren 7c93d0d915 Core: Update allowed build to 10.1.7.51754 2023-10-17 21:08:23 +02:00
Shauren 7b6589c1ec Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Closes #29372
2023-10-17 15:48:02 +02:00
Shauren da0ba86694 Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map 2023-10-16 11:57:24 +02:00
Shauren 348e29c79f Tools/mmaps_generator: Allow specifying custom offmesh area/flags 2023-10-16 10:55:34 +02:00
Shauren 0f7dd4eadf Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura) 2023-10-15 13:52:11 +02:00
Shauren dc661a34b1 Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one
Closes #22234
2023-10-14 16:55:12 +02:00
Shauren ab2b5f6858 Core/PacketIO: Fixed structure of SMSG_ITEM_PUSH_RESULT 2023-10-09 18:36:14 +02:00
Shauren d2baaac9ec Core/Chat: Corrected chat channel flag implementations 2023-10-07 18:29:53 +02:00
Shauren 0ce96adb7a Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas 2023-10-06 20:22:14 +02:00
Shauren e161874695 Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2 2023-10-05 23:57:25 +02:00
Shauren 9c0bfc7c8c Core/AreaTriggers: Add missing null checks for serverside areatriggers
Closes #29346
2023-10-02 00:48:09 +02:00
Shauren c676d14772 Core/AreaTriggers: Implement missing functionality
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
2023-10-01 18:56:35 +02:00
Shauren 2de255bc17 Core/GameObjects: Implemented data22 for chests (allow opening while immune) 2023-09-30 16:31:01 +02:00
Shauren e883b61094 Core/Spells: Implemented NoImmunity spell effect attribute 2023-09-29 21:16:50 +02:00
Shauren 58a5d485f8 Core/Units: Implemented UNIT_FLAG2_INTERACT_WHILE_HOSTILE 2023-09-28 14:57:25 +02:00
Shauren 69317c2594 Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets 2023-09-28 00:45:31 +02:00
Shauren abeb62a18f Core/Misc: Fixed copypaste mistake in error log 2023-09-27 18:38:36 +02:00
Shauren 112e60003f Core/Creatures: Allow UNIT_FLAG2_INTERACT_WHILE_HOSTILE to be set in database 2023-09-27 14:41:27 +02:00
Shauren b84199f137 Tools/Extractors: Log error message instead of crashing when downloading tact keys fails
Closes #29338
2023-09-26 00:07:56 +02:00
Shauren 41a20b1e40 Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
2023-09-25 00:53:56 +02:00
Shauren 77429d679a Core/Spells: Removed unneccessary checks from skill spell effects 2023-09-24 12:25:44 +02:00
Shauren 43567f5a5f Core/Commands: Fixed accessing empty optional in .modify faction command 2023-09-24 12:24:39 +02:00
Shauren 4362a8c3f6 Core/Quests: Fixed optional quest objectives incorrectly changing quest state when they change completion state 2023-09-24 01:12:13 +02:00
Shauren 68b6d81d4c Core/Skills: Fixed updating riding skill value when learning riding spells automatically 2023-09-23 20:01:27 +02:00
Shauren ec8360c747 Contrib/Scripts: Make check_codestyle script usable on sources checked out on windows 2023-09-22 21:11:58 +02:00
Shauren 6d907da00e Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements 2023-09-21 19:07:33 +02:00
Shauren 4d7bf20237 Build: Set CMake policy CMP0144 to NEW 2023-09-20 19:30:52 +02:00
Shauren 47fc3cb852 Core/Instances: Kill instance_encounters table, it is no longer neccessary 2023-09-19 10:59:04 +02:00
Shauren cf79cfa1b2 Core/Instances: Removed deprecated field from InstanceScript (here too) 2023-09-19 00:23:55 +02:00
Shauren 1e29c0066e Core/Instances: Removed deprecated field from InstanceScript 2023-09-19 00:18:50 +02:00
Shauren 4bf4ee57ff Scripts/Nexus: Removed old code to get team in instance 2023-09-18 22:39:12 +02:00
Shauren fb4f7b0c4c Scripts/Dire Maul: Added dungeon encounter ids 2023-09-18 22:09:31 +02:00
Shauren 1f2ae69226 Scripts/Stratholme: Added dungeon encounter ids 2023-09-18 19:25:30 +02:00
Shauren 4370f2fe29 Scripts/Stratholme: Added missing dungeon encounter ids 2023-09-18 19:14:50 +02:00
Shauren 39b06b2e46 Scripts/Scholomance: Added missing dungeon encounter ids 2023-09-18 00:09:04 +02:00
Shauren 7a9fba436c Scripts/Lower Blackrock Spire: Added dungeon encounter ids 2023-09-17 23:53:30 +02:00
Shauren 7a4cbddb2c Scripts/Zul'farrak: Added dungeon encounter ids 2023-09-17 23:37:15 +02:00
Shauren 2b6f0c902f Scripts/Scarlet Monastery: Added dungeon encounter ids 2023-09-17 23:36:47 +02:00
Shauren 7d32674af6 Scripts/Sunken Temple: Added dungeon encounter ids 2023-09-17 23:04:02 +02:00
Shauren ae26431a81 Scripts/Gnomeregan: Added dungeon encounter ids 2023-09-17 22:06:02 +02:00
Shauren 03d6dd8539 Scripts/Uldaman: Added dungeon encounter ids 2023-09-17 22:01:07 +02:00
Shauren 83c0b901e5 Scripts/Razorfen Kraul: Added dungeon encounter ids 2023-09-17 20:23:33 +02:00
Shauren 1ef9b29486 Scripts/Wailing Caverns: Added dungeon encounter ids 2023-09-17 18:52:02 +02:00
Shauren 8de5808fd4 Scripts/Blackrock Depths: Added dungeon encounter ids 2023-09-17 15:06:03 +02:00
Shauren 752309fbe3 Core/Misc: mac build fix 2023-09-17 01:07:27 +02:00
Shauren 22f19a1645 Core/SSL: Build fix for openssl 1.1.1 2023-09-16 01:24:07 +02:00
Shauren 1fe73cd532 Core/SSL: Support more certificate formats 2023-09-16 00:41:07 +02:00
Shauren c32b8ac7b9 Core/Spells: Move all summoning spell effects to launch phase 2023-09-15 00:23:43 +02:00
Shauren c2f5ce2b03 Core/Groups: Implemented 10.1.7 ping system 2023-09-14 00:11:06 +02:00
Shauren 097b5f3ec0 Core: Update allowed build to 10.1.7.51313 2023-09-13 00:31:03 +02:00
Shauren 3f948672a6 CI/appveyor: Upgrade dependencies
* Boost 1.83.0
* OpenSSL 3.0
* MySQL 8.1
2023-09-13 00:30:12 +02:00
Shauren d8c98579d4 Core/Misc: Silence compile warning in boost::process with version 1.83 2023-09-13 00:29:25 +02:00
Shauren 3ecd678a09 CI/AppVeyor: Upgrade boost version to 1.82 2023-09-12 21:32:22 +02:00
Shauren 1fa1b378c4 SQL: Fixed wrong game build in default realmlist data 2023-09-12 19:12:34 +02:00
Shauren 6362e31cc2 Core/PacketIO: Fixed structure for SMSG_GUILD_PERMISSIONS_QUERY_RESULTS 2023-09-11 23:34:28 +02:00
Shauren a667d723bf Core/Pets: Improved pet despawn behavior when mounting
* Pets will now only be despawned when starting to fly
* Fixed crash when summoning a pet that is different than the one that was despawned by flying

Closes #29303
2023-09-10 11:54:09 +02:00
Shauren edb103eadb Core/PacketIO: Fixed structures of CMSG_PARTY_INVITE and SMSG_FEATURE_SYSTEM_STATUS 2023-09-09 16:27:43 +02:00
Shauren 6798ef3e4e Core: Update allowed build to 10.1.7.51261 2023-09-08 21:46:29 +02:00
Shauren 66ffa7f24b Misc: Force LF line endings in .sh files even on windows 2023-09-08 21:01:03 +02:00
Shauren 8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +02:00
Shauren d57b58849b Dep/CascLib: Update to ladislav-zezula/CascLib@5c60050770 2023-09-05 00:10:35 +02:00
Shauren ba224f70ad Core/Auras: Defined and implemented new aura interrupt flags 2023-09-03 16:06:43 +02:00
Shauren 7f620475bd Core: Update allowed build to 10.1.5.51130 2023-08-31 19:14:55 +02:00
Shauren 2b54376d65 Core/Vehicles: Fixed crash happening if a vehicle despawns during handling of control vehicle aura removal
Closes #29290
2023-08-31 15:39:28 +02:00
Shauren afed658db5 DB: Added missing conditions for spell 53110 from 3.3.5 branch 2023-08-31 15:34:13 +02:00
Shauren 955343f747 Core/GameObjects: Don't restock non-personal chests that didn't have loot modified 2023-08-30 19:23:56 +02:00
Shauren 9d69c36bed Scripts/Spells: Fixed Dark Reprimand not channeling 2023-08-29 10:17:29 +02:00
Shauren ac43e68b53 Core/Spells: Define new cast flags 2023-08-28 13:21:10 +02:00
Shauren ca16d0800c Core/Spells: Merge TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS functionality into TRIGGERED_IGNORE_CAST_IN_PROGRESS as they are always used together (and missing one of them in scripts is a common enough mistake)
* Also fixes Ray of Frost being interrupted by casting Shimmer
2023-08-28 10:12:09 +02:00
Shauren 150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +02:00
Shauren b8912d2ac8 Build fix for clang 11-13 2023-08-27 12:49:33 +02:00