From 9b756b97f83bac2984655bb911c6c9942ae2a9e0 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 6 Oct 2022 23:58:46 +0200 Subject: [PATCH] Release v2022.10.05 Signed-off-by: Haru --- AUTHORS | 1 + CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ doc/constants.md | 2 +- src/config/core.h | 2 +- 4 files changed, 38 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 8ea04c01030..e863c7fa9a5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -197,6 +197,7 @@ ultramage Unknown Victor Vincent Thibault +Wolfie@HP-Laptop Wolf xantara Xantara diff --git a/CHANGELOG.md b/CHANGELOG.md index f380ad02ca9..3c5b67e0ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,40 @@ If you are reading this in a text editor, simply ignore this section ### Removed --> +## [v2022.10.05] `October 05 2022` + +### Added + +- Added support for `UDT_OPTIONS` to `getunitdata()` and `setunitdata()`, allowing to interact with mobs that are using job sprites. (#3146) +- Implemented the `AllowPlagiarism` `SkillInfo` flag in the skill DB and the `INF2_ALLOW_PLAGIARIZE` source code counterpart, allowing separate per-skill settings for Plagiarize and Reproduce. (#2948) +- Added support for newer packetvers/encryption keys/client messages (up to 20220831). (#3152) +- Added support for preview in the old cash shop packet. This is disabled by default and can be enabled by defining `ENABLE_OLD_CASHSHOP_PREVIEW_PATCH` or through the configure flag `--enable-old-cashshop-preview-patch`. A client patch is necessary, available at http://nemo.herc.ws/patches/ExtendOldCashShopPreview (part of #3152) +- Implemented the Item Reform user interface on supported clients (2020 and newer). The feature can be configured through the `item_reform_info.conf` and `item_reform_list.conf` db files. (#3150) + +### Changed + +- Replaced use of `safesnprintf()` with the C99 standard `snprintf()`. (part of #3148) +- Improved detection of the usability of `-Wformat-truncation`, disabling it on older gcc versions where it doesn't produce useful warnings. (part of #3148) +- Refactored and fixed some Plagiarize/Reproduce related code. (part of #2948, issue #989) +- Updated the list of third job skills that can be plagiarized. (part of #2948) + +### Fixed + +- Fixed the gcc version specific GitHub CI builds that were running Ubuntu 21.10, which is EOL. LTS versions are now preferentially used, where possible. (#3147) +- Fixed HWSAPI run failures caused by a missing XML::Parser perl module (872aebe2d3) +- Fixed the `UDT_CLASS` option of `setunitdata()` to set the view data's class if a mob uses a job class ID. (part of #3146) +- Fixed some improper use of `safesnprintf()`/`snprintf()`, potentially causing truncation at the wrong position or buffer overruns. (part of #3148) +- Fixed text in old clients in packet `ZC_NOTIFY_CHAT_PARTY`. (#3149) +- Code style fixes. (part of #3149) +- Fixed an interaction issue between copied (Plagiarize/Reproduce) skills and ones already present in the character's skill list. (part of #2948, issue 2940) + +### Deprecated + +### Removed + +- Removed the `safesnprintf()` function, superseded by the C99 standard function `snprintf()`. Note: in case of truncation, `snprintf()` returns the amount of characters that would have been written if the buffer wasn't limited, while `safesnprintf()` returns a negative value. Care should be used when replacing the function in third party code. (#3148) +- Removed the `copyskill_restrict` battle config setting, superseded by the configurable per-skill restrictions. (part of #2948) + ## [v2022.06.01] `June 01 2022` ### Added @@ -2463,6 +2497,7 @@ If you are reading this in a text editor, simply ignore this section - New versioning scheme and project changelogs/release notes (#1853) [Unreleased]: https://github.com/HerculesWS/Hercules/compare/stable...master +[v2022.10.05]: https://github.com/HerculesWS/Hercules/compare/v2022.06.01...v2022.10.05 [v2022.06.01]: https://github.com/HerculesWS/Hercules/compare/v2022.04.07...v2022.06.01 [v2022.04.07]: https://github.com/HerculesWS/Hercules/compare/v2022.03.02...v2022.04.07 [v2022.03.02]: https://github.com/HerculesWS/Hercules/compare/v2022.01.05+2...v2022.03.02 diff --git a/doc/constants.md b/doc/constants.md index daf298f8a1f..e859ab7253c 100644 --- a/doc/constants.md +++ b/doc/constants.md @@ -4801,7 +4801,7 @@ ### Server defines - `PACKETVER`: 20190530 -- `HERCULES_VERSION`: 202206010 +- `HERCULES_VERSION`: 202210050 - `MAX_LEVEL`: 175 - `MAX_STORAGE`: 600 - `MAX_GUILD_STORAGE`: 500 diff --git a/src/config/core.h b/src/config/core.h index d85717d4ce7..217b3b279b4 100644 --- a/src/config/core.h +++ b/src/config/core.h @@ -22,7 +22,7 @@ #define CONFIG_CORE_H // from tag vXXXXXXXX.Y -> XXXXXXXXY -#define HERCULES_VERSION 202206010 +#define HERCULES_VERSION 202210050 /// Max number of items on @autolootid list #define AUTOLOOTITEM_SIZE 10