April 2017 Update

Bug fixes and faster shadows.

17 April 2017

Hey everyone, the update is going live right now. The most notable changes here are probably bug fixes and performance improvements related to shadows.

The update will be automatically downloaded through Steam when you restart your game.

Players will still be able to join servers that have not updated, but I strongly suggest server owners install the update anyway.

Third-Party binary modules (or cheats) that use the internal ILuaInterface interface may no longer function after this update. Any binary modules using the official ILuaBase interface should not be affected.

04.17 April 17 2017
  • Engine Changes
  • new

    Added missing TF2 icons

  • new

    Added cl_downloadfilter noworkshop - disables only all of the workshop downloads

  • fixed

    Fixed a problem with the addon system when using "Subscribing to All" on a collection with items that you are already subscribed to

  • fixed

    Fixed a potential crash/memory leak when loading compressed TF2 maps

  • fixed

    Fixed certain CS:GO textures failing to load

  • fixed

    File download process no longer get stuck if a single download fails in CNetChan::HandleUpload

  • fixed

    Fixed GMad.exe stopping writing the .gma once it encounters an empty file

  • fixed

    Fixed hlfaceposer.exe and hlmv.exe (Model Viewer) not working out of the box

  • fixed

    Fixed a problem where soundscripts would be precached as sound files causing lag

  • fixed

    Fixed floating addons not being mounted on dedicated servers in the root folder

  • fixed

    Fixed multiple various crash issues

  • updated

    Set r_radiosity default value back to 4

  • updated

    Increased lightcache size from 200 to 8287

  • updated

    Updated localization files

  • updated

    Updated Steamworks SDK to v1.38a

  • updated

    Switched SRCDS Steam Workshop to ISteamUGC API

  • updated

    Moved SRCDS workshop files to cache/srcds/id.gma, from addons/ds_id.gma

  • updated

    BASS error messages now print the actual error names instead of error IDs

  • updated

    Only display warnings about unused .gmas when there are such .gmas

  • updated

    Default screen resolution is now your desktop resolution

  • updated

    GMod will no longer try to send Lua errors to errors.garrysmod.com

  • updated

    Improved crazy physics detection to avoid more crashes

  • updated

    Updated LuaJIT to 2.0.4

  • updated

    Multiple optimizations and multicore rendering fixes

  • Lua API Changes
  • new

    player.GetCount()

  • new

    ents.GetCount()

  • new

    Added a second parameter for Player.Give - boolean, set to true to not give any ammo ( at all ) when the weapon is given

  • new

    Scrollbar - Allowed to have no up/down buttons

  • new

    Override spawnlist NPC health option

  • new

    Added FireBulletsInfo.IgnoreEntity

  • new

    3000-range anim events from SWEPs are now passed to SWEP:FireAnimationEvent

  • new

    game.GetGlobalState

  • new

    game.GetGlobalCounter

  • new

    game.SetGlobalState

  • new

    game.SetGlobalCounter

  • new

    Weapon.SetLastShootTime

  • new

    render.OverrideBlendFunc

  • new

    BLEND_*

  • new

    GLOBAL_*

  • new

    Added EF_FOLLOWBONE enumeration to Lua

  • new

    Added a 4th argument to util.Decal - ignore entity

  • new

    Added 2 more types to GM:ChatText - servermsg and teamchange

  • new

    Added DFrame.GetTitle()

  • new

    Add headers argument to http library functions

  • fixed

    Fixed a little issue with DCheckbox convar support

  • fixed

    DNumSlider.IsHovered now works properly

  • fixed

    Fixed widget_base producing Lua errors

  • fixed

    Fixed changing Lua variables of SWEPs in hooks such as GM:WeaponEquip not being applied to engine functions instantly

  • fixed

    Fixed first HUD_PRINTCENTER message being wrong color

  • fixed

    Fixed a crash issue with Panel.GetChild

  • fixed

    Fixed Entity.GetPoseParameterName crashing the game with invalid values

  • fixed

    Fixed an issue with string.GetFileFromFilename

  • fixed

    Fixed Weapon.LastShootTime being always 0 serverside

  • fixed

    Player.SetMuted()'s first argument now actually works

  • fixed

    DComboBox.Clear now resets the selected item

  • updated

    Made SWEP.PrintName shared

  • updated

    game.AddAmmoType now overrides duplicate names

  • updated

    math.IntToBin micro optimisation

  • updated

    Prevented Player:CanUseFlashlight() from returning nil

  • updated

    Improved Entity:GetKeyValues to show actual values of keys and to show ALL keys

  • updated

    Angle() can now also accept only 1 argument, to match the Vector()

  • updated

    Optimized draw.RoundedBox(Ex) a bit

  • updated

    Optimized DNumberScratch

  • updated

    Minor optimisation of GM:MouthMoveAnimation default action

  • updated

    timer.Exists will now return false for timers with deleteme flag

  • updated

    Player.SetEyeAngles will now only work on local players when used clientside

  • updated

    Entity.GetKeyValues will convert boolean values to integers instead, for compatibility with SetKeyValue

  • updated

    Entity.IsRagdoll no longer throws Lua errors when used on invalid/NULL entities, returns false instead

  • updated

    Entity.IsRagdoll nows return false where it used to return no value

  • updated

    Moved Material() extension to shared

  • updated

    If Steam says the a game is not installed - it is not installed. ( Mountable games list )

  • updated

    Entity.PrintMessage clientside will appear as type "none" in GM:ChatText

  • updated

    Increased maximum panel size, position and clipping data sizes to fix a problem with spawnmenu addon list breaking when trying to show too many addons

  • updated

    <gamemode>.txt convars now have LUA_SERVER flag and can be hooked onto with cvars.AddCallback

  • updated

    Panel.OpenURL now also works with "about:blank"

  • updated

    Clamped possible values of render.SetLightingMode to 0-2 to avoid crashes

  • updated

    render.Capture now has an "alpha" option ( default true ) that allows to disable alpha on the captured image

  • updated

    Player.ScreenFade is now shared

  • updated

    GM:RenderScreenspaceEffects will no longer be called with ViewData.dopostprocess set to false

Mailing List

If you want to follow this project you can sign up to the mailing list.

We'll only update you about this project, we won't spam you about other stuff or sell your email address.