Commit Graph

280 Commits

Author SHA1 Message Date
Shauren 3b110b30d9 Core: Updated allowed build to 8.2.0.31478 2019-08-18 10:50:57 +02:00
Shauren f884e5a856 Core: Updated allowed build to 8.2.0.31429 2019-08-11 12:19:56 +02:00
Shauren e8e89f58fb Core/DBLayer: Prevent using prepared statements on wrong database 2019-07-27 01:00:37 +02:00
Shauren 71cbb0ae1c Core: Updated allowed build to 8.2.0.31229 2019-07-26 18:25:25 +02:00
Shauren 7dc057fedb Warning fix 2019-07-15 18:25:57 +02:00
Shauren 87bcf6c3c1 Warning fix 2019-07-15 18:03:48 +02:00
Shauren 74a801182a Core/PacketIO: Updated packet encryption to 8.2 2019-07-14 19:20:45 +02:00
Shauren 455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +02:00
Shauren 50cfeb9aa4 Core/Misc: Improved ip2location code and set it to disabled by default
(cherry picked from commit 0ead73516a)
2019-01-09 17:35:18 +01:00
Gooyeth 163c487be7 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c5)
2019-01-09 17:35:13 +01:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren 0a779bd791 Core/PacketIO: Updated packet structures to 8.0.1 2018-11-05 00:00:34 +01:00
Shauren c2d61e05cf Core: Updated allowed build to 7.3.5.26972 2018-06-29 22:38:38 +02:00
Shauren 6ef9c4dbfc Core: Updated allowed build to 7.3.5.26899 2018-06-22 18:00:24 +02:00
Shauren 170d10b8a9 Core: Updated allowed build to 7.3.5.26822 2018-06-14 23:08:55 +02:00
Shauren f313e9f5e1 Core: Updated allowed build to 7.3.5.26654 2018-05-24 22:34:18 +02:00
Roc13x 11c3c456b7 Core/Bnet: Improve client ban messages (#21837)
* Don't hide banned game accounts from list.
* Display proper ban messages with suspension time remaining.
* More appropriate error codes for bans and locks
2018-04-18 20:27:45 +03:00
Shauren 72a9a8a29c Core: Updated allowed build to 7.3.5.26365 2018-04-06 18:03:08 +02:00
Shauren 31f6ba5a92 Core: Updated allowed build to 7.3.5.26124 2018-02-28 23:18:41 +01:00
Shauren 4af15915bc Core/PacketIO: Updated opcodes and packet structures to 7.3.5 2018-02-18 16:33:49 +01:00
Shauren dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren 20a3c9eed2 Core/PacketIO: Update opcodes to 7.3.2 2017-12-30 00:23:43 +01:00
Shauren ca9b0b029f Core/Misc: Fixed uninitialized values
CID 1254611 1377296 1377728 1377727
2017-07-17 19:10:32 +02:00
Shauren c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
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 8e2634b2b4 Core/DBLayer: Convert async queries to new query callbacks and remove old callback handling 2017-01-13 21:38:03 +01:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren 0d9136f764 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-10 00:37:33 +02:00
Shauren ebff8cb342 Core/PacketIO: Fixed crash happening when someone sends too small packet that is processed directly in WorldSocket
Closes #17536
2016-07-07 18:12:50 +02:00
Shauren 3903482eb8 Core: Updated to 7.0.3.21916 2016-06-13 19:54:06 +02:00
Shauren d62b52befb Core/Addons: Removed AddonMgr 2016-05-30 23:42:09 +02:00
Shauren 174a6142f4 Core/Networking: Fixed a crash caused by attempting to connect directly to worldserver by setting portal=worldserver address
Closes #16927
2016-04-10 00:08:11 +02:00
Shauren 619669c620 Core/PacketIO: Updated remaining packet structures and enums appearing in packets 2016-03-28 15:23:41 +02:00
Shauren 9ad79934d3 Core/PacketIO: Updated packet structures to 6.2.4.21355 2016-03-25 21:33:55 +01:00
Shauren 45c857a6bf Core/Networking: Updated packet headers for 6.2.4 2016-03-24 21:15:02 +01:00
Shauren 6de7a0b879 Core/PacketIO: Updated opcode values to 6.2.4.21348 and disabled packets that had their structures changed 2016-03-24 19:28:16 +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 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 a6dd6d7841 Core/Logging: Include more info in bad realm log 2016-01-20 17:19:42 +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 6ace6aabbf Core/Networking: Added safety checks against linking instance socket with incorrect/old session
Ref #15892
2015-12-29 21:22:31 +01:00
Shauren c463c84325 Core/Auth: Added missing lock country check to AuthSession handler 2015-11-02 20:23:39 +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 590c6e399d Core/Networking: Fixed possible crashes happening if async query retrieving account data takes too long
Closes #14944
2015-08-09 15:30:06 +02:00
Vincent-Michael 2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Naios 6bf10c2b83 Core/Utilities: Remove global using of std::chrono namespace.
* never use "using namespace" in header files!
2015-07-21 20:42:07 +02:00
Shauren f6bc87fe5d Core/Threading: Fixed possible data races after making auth queries async by moving their processing to boost::asio::io_service::run threads 2015-06-21 02:13:08 +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