Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 8eac6224c0 Build: Replaced deprecated exec_program with execute_process 2024-03-01 11:36:10 +01:00
Shauren 5c44ac1787 Core/Database: Silence deprecation warning on mysql_stmt_bind_param 2024-03-01 11:29:09 +01:00
Shauren a814eb65b1 Core/Spells: Implemented pausing spell cooldowns 2024-03-01 00:23:09 +01:00
Shauren ede97a52e9 Core/Spells: Store truncated (only up to millisecond precision) cooldown times 2024-03-01 00:23:09 +01:00
Shauren 34308dd6de Build: Perform CMake check_cxx_source_compiles checks using the same C++ standard as used in the project 2024-02-29 23:20:37 +01:00
Shauren 0139ec41bb Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS 2024-02-29 18:09:10 +01:00
Shauren d373802458 Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_FLOATING, CREATURE_STATIC_FLAG_SESSILE and CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER 2024-02-29 16:47:35 +01:00
Shauren 792a4d6c8b Scripts/Serpentshrine Cavern: Removed Spout hack and use correct spell ids 2024-02-28 21:10:51 +01:00
Shauren 59f92412d0 Core/Movement: MoveRotate improvements
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
2024-02-28 21:10:05 +01:00
Shauren 20b29c5ff5 Core/Misc: Allow formatting optionals with Trinity::StringFormat 2024-02-28 20:42:20 +01:00
Shauren 288966e796 Core/Movement: Fixed MoveRotate not updating orientation 2024-02-28 20:41:04 +01:00
Shauren c70bd6f5e4 Scripts/Forge of Souls: Fixed Devourer of Souls achievement worldstate expression requirement and rotate beam tick timing 2024-02-28 20:40:22 +01:00
Shauren deb24f3f53 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES 2024-02-27 16:13:23 +01:00
Shauren 9463933eda Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT and overriding default mount from creature addon 2024-02-27 14:05:47 +01:00
Shauren 120a19d179 Core/Items: Fixed possible out of bounds array access when applying enchantments to equipped profession tools 2024-02-27 12:41:17 +01:00
Shauren be3dc89c32 Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE 2024-02-27 00:13:11 +01:00
Shauren 1572b8acab Core/Logging: Call Log::instance() only once in each log statement 2024-02-26 22:55:27 +01:00
Shauren 9ecb93f34d Core/Spells: Don't modify item charges in all slots on a single item spell cast 2024-02-26 14:39:16 +01:00
Shauren 0c76618b19 Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack 2024-02-26 00:03:02 +01:00
Shauren eac4bf825a Build: Reuse PCH file between all script modules 2024-02-25 00:05:19 +01:00
Shauren 7751d278b1 Scripts: Removed unused global variables 2024-02-24 13:44:20 +01:00
Shauren d30c4d4e73 Core/Position: Allow constexpr use of Position 2024-02-24 12:58:38 +01:00
Shauren 8b1dde2e9f Core: Update allowed build to 10.2.5.53441 2024-02-24 00:27:50 +01:00
Shauren efedaed6ce Warning fix 2024-02-22 19:02:42 +01:00
Shauren d4dee68c04 Build fix 2024-02-22 18:50:47 +01:00
Shauren cc47fd75b4 Core/Movement: Removed template from FleeingMovementGenerator 2024-02-22 18:21:52 +01:00
Shauren a748fddfa4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range) 2024-02-22 15:47:11 +01:00
Shauren c8bd6f5da3 Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone 2024-02-21 13:16:55 +01:00
Shauren 305cb9a81a Core/Creatures: Prevent resetting creature sparring health thresholds on evade if it was changed to a custom value by a script 2024-02-20 22:26:29 +01:00
Shauren 877ae5b47d Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE 2024-02-19 21:05:03 +01:00
Shauren 88242a42ce Core/Movement: MoveCirclePath new features
* Duration limit
* Customizable speed
2024-02-18 15:19:35 +01:00
Shauren 0743a2f7bb Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables) 2024-02-17 13:15:49 +01:00
Shauren 2441ddbea6 Core/CrashHandler: Support ARM64 2024-02-17 12:03:57 +01:00
Shauren b9c2dca59f Core/Random: Use correct headers to obtain _mm_malloc definitions 2024-02-17 12:03:06 +01:00
Shauren ea68ead90d Dep/SFMT: Support NEON on ARM with MSVC 2024-02-17 12:01:53 +01:00
Shauren ddba74567c Dep/g3d: Support ARM with MSVC 2024-02-17 12:00:15 +01:00
Shauren ae9d43defb Dep/protobuf: Support ARM with MSVC 2024-02-17 11:58:34 +01:00
Shauren 7e51d17a0a Build: Improve ARM target detection in cmake (needed by MSVC) 2024-02-17 01:13:36 +01:00
Shauren 888ccd1e44 Core/SAI: Fixed SMART_ACTION_MOVE_TO_POS and SMART_ACTION_JUMP_TO_POS using target coordinates as destination if requested WorldObject target was not found 2024-02-15 19:15:21 +01:00
Shauren 8adcfad6ec Add missing changes for cc7e1bdcae 2024-02-14 15:40:31 +01:00
Shauren cc7e1bdcae Core/Instances: Added back missing cases to InstanceScript::SendEncounterUnit that are supported in 3.3.5 branch 2024-02-14 15:33:59 +01:00
Shauren 3fd1a2b78c Core/Creatures: Implemented CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK 2024-02-14 12:14:36 +01:00
Shauren 8dc494c1ae Core/Creatures: ed0b621d15 followup 2024-02-13 01:03:57 +01:00
Shauren ed0b621d15 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity 2024-02-13 00:46:42 +01:00
Shauren 96191b9ce2 Core/Clubs: Reserve memory for entire member array in club::v1::GetMembersResponse 2024-02-12 20:23:31 +01:00
Shauren e88a88476c Core/Spells: Fixed duplicate SMSG_SPELL_EXECUTE_LOG being sent if there are effects handled on spell launch (such as summoning) 2024-02-12 18:45:29 +01:00
Shauren b4064d38c8 Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit 2024-02-11 00:58:21 +01:00
Shauren 6543d23a1a Core/Creatures: Set InteractSpellID for npc spellclick 2024-02-10 14:20:09 +01:00
Shauren 507cf7eedd Core: Update allowed build to 10.2.5.53262 2024-02-08 22:35:23 +01:00
Shauren 3e1eec081f Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM 2024-02-05 21:39:25 +01:00
Shauren 862c68b1f6 DB: Added a bunch of new tact keys
Closes #29620
2024-02-04 00:02:57 +01:00
Shauren 28fb256b78 DB: Added more creature_immunities 2024-02-02 18:46:12 +01:00
Shauren e6785094fc Core/Spells: Moved hardcoded immunity data for SPELL_AURA_MECHANIC_IMMUNITY_MASK to database 2024-02-01 22:20:25 +01:00
Shauren 584c6fe423 Core: Update allowed build to 10.2.5.53104 2024-01-31 12:14:47 +01:00
Shauren f70a5817e1 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting 2024-01-30 21:29:55 +01:00
Shauren 00cb775558 Core/Loot: Fixed items some not being lootable on second opening of a lootable item 2024-01-29 16:57:07 +01:00
Shauren d03e0d6935 Core/Players: Fixed CharacterCache by-name storage holding data for deleted characters 2024-01-27 00:13:34 +01:00
Shauren c49f8b355e Core/Misc: Update ResponseCodes for 10.2.5
Closes #29618
2024-01-26 00:06:34 +01:00
Shauren 608d13bf83 Core/PacketIO: Fixed QuestSession QuestCompleted size 2024-01-25 14:46:32 +01:00
Shauren 6a0de41fd2 Core/PacketIO: Fixed CreateObject packet structure for areatriggers
Closes #29616
2024-01-24 20:10:36 +01:00
Shauren 644a479e28 Core/Database: Fixed HotfixDatabase not being closed on shutdown with --update-databases-only
Closes #29599
2024-01-23 00:23:59 +01:00
Shauren a4a4d010a0 Core: Updated to 10.2.5 2024-01-21 22:25:10 +01:00
Shauren 5cc1b97fc1 Core/Bnet: Added SRP http endpoints 2024-01-18 00:31:57 +01:00
Shauren 25dc8de3eb Core/Bnet: Prevent crashes cauised be invalid values in salt column in battlenet_accounts 2024-01-16 14:16:31 +01:00
Shauren c5f7e6cbd7 Core/Spells: Kill incorrect attribute implementation
(cherry picked from commit 8b183ddac3b77eea47eae578226ce8b928d262b8)
2024-01-14 00:06:36 +01:00
Shauren 151dd67e2e Core/Conditions: Added stringid condition type 2024-01-12 12:40:20 +01:00
Shauren 0b5406dd88 Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types 2024-01-11 20:56:24 +01:00
Shauren 2862086bcf Core: Update allowed build to 10.2.0.52808 2024-01-10 12:05:00 +01:00
Shauren 605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
Shauren cda13e2b6b Core/GameObjects: Fixed incorrect startup error log 2024-01-07 18:37:24 +01:00
Shauren 390f0be9fb Core/Players: Fixed objects not being visible after seamless teleports 2024-01-05 00:18:47 +01:00
Shauren 6de4281232 Core/Config: Added missing config CONFIG_CORPSE_DECAY_RARE 2024-01-02 22:57:41 +01:00
Shauren 29d9790402 Scripts/Karazhan: Removed a custom reimplementation of DoMeleeAttackIfReady (written before dual wield was supported by it) 2024-01-01 23:49:11 +01:00
Shauren 099ad4a0fd Core/Misc: Fixed a bunch of uninitialized class fields 2023-12-31 17:08:54 +01:00
Shauren ee7b0e82fa Core/Quests: Removed slow queries from daily and weekly resets
Closes #29146
2023-12-31 00:42:19 +01:00
Shauren dbe54dc877 nopch fix 2023-12-30 16:45:58 +01:00
Shauren 4dce6ab228 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory 2023-12-30 15:45:37 +01:00
Shauren f26a93a8c1 Core/Maps: Cleaned up incorrect error log 2023-12-29 20:41:25 +01:00
Shauren a2be97414b Core/Database: Fixed a shutdown crash happening if worldserver did not fully start up (for example applying a db update failed) 2023-12-29 00:31:55 +01:00
Shauren 88a7886e0d Fix bfbda8dcce 2023-12-28 19:40:48 +01:00
Shauren 3a9cbd217a Core/Database: Replace union with std::variant in Transaction 2023-12-27 00:14:12 +01:00
Shauren 8b54205778 Build fix 2023-12-26 15:11:11 +01:00
Shauren 623202d68e Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
* passwords can now be case sensitive and up to 128 characters long
2023-12-26 14:55:15 +01:00
Shauren e05541665b Core/Accounts: Migrate RA credentials checking to use AccountMgr instead of copying its logic 2023-12-23 20:51:53 +01:00
Shauren a24e3a9511 Core/Maps: Fixed pathgenerator always returning NAV_GROUND from GetNavTerrain 2023-12-22 17:55:53 +01:00
Shauren b130995814 Core/Database: Fixed worldserver hanging if opening a connection to database failed 2023-12-21 00:04:14 +01:00
Shauren 308a34ab41 Core/Quests: Fixed accessing freed memory after .reload quest_template 2023-12-20 15:15:30 +01:00
Shauren e172052a0a Core/Crypto: Added SHA 512 definitions 2023-12-19 21:13:33 +01:00
Shauren 15fce17c1a Core/Bnet: Add new loggers to config file template, fixed request/response content logging and fixed setting keep_alive on responses 2023-12-18 12:19:10 +01:00
Shauren acb5fbd48b Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere 2023-12-17 23:21:10 +01:00
Shauren 5f00ac4b2b Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for future bnetserver changes 2023-12-16 20:02:20 +01:00
Shauren d958bfd0f3 Core/Database: Replace DatabaseWorker with asio io_context 2023-12-15 12:06:59 +01:00
Shauren 5c59e2a248 Core/Database: Refactor MySQLConnection constructors and async thread creation 2023-12-14 17:00:58 +01:00
Shauren 4e3553dab9 Update 2023_12_12_02_world.sql 2023-12-12 18:59:23 +01:00
Shauren 6e147f617b Core/Locales: Fixed mac build
Closes #29490
2023-12-12 11:59:56 +01:00
Shauren 78bcc3f52a Core/Misc: Minor code modernization - kill std::bind 2023-12-08 20:27:41 +01:00
Shauren d9e4eccf92 Core/Auction House: Added missing nullptr check in AuctionHouseObject::SendAuctionInvoice 2023-12-07 10:37:05 +01:00
Shauren 6024b307e0 Core/Items: Fixed socket bonus checks (and reduce differences between branches) 2023-12-06 18:35:45 +01:00
Shauren 94aed68968 Build: Fixed finding openssl 3.2 on windows 2023-12-05 18:04:30 +01:00
Shauren 9022f23748 Core/Players: Learn parent skilllines if they are missing while learning child skills
Closes #29482
2023-12-04 19:42:12 +01:00