Commit Graph
171 Commits
Author SHA1 Message Date
Shauren a4ecb2dfae Core/PacketIO: Fixed handling CMSG_UPDATE_ACCOUNT_DATA - compressed value is not a null-terminated string 2024-08-05 14:13:17 +02:00
Shauren d72e91bee2 Core/PacketIO: Use std::string_view to read strings from ByteBuffer 2024-08-03 13:40:17 +02:00
Ovahlord a3db80ce58 Core/PacketIO: increased allowed storage size of ByteBuffer from ~10mb to ~100mb and fixed a logic mistake that was allowing first-time append calls to bypass that size limit (#30037) 2024-06-15 18:12:18 +02:00
Shauren 468a06baf0 Core: Update to 10.2.7 2024-05-08 20:55:51 +02:00
Shauren b888b1b09f Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427
2023-11-21 12:25:22 +01:00
Shauren d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren 9f30afe352 Core/PacketIO: Updated packet structures to 9.2.0 2022-02-24 23:16:55 +01:00
Shauren cbcd149ce5 Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers 2022-02-11 14:33:35 +01:00
Treeston 9f97fdd31a Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327)
(cherry picked from commit 534a2388b7c662c8796aabb1ec8cb424879799b6)
2022-02-04 00:27:14 +01:00
Shauren 3ebfa8cc64 Core/PacketIO: Add a validating string helper class for use in packet classes
(cherry picked from commit f2f47f774f3d9c5da1a38b5f20cbfe59c2ff66af)
2021-12-23 23:55:58 +01:00
Shauren a82ae950dd Core/ByteBuffer: Fix string format
(cherry picked from commit 1227e96bd3ecfbb69b9890cd305f1856a27dd2ef)
2021-12-23 19:45:51 +01:00
Shauren 09967ad7fd Core/PacketIO: Validate utf8 in every client packet
(cherry picked from commit 0a2a96efaa20fe5440eb5a2f21ffaddcdcea86d3)
2021-12-23 15:15:08 +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 deabd4ab453ee8cf1f515bdb32bf9cf9de7f0591)
2021-10-22 23:15:27 +02:00
jackpoz 388034498f Core/Misc: Fix static analysis issues
(cherry picked from commit 9b7c73a19df66849ec829fc5a94875aa9593934d)
2021-02-06 21:41:51 +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
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 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)
2020-08-03 19:39:00 +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 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 11ebe36e57 Core/ByteBuffer: Replace throw() with noexcept 2019-08-24 17:13:17 +02:00
Shauren 455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +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 b76098651a Core/ByteBuffer: Fixed output truncation in ByteBuffer::hexlike 2018-07-21 15:10:05 +02:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren beb3316089 Core/Shared: Include cleanup 2017-05-13 11:49:09 +02:00
Shauren 3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
Shauren 2f859ffd2e Core/Misc: Fixed issues found by coverity
CID 1374575, 1374574, 1374573, 1374572, 1374563, 1374556
2017-04-26 18:01:50 +02:00
Shauren 6636ca8585 Core/DataStores: Updated sending out hotfixes 2017-04-19 19:10:49 +02: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 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 08c27d3205 Core/Misc: MSVC /W4 warning fixes 2016-04-06 18:40:41 +02: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 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 074b00af37 Core/PacketIO: Updated and enabled SupportTicketSubmitComplaint, SupportTicketSubmitSuggestion 2015-09-25 00:11:54 +02:00
Shauren 21df17fd47 Core/Misc: Removed ReadAsPacked/WriteAsPacked methods from ObjectGuid, they are not needed anymore as guids are always written packed 2015-07-25 10:38:45 +02:00
Shauren 4703169116 Core/PacketIO: Updated and enabled more battleground packets 2015-04-18 00:04:56 +02:00
Shauren e15ba34444 Core/Misc: Cleaned up data truncation warnings 2015-03-08 22:04:34 +01:00
Shauren aa3b05c312 Core/PacketIO: Removed timezone adjustments from ReadPackedTime - player's session timezone offset should be used there, not server offset 2015-02-24 01:14:23 +01:00
Shauren dd4973ab23 Core/PacketIO: Fixed SMSG_DB_REPLY structure 2015-02-02 19:50:27 +01:00
Vincent-Michael ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
joschiwald 6c6e4d4328 Core/Packets: moved chat packet building function to packet builder class 2014-12-23 00:06:36 +01:00
joschiwald d55c0cbf3a Core/Packets: updated AccountData packets 2014-11-16 06:08:46 +01:00
Shauren 2f36898409 Core/Misc: Optimized ByteBuffer::ReadString 2014-10-23 18:11:42 +02:00
Shauren 08c56eb110 Core/Entities: First step to 128 bit guids
* Database fields storing full guid have been converted to BINARY(16)
2014-10-23 17:01:26 +02:00