Garry's Mod

Facepunch Studios · Simulation

Garry's Mod patch notes · Feb 2, 2022

Experiment

February 2022 Patch

What's new in February 2022 Patch: 24 changes to Garry's Mod, released Feb 2, 2022.

Balance · 3

  • Reduced the Faceposer tool's convar count to 96 from 128 to match the engine's actual limit.

    faceposer convar count
  • Prisoner pod and chair vehicles now react to damage physically, and the driver takes explosion damage, calling the GM:EntityTakeDamage hook.

    prisoner pod and chair physical damage response
  • Disabling hoverballs now adjusts their mass so they are not abnormally heavy, with improved duplicator support for the disabled state.

    hoverball mass when disabled

System · 4

  • Added string = util.FilterText(input, context, player) function.

    steam chat filter api
  • Disabling persistence no longer cleans up the map.

    map cleanup when disabling persistence
  • Added TEXT_FILTER_ enums.

    text filter enum
  • Downgraded the Steamworks SDK to 1.50 because the newer version was causing issues.

    steamworks sdk version

UI · 4

  • Added Steam's Chat Filtering feature to the default in-game chat, toggleable via a checkbox in the chat's Filters section and obeying Steam chat filter preferences.

    default chat box profanity filter
  • Added OS specific errors to binary module loading error messages.

    binary module loading error message
  • The Stop Persisting property is now also hidden when persistence is disabled.

    stop persisting property visibility
  • Made it clearer that changing sbox_persist while in-game will clean up the map.

    sbox_persist warning text

Fix · 13

  • surface.DrawLine now uses floats instead of integers.

    surface.drawline integer precision
  • Fixed changing persistence in-game saving to the wrong file if the cvar changed too quickly within the 2 second timer.

    persistence save file targeting
  • Fixed a stack overflow with DListView when columns are inserted at specific positions.

    stack overflow with column insertion
  • Fixed GMODLUA_GetUserType leaking onto the Lua stack, affecting only binary modules and the type() function with custom userdata types.

    gmodlua_getusertype stack leak
  • Fixed GM:PlayerAmmoChanged reporting an incorrect new ammo count when called from Player:GiveAmmo.

    ammo count reporting
  • Fixed DTextEntry's automatic line breaks causing an infinite loop hang with specially formatted text containing much whitespace.

    infinite loop hang with whitespace text
  • Fixed 'join game' not showing up in Steam for P2P games after a changelevel.

    join game not showing in steam after changelevel
  • Fixed a server crash involving the no collide constraint.

    server crash with no collide constraint
  • Potential fix for a crash relating to env_microphone's measure target entity.

    crash relating to measure target entity
  • Fixed 2 server lag exploits with default properties.

    server lag exploits with default property
  • Spawnmenu search now resets its model cache when addons or games are remounted.

    spawnmenu search model cache
  • Added safeguards to DownloadUGC for when Steam sends a null SteamUGCQueryCompleted_t.

    downloadugc null callback crash
  • Potential fix for a crash within CFontTextureRegen.

    potential crash within font texture regeneration