Commit Graph
803 Commits
Author SHA1 Message Date
Ovahlord 44892168c1 Core/Networking: ported missing socket related changes from master branch 2025-03-08 22:37:23 +01:00
Ovahlord 1d25eabb4b Core/Server: restore AuthServer and grunt login 2025-03-08 15:20:14 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +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
coolzoom 2da53c4c1a CMake: dropped unsupported MySQL versions from FindMySQL macro (#424) 2023-10-10 18:33:22 +02:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +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
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
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
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
Ovahlord f165e1cb2b DB/Events: added event entries for arena season 9, 10 and 11 and set default season to 11 2022-12-22 05:39:03 +01:00
Shauren 4e0e5785e9 Core/Misc: Minor cleanup in worldserver main.cpp 2022-10-20 22:21:47 +02: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
KoNicks b7d6959816 Core/Misc: Fix build when using libstdc++-11 (#26565) 2022-06-15 14:04:18 +02:00
Shauren 62368ec93e Core/World: Allow specifying minimum world updates diff in config 2022-04-17 01:26:21 +02:00
Shauren 267cd04e57 Core/Time: Remove artificially high minimal update intervals
(cherry picked from commit 3a67e376811743be208da4aab8a9e452e1ae637e)
2022-01-04 19:23:46 +01:00
Ovahlord 9faf867f34 Core/Movement: ported movement speed change acknowledge packet handling from 335 branch 2021-11-08 12:44:49 +01:00
jackpoz 1ea6bef697 Core/SOAP: Fix memory leak on shutdown reported by ASan 2021-07-31 21:44:43 +02:00
jackpoz 24d4e6977c Core/SOAP: Fix new/free mismatch reported by ASan 2021-07-31 21:44:38 +02:00
Ovahlord 6446541738 Core/Skills: ported master branch handling for learning skills on levelup 2021-05-14 14:52:52 +02:00
Ovahlord 1d41988cbe Core/Guilds: implement cleanup routine for guild news that cleans up news that are older than a week 2021-04-29 15:56:25 +02:00
Shauren b9c72c3c7f Dep/Boost: Support for boost 1.74 2021-03-11 10:37:55 +01:00
Kenneth P. Barquero cfecdc0fe5 Core/Battlegrounds: implement rated battleground world state allow queueing up for rated BGs
This will allow to toggle the rated battleground UI for the player, the RBG system is yet to be implemented.
2020-10-31 12:54:53 +01:00
jackpoz 129614cbf8 Core/PathFinding: Enable pathfinding (MMaps) by default 2020-09-08 20:58:37 +02:00
Shauren 1c1c62d108 Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode with async version 2020-08-01 15:09:05 +02:00
Ovahlord 64c4b4f529 Core/Misc: converted quest, creature and quest query packets to packet class and ported query data caching from 335 branch 2020-07-28 21:34:12 +02:00
Ovahlord d46fb93657 Core/Pools: ported pooling updates from 335 branch 2020-07-13 11:17:19 +02:00
Shauren 59dbc1df0a Core/Misc: Properly close database connections when using --update-databases-only arg 2020-06-22 11:32:57 +02:00
jackpoz c62ebf6e36 Core/Misc: Add console option to update databases only
Add "--update-databases-only" console argument to stop worldserver execution after having updated all databases (if specified in config file)

(cherry picked from commit 92bf5b1ba795303808c5f1b3bf82dd0204133ed8)
2020-05-19 00:49:24 +02:00
jackpoz d0c7bbab40 Core/Misc: Update 85e3169fbd7b2da70e0f054399f4db64ded36325 about SOAP
Change again how SOAP is stopped if SOAP successfully binds but worldserver fails to bind its sockets.
A crash remains if SOAP fails to bind because it calls exit() and that triggers asserts everywhere.
2020-05-06 00:01:21 +02:00
jackpoz 03609506ae Core/Networking: Set SO_REUSEADDR on *nix platforms 2020-05-06 00:01:17 +02:00
jackpoz c82bddf6f4 Core/Misc: Fix shutdown with SOAP enabled
Fix worldserver entering a loop when having SOAP enabled but failing to bind both SOAP and worldserver listened socket. SOAP thread would keep trying to bind the socket over and over checking World::IsStopped() condition that was never set to true
2020-05-06 00:01:09 +02:00
Shauren d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord f119e8c79d Scripts/DS: fixed several typos in Mandess of Deathwing script
* removed a duplicate comment in RASession
2020-04-13 17:04:19 +02:00
Ovahlord 4539b571bf Core/Packets: converted SMSG_MOTD and SMSG_LOGIN_VERIFY_WORLD to packet class 2020-04-11 18:22:01 +02:00
Ovahlord d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Ovahlord 8d29de88a2 Core/Guilds: updated guild challenge system
* converted guild challenge packets to packet class
* moved guild challenge reward data to database
2019-10-14 00:56:48 +02:00
Wyrserth 88cd3626cb Misc/Config: set decay timer for unlooted normal creatures to 5 minutes.
Now that respawns do not care about the previous corpse's state, there's no reason to force a very frustrating faster despawn.
2019-10-06 03:53:49 +02:00
Ovahlord 9d574d2220 Core/Players: convert SMSG_FEATURE_SYSTEM_STATUS to packet class 2019-10-05 00:22:53 +02:00
Ovahlord 8bec6af24a Core/NetworkIO: implement 2nd connection 2019-10-03 22:32:24 +02:00
Ovahlord 0299e10945 Core/Servers: nuke authserver 2019-09-30 07:26:54 +02:00
Ovahlord 644b77f1fd Server/Config: correct description for the shortage system config 2019-06-03 22:28:22 +02:00
Ovahlord 4b77eb334b Core/LFG: re-implement the shortage bonus reward system
* optimized out the logic to work with any random dungeon
* the shortage bonus rewards can now be set via quest id in lfg_dungeon_rewards
* moved the config part into the lfg option mask
2019-06-03 19:45:44 +02:00
Shauren 2fb644344d Core/Dep: Boost 1.70 compatibility
(cherry picked from commit bcda8dd7421cfa1950a3e47081f2f28d032d38ac)

# Conflicts:
#	src/server/authserver/Main.cpp
#	src/server/shared/Realm/RealmList.cpp
#	src/server/shared/Realm/RealmList.h
2019-04-14 12:18:33 +02:00
Ovahlord 1a1790b737 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/Skills/Archaeology/ArchaeologySites.cpp
#	src/server/scripts/Spells/spell_mage.cpp
2018-09-17 15:43:22 +02:00