Shauren
585e170ad6
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)
2026-01-12 20:59:19 +01:00
Ovahlord
fb88f3c975
Core/Warden: Removed implementation not compatible with modern client versions ( #30491 )
2025-11-25 23:55:32 +01:00
Shauren
21ff7f2503
Core/Misc: Add missing includes
2025-11-15 11:42:30 +01:00
Shauren
3331699906
Build: Modernize include directory management using target_sources(FILE_SET)
2025-11-12 22:53:54 +01:00
Shauren
fed98b4e03
Core/Worldserver: Update PCH content to include most commonly used headers
2025-06-13 16:03:52 +02:00
Shauren
1f5f245c02
Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
2025-06-11 15:52:40 +02:00
Shauren
74d9da7f32
Core/Network: Make ip address formattable with fmt
2025-06-02 18:38:41 +02:00
Shauren
b6d64447ba
Core/World: Refactor World::LoadConfigSettings to unify validation of all config options and reduce its impact on compile time
2025-05-08 14:24:29 +02:00
Shauren
e8b2be3527
Core/Network: Socket refactors
...
* Devirtualize calls to Read and Update by marking concrete implementations as final
* Removed derived class template argument
* Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor
* Make socket initialization easier composable (before entering Read loop)
* Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2025-04-08 19:15:16 +02:00
Shauren
039acb20e4
Core/Network: Simplify worldserver port configuration: removed InstanceServerPort
2025-01-07 13:41:09 +01:00
Shauren
9aeaedeefe
Core/Config: Remove Rate.Talent config option that is not compatible with trait system
2024-12-26 12:31:59 +01:00
Shauren
c81183a660
Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer
2024-12-09 21:13:18 +01:00
Shauren
3f90e4853e
Misc/Config: Add Earthen to CharacterCreating.Disabled.RaceMask documentation
2024-11-24 12:01:36 +01:00
CraftedRO
49cfd532e4
Misc/Config: Update CharacterCreating.Disabled.RaceMask and ClassMask ( #30457 )
2024-11-24 02:15:58 +01:00
Shauren
af4dcc93ed
Core/Networking: Support IPv6
2024-11-12 13:54:43 +01:00
Shauren
b13b5142f1
Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow it to create deleters with compile time constant functions (reduces its size to just sizeof(void*))
2024-10-01 21:03:44 +02:00
Shauren
7ac0c685dd
Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
2024-09-20 13:19:42 +02:00
Hwis
cedf4e2b34
Core/Conf: Change evoker start level to 10 ( #30252 )
2024-09-18 05:53:08 +02:00
Shauren
a21e7c738e
Build: Automatically include WindowsSettings.manifest in all executables instead of listing it separately as source file in every target
2024-09-15 12:55:50 +02:00
Shauren
052f2d0a81
Core/Common: Compile ServiceWin32 as part of common project instead of directly adding its source files to both server executables
2024-09-15 12:40:54 +02:00
Shauren
fd0a7ba871
Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
2024-09-15 12:13:54 +02:00
Hwis
1580b4ef84
Core/Conf: Update MaxPlayerLevel to 80 ( #30196 )
2024-09-03 14:09:50 +02:00
Hwis
37c98325f6
Core/Misc: Change default expansion to 10 in config file template ( #30193 )
2024-08-27 15:47:14 +02:00
Shauren
c4b710446d
Core/Realms: Realmlist refactors
...
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9
2024-08-18 18:59:58 +02:00
Shauren
77fe2745fe
Build: CMake cleanup
...
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren
a7c42f1ed5
Build: Normalize executable locations in build directory for all platforms
2024-06-15 16:01:22 +02:00
Antonio Martín Berti
3fd9677543
Core/Misc: Added Loading.Locales to enable/disable the load of locales ( #30013 )
2024-06-04 00:44:22 +02:00
Aokromes
1f83fbb9ed
Remove excesive white line on worldserver.conf.dist
2024-06-02 17:53:45 +02:00
Shauren
fd4ffc81b2
Core/Misc: Fixed windows _UNICODE incompatibilities
2024-06-02 14:21:13 +02:00
Fabian König
19232ed2b6
CI/GitHub: Add Windows x86_64 CI (github actions) support. ( #29773 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-05-31 22:08:40 +02:00
Shauren
83f4763b25
Core/Misc: Minor change to make_unique_ptr_with_deleter to make it accept only pointers
2024-05-07 12:26:21 +02:00
Shauren
8e3024a96a
Core/Misc: Refactor loading process to remove exit() calls that cause deadlocks because threads are terminated without proper cleanup
2024-04-30 00:20:38 +02:00
Shauren
d079a7e267
Core/OutdoorPvP: Fixed shutdown crash
2024-04-04 21:31:41 +02:00
Shauren
7df138ba2b
Core/Misc: Replace shared_ptr with unique_ptr with deleter for cleanups in main() functions
2024-04-04 21:31:22 +02:00
Ovahlord
ccc083593a
Core/Loot: implemented a custom server config setting to enable or disable AE loot ( #29602 )
...
This config primarily serves as a means to reduce potential code differences between the master and classic branches as now we no longer have to meddle with code
2024-01-23 00:55:57 +01:00
Shauren
644a479e28
Core/Database: Fixed HotfixDatabase not being closed on shutdown with --update-databases-only
...
Closes #29599
2024-01-23 00:23:59 +01:00
Teleqraph
bfbda8dcce
Core/Creatures: Refactor CreatureEliteType ( #29525 )
...
* Turn into enum class with official names
2023-12-28 19:11:54 +01:00
Shauren
e05541665b
Core/Accounts: Migrate RA credentials checking to use AccountMgr instead of copying its logic
2023-12-23 20:51:53 +01:00
Shauren
acb5fbd48b
Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
2023-12-17 23:21:10 +01:00
Shauren
78bcc3f52a
Core/Misc: Minor code modernization - kill std::bind
2023-12-08 20:27:41 +01:00
Shauren
333630b7de
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
2023-12-01 19:53:13 +01:00
Shauren
b299902881
Core/Locales: Set active code page and locale used by c string functions to utf8
...
Closes #29455
2023-11-24 20:01:17 +01:00
Jeremy
e72bde5236
Core/BattlegroundMap: Load all cells when created & mark all creatures as active ( #29410 )
2023-11-14 18:40:39 +01:00
Marek Madejski
35d6afcb63
Misc/Config: Fixed comment for CharacterCreating.EvokersPerRealm and CharacterCreating.MinLevelForEvoker ( #29361 )
2023-10-11 20:39:44 +02:00
Meji
0d9dd75fe2
Core/Quests: Fix questgiver status for trivial and future quests ( #29328 )
2023-09-19 21:37:14 +02:00
Shauren
cc6dba1376
Core/Realms: Minor refactor to realm address storage (remove LocalSubnetMask as it is now unused, db field kept for table structure compatibility with 3.3.5 branch)
2023-08-03 11:18:11 +02:00
Shauren
6be536a73b
Core/Network: Refactor local/remote ip address selection code and allow using hostnames in LoginREST bnetserver config options
2023-07-15 00:45:16 +02:00
Shauren
cdfaecda52
Core/Network: Cleanup asio using directives
2023-07-15 00:43:19 +02:00
Смердокрыл
74a4dc46b4
Core/Config: Implement reading config overrides from subdirectory ( #29068 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-06-09 20:36:03 +02:00
Shauren
1325e0c4b2
Core/Units: Power handling improvements
...
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +02:00