Commit Graph
38334 Commits
Author SHA1 Message Date
Ovahlord 45f34f08a1 Core/Spawns: fixed loading unit_flags2 overrides from creature table 2025-03-11 18:14:59 +01:00
Ovahlord 164289b3b2 Core/Units: ported namings for UnitFlags and UnitFlags2 and added the check for forbidden flags in database 2025-03-11 18:06:35 +01:00
ModoX d4804d609d Core/Creature: Allow creature table to override npc- and unitflags to 0 2025-03-11 17:35:41 +01:00
Ovahlord 74345972e6 Core/Items: allow heirlooms to stay equipped/usable even when the player has reached their max scaling level (they just stay at that power level) 2025-03-10 20:17:48 +01:00
Ovahlord 73e26ebffe CI: updated GCC workflow 2025-03-10 20:07:11 +01:00
Ovahlord 291741c440 Core/Units: updated UpdateStatBuffMod to the same handling as the cata_classic branch 2025-03-10 20:05:14 +01:00
Ovahlord 9189fa1858 Core/Player: split table player_classlevelstats into two tables by introducing player_racestats for race specific offsets 2025-03-10 19:52:18 +01:00
Ovahlord 7ece100da8 Core/Creature: removed a duplicate application of CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM 2025-03-10 18:26:08 +01:00
Ovahlord 4172c16de6 Core/Movement: fixed spline data sent for anim tiers 2025-03-10 18:04:28 +01:00
Ovahlord f46b6f0797 Core/Units: removed the packetOnly parameter from several movement flag setters 2025-03-10 17:43:42 +01:00
Ovahlord f72f923d7e DB/Misc: removed no longer relevant WIP sql folder 2025-03-10 12:55:23 +01:00
Ovahlord 5cc9d58f0c Core/Misc: fixed GCC build 2025-03-10 10:41:45 +01:00
Ovahlord 2953efb7a3 Core/Movement: ported most movement updates from master branch and corrected behavior of CREATURE_STATIC_FLAG_4_PREVENT_SWIM 2025-03-09 20:49:41 +01:00
Ovahlord 83958342d9 Core/Spells: ported spellMod handling from master branch 2025-03-09 13:20:40 +01:00
Ovahlord b390f0fec9 Core/Units: removed some leftover commented code 2025-03-09 10:59:17 +01:00
Ovahlord f9425284ca Core/Units: updated power regeneration handling to get closer to the master version of it 2025-03-09 10:30:07 +01:00
Ovahlord e8588fd5ba Core/Objects: ported Heartbeat implementation fron master branch 2025-03-09 02:40:05 +01:00
Ovahlord 352ce7e1b3 Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior 2025-03-09 00:40:56 +01:00
Ovahlord 6b67cd773e Core/Objects: replaced ObjectUpdateFlags with CreateObjectBits to get closer to how master branch handles their bits 2025-03-09 00:26:00 +01:00
Shauren f9df0714e9 Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac 2025-03-08 22:45:10 +01:00
Ovahlord 44892168c1 Core/Networking: ported missing socket related changes from master branch 2025-03-08 22:37:23 +01:00
Shauren 52c56bdef9 Core/PacketIO: Skip sending empty SMSG_UPDATE_OBJECT for transports on map changes 2025-03-08 17:49:25 +01:00
Meji 58ca39239a Core/Transports: Fixed event timestamps for edge cases 2025-03-08 17:46:24 +01:00
Ovahlord 0e8605edb8 Core/Movement: sync spline code which is relevant for Cataclysm with master branch 2025-03-08 17:20:25 +01:00
Ovahlord 1d25eabb4b Core/Server: restore AuthServer and grunt login 2025-03-08 15:20:14 +01:00
Ovahlord 3ef766851a Core/Zmq: reduced thread sleep time from 50ms down to 1ms 2025-02-28 20:41:56 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +01:00
Shauren 66f3e78248 Core/Misc: Fix msvc build with version 17.10
Closes #29999

