2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-07-23 05:31:42 +03:00
rehlds/CHANGELOG.md
2025-07-19 23:54:27 +03:00

19 KiB

ReHLDS Changelog

ReHLDS is a result of reverse engineering of original HLDS (build 6152/6153) using DWARF debug info embedded into linux version of HLDS, engine_i486.so.

Along with reverse engineering, a lot of defects and (potential) bugs were found and fixed.


3.14.0.857 - 2025-03-27

Added

  • Added cvarhook from latest HLDS build. Making mapcyclefile/sv_cheats work in realtime (resolve #868) by @s1lentq in 6f031901cf
  • Added forgotten CVar sys_timescale by @s1lentq
  • Add support cheats commands: god, notarget, noclip by @s1lentq (7fcec97af4);
  • engine: add sv_allow_autoaim cvar for HL25 DLL compatibility by @a1batross in #1000;
  • Added new CVar: r_cachestudio by @s1lentq in 0af97d98bb;
  • Implement commands rcon_adduser, rcon_deluser, rcon_users to allow use RCON only by known user IPs (Resolves https://github.com/rehlds/ReHLDS/pull/796) SV_Rcon: Minor refactoring by @s1lentq in 62407e0dd6;
  • Implemented optional CVar sv_tags for sets a string defining the "gametags" for this server to allows users/scripts to filter in the matchmaking/server-browser interfaces based on the value by @s1lentq in 76cbd2c140;
  • Add SV_SendResources hook by @ShadowsAdi in #1024;
  • Implement API interface game message manager by @s1lentq in c9f9bbfff9;
  • CalcSurfaceExtents: MAX_SURFACE_TEXTURE_SIZE limit increased from 256 to 512 by @s1lentq in b29740c19e;
  • Added new CVars for improved handling of decompression failures by @s1lentq in 64c684af4a;
  • Added codesign and resources by @stamepicmorg in https://github.com/rehlds/ReHLDS/pull/1069;

Fixed

  • Fixed reversing mistake, missing checking string for null by @s1lentq in 2ba27d409c;
  • Host_Motd_f: Fixed viewing motd when motdfile is not specified by @s1lentq in de3679f039;
  • FIX: Don't exec config file when exceed limit text buffer by @s1lentq in 32857e7785;
  • Prevent crash Cache_UnlinkLRU: NULL link on client-side if aiment with sprite model will be to render as a studio model by @s1lentq in 5002ff9abe;
  • RCON: Fixes redirect print and minor refactoring by @s1lentq in 41c5186b2c;
  • Host_Status_f: Fixed incorrect player index to output by @s1lentq in 9b0dbe8dd2;
  • MSG_WriteBitAngle: Cap the precision check from 32 to 22 to avoid overflow issues when representing angles with more than 22 bits because the multiply by 'shift' may result in overflow by @s1lentq in 63fde229c9;
  • Fix reversing mistake in TEX_InitFromWad (Don't add file handle before check) by @s1lentq in a7b60451f3
  • Fix crash when the entity with aiment doesn't have a model by @s1lentq in 498d7e0d18;
  • SV_WriteEntitiesToClient: Reset movetype if the aiment index is invalid by @s1lentq in 58391b6ee5;
  • SV_ParseResourceList: Do not uploading according to sv_allowupload CVar by @s1lentq in 59ed3f6867;
  • Do not send customizations list on duplicate or missing resource by @s1lentq in f26ad71aba;
  • Do not propagate custom logos according to sv_send_logos cvar by @s1lentq in ec47e4d978;
  • Draw_ValidateCustomLogo: Fixed incorrect offset to palette size by @s1lentq in 3c282b435c;
  • Netchan_CreateFileFragments: Fixed a hang connection on verifying resource stage, when precached file exists but is absolutely empty by @s1lentq in 61ee4f9269;
  • Implemented reduction of impact caused by zip-bomb exploit by @s1lentq in https://github.com/rehlds/ReHLDS/pull/994;
  • Improved behavior of sv_filterban 0. Fixes https://github.com/rehlds/ReHLDS/issues/1027 by @s1lentq in 693b51c883;
  • Fixed GCC compilation warnings/errors. Fixes https://github.com/rehlds/ReHLDS/issues/1032 by @s1lentq in 9c1e84328e;
  • [HLTV]: Fix reverse-engineering mistake in ObjectDictionary::RemoveIndex by @s1lentq in ed954a710f;
  • [HLTV]: Fix reverse-engineering mistake in World::WritePacketEntities by @s1lentq in c8308a2c60;
  • fix setting ucmd in sv_user.cpp related to https://github.com/rehlds/ReHLDS/issues/1041 by @overl4y in https://github.com/rehlds/ReHLDS/pull/1042;
  • SV_ProcessFile: Ignore customization file uploads if upload is disabled by @s1lentq in fe184a82e0;
  • CI Workflow Improvements and Fixes by @SergeyShorokhov in #1056;
  • Improved movevars sync logic for clients, allowing independent sync of movement props for each client, regardless of global movevars by @s1lentq in df862d9bb6;
  • FIX: potential crash in PrecacheModelSounds by @s1lentq in 18b173d5c6;
  • FIX: crash due fakeclient by @s1lentq in e54adb089c;
  • Netchan_CopyFileFragments: fix typo by @s1lentq in 1a68407710;

Changed

  • Improve pfnShouldCollide condition on SV_ClipToLinks by @dystopm in #985
  • Minor refactor (add BoundsIntersect function) by @Hamdi #986
  • Reworked AlertMessage by @s1lentq in 93f5775ac2
  • CI/CD update:
  • Draw_ValidateCustomLogo: Minor refactoring & cleanup by @s1lentq in 174414db81;
  • HPAK_ResourceForHash: Remove message with missing custom.hpk by @s1lentq in 516bb93627;
  • SV_CreateCustomizationList: spew logs in only dev mode by @s1lentq in 462fe55fb8;
  • CalcSurfaceExtents: more info in extents error message by @s1lentq in 6e6368da30;
  • Move SV_CheckMovingGround into SV_Physics by @dystopm in #1045;
  • IP and IPX allocation warnings move under -dev arg by @SergeyShorokhov in #1071;

New Contributors

Full Changelog: 3.13.0.788...3.14.0.857

3.13.0.788 - 2023-07-12

Added

  • Added SV_AllowPhysent hook by @justgo97 in (#951)
  • GetBonePosition: Added bone index bounds check
  • GetAttachment: Added attachment index bounds check
  • Added more checks for possible numleaf overflow

Fixed

  • SV_BuildSoundMsg: fix '\n' in args check

Changed

  • Revert "change destinition folder for linux build" by @wopox1337 in (#977)
  • Allowed the clients to connect on the server of different game: Client should be use setinfo _gd <game>
  • Increased limit leafs MAX_MAP_LEAFS up to 32767

New Contributors

  • @justgo97 made their first contribution in (#951)

Full Changelog: 3.12.0.780...3.13.0.788

3.12.0.780 - 2022-09-19

Fixed

  • Netchan_CreateFileFragments: Fixed a very old and rare bug with dlfile while downloading direct from server, when content of resource size is less than header size first fragment.

Changed

  • API: Implement *_Precache_*, ClientPrintf, CheckUserInfo and AddResource hooks by @ShadowsAdi in (#903)

New Contributors

  • @ShadowsAdi made their first contribution in (#903)

Full Changelog: 3.11.0.779...3.12.0.780

3.11.0.779 - 2022-08-24

Fixed

  • StripUnprintableWorker did not count the null terminator e9045e3
  • Very old and rare bug in function Netchan_CreateFileFragments with dlfile hang while downloading direct from server, when content of resource size is less than header size first fragment d76b06d

Full Changelog: 3.11.0.777...3.11.0.779

3.11.0.777 - 2022-06-20

Fixed

  • Fixed null or empty input string in COM_LoadFile (FS_Open with input empty string "" will succeed on some POSIX systems)

Full Changelog: 3.11.0.776...3.11.0.777

3.11.0.776 - 2022-04-20

Fixed

  • Fixed typo ZONE_DYNAMIC_SIZE

Full Changelog: 3.11.0.767...3.11.0.776

3.11.0.767 - 2021-10-25

Added

  • Implement SV_EmitPings() hook by @francoromaniello in (#858)
  • Implement Con_Printf() hook by @francoromaniello in (#861)

Changed

  • API: Add hooks ED_Alloc() & ED_Free(). by @StevenKal in (#867)
  • SV_HullForEntity: better log in Sys_Error by @wopox1337 in (#843)
  • Update on grammar/spelling by @mlgpero in (#865)

New Contributors

  • @StevenKal made their first contribution in (#867)
  • @francoromaniello made their first contribution in (#858)
  • @Urufusan made their first contribution in (#865)

Full Changelog: v3.10.0.761...3.11.0.767

3.10.0.760 - 2021-06-23

Changed

  • Changed the destination folder for Linux build (#842).
  • Temporary removed Windows build. ⚠️

Full Changelog: 3.10.0.759...3.10.0.760

3.10.0.761 - 2021-06-23

Changed

  • Reset m_bSentNewResponse to allow new connection when the client goes through the full stage of connection (cl:connect -> sv:S2C_CONNECTION -> cl:new -> SV_New_f)

Full Changelog: 3.10.0.760...v3.10.0.761

3.10.0.760 - 2021-06-23

Changed

  • Changed the destination folder for Linux build (#842).
  • Temporary removed Windows build. ⚠️

Full Changelog: 3.10.0.759...3.10.0.760

3.10.0.759 - 2021-06-22

Fixed

  • Fixed volume checking in emit sound (#341)
  • static_map.h: fix lowercase convert (#806)
  • SV_New_f: Deny new connection twice at a time if user messages are received;
    • SV_ReadClientMessage: Fixed empty names on bad read.

Changed

  • sv_user.cpp: Small code refactoring (#810)
  • ReHLDS API: Enhanced IGameClient/IRehldsServerData/IRehldsServerStatic interfaces
  • sv_main.cpp: SV_New_f() uses Q_snprintf() unsafe format. #807 ()

Full Changelog: 3.9.0.752...3.10.0.759

3.9.0.752 - 2021-06-14

Added

  • ReHLDS API: Add GetEntityInit hook (#832)
  • Implement CVar sv_usercmd_custom_random_seed (#837)

Fixed

  • HLTV: Fix crash in ProcessStringCmd (#838)

Changed

  • SV_ParseMove, SV_ParseConsistencyResponse: check length

Full Changelog: 3.8.0.739...3.9.0.752

3.8.0.739 - 2021-04-21

Added

  • Added libraries libm/librt built on GLIBC 2.11.1 (#827)

Fixed

  • QuaternionSlerp: Fixed wrong values (#763)

Changed

  • Updated Intel C++ Compiler version 17.0 up to 19.0

Full Changelog: 3.8.0.723...3.8.0.739

3.8.0.723 - 2021-03-23

Fixed

  • CalcSurfaceExtents: Fixed a fatal error on some maps due loss of floating point
  • HLTV: ExecuteString Fix parser (#821)

Changed

  • HLTV: Downgrade GLIBC version

Full Changelog: 3.8.0.715...3.8.0.723

3.8.0.715 - 2021-03-18

Fixed

  • Make sure the timer is high precision (#799)

Full Changelog: 3.8.0.711...3.8.0.715

3.8.0.711 - 2021-02-06

Added

  • HLTV: Added new chatdelay command (#777)
  • HLTV: prevent clients from setting userinfo * keys with setinfo command (#792)
  • Cbuf_Execute: Add checks commented out for multi-lines (#719)

Fixed

  • Fixed local-buffer overrun, may undefined behavior with hitboxes blending or crash (reverse-engineering mistake) 722e19d
  • Fixed dos attack on connection challenges system (#802)
  • Fixed crash COM_ListMaps (#791)

Full Changelog: 3.8.0.702...3.8.0.711

3.8.0.702 - 2020-11-09

Fixed

  • Fixed crash MSG_ReadFloat

Changed

  • ReHLDS API: Implemented SV_ShouldSendConsistencyList
  • ReHLDS API: Bump minor

Full Changelog: 3.7.0.698...3.8.0.702

3.7.0.698 - 2020-08-19

Added

  • Graceful shutdown on sigterm (#776)
    • Add players kick on SIGINT \ SIGTERM
    • Add SIGINT & SIGTERM handling linux console

Changed

  • Changed shutdown method

Full Changelog: 3.7.0.697...3.7.0.698

3.7.0.697 - 2020-08-10

Fixed

  • SV_ProcessFile: Wrap Con_Printf in Con_NetPrintf to avoid spam in HLDS console

Full Changelog: 3.7.0.696...3.7.0.697

3.7.0.696 - 2020-05-18

Added

  • Implement svc_exec support in the engine and HLTV (#737)
    • Added svc_exec to the list of svc commands in engine
    • Added svc_exec support to HLTV code
    • Made the engine code forward-compatible with future svc_* additions
    • Added reserved svc_* slots in the enumerations

Full Changelog: 3.7.0.695...3.7.0.696

3.7.0.695 - 2020-04-06

Fixed

  • Vulnerability fix WAD part 2
    • Client-side: Fixed a potential vulnerability from bogus tempdecal.wad

Full Changelog: 3.7.0.694...3.7.0.695

3.7.0.694 - 2020-03-20

Fixed

  • Vulnerability fix WAD part 1
    • Server-side: Fixed a potential vulnerability from bogus tempdecal.wad

Full Changelog: 3.7.0.694