Commit Graph
58 Commits
Author SHA1 Message Date
Shauren f941c2a241 Core/Items: Move selling items to separate function
Signed-off-by: luis <[email protected]>
2026-03-02 20:36:52 -03:00
Shauren 8df84a64c0 Core/Spells: Fixed proc phase order for spells with no travel time (CAST now happens before FINISH as intended)
Signed-off-by: luis <[email protected]>
2026-02-28 18:55:43 -03:00
Shauren 0dd1579a55 Core/Spells: Move duplicated code for proc flag selection to separate function
Signed-off-by: luis <[email protected]>
2026-02-28 18:54:53 -03:00
Shauren 92b018f2ad Dep/jemalloc: Update to 5.3.0
Closes #31684

Signed-off-by: luis <[email protected]>
2026-02-27 00:31:56 -03:00
Shauren 4fb3b19844 Core/AreaTriggers: Fixed crashes caused by areatrigger OnUnitEnter/OnUnitExit scripts teleporting players to other maps
Signed-off-by: luis <[email protected]>
2026-02-25 21:29:31 -03:00
Shauren b561055a1a Core/Spells: Update CAST_FLAG_NO_GCD flag implementation
Signed-off-by: luis <[email protected]>
2026-02-25 21:28:51 -03:00
Shauren 1729893051 Core/MMaps: Fix possible access of freed memory in DynamicTileBuilder
Signed-off-by: luis <[email protected]>
2026-02-22 18:33:46 -03:00
Shauren dec0ec0c6e Core/Players: Fixed storing items in bank bags slots 67-74
Signed-off-by: luis <[email protected]>
2026-02-22 18:33:02 -03:00
Shauren 6b58f36323 Build: Remove scripts include directories from worldserver compilation command line, allowing compilation to happen in directories with longer path before encountering msbuild error MSB6002: The command-line for the “RC” task is too long
Signed-off-by: luis <[email protected]>
2026-02-22 18:31:29 -03:00
Shauren a13be38357 Core/Graveyards: Fixed subzone graveyard selection
Signed-off-by: luis <[email protected]>
2026-02-20 22:33:20 -03:00
Shauren 265b3dbeaf Core/Scripts: Expose Spell::GetUnitTargetIndexForEffect in scripts
Signed-off-by: luis <[email protected]>
2026-02-20 08:19:16 -03:00
Shauren 678a0af72d Core/Transports: Fixed transport path length calculation for transports that teleport on the same map or havev Delay on their first waypoint
Signed-off-by: luis <[email protected]>
2026-02-19 22:04:25 -03:00
Shauren ada7ff67a4 Core/Players: Minor skill loading improvements
* Fix initializing skill slots after they were increased from 256 to 300
* Improve skill step detection during loading from db
* Add safeguard for invalid data saved in character_skill (value = 0)