(cherry picked from commit d8240fb513fc18ee9bac067f8333aab1d96005d9)
2025-02-26 21:32:47 +01:00
Ovahlord 4d193c29a3 Build: synced FindMySQL macro with master branch 2025-02-26 21:27:28 +01:00
Ovahlord 7769aed49a CMake: added MySQL 8.3 to FindMySQL macro 2024-02-22 16:30:29 +01:00
Keramat Jokar 7316f67b28 Core/Socket: Fix check session digest (#436) 2023-12-24 05:57:28 +01:00
Ovahlord a9c5881487 Scripts/BoT: fixed linux build 2023-12-19 07:59:18 +01:00
Ovahlord f951bf80fd Scripts/BoT: exclude several invisible stalkers from the Proto-Behemoth's Dancing Flames visual effect 2023-12-19 07:55:49 +01:00
Ovahlord abfddaa915 Scripts/BoT: updated and modernized Halfus Wyrmbreaker encounter
* moved several mechanics from instance script into the boss script itself
* changed the unresponsive dragon selection from two saved variables into a single generated flag
* corrected timer layout for the Proto-Behemoth and handled a missing mechanic of the Time-Dilation debuff
* moved all encounter spawns into spawngroups
* simplified and cleaned up the dragon ads script
2023-12-19 07:46:11 +01:00
Ovahlord d8ef0352e1 buildfix 2023-12-18 11:48:18 +01:00
Shauren b5ec59a07e Core/Units: Power handling improvements 2023-12-18 10:02:19 +01:00
Ovahlord 620c39be06 Core/Units: update facing splines immediately after launch 2023-12-17 05:50:10 +01:00
Ovahlord 924273363f Core/Pets: ported a couple changes from 3.3.5 branch that went missing and corrected a master branch spell check that was allowing non-charmed player controlled units to bypass the ai movement check exception (pets are not meant to be charmed, only controlled) 2023-12-17 05:17:57 +01:00
Shauren 2c38b2f4be 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-12-17 04:44:00 +01:00
Ovahlord 45f0c797e9 Core/Common: ported windows settings manifest from https://github.com/TrinityCore/TrinityCore/commit/b299902881cb6525b5a6cc08c5721c0c1c7401ab 2023-12-14 01:20:28 +01:00
Shauren d02827d228 Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS 2023-12-14 01:06:34 +01:00
Shauren d5cb122e3a Core/Cells: Improve cell copy constructor and argument passing codegen (now fully done through a single register) 2023-12-14 00:47:18 +01:00
Gosha 7d2e4e1993 Core/Cells: align Cell.data.Part fields by 8 bits and enlarge Cell structure to 8 bytes
8-bits align removes unneded shift operations
2023-12-14 00:47:12 +01:00
Ovahlord 9a4a902636 Core/Units: also allow creatures to generate rage from auto attacks and use their base attack time as base to calculate the generated amount 2023-12-12 20:56:33 +01:00
Ovahlord ba10718ea7 Core/Units: removed a debug logging message that sneaked in 2023-12-11 21:02:39 +01:00
Ovahlord 5b5914beda Core/Units: no longer set PowerUpdate packets when gaining rage from damage taken 2023-12-11 20:48:45 +01:00
Ovahlord 8613a5623c Core/Units: use the weapon's/druid's base attack speed to calculate melee rage amounts instead of plain attack swing timers
The normalized rage calculation uses base speeds, which are the weapon's attack base attack speed and the druid's shapeshift base attack speed. The old implementation used plain swing timers which are affected by haste and thus resulting in negating any rage gains from faster attacks
2023-12-11 19:55:54 +01:00
Ovahlord 96e9b6189f Core/Units: fixed a typo which was causing armor mitigation to be bypassed 2023-12-10 18:45:59 +01:00
Ovahlord 0f035fe940 Core/Units: refactor rage generation to reflect patch 4.0.1 changes:
* melee attacks will now send their awarded rage within SMSG_ATTACKER_STATE_UPDATE and moved the rage reward mechnic from Unit::DealDamage into Unit::AttackerStateUpdate

* killed CleanDamage struct and provide plain unmitigated damage values instead as since patch 4.0.1 the rage gained from damage taken is fully normalized and ignores any kind of damage reduction or negation
2023-12-10 18:26:24 +01:00
Ovahlord 4f309c127a Core/Units: round rage gain values up so taking at least one point of damage will ensure you gain a rage point 2023-12-10 17:09:55 +01:00