Commit Graph

28 Commits

Author SHA1 Message Date
Shauren
dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02: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
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
783e8299cc Core/Misc: Fix for builds linked with libc++ instead of libstdc++ 2015-10-24 15:39:32 +02: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
705e5ea5d9 Core/Battle.net
* Updated game account flags
* Fixed infinite loop in ReadFourCC if value in packet was 0
* Corrected ClosingReason enum in ConnectionClosing
2015-10-04 00:26:38 +02:00
Shauren
1658421403 Core/Battle.net: Only send one IP address for a realm - fixes waiting time to join realm if the wrong address gets picked by the client first (local address for external client)
Closes #14891
2015-07-09 10:26:30 +02:00
Shauren
0e49eefe85 Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
* Implemented base for loading account wide data
2015-06-20 00:59:31 +02:00
Shauren
ee6e060be8 Core/Battle.net: Fixed accessing freed memory 2015-04-18 17:01:02 +02:00
Shauren
ff101cd100 Core/Battle.net: Query optimizations part2 - made all queries asynchronous 2015-04-11 18:58:13 +02:00
Shauren
685a310103 Core/Battle.net: Query optimizations part1 - reduced the amount of queries during authentication 2015-04-11 16:25:21 +02:00
Shauren
c9ca81f806 Core/Auth: Fixed clients being disconnected if taking too long to select game account for login
Closes #13782
2015-02-11 15:35:51 +01:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
911d0cf400 Core/Battle.net: Fixed client crashes happening when reconnecting too soon after being kicked 2014-12-24 13:48:52 +01:00
Shauren
c3e959b9db Core/Battle.net: Decrypt remainder of the packet that arrives together with EnableEncryption 2014-12-20 00:25:11 +01:00
Shauren
0c27ffaa49 Core/Commands: Battle.net account command changes
* All commands renamed from "battlenetaccount" to "bnetaccount"
* bnetaccount create now also creates and links initial game account
* Added new commands bnetaccount link/unlink to manage relations between existing accounts
2014-11-10 01:19:24 +01:00
Shauren
ddc549518f Core/Battle.net: Added more logs to auth process 2014-11-09 19:18:54 +01:00
Shauren
e401f9c9e2 Core/PacketIO: Added SMSG_REDIRECT_CLIENT/ConnectTo packet structure 2014-11-06 18:49:19 +01:00
Shauren
6584995c11 Auth/Battle.net Added missing build check to JoinRequest handler 2014-11-01 11:40:17 +01:00
Shauren
8936723291 Merge branch '4.3.4' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	dep/PackageList.txt
	src/server/bnetserver/Packets/WoWRealmPackets.cpp
	src/server/bnetserver/Server/Session.cpp
2014-10-18 17:03:30 +02:00
Shauren
1ef31ba752 Battle.net: Implemented cache stream items 2014-10-13 17:22:24 +02:00
Shauren
cf521de9cb Battle.net/Packets: Added packet name mapping for logging 2014-10-12 20:58:25 +02:00
Shauren
7679ecd7b3 Core/Battle.net: Improved logging - use separate filters instead of throwing everything to one logger 2014-10-12 15:34:01 +02:00
Shauren
cbabfe9920 Core/Battle.net: Handle ConnectionClosing 2014-10-11 22:45:01 +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