February 2018 Update

Fixes Fixes Fixes Fixes Fixes

26 February 2018

This update brings a lot of fixes to newly found exploits and long standing crashes alongside general improvements to the game.

Unlike many previous updates, this one will require servers to update before you can join them. We try to keep such updates to a minimum, but it was necessary for this update.

This means that for a certain time after the update you may get a message such as "The server is running an older version of the game" when connecting to your favourite servers. You will have to wait for servers to update before you can join them again.

Highlights of this update are now fixed support for Zombie Panic!: Source mounting support, improvements for the Sandbox, such as NPCs being less buggy when using built-in weapons.

There are also a few additions to the Lua API which should allow modders to make fully custom pathfinding for anything and manipulate physics and visual meshes of custom entities in new ways.

render.Capture changes

Before this update render.Capture could be used by addons to view third-party overlays, such as Steam or Discord. This is no longer the case, as render.Capture will now only return pixels that have been rendered in the current frame.

This will not affect addons that are drawing something to the screen and then using render.Capture to get what has been drawn as image data, but may affect addons that are attempting to take screenshots of the game. If you are writing an addon that is trying to take screenshots, you should be calling render.Capture in the PostRender hook.

2018.02.26 February 26 2018
  • Game Changes
  • updated

    Added translations for env_fire and npc_fisherman when shown in the kill feed

  • updated

    Updated TTT to the latest version

  • updated

    Increased offset for rollermine to prevent it from spawning below ground

  • updated

    Changed maximum value for Frame Blend's Shutter slider so it doesn't just black screen

  • updated

    Changed the link on the version button in main menu to link to the new website

  • updated

    Updated all built in weapons to work better with NPCs

  • fixed

    Properly turn off thirdperson on level shutdown

  • fixed

    Fixed certain tools erroring when their console variables are set to "nan"

  • fixed

    Applied a potential fix to stop tooltips from being displayed when they are not meant to be displayed

  • fixed

    Improved flashlight effect on custom entities

  • fixed

    Fixed Stunstuck sprites rendering in weird positions

  • fixed

    Clientside ragdolls of dead NPCs will now properly inherit material override

  • fixed

    Serverside ragdolls of dead NPCs will now properly inherit color and material override

  • Lua API Changes
  • new

    Added NPC.GetCurrentSchedule

  • new

    Added File.ReadUShort

  • new

    Added File.ReadULong

  • new

    Added File.WriteUShort

  • new

    Added File.WriteULong

  • new

    Added CreatePhysCollideBox

  • new

    Added PhysCollide:TraceBox

  • new

    Added PhysCollide:Destroy

  • new

    Added PhysCollide:IsValid

  • new

    Added mesh.UserData

  • new

    Added ENT:GetRenderMesh

  • new

    Added GM.PlayerDroppedWeapon( ply, wep )

  • new

    Added CNavArea.SetCostSoFar( num )

  • new

    Added type error to render.Capture

  • new

    NextBot functions now properly error if used on invalid entity

  • new

    IMesh:BuildFromTriangles can do userdata too

  • fixed

    Fixed errors when calling Setup() without second argument on DProperty_Float and DProperty_Int

  • fixed

    Fixed deriving from DDragBase requiring to define OnModified

  • fixed

    Fixed Panel.InvalidateChildren being always recursive

  • fixed

    Fixed Panel.NewAnimation ease values 0-1 being weird

  • fixed

    Fixed calling SetAllowWeaponsInVehicle( false ) in PlayerLeaveVehicle hook breaking weapon selection

  • fixed

    Fixed DBinder not working when its convar is set to NaN

  • fixed

    Fixed DBinder overriding SetSelected( bool )

  • fixed

    Fixed util.GetModelInfo crashing with empty string

  • fixed

    Fixed a crash issue with Weapon functions

  • fixed

    Fixed NeedsDepthPass not working for addons

  • fixed

    Fixed string.Comma with very large numbers

  • fixed

    NextBot.GetRangeSquaredTo now actually works the way it's intended to, by returning squared range

  • fixed

    Updated most render library functions to not lock up when a Lua type error occurs during function execution

  • fixed

    Prevent potential stack overflows in scripted_ents.Get

  • fixed

    Fixed the utf8 library failing with certain UTF8 strings

  • updated

    Switched base_anim to CBaseAnimatingOverlay, allowing more functions to be used on "anim" entities

  • updated

    DProperty_VectorColor now works with standard colors as well ( vector color support unchanged )

  • updated

    Added better type checking and error output to NextBot.GetRange(Squared)To()

  • updated

    render.Capture can no longer capture Steam Overlay

  • updated

    cam.Start() will now error when given no arguments

  • removed

    Removed NPC.RemoveMemory

  • Engine Changes
  • updated

    Updated BASS.DLL to 2.4.13.8-mp3free

  • updated

    Potentially improved vrad.exe performance

  • updated

    Better "Error loading gamemode:" errors that actually describe what's wrong

  • fixed

    Fixed support for Zombie Panic! Source mounting

  • fixed

    Fixed hammer_update_entity console command crashing the game

  • fixed

    Fixed a bunch of different exploits

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.