Signed-off-by: luis <[email protected]>
2026-02-16 20:53:52 -03:00
Shauren 3d551cea9b Core/Scripts: Modernize InstanceScript::Load*Some*Data arrays to use std::span instead of requiring a dummy end markers inside the arrays
Signed-off-by: luis <[email protected]>
2026-02-15 17:42:14 -03:00
Shauren aa1722626e Scripts/WanderingIsle: Fix wrong function being used in bec04e62d892b5908382275a1b90442d2e3f6134
Signed-off-by: luis <[email protected]>
2026-02-15 17:41:30 -03:00
Shauren 5e826f3fd1 Core/Spells: Prevent attacking friendly targets by SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT
Signed-off-by: luis <[email protected]>
2026-02-15 17:39:49 -03:00
Shauren c4d0b7e41f Core/Misc: Update GameError enum for 12.0.1
Signed-off-by: luis <[email protected]>
2026-02-15 17:22:46 -03:00
Shauren 4940084c35 Core/Spells: Update targets caps for 12.0.1
Signed-off-by: luis <[email protected]>
2026-02-15 17:12:10 -03:00
Shauren 54c0cebeee Core: Updated to 12.0.1
Signed-off-by: luis <[email protected]>
2026-02-12 20:22:00 -03:00
Shauren f1d6cdf3d9 Core/Units: Fix crashes caused by spirit being brought back into existence in 12.0.0
Signed-off-by: luis <[email protected]>
2026-02-11 20:19:44 -03:00
Shauren 2e8a8df234 Core/Movement: Improve Turning spline handling
Signed-off-by: luis <[email protected]>
2026-02-11 20:19:09 -03:00
Shauren 12484c7f5d Core/Misc: Fix build with gcc 12
Signed-off-by: luis <[email protected]>
2026-02-11 20:18:08 -03:00
Shauren a1f8425939 Core/Misc: Fix MovementFlags3 log in MovementInfo::OutDebug
Signed-off-by: luis <[email protected]>
2026-02-11 20:17:43 -03:00
Shauren de506923d0 Core/Transports: Fix transport model rotation
Signed-off-by: luis <[email protected]>
2026-02-11 20:14:07 -03:00
Shauren 7290703c86 Core/Vmaps: Fix mismatched new and delete operators in BIH::build
Signed-off-by: luis <[email protected]>
2026-02-11 20:11:52 -03:00
Shauren 3a2719552f Core/GameObjects: Fix anim kits
Signed-off-by: luis <[email protected]>
2026-02-10 21:47:47 -03:00
Shauren 1f87241f1a Core/Objects: Refactor entity fragment functions to separate global array and move ClearChangesMask there
* Additionally unify argument order for UF::Structure::WriteSomething and Object::BuildValuesSomething

Signed-off-by: luis <[email protected]>
2026-02-07 13:14:33 -03:00
Shauren 0f32a1d35d Core/Players: Fixed spellpower for devourer demon hunters (currently the only intellect based spec without mana)
Signed-off-by: luis <[email protected]>
2026-02-06 14:45:55 -03:00
Shauren 8496186319 Core/Misc: Add devourer demon hunter spec to enum
Signed-off-by: luis <[email protected]>
2026-02-06 14:42:15 -03:00
Shauren f4065e2724 Core/PacketIO: Fix some DifficultyID types in packets
Signed-off-by: luis <[email protected]>
2026-02-06 14:08:04 -03:00
Shauren f5da2170d9 Core/Auras: Corrected aura types and attributes used for absorb value calculation
Signed-off-by: luis <[email protected]>
2026-02-04 21:26:36 -03:00
Shauren b4544efc7d Core/Players: Improve trait config validation
Signed-off-by: luis <[email protected]>
2026-02-04 21:16:43 -03:00
Shauren bcf0f246bd Core/SAI: Remove unused field
Signed-off-by: luis <[email protected]>
2026-02-01 20:47:51 -03:00
Shauren 6c06fb77f4 Core/VMaps: Fixed loading vmap tiles that have destructible buildings on them
Closes #31649

