Garry's Mod

Facepunch Studios · Simulation

Garry's Mod patch notes · Aug 8, 2023

Experiment

August 2023 Patch

What's new in August 2023 Patch: 50 changes to Garry's Mod, released Aug 8, 2023.

Content · 5

  • A new Color Lit Per Particle particle initializer was added.

    color lit per particle particle initializer
  • Missing TF2 map icons from its new updates were added.

    missing tf2 map icon
  • A Versus Saxton Hale map category from a recent TF2 update was added (community contribution).

    versus saxton hale map category
  • More NPCs were categorized as hostile and friendly towards players in IsFriendEntityName (community contribution).

    hostile and friendly npc categorization
  • The Color Random initializer was updated to include new options.

    color random particle initializer option

System · 26

  • math.CubicBezier was added (community contribution).

    math.cubicbezier function
  • A new util.IsPointInCone function was added.

    util.ispointincone function
  • render.RenderView now accepts a viewid option instead of forcing a specific ID, fixing breakage in some addons.

    render.renderview viewid option
  • A new util.IsSphereIntersectingCone function was added.

    util.issphereintersectingcone function
  • math.CHSpline was added (community contribution).

    math.chspline function
  • The OnRequestFullUpdate warning was moved to developer 1 so it is less spammy.

    onrequestfullupdate warning verbosity
  • duplicator.Disallow was added (community contribution).

    duplicator.disallow function
  • CNavArea:SetParent can now accept nil as its first argument.

    cnavarea:setparent nil argument
  • The SANDBOX:ContextMenuShowTool hook was added (community contribution).

    sandbox:contextmenushowtool hook
  • table.Pack was added (community contribution).

    table.pack function
  • A new util.IsBoxIntersectingSphere function was added.

    util.isboxintersectingsphere function
  • The output limit of language.GetPhrase was increased from 1000 to 4000 bytes, and overflow is now truncated instead of returning an empty string.

    language.getphrase output length limit
  • language.Add now raises a type error on invalid input instead of silently failing.

    language.add error handling on invalid input
  • The dtwarning convar functionality was restored and now defaults to 1 to preserve old behavior.

    dtwarning convar behavior
  • A new util.IntersectRayWithSphere function was added.

    util.intersectraywithsphere function
  • Player:IsListenServerHost is now shared.

    player:islistenserverhost shared realm
  • table.Flip was added (community contribution).

    table.flip function
  • Entity:InitializeAsClientEntity now does nothing and errors without halting when used.

    entity:initializeascliententity behavior
  • The last argument of util.IsOBBIntersectingOBB is now optional.

    util.isobbintersectingobb last argument optional
  • Limits when reading SteamHTTP response headers were removed.

    steamhttp response header read limit
  • The duplicator now saves and restores sub materials by default.

    duplicator sub material saving and restoring
  • Access control for lua_find* concommands was made stricter.

    lua_find console command access control
  • A new util.IsSphereIntersectingSphere function was added.

    util.issphereintersectingsphere function
  • Panel.PaintManual can now render panels larger than the screen when its first argument is set to true.

    panel.paintmanual rendering of oversized panel
  • math.QuadraticBezier was added (community contribution).

    math.quadraticbezier function
  • Global.ScreenScaleH was added (community contribution).

    global.screenscaleh function

UI · 5

  • The TTT notification sound is disabled by default and a setting for it was added (community contribution).

    ttt notification sound default and setting
  • A Clear button was added to the console.

    console clear button
  • The nav_generate progress dialog UI was restored.

    nav_generate progress dialog
  • The DPanPanel was added (community contribution).

    dpanpanel control
  • The DHScrollBar was added (community contribution).

    dhscrollbar control

Fix · 13

  • trigger_hurt forgiveness not resetting damage correctly was fixed.

    trigger_hurt forgiveness damage reset
  • Physics forces applied by phys_torque are clamped to prevent crashes and erratic physics.

    physics force crashes from phys_torque
  • The days parameter of steamworks.GetList is functional again.

    steamworks.getlist days parameter
  • Entity.IsMarkedForDeletion now checks the Entity.Remove queue, making its output more correct.

    entity.ismarkedfordeletion accuracy
  • SteamID function behavior for bots was matched between clientside and serverside.

    bot steamid function behavior mismatch
  • Panel.PaintAt now restores the zpos of the panel.

    panel.paintat zpos restoration
  • An attempt was made to prevent static prop lightmap crashes when given invalid data.

    static prop lightmap crash
  • render.RenderView now experimentally renders using VIEW_MONITOR instead of VIEW_MAIN as a potential sprite rendering fix.

    sprite rendering in render.renderview
  • Player:SteamID64 and Player:AccountID never return no value anymore.

    player steamid64 and accountid returning no value
  • A crash due to a BSP ZIP hash collision was fixed.

    crash from bsp zip hash collision
  • Missing dependencies for the Linux client were added for distributions lacking them.

    missing linux client dependency
  • Crashes caused by combining these two functions were fixed.

    crash from entity:enablecustomcollisions combined with entity:physicsinitsphere
  • player.CreateNextBot now errors without halting instead of crashing when run too early.

    player.createnextbot crash when called too early

General · 1

  • Various code cleanups were made (community contribution).

    general