Shauren
6c92a481a3
Core/Misc: Cleanup worldserver/bnetserver main() functions to run destructors in predictable order
...
* world/bnet servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition
2017-05-04 20:41:22 +02:00
Shauren
b8db320bf1
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
2017-03-04 18:46:18 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
9633c8c2b7
Core/Debugging: Partially revert e0fb4445cd, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only)
2016-11-28 20:21:21 +01:00
Shauren
e0fb4445cd
Core/Debugging: Added wheaty everywhere and modified it to always reliably report issues during static initialization
2016-11-28 18:37:51 +01:00
tkrokli
3cd28ee6c0
Core/Bnet: correct a typo in enum ( #17991 )
...
The enum LOGIN_DEL_BNET_EXPERIED_ACCOUNT_BANNED
should be LOGIN_DEL_BNET_EXPIRED_ACCOUNT_BANNED
to avoid confusion and not need any interpretation.
2016-09-24 17:02:22 +01:00
Kevin Plestan
30d006f98b
Core/Bnetserver: Re-enable ban on wrong password
...
Closes #17937
Closes #17969
2016-09-24 15:02:34 +02:00
Shauren
a8c412a063
Tools: Added universal TrinityCore banner with git version info to all tools
2016-07-17 17:24:53 +02:00
Naios
51ec8d3b8c
Core/Scripting: Use the path of the worldserver executable to search for the scripts dir
...
* Fixes issues when starting the worldserver not in the bin directory
or the CMAKE_INSTALL_PREFIX directory using the -c option.
(cherry picked from commit 86b0fcf67a )
2016-04-18 23:03:24 +02:00
Shauren
dde620c402
Core: Updated to 6.2.4
...
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Shauren
92e247b226
Core/Dep: Removed ZMQ dependency in preparation for future changes
2016-03-20 18:50:25 +01:00
Naios
a8fe7f6eb7
Core/Database: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
* Also instantiate the database worker pools in DatabaseEnv.cpp now.
2016-03-11 18:25:55 +01:00
MitchesD
ce5def332f
Core/Misc: fix build
2016-03-03 19:58:28 +01:00
Shauren
dea7d429ab
Core/Debugging: Make abort() less bad on windows by forcing crash log generation
2016-03-03 17:29:48 +01:00
Shauren
36a1b1ccd5
Core/Bnet: Moved expiring bans to background task running every minute by default (configurable) - no longer executed during login.
2016-02-16 00:14:59 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
0fda78b679
Core/Bnetserver: Applied 375363ed08 to bnetserver - fixes a minor development annoyance where first login after startup is slow
2015-09-11 17:25:14 +02:00
jackpoz
4617d65131
Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
...
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357 )
Conflicts:
src/server/authserver/Main.cpp
src/server/database/Updater/DBUpdater.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/World/World.cpp
src/server/shared/PrecompiledHeaders/sharedPCH.h
src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP
6a9fc63e41
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
...
(cherry picked from commit 94f69fb1bc )
2015-08-16 17:50:40 +02:00
Shauren
d5cf594bfe
Core/Logging: Refactored appender creation to allow using logging without mysql dependency in tools (future task)
2015-08-16 00:12:18 +02:00
DDuarte
0f082e8f92
Core/Executables: Add --version and -v to worldserver and bnetserver arguments
...
Closes #14993
2015-07-04 00:45:52 +01:00
Shauren
50848e4dac
Core/Bnet: Fixed bnetserver not shutting down correctly when started as windows service
2015-06-10 00:21:55 +02:00
Shauren
ba6e5c5637
Core/Bnet: Implemented starting bnetserver as a windows service
2015-06-06 13:03:36 +02:00
Daniel M. Weeks
0b826e09e0
Mark static variables
2015-05-27 21:13:31 -04:00
Shauren
0147f37eb0
Core/Battlenet: Fixed possible shutdown crash
2015-04-22 00:03:49 +02:00
Shauren
5659db6f03
Core/Bnet: Fixed crash on shutdown happening when there were still players connected
2015-04-11 01:55:45 +02:00
Naios
352012e531
Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
...
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.
Import every update manual until (included) those INSERT IGNORE updates for each database.
Thanks DDuarte and Shauren for your amazing ideas, help and advises.
In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)
Signed-off-by: Naios <naios-dev@live.de >
Signed-off-by: Nayd <dnpd.dd@gmail.com >
2015-03-21 14:09:38 +00:00
jackpoz
b35578bac3
Revert "Core/Server: Catch exceptions in int main()"
...
This reverts commit e68ca82d4d .
Closes #14329
2015-03-11 21:07:08 +01:00
Duarte Duarte
e68ca82d4d
Core/Server: Catch exceptions in int main()
...
The exceptions is rethrown on debug mode.
Ref Coverity CID 1010213, 1022574, 1227501, 1227502,
1227503, 1227504, 1227505, 1254536 and 1254612
2015-02-15 14:56:12 +00:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
f773a9e053
Core: Implemented IPC (Inter-process communication) between worldserver and bnetserver using ZeroMQ library.
...
* Implemented ToonReady and ToonLoggedOut battle.net packets
2014-10-17 22:48:06 +02:00
Shauren
26e4b67e85
Core/Battle.net: Removed remaining authserver references
2014-10-11 15:16:06 +02:00
Shauren
56cf7ff2a8
Core/Battle.net: Implemented updating realm list after initial login
2014-10-11 15:13:30 +02:00
Shauren
00603772df
Core/Battle.net: Added missing includes and changed default config file name
2014-10-10 23:48:01 +02:00
Shauren
a04393f554
Core/Auth: Moved battle.net handling to separate project
2014-10-10 23:19:40 +02:00