Balance · 1
Tweaked default values for some tools and limits in context panels.
tool default values and limit
Content · 4
Removed the loop flag from sound.PlayURL.
removed loop flag from sound.playurlFancified Bouncy Ball.
bouncy ball visualHidden some useless HL2 maps.
hl2 maps visibilityAdded right click option for lamp tool to copy settings of another lamp.
lamp tool copy settings option
System · 57
Added CSoundPatch:SetDSP(dsp) and GetDSP().
csoundpatch dsp functionTrace tables accept an output parameter for writing results.
trace output parameterAdded __tostring to these metatables.
tostring metamethodAdded gui.InternalKeyTyped(code).
gui.internalkeytyped functionPlayer:HasWeapon and Player:GetWeapon are now shared.
hasweapon and getweapon shared realmSecond argument (delay) of Entity:PlayScene is now optional.
entity:playscene delay argumentAdded ENT:Blocked(other).
ent:blocked hookSWEP holdtypes are now properly networked.
swep holdtype networkingEntity(0) now returns the world on both server and client.
entity(0) world returnPitch clamped between -90 and 90 instead of -180 and 180.
anglerand pitch clampAdded IGModAudioChannel:PlayFile(path, flags, callback).
audio channel playfile functionAdded Entity:PhysicsDestroy().
entity:physicsdestroy functionMoved PlayScene to the Entity metatable.
playscene function relocationSecond argument of Weapon:CallOnClient is now optional.
weapon:callonclient argumentAdded Entity:SetLagCompensated(bool) and IsLagCompensated().
lag compensation flag for entitygame.GetWorld is now shared.
game.getworld shared realmPost Process effects are no longer saved across restarts.
post process effect persistencegui.OpenURL now clamps URLs to 511 characters max.
gui.openurl url length limitAdded Angle:SnapTo(component, degrees).
angle:snapto functionDeprecated settings/controls/*.txt files.
settings/controls/*.txt supportAdded StartTouch, Touch, EndTouch hooks to scripted effects.
scripted effect touch hookAdded team.SetColor(index, color).
team.setcolor functionAdded Entity:SetLOD(lod=-1).
entity:setlod functionAccept a third parameter that prevents keys from becoming lowercased when true.
keyvaluestotable lowercase preservationRemoved support for vm_origin and vm_angles from GM:CalcView.
vm_origin and vm_angles support in calcviewAdded safeguards to mesh library functions.
mesh library safeguardOptimized vgui.LoadControlsFromString.
vgui.loadcontrolsfromstring performancedraw.SimpleTextOutlined now returns the same thing as draw.SimpleText.
draw.simpletextoutlined return valueAdded Player:SetAllowWeaponsInVehicle(bool) and GetAllowWeaponsInVehicle().
weapons in vehicles settingAdded IGModAudioChannel:EnableLooping(bool).
audio channel loopingChanged Entity:PhysicsInitBox to be consistent with PhysicsInitConvex, no longer creating broken physics objects in some cases.
physicsinitbox consistencyVector and angle access using numerical index is now slightly faster.
vector and angle numerical index access speedAdded Weapon:GetHoldType().
weapon:getholdtype functionAdded optional second argument controlling expiry time.
setphysicsattacker expiry argumentAdded util.SharedRandom(uniqueName, min, max, additionalSeed=0).
util.sharedrandom functionUpdated LuaJIT to version 2.0.3.
luajit versionAdded IsColor, net.WriteColor, net.ReadColor.
color network and type functionAdded PhysObj:GetName().
physobj getname functionAdded the TTTPlayerUsedHealthstation hook.
tttplayerusedhealthstation hookEntities can now have up to 64 DT vars of each type (except strings).
dt var limitAdded navmesh.GetNavAreaCount, GetNavArea, GetNavAreaByID, BeginGeneration, IsGenerating, GetPlayerSpawnName, SetPlayerSpawnName, AddWalkableSeed, ClearWalkableSeeds.
navmesh functionCallbacks receive error ID and name as second and third parameters on error.
sound.playfile and playurl error callbackAdded Color:__tostring, Color:__eq and Color:ToHSV.
color metamethods and tohsvMade player_manager.TranslateToPlayerModelName case insensitive.
translatetoplayermodelname case sensitivityMoved Disposition, GetActivity, IsNPCMoving, IsUnreachable to NPC metatable with renamed IsMoving.
npc function relocationAdded CUserCmd:SelectWeapon(weapon_ent).
cusercmd selectweapon functionEntity:GetMaxHealth is shared again and properly networked.
getmaxhealth networkingAdded Draw, IsUnderwater, GetSizeX, GetSizeY, IsRoughlySquare, IsFlat, GetZ, IsOverlapping, Contains, IsCoplanar, GetClosestPointOnArea, IsVisible, GetCorner.
cnavarea functionMoved these Player functions to Lua.
freeze and god mode functions relocationAdded lag compensation to the crowbar's secondary attack.
lag compensation for crowbar secondary attackLoose .vcd files can now be loaded without being compiled into scenes.image.
loose .vcd file loadingEntity:DrawViewModel takes an optional second argument selecting the viewmodel (default 0).
drawviewmodel optional argumentKick/ban reasons are now optional and may contain newlines.
player:kick and ban reasonUpdated jQuery/AngularJS.
jquery/angularjs versionAdded Entity:IsDormant().
entity:isdormant functionAdded game.SetSkillLevel(int) and game.GetSkillLevel().
skill level functionAdded util.BlastDamageInfo(dmginfo, origin, radius).
util.blastdamageinfo function
UI · 7
Bots are no longer counted towards player count in server browser.
server browser player countImproved context menu properties in various ways.
context menu propertyMsgC can now print text in several colors in a single call.
msgc multi-color printingAddons and games are sorted alphabetically in Browse.
browse addon and game sortingLua errors notification only stays for 10 seconds instead of 30.
lua errors notification durationClicking Resize in spawnicon right click menu no longer automatically rerenders the icon.
spawnicon resize rerenderUpdated server browser looks.
server browser look
Fix · 39
Fixed derma.SkinTexture.
derma.skintextureFixed return values of draw.SimpleText.
draw.simpletext return valueFixed a minor issue with teleporter effects.
teleporter effectFiles with an incorrect extension can no longer be loaded as modules.
module loading of incorrectly extended fileFixed NPC sound functions not calling their engine equivalents.
npc sound functions not calling engine equivalentFixed SMG viewmodel animation glitch when firing exactly 3 shots in a single burst.
smg viewmodel animation glitchFixed PhysicsCollide callback missing information about the collided entity.
physicscollide callback collided entity infoFixed util.JSONToTable losing precision for large integers.
util.jsontotable integer precisionContext menu now works properly when looking from camera or driving a vehicle.
context menu behavior with camera and vehicleFixed the vehicle noclip exploit.
vehicle noclip exploitFixed big numbers not sending properly with net.WriteTable.
big number sending in net.writetableFixed another possible exploit with CNetChan::SendFile.
cnetchan::sendfile exploitFixed some issues with Drive property and cameras.
drive property with cameraFixed Alyx gun and HL1 grenade being .357 clones.
alyx gun and hl1 grenade being .357 cloneFixed pasted ragdolls with duplicator being in T pose until touched; saves still affected.
pasted ragdoll t poseFixed IMaterial:GetMatrix crashing the game.
imaterial:getmatrix crashFixed util.CRC not working correctly on strings with embedded zeroes.
util.crc embedded zeroeFixed InnerAngle and OuterAngle parameters not affecting lights created by DynamicLight().
dynamiclight innerangle and outerangleFixed longstanding thruster crash exploit.
thruster crash exploitNow properly creates scripted panels.
vgui.loadcontrolsfromfile/string scripted panelFixed inaccurate text selection in RichText controls.
richtext text selectionFixed gmod_admin_cleanup/gmod_cleanup errors when run in a dedicated server console.
gmod_admin_cleanup/gmod_cleanup errors on dedicated serverFixed Entity:GetBoneController returning a truncated value.
getbonecontroller truncated valueFixed snow footsteps.
snow footstepFixed a console crash on some machines.
console crashAdmin commands no longer appear in "last words".
admin commands in last wordFixed Entity:SetHitboxSet not working properly with an integer parameter.
sethitboxset integer parameterFixed Entity:PhysicsFromMesh building a deformed collision mesh.
physicsfrommesh deformed collision meshFixed some textures on gm_construct having an incorrect normal map when running under DX8.
normal map under dx8Fixed an exploit allowing access to any file on a client machine.
client file access exploitFixed env_microphone not always transmitting NPC voices in multiplayer.
npc voice transmissionFixed shipped weapons creating errors when given to NPCs.
shipped weapons errors on npcFixed sound.Add not working on dedicated servers.
sound.add on dedicated serverFixed vehicles not duplicating their skin, bodygroups, etc.
vehicle skin, bodygroup duplicationFixed util.TableToJSON crashing when passed a table with keys that aren't strings or numbers.
util.tabletojson crash on invalid keyFixed vehicle third person affecting cameras.
vehicle third person cameraFixed item pickups not being collectable in some cases.
item pickup collectionFixed ents.FindByClass not interpreting wildcards correctly.
ents.findbyclass wildcardFixed SimpleDoF to properly work with cameras.
simpledof camera compatibility
Also in this patch1
Reverted Entity:IsValid to its old behaviour.
entity:isvalid behavior


