Commit Graph

1408 Commits

Author SHA1 Message Date
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
Shauren
2c27c5b5b9 Core/DataStores: Fixed crash in hotfix packet building
Closes #19218
2017-03-02 19:48:58 +01:00
Shauren
bc2380e105 Core/DataStores: Fixed Meta->Types/TypesString mixup causing crashes when trying to send hotfix for nonlocalized string
Closes #18882 (for real this time)
2017-02-26 15:00:46 +01:00
jackpoz
e5ba8f1e4d Core/MMAPs: Update recast
Update recast to 64385e9ed0

(cherry picked from commit 1d7013e0e2)

# Conflicts:
#	dep/PackageList.txt
2017-02-12 15:41:19 +01:00
Shauren
c36f831ab7 Core/Packets: Changed ByteBuffer write exceptions into asserts (reading is unaffected as data comes from untrusted source - client) 2017-01-24 00:08:12 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
8b2e07166f Core/DataStores: Fixed loading non-localized db2 strings
Closes #18451
2016-12-14 00:09:32 +01:00
Shauren
4acaf2dda4 Core/DataStores: Fixed crash with db2 loaders on gcc 4.9
Closes #18166
2016-11-02 00:06:09 +01:00
Shauren
505d3e24cc Core/DataStores: Removed the need to edit DB2Metadata automatically generated to account for non-localized string fields 2016-10-26 01:34:29 +02:00
Shauren
4a0f5ed2be Core/DataStores: Fixed loading int arrays from trailing packed blobs in db2 files
Closes #18072
2016-10-15 23:53:28 +02:00
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