Garry's Mod Logo
schedule 19 January 2016
Devblog

January 2016 Update

An update has been released! This update fixes a few exploits, regressions introduced by previous update and some specific performance issues. And thanks to everyone who helped testing the update and reported bugs/problems. As usual, servers will need to be restarted. The update will be automatically downloaded when you restart your game. You can check out the full change log below:
add_circle

Features

  • Added 'wep' field to all was_pushed tables.
handyman

Fixed

  • Fix typo preventing ttt_weaponswitcher_displayfast from being saved.
add_circle

Features

  • Added mat_viewportupscale to blocked convar list
  • Added PANEL:SetDrawLanguageID(bool), can be used to hide the language selection box in text entries when typing non-US/UK/whatever
  • Added loading bar text when waiting for Steam auth
  • Added command line option to cause BAssert to dump (Windows only)
  • Added bounds checking to render.GetScreenEffectTexture
  • Added Awesomium panel hooks: OnDocumentReady, OnChildViewCreated, OnChangeTitle, OnChangeTargetURL
  • Added Awesomium panel methods: Refresh, Stop, GoBack, GoForward, GoToHistoryOffset
  • Added Awesomium panel hooks: OnBeginLoadingFrame, OnFinishLoadingFrame
  • Added interface for concurrent async server content downloads. Currenty used for Workshop content.
  • Added extra debug output for BASS.DLL Initialization
  • Added test BASS.DLL config to hopefully help with weird "mp3s dont load with error 41" cases
arrow_circle_up

Improvements

  • Vehicle.IsValid is renamed to Vehicle.IsValidVehicle
  • All Vehicle methods will error "tried to use NULL vehicle" when used on invalid vehicle
  • Reduced worhless & confusing srcds console output for workshop
  • Switched some spammy serverside console output to DevWarnings
  • Replicated Lua ConVars now properly network to clients when they join the server (FCVAR_REPLICATED flag)
  • The console will no longer hide behind the main menu if you open it too early
  • Improved performance of file.Exists and file.IsDir
  • JavaScript errors in the console now show the file path and line number of the bad code
  • gui.SetMousePos and input.SetCursorPos no longer works while the game is not focused
  • system.HasFocus now also works on Linux and OSX on client
  • File library can now write png/jpg files
  • util.TableToJSON handles arrays properly
  • Proper alpha blending for Awesomium panels
  • Entity:GetNW2VarTable now returns the type associated with each value as well
  • Scripted NPCs and Nextbots now support the following clientside hooks: Initialize, Think, Draw and DrawTranslucent
  • Increased model precache limit to its TF2 4000 limit
  • WorkshopDL GetPublishedFileDetails no longer hangs main thread
  • Tweaks to server-content workshop downloading
  • Improved Addons main menu.. menu - Per tag browsing for friends items, hide dupes/saves from all listings
  • Updated language files
  • Addon extration is now properly displayed on the workshop downloader
handyman

Fixed

  • Fixed the "steam id 0 fake players inflate server player count" exploit
  • Fixed clientside SteamID spoofing
  • Fixed not being able to join a LAN server
  • Fixed npc_manhack not triggering npc_maker/npc_template_maker's OnAllSpawnedDead output
  • Fixed a server crash caused by combine_mine changes in last update
  • Fixed a crash issue with "quit" commands on srcds when having workshop addons installed
  • Fixed a crash when entities with invalid physobjs were in the way of a rotating door
  • Fixed ai.GetScheduleID and ai.GetTaskID
  • Fixed a possible crash issue caused by global NW2Vars
  • Fixed buildcubemaps not working properly
  • Fixed Awesomium view leak
  • Fixed leaked thread in main-menu GMA downloader
  • Fixed addon extraction assert/leaked thread handles
  • Fixed incorrect line numbers being reported for errors when using C-styled multiline comments
  • Fixed Entity.IsRagdoll not working properly on client
remove_circle

Removed

  • Removed angle/vector pool debug message
add_circle

Features

  • Added PANEL.PreDrawModel( ent ) and PANEL.PostDrawModel( ent ) for DModelPanel
arrow_circle_up

Improvements

  • Cleaned up manifest file and added DoD voices
  • Disabled IK for DModelPanel
  • Replaced loads of ifs with ternary
  • Updated SWEP:ShootEffects comment
handyman

Fixed

  • Fixed an issue with notification.AddProgress()
  • Fixed excessive balloon force crash
remove_circle

Removed

  • Removеd unused function and unwanted spaces
  • Removed unnecessary local