aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2021-10-15Common/Containers: Eliminate a edge case that could potentially lead to ↵Treeston
object invalidation. (cherry picked from commit 64a61e03ab0799b5437ddb9fe702c4912f3f9dd9)
2021-10-14Misc: Pass std::chrono types by value everywhere.Treeston
(cherry picked from commit 2ef9d301f0869b443122e2ba543af054c5b0e53c)
2021-10-06Core/Misc: Fix another gcc warningShauren
2021-10-06Common/Misc: Clean-up a GCC sign comparison warningTreeston
(cherry picked from commit 643b9209f8f1bc90fa4e26fc06e95f89b2b04899)
2021-09-26Core/Misc: movement header cleanupccrs
(cherry picked from commit f9914caefc59f36ab7583432442a26b29124b7f1)
2021-09-25Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match ↵Shauren
what the client does regarding being inside WMOs Closes #21625 Closes #21624 Closes #21516 (cherry picked from commit b9c6bbb51df0ed10f74617482740fedb91ff5366)
2021-09-24Core/Movement: Replace old TargetedMovementGenerator into ↵Treeston
ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both. - Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925. - Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs. - Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924. (cherry picked from commit 2a84562dc85516f432bb1e5de9add23c28b26ce4)
2021-08-31Core/Misc: Fix windows nopch buildShauren
Closes #25363 (cherry picked from commit 6ad58d604a63bacc13ee92c525189931d41d1e91)
2021-08-08Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option. (cherry picked from commit db5c9867e2ffde3657f53bc155b474c5d46884dd)
2021-06-19Core/Movement: Creatures' idle movement generator can no longer override ↵Treeston
player mover control. Tagging #20310, partial fix. (cherry picked from commit d02f481d9ac8e1d1a7716368f609d53a5add0960)
2021-06-13Core/Misc: Add container utility function ↵Shauren
Trinity::Containers::EnsureWritableVectorIndex to replace if (i >= vec.size()) vec.resize(i + 1) copypaste everywhere
2021-05-29Fix buildShauren
2021-05-29Core/Maps & Extractors: Move copypasted map file headers into a single ↵Shauren
shared file and replace #defines with enums
2021-05-29Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines ↵Shauren
exclusively
2021-05-27Core/Logging: Add functions that allow creating loggers and appenders from ↵Shauren
other sources than config files
2021-05-24Core/Misc: Add another boost hack. Fixes bnetserver/worldserver -c command ↵Shauren
line parameter when path contains spaces
2021-05-21Core/Vmaps: Fixed crash in unloading vmapsShauren
Closes #26536
2021-05-03Core/Chat: Chat translation improvementsShauren
* Remove hyperlinks from translated chat messages * Implement case preservation rules depending on receiver client locale
2021-04-25Core/Vmaps: Extract more doodad setsShauren
2021-04-25Core/Vmaps: Reduce memory used by vmaps, part 2Shauren
2021-04-25Core/Vmaps: Reduce memory used by vmaps (and their size, slightly)Shauren
2021-04-16Core/Crash reporting: Add support to char* arraysjackpoz
Add support to char* array showing the string value instead of the pointer address (cherry picked from commit 4c0c4ab271ddc2d200cd9ccda98e16553dcaf391)
2021-04-15Core/Entities: Fix some weird movement due to los issues (#21125)Jeremy
* Core/Entities: Fix some weird movement due to los issues - Made LoS check use collisionHeight instead of midsection. Value was too low. - Gnomes will now have a breath bar more quickly than for example a tauren. - Changes have been made to checking for ground z as well, some tweeking might be needed but removed most of the scattered +2.0f/+0.5f/we * Add 0.05f to isInAir check in Creature::UpdateMovementFlags (cherry picked from commit e42903ec16f4849b71bc8736e3151a1e11d3cd25)
2021-03-15Shared/Metric: Fix crash on shutdownjackpoz
Fix crash on shutdown with metrics enabled but InfluxDB stopping before worldserver (cherry picked from commit 45b2bcfaf266cac74806ed71f32b8dc02cd2321e)
2021-03-05Core/Spells Handle auras 328 & 396 (SPELL_AURA_TRIGGER_SPELL_ON_POWER_*)Traesh
2021-03-02Core/PacketIO: Increase max allowed incoming packet size for CMSG_HOTFIX_REQUESTShauren
2021-02-25Shared/Metric: Stop metrics on shutdownjackpoz
Properly stop metric information gathering and sending on shutdown. Issue reported by AddressSanitizer. (cherry picked from commit e9c475d45f7fbe78d68e8d0cafe66b829acb6ce6)
2021-02-25Core/Crash reporting: Fix buffer overflowjackpoz
(cherry picked from commit c7043b25f659eddd75fecd916235e524223c7f05)
2021-02-25Some misc streamlining/cleanup:Treeston
- std::chrono overloads for SummonCreature - Removed misleading const qualifier from SummonCreature (it wasn't being honored) - Rename parameters of SummonCreature to follow convention - EventProcessor has a new method (AddEventAtOffset) that adds an event...at an offset. Genius. PS: Hi there Keader. (cherry picked from commit 76a4c7d9748fdbfa925e81a3257acdee53d4f86e)
2021-02-15Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/2c85309280dbc9c82029e7ab16dfb01b9235c74e (cherry picked from commit 7ef22e43057080926685eb45f0fce3f2f3d58c61)
2021-02-06Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 97f33dc77945d8f284d14e0eaa994ae1405a3f20)
2020-12-12Dep/Boost: Support for boost 1.74 - heapShauren
Closes #25470 (cherry picked from commit 868c82aa6c7036fef8db6ecef4d66046d14608d7)
2020-12-12Dep/Boost: Partial support for boost 1.74 - asioShauren
Ref #25470 (cherry picked from commit 155e37831e9c581c6a8ebba34fe70d3459301d0a)
2020-12-08Core/Collision: Fixed false positive errors in console about vmap loadingShauren
2020-12-08Core/Misc: Added another overload to MakeIteratorPair (and constexpr ↵Shauren
IteratorPair)
2020-12-08Core/Misc: Add std::clamp to advstdShauren
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-23Core/Misc: Remove Whitespacessirikfoll
(cherry picked from commit e2565c2597a72ea7868eef3156014dc3a83c058f)
2020-08-19Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 9cf4dd7345b7f05db834fd48a9f0a135f1884d70)
2020-08-18Core/VMaps: Fix no collision trianglesGolrag
(cherry picked from commit 89d641f1e68d11359a2398ff51d3d6eee1470ae8)
2020-08-18Utilities/Containers: New RandomResize implementation with guaranteed ↵Treeston
asymptotic linear time for all container types (#19974) (cherry picked from commit ac50034df7fa6cf67b95e0920ca8fbbe8001a510)
2020-08-16Core/Spells: enable and implement SMSG_MISSILE_CANCEL (#25215)Ovah
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-08-13[3.3.5] Combat/Threat rewrite - prep & refactor (#19966)Treeston
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already. (cherry picked from commit e2a1ccd118d129b96e09ff1a15ed0adb1d4a3897)
2020-08-03Core/Authserver: Re-organize the `accounts` table (PR #25135)Treeston
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA) - salt/verifier/session_key are now binary - old s/v/sha_pass_hash fields kept around for backwards compatibility - sha_pass_hash is still updated (for now), s/v are not - sha_pass_hash is only read if s/v have been manually changed - SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19) (cherry picked from commit 3164b58c7d170810b69378950c0891e5f5b8678b)
2020-08-03Core/Authserver: Split SRP6 into its own file (PR #25131)Treeston
(cherry picked from commit 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76)
2020-08-03how does VC++ never catch these? 5e36bf7 follow-upTreeston
(No more witty one-liners. Let me go to bed please.) (cherry picked from commit 35411e5ed99584c7061a5feede8cb9b8d71c9b68)
2020-08-03Core/Authserver: Auth cleanup phase 1b, the "I didn't hit Stage All" commit. ↵Treeston
Sorry. (5e36bf7 follow-up) (cherry picked from commit 4f570e5d08d0338ac16aace81865c04b0605b0a5)
2020-08-03Core/Authserver: Auth cleanup phase 1a, the "stuff I ran across while making ↵Treeston
phase 2" commit. - Did you know BigNumber quietly assumes every byte array it gets is little-endian, even though openssl bignums use big-endian? Now you do! - In entirely unrelated news, make the above behavior explicit through a default-true boolean, same as existing GetBytes derivatives. - Also, if you are in the enlightened openssl 1.1 crowd, there's no more endian wrangling involved, because openssl now does all of that for us. Progress! (cherry picked from commit 5e36bf7c67e077bd1664eee59d5758fbae7666cd)
2020-08-03Core/Authserver: Authserver cleanup (PR#25093)Treeston
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber - Get rid of (most of) the C-style arrays in authserver - CryptoRandom as a unified source for cryptographic randomness - Bring our other crypto APIs into 2020 - BigNumber usability improvements - Authserver is now actually readable as a result of all of the above (cherry picked from commit 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)