Commit Graph
328 Commits
Author SHA1 Message Date
Ovahlord 5848eedb24 Core/Creature: implement initial SummonInfo API for handling summons in the future 2025-08-09 15:01:55 +02:00
Ovahlord 3ef6132fce Core/Misc: buildfix 2025-08-05 20:36:37 +02:00
Ovahlord 23a608a504 Core/Logging: fixed log level range check in Log::SetLogLevel 2025-08-04 20:13:21 +02:00
Ovahlord 81c6172fb7 Core/Misc: fixed several unused variable warnings 2025-08-04 20:06:02 +02:00
Treeston f95a8bfdca Core/Common: Tokenizer -> Trinity::Tokenize 2025-07-30 20:51:19 +02:00
Treeston faef256861 Common/Utilities: ported StringConvert helpers from 335 branch 2025-07-26 00:40:54 +02:00
Ovahlord c22ba4438e Core/Logging reduce difference between branches 2025-07-24 19:22:34 +02:00
Ovahlord a9dfb9c921 buildfix 2025-07-21 19:48:54 +02:00
Ovahlord 64b77e359d Core/Misc: ported cryptography updates and all that entrails from 335/master and killed bnetserver 2025-07-21 19:04:56 +02:00
Giacomo Pozzoni a576c8328b Shared/Utilities: Handle string format exceptions
Handle StringFormat() exceptions in case of malformed string format to avoid causing unhandled exception crashes
2025-07-21 09:14:46 +02:00
Ovahlord a9579cb33b Core/Skills: ported skill refactors from master branch
* implement automatic skill learning from dbc data which
2025-06-21 01:23:27 +02:00
Ovahlord 254ebe6cbf Misc: fixed nopch build 2025-06-14 17:22:58 +02:00
Ovahlord 94f1ac8498 Revert "Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring"
This reverts commit 57416b873f.
2025-06-07 11:40:26 +02:00
Ovahlord 57416b873f Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring 2025-04-04 23:22:12 +02:00
Shauren 4ead80f388 Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type) 2025-03-14 16:57:04 +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 44892168c1 Core/Networking: ported missing socket related changes from master branch 2025-03-08 22:37:23 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +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 10ff84361a Core/CrashHandler: Add a timeout to retrieving windows version from WMI
(cherry picked from commit 36a64884054f0bf34e815b62157be61c3476127a)
2023-12-04 22:09:24 +01:00
Shauren 7d57ef7299 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 22:00:52 +01:00
Shauren 3e209a76dd Core/CrashHandler: Support retrieving windows version names for all future versions
(cherry picked from commit ca9b82fb856c8314c3e84b15bc16ffb3fe8239ba)
2023-10-30 00:36:26 +01:00
funjoker b7a9e6db72 Dep/Boost: Drop windows boost hacks (#29358) 2023-10-18 23:18:50 +02:00
Ovahlord b49f95e1e9 Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts 2023-10-09 21:40:38 +02:00
Shauren 4a28f34563 Core/Misc: Silence compile warning in boost::process with version 1.83
(cherry picked from commit d8c98579d4a2c4191e42c2542901274ffe53083c)
2023-09-14 13:33:34 +02:00
Ovahlord 852f0cbc52 Core/Misc: fixed a couple warnings reported by file analysis 2023-08-25 11:53:53 +02:00
Shauren bfd31d59c2 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:21:48 +02:00
Shauren 06aacf757d Core/Threading: Modernize ProducerConsumerQueue a bit to fix GCC build
Closes #28607
2023-07-20 23:07:18 +02:00
Giacomo Pozzoni 8831cc1086 Core/DBLayer: Add QueueSize() method
Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command

* Make the code less threadsafe

* Send data to InfluxDB
2023-07-20 23:07:08 +02:00
Ovahlord 228e3059c9 Core/Crypto: moved away from deprecated SHA1 methods in CalculateSHA1Hash 2023-07-16 22:02:13 +02:00
Ovahlord 63f85a613f nopch fix 2023-07-07 21:51:14 +02:00
Ovahlord a7b244253a Crypto/SHA256: moved away from deprecated OpenSSL methods 2023-07-07 21:47:55 +02:00
Ovahlord e8cfcd7016 Crypto/ARC4: use the correct cipher reference in ctors 2023-07-07 21:27:19 +02:00
Ovahlord d20c2f2c34 Core/Crypto: switched away from deprecated openSSL functions in HmacHash 2023-07-07 21:23:58 +02:00
Daniel S. Reichenbach a7527a8698 Core/Misc: added support for OpenSSL 3, dropped support for OpenSSL 1.0 and fixed build for Fixed build for MariaDB 2023-07-07 21:01:49 +02:00
Ovahlord f34534465a Build: enable C++20 and updated all compiler requirements
* ported some header and cmake updates from master branch
2023-07-04 23:49:57 +02:00
Shauren d53de05f93 Core/Misc: Prefix include guard to avoid possible conflict with external library 2023-07-02 15:15:58 +02:00
Peter Keresztes Schmidt 1ece540577 Common/Crypto: #ifdef out unnecessary locking code for OpenSSL 1.1+ 2023-07-02 15:15:04 +02:00
Treeston d568eb7871 Core/Common: fix a bug in BigNumber::AsByteArray that was causing incorrect output in 1/256 cases with explicit minSize (iff MSB zero)
(cherry picked from commit b2b9880377f75a333b94a71ce6076016b8285e0b)
2023-05-19 22:38:42 +02:00
ipriver 408c386830 fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
(cherry picked from commit bde36062b7a0bf621086e73a5d419cd8637e9e96)
2023-05-19 22:26:00 +02:00
Shauren 3e8f413b0c Core/OutdoorPvP: Fixed crash happening by accessing freed memory 2023-01-09 18:19:08 +01:00
ModoXandGosha 8a7dfbbd1d Core/Vmaps: Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#28632)
Closes #28326

Co-authored-by: Gosha <284210+Lordron@users.noreply.github.com>
2022-12-31 15:37:13 +01:00
Ovahlord f879d95589 Core/Utils: sync IteratorPair utilities with master branch 2022-12-29 21:59:11 +01:00
Ovahlord c6180d28c4 Core/Random: switch to 128bit engine and fully rely on its builtin seed initialization methods 2022-10-31 15:56:43 +01:00
Ovahlord 2e47ee3f4c Core/Util: replace SMFT rng with PCG 2022-10-30 12:04:30 +01:00
Shauren 6daa2ce262 Core/Threading: Create ThreadPool class
# Conflicts:
#	src/server/worldserver/Main.cpp
2022-10-20 22:21:41 +02:00
Shauren 0ba58aeb6e Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-10-08 00:25:32 +02:00
Shauren 21e9854686 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums 2022-10-07 22:16:46 +02:00
Shauren 8c447da29d Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines exclusively 2022-10-07 19:09:42 +02:00