Commit Graph

1398 Commits

Author SHA1 Message Date
Shauren
d34020da7f Core/DataStores: Fixed loading signed db2 fields 2016-10-09 16:54:11 +02:00
Shauren
def8bf0855 Core/Misc: Don't conditionally include non platform specific headers 2016-08-20 13:34:15 +02:00
Vincent-Michael
ac5b1bd984 Core: Fixed non pch build for unix 2016-08-20 11:07:17 +02:00
Shauren
763e9e4921 Warning fix 2016-08-06 12:32:43 +02:00
Shauren
bb93816b5c Core/DataStores: Refactored DB2 loaders to no longer require sparse format to be specified at compile time 2016-08-05 20:49:01 +02:00
Shauren
e405ac5f41 Fixed nopch build and some leftover warnings 2016-07-20 13:27:04 +02:00
Shauren
8e53373d35 Warning fixes 2016-07-19 20:01:13 +02:00
Shauren
fe4d11c65a Tools: Extractor updates
* VMAP extractor does not work due to a bug in CascLib
2016-07-18 23:37:19 +02:00
Shauren
a5f6a80f0c Core/DataStores: Added sparse storage flag assertion 2016-07-17 16:07:25 +02:00
Shauren
832944db24 Core/PacketIO: Updated SMSG_DB_REPLY 2016-06-03 00:00:49 +02:00
Shauren
634ec0061f Core/DataStores: Updated db2 to 7.0.3.21796 2016-05-30 23:41:08 +02:00
Shauren
b82332487a Core/DataStores: Updated db2 to 7.0.3.21737 2016-05-27 23:14:36 +02:00
Shauren
70102f32fe Core/DataStores: Updated opcodes and db2 to 7.0.3.21414 2016-05-20 23:49:53 +02:00
Shauren
885d9b53c3 Core/DataStores: Updated dbc/db2 to 7.0.1.20994 2016-05-20 23:48:48 +02:00
Shauren
41ae38d94d Core/DataStores: Updated dbc/db2 to 7.0.1.20914 2016-05-20 23:48:24 +02:00
Shauren
5c2c9a684f Core/DataStores: Updated dbc/db2 to 7.0.1.20810 2016-05-20 23:46:17 +02:00
Shauren
08c27d3205 Core/Misc: MSVC /W4 warning fixes 2016-04-06 18:40:41 +02:00
Shauren
4a3a178d7f Buildsystem: Initial changes to support building with vs clang toolset 2016-04-05 22:43:41 +02:00
Shauren
ea652fbedd Build fixes 2016-03-28 18:47:13 +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
619669c620 Core/PacketIO: Updated remaining packet structures and enums appearing in packets 2016-03-28 15:23:41 +02:00
DDuarte
423bded9a6 Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859

(cherry picked from commit 980f28d2ce)

# Conflicts:
#	src/server/authserver/Server/AuthSocketMgr.h
#	src/server/game/Server/WorldSocketMgr.cpp
2016-03-28 02:36:58 +01:00
Shauren
60a4914c33 Core/Networking: Added SslSocket wrapper for boost::asio::ssl::stream 2016-03-26 18:52:32 +01:00
Shauren
9018ac978d Core/Shared: Added generated protobuf sources 2016-03-26 17:23:35 +01:00
Shauren
a81a204678 Core/Common: Moved MessageBuffer to common 2016-03-26 17:15:20 +01:00
Shauren
cfe8a6a58b Core/Misc: Moved RealmList to shared 2016-03-26 13:39:46 +01:00
Naios
25b0e743b1 Core/Shared: Converted the shared library to a shared library ,-).
* There is still the possibility to static link against shared.
2016-03-24 01:29:00 +01:00
Shauren
3d32fd6ce0 Dep: Add rapidjson 2016-03-23 22:09:55 +01:00
Naios
ef75a2e731 Core/Shared: Fix no PCH build
(cherry picked from commit 5ac4507c87)
2016-03-19 23:19:59 +01:00
Naios
5fe83abbe5 CMake: Use inherited dependencies in database, shared and game
(cherry picked from commit 469f2d3ade)
2016-03-19 23:19:53 +01:00
Shauren
0daba931ef Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
Closes #16769
2016-03-12 19:43:07 +01:00
Naios
30517cb1d3 Core/Common: Generalize platform specific includes in common/Platform 2016-03-11 18:25:55 +01:00
Shauren
f123c39659 Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler and refactor world socket initialization string handling 2016-03-10 23:33:56 +01:00
Shauren
3829a73e14 Final build fix for gcc 4.7 (no longer supported in 8 days)
(cherry picked from commit 2345e84855)
2016-02-21 14:24:37 +01:00
Shauren
97a79af470 Core/Networking: Rewrite networking threading model
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking
Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet
2016-02-19 19:23:04 +01:00
Shauren
01be486f2f Core/Misc: Removed unneccessary boost/asio/buffer.hpp include 2016-01-28 17:49:41 +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
ae20b2ab56 Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected 2015-12-24 19:48:39 +01:00
Melvin1263
262e61aae1 Core/DataStores: Fixed reading uint64 fields from DB2 files
Closes #15818
Closes #15752
2015-11-07 18:50:13 +01:00
Shauren
63def8aa32 Core/Battle.net:
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures

World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren
074b00af37 Core/PacketIO: Updated and enabled SupportTicketSubmitComplaint, SupportTicketSubmitSuggestion 2015-09-25 00:11:54 +02:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
Shauren
4c851d985e Core/DataStores: Corrected memory allocation for DB2 files. Non-localized strings no longer reserve memory for all locales 2015-09-02 23:16:35 +02:00
Shauren
3308a90fee Build fixes 2015-08-30 00:49:40 +02:00
Shauren
b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
Shauren
7c75160f59 Core/DBLayer: Added compile time validation for prepared statement indexes passed to DatabaseWorkerPool::GetPreparedStatement turning mistakes like the one fixed in 0327927fa6 into compiler errors. 2015-08-27 00:54:49 +02:00
StormBytePP
ba2e9fbe95 Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem) 2015-08-24 03:35:19 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00
Shauren
7ef89fe142 Core/Logging: Fixed _maxFileSize being left uninitialized 2015-08-20 17:26:04 +02:00
Shauren
55a75db16b Build fixes 2015-08-19 17:16:33 +02:00