jackpoz
f83601de2f
Core/Networking: Set SO_REUSEADDR on *nix platforms
...
(cherry picked from commit 46f2595f51 )
2021-11-21 20:16:26 +01:00
Giacomo Pozzoni
9668096056
Core/Networking: Fix memory leak ( #22923 )
...
Fix memory leak reported by ASan happening when ports fail to bind in Authserver
(cherry picked from commit 57d7b19452 )
2021-11-21 13:54:27 +01:00
jackpoz
b6f28a7ebc
Core/Packets: Reduce memory footprint of cached queries ( #22297 )
...
Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit()
(cherry picked from commit deabd4ab45 )
2021-10-22 23:15:27 +02:00
Shauren
d7302ffd14
Core/Scenes: Implemented spell created SceneObjects
2021-10-11 12:59:19 +02:00
Shauren
3bf6698116
Core/Misc: Fix appleclang 12 warnings
2021-10-01 11:18:29 +02:00
Shauren
47fc447bef
Revert "Core/DataStores: Implemented [] operator on DB2Storage ( #20494 )"
...
This reverts commit c8974a91a6 .
2021-03-14 14:42:53 +01:00
jackpoz
388034498f
Core/Misc: Fix static analysis issues
...
(cherry picked from commit 9b7c73a19d )
2021-02-06 21:41:51 +01:00
Shauren
98939d258a
Dep/Boost: Partial support for boost 1.74 - asio
...
Ref #25470
(cherry picked from commit 155e37831e )
2020-12-12 18:50:13 +01:00
Shauren
b6ed0c7870
Core/PacketIO: Fixed ByteBuffer auto-flush after b231903932
2020-09-06 15:39:07 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Treeston
73922d2a85
Core/Authserver: Re-organize the accounts table (PR #25135 )
...
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA)
- salt/verifier/session_key are now binary
- old s/v/sha_pass_hash fields kept around for backwards compatibility
- sha_pass_hash is still updated (for now), s/v are not
- sha_pass_hash is only read if s/v have been manually changed
- SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19)
(cherry picked from commit 3164b58c7d )
2020-08-03 22:37:47 +02:00
Treeston
e9392ad287
Core/Authserver: Authserver cleanup (PR#25093)
...
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above
(cherry picked from commit 210176fd91 )
2020-08-03 19:39:00 +02:00
Shauren
2ff1fd0e95
Core/DataStores: Replace harcoded prepared statement offsets with named constants
2020-07-13 21:30:33 +02:00
Shauren
4499f203a3
Core/DataStores: Fixed sending localized hotfixes and improved db2 loading error messages
2020-07-01 00:34:51 +02:00
Shauren
40c71ea9fc
Core/Misc: Remove unused variables
2020-06-29 09:23:38 +02:00
Shauren
2fcb79e2de
Core/DataStores: Fixed loading db2 strings
...
Closes #24916
2020-06-29 00:10:37 +02:00
Shauren
deca201f77
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
2020-06-27 13:33:17 +02:00
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +02:00
ariel-
3cf5db1831
Core/Globals: add more AIName and MovementType checks to ObjectMgr
...
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO)
Closes #19831
(cherry picked from commit d56a28afee )
2020-06-14 23:49:05 +02:00
ariel-
1881088744
Core/AI: Factory functions cleanup
...
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
(cherry picked from commit ce3787f190 )
2020-06-14 23:49:05 +02:00
Shauren
b47c19d506
Core/DataStores: Allow custom hotfixes (VerifiedBuild <= 0, has loading priority) to coexist with sniffed data (VerifiedBuild > 0)
2020-06-06 23:40:53 +02:00
Shauren
db7126de46
Core/DataStores: Fixed loading hotfixes crash when compiled with strict database type checking
...
Closes #24716
2020-06-01 00:15:33 +02:00
Shauren
aedab76a11
Core/Misc: Add extra ByteBuffer and WorldPacket constructors allowing to set size immediately
2020-05-20 17:28:38 +02:00
Shauren
7272508cb4
Core: Fix clang 10 warnings
2020-04-26 01:25:50 +02:00
Shauren
af76dc6b88
Core/DataStores: Speedup loading hotfix database and change hotfix database character set to utf8mb4
2020-04-25 17:01:26 +02:00
Shauren
06cc0754b8
Core/PacketIO: Updated auction packets to newer build
2020-03-17 18:38:01 +01:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
61f2eed353
Core/Realms: Move build info (and auth seeds) to database
2019-12-07 13:02:10 +01:00
Shauren
65b91375e0
Core: Updated allowed build to 8.2.5.32722
2019-12-04 00:06:22 +01:00
Shauren
235ec18143
Core/DataStores: Work around buggy client db2 metadata
2019-11-28 00:23:09 +01:00
Shauren
387705a8fc
Core: Updated allowed build to 8.2.5.32638
2019-11-23 12:28:18 +01:00
Shauren
dd39f2c1a7
Core: Updated allowed build to 8.2.5.32580
2019-11-20 12:35:11 +01:00
Shauren
11ebe36e57
Core/ByteBuffer: Replace throw() with noexcept
2019-08-24 17:13:17 +02:00
Shauren
e8e89f58fb
Core/DBLayer: Prevent using prepared statements on wrong database
2019-07-27 01:00:37 +02:00
Shauren
6b29c4da76
Core/DataStores: Fixed crash when loading additional db2 locales
2019-06-12 20:24:33 +02:00
Shauren
bcaaa3d6f6
Core/DataStores: Updated db2 structures to 8.1.5
2019-06-08 17:10:00 +02:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
Shauren
31fda79556
Core/PacketIO: Updated packet structures to 8.1.5
2019-06-08 17:03:15 +02:00
Shauren
bcda8dd742
Core/Dep: Boost 1.70 compatibility
2019-04-14 00:13:23 +02:00
Shauren
81dd8574bb
Core/PacketIO: Removed old and unused ByteBuffer functions
2019-04-01 22:27:24 +02: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
1188a48c94
Core/DataStores: Implemented WDC2
2018-09-16 16:57:43 +02:00
Shauren
b76098651a
Core/ByteBuffer: Fixed output truncation in ByteBuffer::hexlike
2018-07-21 15:10:05 +02:00
Shauren
9829c119c0
Core/DataStores: Fixed loading db2 locale strings
2018-05-12 16:24:41 +02:00
Shauren
6d5e25ddd4
Tools: Moved db2 metadata structures to a location shared by all tools
2018-03-25 19:28:36 +03:00
Shauren
12beb3dd1b
Core/DataStores: Fixed writing hotfix packet for structures with uint64
...
Closes #21522
2018-03-07 18:08:15 +01:00
Shauren
75603fe1a0
Core/DataStores: Updated db2 structures to 7.3.5.25996
2018-02-18 16:33:50 +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