Signed-off-by: luis <[email protected]>
2026-02-01 17:44:22 -03:00
Shauren 3636899681 Core/VMaps: Optimize vmap tile unload
Signed-off-by: luis <[email protected]>
2026-02-01 17:43:45 -03:00
Shauren 441a9ff35f Core/Misc: Update expansions enum
Signed-off-by: luis <[email protected]>
2026-01-31 18:16:49 -03:00
Shauren 1a836a6b8f Remove duplicate include
Signed-off-by: luis <[email protected]>
2026-01-29 17:28:10 -03:00
Shauren d71835475e Core: Updated to 12.0.0
Signed-off-by: luis <[email protected]>
2026-01-29 08:40:48 -03:00
Shauren 0db9ca151c Core/Objects: Implement SetUpdateField
Signed-off-by: luis <[email protected]>
2026-01-25 20:59:13 -03:00
Shauren ee9e809770 Core/Auras: Add unique_weak_ptr getter for AuraEffect
Signed-off-by: luis <[email protected]>
2026-01-25 20:52:33 -03:00
Shauren 2d10b6bf43 Core/Utils: Add aliasing constructors to Trinity::unique_weak_ptr allowing linked object lifetime (for example Aura and AuraEffect)
Signed-off-by: luis <[email protected]>
2026-01-21 02:50:12 -03:00
Shauren 731c870221 Core/Misc: Replace remaining uses of ASSERT(!"message") with ABORT_MSG
Signed-off-by: luis <[email protected]>
2026-01-21 02:46:04 -03:00
Shauren d402b9ffdb Core/Network: Move parsing of EarlyProcessClientPacket from WorldSocket::ReadDataHandlerResult to their handler functions
Signed-off-by: luis <[email protected]>
2026-01-21 02:44:25 -03:00
Shauren ecf78b5143 Core/Metric: Reduce number of string copies in metric and eliminate them entirely when metric is disabled in config
Signed-off-by: luis <[email protected]>
2026-01-21 02:31:10 -03:00
Shauren 214e2b8172 Core/Objects: Move AaBox out of generated UpdateFields.h file (it was manually added there)
Signed-off-by: luis <[email protected]>
2026-01-21 02:29:49 -03:00
Shauren 9c35bb9107 Core/Network: Refactor AsyncAcceptor to use async_accept overload producing sockets through argument instead of having to preallocate it
* Also improve main() cleanup to fully process all queued async operations (including their cancellations)

Signed-off-by: luis <[email protected]>
2026-01-21 02:25:19 -03:00
Shauren 5aa3434138 Core/Spells: Improve spell visual selection using Priority and Probability fields from SpellXSpellVisual.db2
Signed-off-by: luis <[email protected]>
2026-01-21 02:17:52 -03:00
Shauren 85fc7f4548 Core/AreaTriggers: Changed how Attached flag is determined - instead of being set in database it is now dynamically set depending on how the areatrigger was created. AreaTriggers created by auras are now all attached by default
Signed-off-by: luis <[email protected]>
2026-01-21 02:17:07 -03:00
Shauren 5737ecbacd Scripts/Spells: Added Halo effect selection script
Signed-off-by: luis <[email protected]>
2026-01-21 02:10:33 -03:00
Shauren f6767fb075 Core/Spells: Define and implement new SpellCastFlagsEx - CAST_FLAG_EX_SUPPRESS_CASTER_ANIM that causes spell caster animations to be skipped
Signed-off-by: luis <[email protected]>
2026-01-21 01:50:45 -03:00
Shauren 8f34d46678 Core/Movement: Don't use MOTION_SLOT_DEFAULT for players in MovePath/MoveRandom
Signed-off-by: luis <[email protected]>
2026-01-21 01:49:49 -03:00
Shauren 3559709895 Core/Misc: Mark some functions noexcept to reduce size of compiled code
Signed-off-by: luis <[email protected]>
2026-01-21 01:09:55 -03:00
Shauren fdf853d59a Core/Scripts: Remove Optional<> wrapper from all Scripting::v2::ActionResultSetter uses
Signed-off-by: luis <[email protected]>
2026-01-21 01:09:26 -03:00
Shauren a3b5a39f5c Warning fix
Signed-off-by: luis <[email protected]>
2026-01-21 01:08:57 -03:00
Shauren 45cf3a5f2c Core/MMaps: Fix dynamic mmap tile cache thread initialization
Signed-off-by: luis <[email protected]>
2026-01-21 01:08:12 -03:00
Shauren 7dde14102d Core/Misc: Hashing update
* Update hash_combine with latest version from boost
* Change most std::hash specializations to simply hash all of the input bytes instead of combining their hashes

Signed-off-by: luis <[email protected]>
2026-01-21 01:07:36 -03:00
Shauren 70f7961a71 Core/Instances: Fixed players being teleported to instance entrance on relog inside normal dungeons
Signed-off-by: luis <[email protected]>
2026-01-21 01:07:17 -03:00
Shauren 1e85c3c29b Core/Misc: Change AreaTriggerTeleport to be just an alias for WorldSafeLocsEntry
Signed-off-by: luis <[email protected]>
2026-01-21 01:06:45 -03:00