[ChangeLog]: Prep for release (#886)

This commit is contained in:
Edo 2023-03-31 13:36:03 +02:00 committed by GitHub
parent 4aa8e8c7dd
commit 21cebf3439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 deletions

View File

@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog v0.3.0](http://keepachangelog.com/en/0.3.0/) and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.7.9] - 2023-03-31
### Added
- Game scripts can be loaded from the `scripts/mp`, `scripts/mp/<map name>` and `scripts/mp/<game type>` folders (#859)
- Add `ReadStream` GSC function (#862)
- Add `IString` GSC function (#877)
### Changed
- Test Clients will no longer receive names from the Xlabs Patreon website. The old behaviour was restored (#852)
- Enabled `OpenFile` GSC function (#862)
- Enabled `CloseFile` GSC function (#862)
- Chat system uses "reliable message" to mitigate message duplication (#873)
- The built-in GSC compiler no longer throws fatal errors when overriding a built-in function or method (IW3 behaviour) (#880)
- `CastFloat` GSC function was renamed to `Float` (#880)
### Fixed
- Fix bug where knife lounges would not work with a gamepad (#848)
- Fix rare RCon crash (#861)
- Fix bug where `sv_RandomBotNames` stopped working (#876)
- Fix crash caused by "Mongoose" (dependency) (#874)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## [0.7.8] - 2023-03-17
### Added

View File

@ -68,7 +68,7 @@ namespace Components::GSC
return;
}
Logger::PrintError(Game::CON_CHANNEL_PARSERSCRIPT, "ReadStream failed.\n");
Logger::Warning(Game::CON_CHANNEL_PARSERSCRIPT, "ReadStream failed.\n");
if (std::feof(openScriptIOFileHandle))
{
@ -219,5 +219,14 @@ namespace Components::GSC
Utils::Hook::Set<Game::BuiltinFunction>(0x79A864, GScr_CloseFile);
Utils::Hook::Set<int>(0x79A868, 0);
Events::OnVMShutdown([]
{
if (openScriptIOFileHandle)
{
std::fclose(openScriptIOFileHandle);
openScriptIOFileHandle = nullptr;
}
});
}
}

View File

@ -13,6 +13,11 @@ namespace Components
return true;
}
if (c == '~')
{
return true;
}
if (c < 32 || c > 126)
{
return true;