Quantcast
Channel: Garry's Mod
Viewing all 39 articles
Browse latest View live

15.06.01

$
0
0


 
A major update has been released! As usual, servers will need to be restarted.
 
This update features important fixes for various bugs and exploits, along with minor optimizations and improved scripting support for nextbots and navmeshes.
 
Thanks to Willox for reporting dangerous exploits.
 
You can check out the full changelog below:
 

Game Changes

GMPublish

  • UPD Removed the need for steam_appid.txt
  • UPD Fixed not updating addon tags

GitHub changes

TTT

Community Contributions


15.07.02

$
0
0

An update has been released! As usual, servers will need to be restarted.

This update mostly features a bunch of important fixes for various bugs and crashes.

You can check out the full changelog below:

Game Changes

  • NEW Added Player.SetLaggedMovementValue( float )
  • NEW Added Player.GetLaggedMovementValue()
  • NEW Added Entity.AddToMotionController( PhysObj )
  • NEW Added Entity.RemoveFromMotionController( PhysObj )
  • NEW Added 3 new backgrounds from the last 3 update posts
  • FIX Fixed an issue with timer.Create and timer.Adjust
  • FIX Fixed a crash issue with npc_turret_floor
  • FIX Fixed bullet hit detection issue introduced by previous update
  • FIX Fixed a potential physics crash issue
  • FIX Fixed a crash problem with all PhysObj functions when called on invalid PhysObj
  • FIX Fixed PHX glass panels igniting when shot
  • FIX Fixed a PHX material (zc_tube.vmt) having bad symbols
  • FIX Fixed models/noesis/donut.mdl erroring to console when spawned
  • FIX Fixed a crash problem with NPC player companions
  • FIX Fixed func_tank custom ammo types ( Fixes Episode 2 Auto Turret )
  • FIX Fixed npc_strider not dealing damage with his fast minigun attack
  • FIX Fixed server workshop downloads persisting after disconnecting from a server while downloading server workshop addons and connecting to another
  • FIX Fixed Custom Bullet Tracers not applying in some cases
  • FIX Fixed collision box for all weapons not being rotated properly
  • FIX Fixed Weapons with SF_WEAPON_START_CONSTRAINED spawnflag not being constrained
  • FIX Fixed debugoverlay.BoxAngles 6th parameter (color)
  • FIX Fixed SWEPs not being fired by some NPCs
  • FIX Fixed the “Setting Holdtype to empty string” problem
  • FIX Fixed SetPos and SetAngles crashing with math.huge and tonumber(“nan”)
  • UPD Added Warning()s to net.Send & net.SendOmit
  • UPD Entity.SetBonePosition’s first argument is now not optional
  • UPD Last 5 arguments of EmitSentence & EmitSound globals are now optional
  • UPD Reverted changes to Entity.SequenceDuration
  • UPD Updated language files
  • UPD util.TraceLine now hits player hitboxes outside of collision bounds
  • UPD NPCs now use the ai_weapon_* counterparts when given HL2 weapons with NPC:Give()
  • DEL Removed CNavArea.GetAdjacentAreaAtSide

GMPublish

  • UPD Clean up quota before updating/creating an addon
  • UPD Don’t delete files from quota as soon as finishing updating

GitHub changes

TTT

Community Contributions

August 2015 Update

$
0
0

An update has been released! As usual, servers will need to be restarted.

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

This update features support for latest Team Fortress 2 maps and multiple exploit fixes.

You can check out the full changelog below:

Game Changes

  • NEW Added Entity.PassesFilter( caller, ent )
  • NEW Added Entity.PassesDamageFilter( dmginfo )
  • NEW Added Entity.GetFlags()
  • NEW Added “filter” scripted entity type
  • NEW Added game.GetAmmoName( int id )
  • NEW Added game.GetAmmoID( string name )
  • NEW Added game.GetAmmoMax( int id ) – Returns real maximum value for given ammo type
  • NEW Added CTakeDamageInfo:GetDamageBonus()
  • NEW Added CTakeDamageInfo:SetDamageBonus( float bonus )
  • NEW Added CTakeDamageInfo:SetReportedPosition( Vector pos )
  • NEW Added CTakeDamageInfo:GetDamageCustom()
  • NEW Added CTakeDamageInfo:SetDamageCustom( float custom )
  • NEW Added CRecipientFilter:RemovePAS()
  • NEW Added CRecipientFilter:GetPlayers()
  • NEW Added “maxcarry” and “flags” to game.AddAmmoType
  • NEW Added missing TF2 map icons
  • FIX Fixed TF2 maps crashing the game on load
  • FIX Fixed util.Decal not working in multiplayer
  • FIX Fixed render.Capture not working in render targets that are bigger than the screen resolution
  • FIX Fixed an exploit with .wav files
  • FIX Fixed an exploit that allowed servers to run console commands they are not supposed to run on players
  • FIX Fixed an exploit that allowed people to download server files they are not supposed to download
  • FIX Fixed unmounting addons not working
  • FIX Fixed uninstalling addons not unmounting them
  • FIX Fixed disabled addons still opening the .gma files
  • FIX Fixed disabled addons still being mounted in offline mode
  • FIX Fixed player poserparameters being desync on server after a model change
  • FIX Fixed Linux autorefresh
  • FIX Fixed util.KeyValuesToTable incorrectly interpreting keys starting with numbers
  • FIX Fixed buildcubemaps not writing built cubemaps to the .bsp
  • FIX Fixed bullets and traces hitting non solid players
  • FIX Fixed autorefresh folder locking

TTT

Community Contributions

September 2015 Update

$
0
0

An update has been released! 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 changelog below:

Game Changes

GitHub changes

TTT

Community Contributions

December 2015 Update

$
0
0

An update has been released!

This update includes a lot of exploit, crash and Half-Life 2 campaign fixes, as well as other minor bug fixes and Lua API improvements.

Thanks to the following people for helping us out and reporting dangerous exploits:
Willox, Leystryku, Python1320, MeepDarknessM/Meepen and ogniK.
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:

Game Changes

GitHub changes

TTT

Community Contributions

January 2016 Update

$
0
0

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:

Game Changes

  • NEW Added mat_viewportupscale to blocked convar list
  • NEW Added PANEL:SetDrawLanguageID(bool), can be used to hide the language selection box in text entries when typing non-US/UK/whatever
  • NEW Added loading bar text when waiting for Steam auth
  • NEW Added command line option to cause BAssert to dump (Windows only)
  • NEW Added bounds checking to render.GetScreenEffectTexture
  • NEW Added Awesomium panel hooks: OnDocumentReady, OnChildViewCreated, OnChangeTitle, OnChangeTargetURL
  • NEW Added Awesomium panel methods: Refresh, Stop, GoBack, GoForward, GoToHistoryOffset
  • NEW Added Awesomium panel hooks: OnBeginLoadingFrame, OnFinishLoadingFrame
  • NEW Added interface for concurrent async server content downloads. Currenty used for Workshop content.
  • NEW Added extra debug output for BASS.DLL Initialization
  • NEW Added test BASS.DLL config to hopefully help with weird “mp3s dont load with error 41″ cases
  • FIX Fixed the “steam id 0 fake players inflate server player count” exploit
  • FIX Fixed clientside SteamID spoofing
  • FIX Fixed not being able to join a LAN server
  • FIX Fixed npc_manhack not triggering npc_maker/npc_template_maker’s OnAllSpawnedDead output
  • FIX Fixed a server crash caused by combine_mine changes in last update
  • FIX Fixed a crash issue with “quit” commands on srcds when having workshop addons installed
  • FIX Fixed a crash when entities with invalid physobjs were in the way of a rotating door
  • FIX Fixed ai.GetScheduleID and ai.GetTaskID
  • FIX Fixed a possible crash issue caused by global NW2Vars
  • FIX Fixed buildcubemaps not working properly
  • FIX Fixed Awesomium view leak
  • FIX Fixed leaked thread in main-menu GMA downloader
  • FIX Fixed addon extraction assert/leaked thread handles
  • FIX Fixed incorrect line numbers being reported for errors when using C-styled multiline comments
  • FIX Fixed Entity.IsRagdoll not working properly on client
  • UPD Vehicle.IsValid is renamed to Vehicle.IsValidVehicle
  • UPD All Vehicle methods will error “tried to use NULL vehicle” when used on invalid vehicle
  • UPD Reduced worhless & confusing srcds console output for workshop
  • UPD Switched some spammy serverside console output to DevWarnings
  • UPD Replicated Lua ConVars now properly network to clients when they join the server (FCVAR_REPLICATED flag)
  • UPD The console will no longer hide behind the main menu if you open it too early
  • UPD Improved performance of file.Exists and file.IsDir
  • UPD JavaScript errors in the console now show the file path and line number of the bad code
  • UPD gui.SetMousePos and input.SetCursorPos no longer works while the game is not focused
  • UPD system.HasFocus now also works on Linux and OSX on client
  • UPD File library can now write png/jpg files
  • UPD util.TableToJSON handles arrays properly
  • UPD Proper alpha blending for Awesomium panels
  • UPD Entity:GetNW2VarTable now returns the type associated with each value as well
  • UPD Scripted NPCs and Nextbots now support the following clientside hooks: Initialize, Think, Draw and DrawTranslucent
  • UPD Increased model precache limit to its TF2 4000 limit
  • UPD WorkshopDL GetPublishedFileDetails no longer hangs main thread
  • UPD Tweaks to server-content workshop downloading
  • UPD Improved Addons main menu.. menu – Per tag browsing for friends items, hide dupes/saves from all listings
  • UPD Updated language files
  • UPD Addon extration is now properly displayed on the workshop downloader
  • DEL Removed angle/vector pool debug message

Community Contributions

TTT

February 2016 Update

$
0
0

An update has been released!

This update fixes a few regressions introduced by previous update and adds some new functionality for developers.

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:

Game Changes

  • NEW Added CNavArea.SetParent( CNavArea, type )
  • NEW Added CNavArea.GetParent() – returns CNavArea
  • NEW Added CNavArea.GetParentHow() – returns NavTraverseType
  • NEW Added CNavArea.ClearSearchLists()
  • NEW Added CNavArea.SetTotalCost( float )
  • NEW Added CNavArea.AddToOpenList()
  • NEW Added CNavArea.GetTotalCost() – returns float
  • NEW Added CNavArea.IsOpenListEmpty()
  • NEW Added CNavArea.PopOpenList() – returns CNavArea
  • NEW Added CNavArea.IsBlocked()
  • NEW Added CNavArea.IsOpen()
  • NEW Added CNavArea.IsClosed()
  • NEW Added CNavArea.RemoveFromClosedList()
  • NEW Added CNavArea.UpdateOnOpenList()
  • NEW Added CNavArea.AddToClosedList()
  • NEW Added CNavLadder.ConnectTo( CNavArea )
  • NEW Added net.WriteMatrix()
  • NEW Added net.ReadMatrix()
  • NEW Added support for ortho views in CalcView and cam.Start
  • NEW Added (safe) ConVar methods: SetString, SetFloat, SetInt, SetBool
  • NEW Added CNavLadder.SetBottomArea( CNavArea )
  • NEW Added CNavLadder.GetBottomArea()
  • NEW Added CNavLadder.SetTopBehindArea( CNavArea )
  • NEW Added CNavLadder.GetTopBehindArea()
  • NEW Added CNavLadder.SetTopForwardArea( CNavArea )
  • NEW Added CNavLadder.GetTopForwardArea()
  • NEW Added CNavLadder.SetTopLeftArea( CNavArea )
  • NEW Added CNavLadder.GetTopLeftArea()
  • NEW Added CNavLadder.SetTopRightArea( CNavArea )
  • NEW Added CNavLadder.GetTopRightArea()
  • NEW Added game.GetIPAddress()
  • NEW Added game.KickID()
  • NEW Added Player.AnimSetGestureSequence( slot, seq )
  • NEW Added “body” and “type” for HTTP()
  • NEW Added PathFollower:GetAllSegments()
  • NEW Added CNavArea.GetExtentInfo()
  • NEW Added “AllSolid” to trace result
  • NEW Added optional parameter to poster command to save each frame as a separate image
  • FIX Fixed VMatrix:SetScale() scaling the 2nd/3rd rows incorrectly
  • FIX Fixed “destination group” problem in multiplayer with npc_template_maker
  • FIX Fixed cyclic reference detection in util.TableToJSON
  • FIX Fixed cyclic reference detection in PrintTable
  • FIX Fixed buffer over-read in input library
  • FIX Fixed collision bounds having no influence on nextbot navigation
  • FIX Fixed net.ReadType for TYPE_NIL
  • FIX Fixed debugoverlay spamming dedicated server console to oblivion
  • FIX Fixed a multiplayer crash issue with combine auto cannon on ep2_outland_09
  • FIX Possible fix for post processing shaders not working properly on Linux/OSX
  • FIX Fixed model indices above 2048 not networking to clients properly
  • FIX Fixed DFrame:Center when parented inside a panel not at [0, 0]
  • UPD net.WriteType support for VMatrix
  • UPD Catch crash condition in CBaseAnimating::TestHitboxes
  • UPD Error/ErrorNoHalt now call menu state’s OnLuaError hook
  • UPD Improved error handling for NextBot coroutines
  • UPD Don’t try to load binary modules that have the same name as a base Lua module
  • UPD Merged functionality of RunString/RunStringEx
  • UPD Lua kick reasons can no longer be language strings
  • UPD Home/End keys now work in Windows SRCDS consoles
  • UPD Opening the chatbox while it is invisible/disabled no longer changes player view angles
  • UPD Chatbox entry max char count is now correct (126)
  • UPD TextEntry:OnTextChanged is now called after undo operation
  • UPD -noworkshop now also prevents SteamAPI from being initialized too soon on dedicated servers
  • UPD utf8.offset now conforms to Lua 5.3 spec
  • UPD More friendly Steam API failure error messages ( for retrieving subscribed addons )
  • UPD Updated the DirectX out of date popup to allow the user to try to launch the game anyway
  • UPD Don’t let players enter vehicles that they are a parent of (stack overflows!)
  • UPD Limited engine.LightStyle to values that do not crash the game ( 0-63 )
  • UPD Stop g_blurx/g_blury shaders from increasing output brightness
  • UPD ENT:SelectWeightedSequence & Weapon:SendWeaponAnim no longer crash when given invalid acts
  • UPD Calling gui.HideGameUI at the wrong time no longer stops the HUD from rendering
  • UPD Context menus no longer remain when their parent is focused
  • UPD Changed scheme of ClientDLL context menus to match DMenu
  • UPD Weapon selection via key bindings should now always work on SWEPs
  • UPD Vector() can now take a Vector as its first argument and return a copy of that vector

GitHub changes

Community Contributions

February 2016 Hotfix

$
0
0

A minor update has been released!

This update fixes a few regressions introduced by the February 2016 update and some other issues.

If you are encountering issues, make sure that you have updated your servers.

You can check out the full change log below:

Game Changes

  • FIX Vector no longer returns an uninitialised vector object when called with zero arguments
  • FIX Joining a server with the wrong password now gives the correctly translated “Bad Password.” response
  • FIX Fixed inconsistent angle networking on Linux servers
  • FIX Fixed exploitable behaviour in surface.CreateFont

February 2016 Update #2

$
0
0

An update has been released!

This update fixes a few long-standing bugs and adds new functionality for developers.

As usual, servers will need to be updated.
The update will be automatically downloaded when you restart your game.

If you are having issues related to models/materials/sounds, make sure that you do not have any illegitimate content packs installed for games you do not own, such as Counter-Strike: Source.

Thanks to everybody who helped with testing the update and reported bugs/problems.

Game Changes

  • NEW Added game.MountGMA( path )
  • NEW Added File:ReadLine()
  • NEW Anti-Cheat ConVars: sv_maxusrcmdprocessticks, sv_maxusrcmdprocessticks_holdaim, sv_maxusrcmdprocessticks_warning
  • NEW Crazy physics ConVars: sv_crazyphysics_defuse, sv_crazyphysics_remove, sv_crazyphysics_warning
  • NEW Hibernation ConVars: sv_hibernate_think & sv_hibernate_drop_bots
  • FIX NextBots no longer simulate faster than normal players
  • FIX Turrets’ sounds are now cleaned up properly on removal
  • FIX AvatarImage panels no longer leak memory when removed
  • FIX Toggling vehicle third-person is no longer wrongly predicted
  • FIX CTriggerCamera entities no longer crash the game in multiplayer
  • FIX Entity:SetSubMaterial() now works on bonemerged entities
  • FIX Fixed sub-material overrides affecting the first rendered entity in certain hooks such as PostPlayerDraw
  • FIX Entity:SetBoneMatrix() and Entity:GetBoneMatrix() no longer crash when given bad input
  • FIX ConVars created with CreateConVar() and CreateClientConVar() now have their default value set and do not leak memory
  • FIX Panel:SetPaintedManually() and Panel:PaintManual() now function correctly
  • FIX VMatrix divisions no longer crash when given non-userdata input
  • UPD Maps now prioritise content from their own game, this means that TF2 and Half-Life 2 maps load the correct content (postponed to future update)
  • UPD Left 4 Dead 2’s DLC content is now mounted
  • UPD Anti-Speedhack improvements
  • UPD Windows SRCDS console now outputs text with UTF-8 encoding
  • UPD Crazy physics catching system has been improved, making it difficult to crash servers with physics quirks
  • UPD Parallel snapshot sending is now disabled by default, this was a common cause of server crashes when lots of data was being transferred
  • UPD Players are now simulated even when they are not sending any data to the server
  • UPD Flagged some potentially abusable console commands as cheats
  • UPD include() now passes returned values from the loaded file
  • DEL Removed ConVars: sv_voicecodec, sv_max_usercmd_future_ticks, sv_removecrazyphysics

February 2016 Hotfix #2

$
0
0

A minor update has been released!

This update fixes a few issues introduced by the update earlier toady. Sorry for the delay.

If your servers are encountering any issues, make sure you have updated them.

You can check out the full change log below:

Game Changes

  • FIX Parented entities (such as vehicle wheels) should no longer disappear after a while in certain cases
  • FIX Game no longer crashes when attempting to mount a VPK archive twice
  • FIX Legacy addons are mounted with lower priority if they contain files that might break sounds, materials, or the HUD
  • REV Mounted GMAs are once again not refreshed on disconnect – it was really slow

March 2016 Update

$
0
0

A new update has been released!

This update focuses on fixing bugs and gives text rendering a little love.

As usual, servers will need to be updated.
Clients will automatically update when you restart your game.

Thanks to everybody who helped with testing the update and reported any bugs/problems.

Today’s update is being reverted due to some unexpected problems that were encountered. The most important changes that were included will be released shortly as a server-optional update (some crash and exploit fixes).

The remaining changes will be added back when they are more stable.

March 2016 Update Attempt #2

$
0
0

A new update has been released!

This update is a small part of the previous update and focuses on fixing crashes and exploits.

We apologize, once again, for the problems caused by previous update and will work towards fixing those problems as well as doing our best to prevent such things from happening in the future.

This update is optional, however it is strongly recommended for server owners to install it.
Clients will automatically update when you restart your game.

Thanks to everybody who helped with testing the update and reported any bugs/problems.

Changelist

  • NEW Added whereis console command to menu state, helps with checking if addons are overriding a specific file
  • FIX Fixed SetParent making crazy-physics system mad. Vehicle wheels should stop disappearing
  • FIX Fixed some crashes related to shadows
  • FIX Fixed some crashes when NPCs take damage with a null inflictor
  • FIX Fixed WorkshopDL addons not updating properly
  • FIX Fixed issues where game.MountGMA would not always reload models properly
  • FIX Fixed Lua panic when returning from lua_run, lua_run_cl, RunString, BroadcastLua, Player:SendLua
  • FIX Fixed multiple DoS attack vectors
  • UPD Forced player simulation (when players are not sending usercommands) now increments command number & changes random seed

April 2016 Update

$
0
0

A new update has been released!

This update focuses on fixing bugs and improving performance as well as adding some new features for modders.

As usual, servers will need to be updated.
Clients will automatically update when you restart your game.

Thanks to everybody who helped with testing the update and reported any bugs/problems.

Engine Changes

  • NEW Added ‘mat_reloadtexture’ console command. It reloads a single texture
  • NEW Added ‘sv_crazyphysics_wheels’ console variable. Toggles crazy physics detection for vehicle wheels
  • NEW Added lua_findhooks (contribution by TheFreeman193)
  • NEW Support for AE_CL_STOP_PARTICLEEFFECT & AE_CL_ADD_PARTICLE_EFFECT_CP
  • FIX Texture auto-refresh no longer reloads every texture in the game and can reload JPEGs
  • FIX Fixed TLK_PLAYER_ASK_FOR_BALL console warning message
  • FIX Fonts on Windows and OSX can now display non-latin characters
  • FIX Fonts contained within Workshop addons are now properly loaded
  • FIX HTML panels and anti-aliased text are now correctly alpha-blended on OSX
  • FIX The game can now be played on OSX from case-sensitive filesystems such as NTFS
  • FIX Workshop Lua files now emit errors with the correct file path
  • FIX Gamemodes within addons now have their ‘entities’ and ‘content’ directories mounted
  • FIX Cyclic entity parenting no longer crashes the game
  • FIX Navigation meshes can now be loaded from within addons
  • FIX Engine tools now work. You can access them by launching the game with the “-tools” parameter
  • FIX Airboat guns no longer cause a crash if fired as a player is joining
  • FIX Airboats no longer cause a crash when attempting to eject a NULL player
  • FIX Multiple bug fixes for hammer
  • FIX Armor is now networked as a 32-bit unsigned integer
  • FIX Health and max-health now properly update when changed on “anim” SENTs in singleplayer
  • FIX “kill” input no longer puts players in an invalid inescapable state
  • FIX The pistol now uses less network bandwidth when equipped
  • FIX Fixed corruption in the SVC_PacketEntities net message. This should stop disconnections from servers with ‘random’ reasons and some other odd behaviour
  • FIX Fixed crash issues with npc_cscanner
  • FIX Fixed Nextbot NPCs being deleted on map spawn
  • FIX Fixed a crash related to creating particle effects
  • FIX Fixed crash when CNewParticleEffect has an invalid particle collection
  • FIX Fixed detection of VRAM size when you have more than 2GiB
  • FIX Fixed hang when loading certain fonts
  • FIX NPCs will now play footsteps when walking
  • FIX Fixed HTML menu erroring when loaded outside GMod (contribution by Bo98)
  • UPD The max size of reliable snapshots has been increased from 256KiB to 1024KiB. This should reduce or eliminate any “Couldn’t send snapshot.” errors
  • UPD Major improvements to text rendering on OSX
  • UPD The console can now be opened by pressing shift+escape. The old behaviour remains unchanged
  • UPD Improved delta encoding of ragdoll bone positions/angles. They should now use slightly less bandwidth
  • UPD Improved the error message emitted when patch materials have failed to load
  • UPD Limited length of URL in JavaScript error prints
  • UPD Improved GMA mounting performance
  • UPD gamemodes/, lua/, addons/ can no longer be marked for FastDL downloads
  • UPD Game will no longer try to load non TTF fonts and crash

Game Changes

  • FIX Doors now properly play their open/close sounds even when penetrating the world
  • FIX Fixed vertical text alignment on spawnicon labels
  • FIX Entity spawn/remove effects should now always play properly in Sandbox
  • FIX Footsteps now properly alternate between left/right clientside
  • FIX Animations such as swimming and crouching are now properly applied to all players
  • FIX Clientside debris will no longer get stuck inside itself
  • FIX S.L.A.M. weapons now play their sounds (still requires HL2:DM)
  • FIX Suit rechargers now stop playing their sounds when removed
  • FIX weapon_rpg no longer plays its holster sound every time it leaves the PVS
  • FIX Chatbox auto-completion no longer fails when a player’s name contains certain characters (contribution by Chewgum)
  • FIX Players can no longer noclip when dead (contribution by code_gs)
  • FIX Footsteps no longer play while players are dead (contribution by code_gs)
  • FIX Fixed bypass of certain prop-protection addons when right clicking with Hydraulic/Muscle/Slider/Winch tools (contribution by Mista-Tea)
  • FIX Ceiling turrets no longer play infinite sounds when removed
  • FIX Fixed npc_grenade_frag creating new effects when picked up by gravity gun without deleting the old ones
  • FIX Fixed Estonian language having Ethiopian flag
  • FIX Fixed duplicator support for old Scripted Entities
  • FIX Fixed face poser not posing the last flex on some models (contribution by NO-LOAFING)
  • UPD Prop spawn/Entity Removed effects now appear properly all of the time
  • UPD Updated some pre-rendered spawnicons
  • UPD Corpses in Trouble in Terrorist Town now retain any blood splatters and the colour of the deceased player
  • UPD Disallowed non admins to edit admin only entities
  • DEL Removed unused html files

TTT Gamemode Changes

Lua API Changes

Security Changes

  • FIX Stopped certain file names from tricking the netchannel’s security filters
  • FIX Fixed exploitable behaviour in the duplicator tool (reported by Velkon)

July 2016 Update

$
0
0

A new update has been released!

This update is optional, however it is strongly recommended that server owners install it.
Clients will automatically update via Steam when the game is restarted.

Peer-To-Peer Listen Servers

Servers that are created via the main-menu’s “Start New Game” button can now be connected to via Steam’s P2P networking. This means that – on most networks – friends are able to connect to each other’s games without any special network configuration being required (e.g. port forwarding).

To use it, all you have to do is use your friends list to join/invite a friend!

Queued (Multi-Core) Rendering

This isn’t finished yet, but queued rendering should be pretty robust now. Any changes in performance are entirely dependent on your hardware and the scene being rendered.

You can enable it by running a few commands when you launch the game (press Shift+Escape to open the console):
gmod_mcore_test 1
mat_queue_mode -1
cl_threaded_bone_setup 1

Other Changes

  • NEW Added mat_requires_rt_alloc_first ConVar from upstream.
  • UPD Lua console commands are now removed when disconnecting from a server/changing level.
  • FIX Replicated Lua ConVars are now properly synched with the server.
  • FIX Scripted weapons now function correctly when switching to a weapon with no ammo.
  • FIX Clients will no longer be disconnected with the reason “CL_CopyExistingEntity: missing client entity”.
  • FIX Crouch-jumping will no longer cause the screen to flicker after a certain amount of server up-time.
  • FIX Fixed rare crash that occurs when increasing the outgoing network buffer size for game-state snapshots.
  • FIX Ropes no longer cause the game to not properly close on exit.
  • FIX Fixed issue that could cause the “GetLuaTable != TABLE” crash to occur on level change.
  • FIX file.Find() now sorts its results properly. The default behavior is unchanged.
  • FIX HTTP() no longer leaks request references and won’t crash if the Lua state is destroyed during a request.
  • FIX Some security fixes.

October 2016 Update

$
0
0

A new update has been released!

This update brings the following to Garry’s Mod:

  • Peer-To-Peer friends only mode – Enable this to only allow friends to join your games
  • Substantial updates & optimization to Sandbox and User Interface
  • NPC networking optimizations
  • Numerous crash & security fixes
  • New main menu backgrounds created by the community
  • Numerous Physics gun improvements

The update will be automatically downloaded when you restart your game.
All servers will need to be updated before you can play on them.

Thanks to everybody who helped with testing the update and reported bugs/problems.

Engine Changes

  • NEW Mouse sensitivity can no longer be set greater than 10,000
  • FIX Trying to load a texture with an empty name no longer leaks memory
  • FIX Vehicles no longer crash the server when attempting to disable their engines too soon after being spawned
  • FIX Manhacks without a valid physics object will no longer crash the game
  • FIX prop_dynamics entities no longer crash the game when created too early
  • FIX func_precipitation no longer crashes when using an unsupported precipitation type (fixes issues on some L4D maps)
  • FIX Multiple issues caused by weapons with having no owners no longer crash the game
  • FIX menu_cleanupgmas console command no longer crashes when the game is launched with -noworkshop
  • FIX menu_cleanupgmas console command no longer freaks out when the client has 0 subscriptions
  • FIX Auto-Refresh will no longer crash the game when files with a strange include-pattern exist, such as two files that load each other
  • FIX Fixed dumpstringtable* console commands being registered multiple times
  • UPD Updated SQLite version from 3.6.23.1 to 3.12.2
  • UPD Updated FreeImage version from 3.15.3 to 3.17.0
  • UPD Updated BASS to version 2.4.12
  • UPD Client->Server bandwidth is no longer constantly increased whilst keys are being held down
  • UPD SENT/SWEP render groups now default to the engine’s default instead of OPAQUE
  • UPD Lua console commands are now removed on disconnection/level change
  • UPD Receiving non-existant replicated ConVars no longer spams the console with warnings
  • UPD VGUI panels created by the engine can no longer be removed by Lua
  • UPD Entities now have the modelscale keyvalue and SetModelScale input from newer versions of Source
  • UPD NPC IK calculations are no longer networked from clients to the server, this means having a bunch of NPCs won’t disconnect/lag clients horrifically
  • UPD Clientside auto-refresh no longer depends on the placement of serverside AddCSLuaFile calls
  • UPD Updated SourceSDK/HL2 content
  • UPD g_sky shader can now display up to 3 star layers
  • UPD env_skypaint positions star textures based on the client’s time instead of the server’s time (fixes some jittery movement for internet games)
  • UPD ClientLeafSystem can now contain many more entries
  • UPD PNG/JPEG textures/materials are now properly garbage collected and will be free’d on a level change
  • UPD Certain addons will no longer cause water reflections/refraction to stop working properly
  • UPD Sprites now render facing the correct direction in mirrors and water reflections/refraction
  • DEL Removed auto generated files to fix the “1 file failed to pass validation” on Steam after starting the game
  • DEL Removed FCVAR_ARCHIVE from npc_height_adjust ConVar
  • DEL Removed the func_physbox hack for d1_trainstation_05 as it seems to work without it now

Game Changes

  • NEW Added new main menu backgrounds
  • NEW env_skypaint now has an option to change the number of star layers rendered
  • NEW Added reload_legacy_addons console command
  • NEW Added gmod_drawtooleffects ConVar to hide certain tool UI and Effects
  • NEW Added p2p_friendsonly ConVar
  • NEW Added -noaddons command-line parameter which will disable legacy/folder addons when set
  • FIX NPCs no longer become invisible when a player noclips in to them
  • FIX Certain vehicles/NPCs are no longer silent when spawned outside of the client’s audible area
  • FIX Fixed some PHX materials becoming completely invisible when they are rendered with an alpha less than 255
  • FIX Fixed physics mesh for models\props_phx\gears\bevel90_24.md, arm_base_b.mdl & metal_plate_pipe.mdll
  • FIX RPG launcher no longer spams sounds on first equip in multiplayer
  • FIX Fixed Model Viewer background for Hammer
  • UPD Added missing TF2 & L4D1 map icons
  • UPD Updated all default spawnicons
  • UPD Updated seats/chair models – more accurate physics mesh and additional Hitboxes to allow getting damaged in those seats
  • UPD Updated Crossbow materials to remove pixelated reflections from the scope
  • DEL Removed the “VehicleType:prop_vehicle_jeep” console message when entering vehicles
Physgun
  • NEW Added physgun_maxrange ConVar
  • FIX Physgun beams no longer lag behind when moving non-MOVETYPE_VPHYSICS entities
  • FIX Physgun angle-snapping no longer jitters between snapped/unsnapped when releasing shift/use
  • FIX The Physgun can now only rotate NPCs without physics objects around their yaw axis
  • FIX The Physgun no longer encounters gimbal lock when rotating around pitch axis
Tools
  • NEW All tools now use the new help system
  • NEW All tools (where applicable) are now using model whitelists to prevent abuse
  • NEW The paint tool now clears decals on the target entity when the reload key is pressed
  • NEW Added limit to the Camera tool (defaults to 10)
  • NEW Added a new Hoverball model
  • NEW Added Partial “Right Click > Edit Properties” support for Balloon, Button, Dynamite, Emitter, Hoverball, Lamp and Light tools
  • FIX The inflator tool should no longer freak out on high latency servers
  • FIX The paint tool no longer applies the decals twice on client and it no longer plays the sound twice in multiplayer
  • FIX The muscle tool’s “Start On” option is now functional
  • FIX Fixed being able to bypass the light tool’s multiplayer limit with Duplicator
  • FIX Fixed being able to bypass the “Cleanup” menu with duplicator
  • FIX Fixed the camera tool adding 1 extra undo when duplicated
  • UPD The color tool copies the target entity’s color on right-click and resets the color on reload
  • UPD The material tool now copies the target entity’s material on right-click and resets the material on reload
  • UPD The inflator tool now scales adjacent bones properly
  • UPD The faceposer tool can now be used on prop_effect entities
  • UPD Increased the limit of lights created by the light tool
  • UPD Dynamite damage is now clamped properly and cannot be bypassed
  • UPD Duplicator will now transfer data in parts instead of failing when the dupe is too large
Tool UI
  • NEW Auto Stretch UI for Paint Tool
  • NEW All prop select panels are now auto sizing in height
  • UPD Changed the material tool’s context menu to show 4 materials per row
  • UPD Lamp Tool – MatSelect is now 4 images tall
  • UPD Rearranged some controls for tool settings to be more consistent
  • UPD Many improvements to Spawnmenu UI to be less laggy, better scaling, ability to manually resize spawnmenu parts, etc

Lua API Changes

  • NEW Added PANEL:OnKeyCodeReleased() hook
  • NEW Added CRecepientFilter support for net.Send
  • NEW Added IGModAudioChannel:GetAverageBitRate()
  • NEW Added Player.AccountID
  • NEW Added Panel:GetDockMargin & Panel:GetDockPadding – both return 4 numbers
  • NEW Added IMaterial:GetVector that returns proper ‘unclamped’ values
  • NEW Added ProjectedTexture:SetOrthographic
  • NEW Added ProjectedTexture:GetOrthographic
  • NEW Added CNewParticleEffect.Render()
  • NEW Added CNewParticleEffect.SetShouldDraw( bool )
  • NEW Added CNavArea.__eq
  • NEW Added FFT_32768
  • FIX steamworks library will no longer cause crashes when called shortly before the Lua state is destroyed
  • FIX Fixed timer library in menu state temporarily ceasing to work after starting a new map
  • FIX Fixed Entity:SetEyeTarget() having no effect on “anim” type SENTs
  • FIX Fixed ‘/**/’ being treated as ‘/*/’ in lua lexer (not closing the comment)
  • FIX Fixed not being able to create more than one font with different scanline sizes but otherwise identical parameters
  • FIX Entity.GibBreakClient will no longer crash when used on brush entities ( Can only be called on non BaseAnimating entities )
  • FIX cam.Start now supports “poster” console command in 3D mode
  • UPD render.RedownloadAllLightmaps now updates lighting on static props as well
  • UPD EffectData() now resets its member values
  • UPD Vector() * nil will now error instead of returning empty vector
  • UPD Proper NULL checks for most Vehicle class functions to prevent crashes
  • UPD game.LoadNextMap, game.SetTimeScale, game.SetSkillLevel, game.GetTimeScale, game.GetSkillLevel no longer crash when g_pGameRules = null
  • UPD Weapon.GetPrintName is now shared
  • UPD Renamed IMaterial:GetVector to IMaterial:GetVectorLinear
  • UPD Panel.Remove now causes parent to InvalidateLayout
  • UPD Panel.SizeToChildren does not fail to resize to 0 values
  • UPD Angle() global function now works the same way as Vector() global, i.e. Giving it an Angle object will return a copy of it, etc
  • UPD gmod_tool:CheckLimit() is now shared
User Interface Panels
  • NEW DIconLayout – Added SetStretchWidth & SetStretchHeight to enable/disable auto stretch of the panel
  • NEW DBinder – Added OnChange hook
  • NEW DColorPalette – added ResetSavedColors & better Paint function to account for children & “networking” of the palette changes
  • NEW DComboBox – Proper sorting and ability to disable it
  • NEW DAlphaBar – better background grid code for super tall sizes
  • NEW DColorMixer – DColorPalette got new right click menu with ability to reset the palette
  • FIX DScrollPanel – Fixed up resizing putting scroll position too far down in some cases
  • FIX MatSelect – Fixed the panel not rebuilding when needed and fixed child size calculation for child sizes less than 1 to take into account spacing and padding
  • FIX DFileBrowser – Fixed Clear() leaving some variables to a chance of inheriting values of a global variable named “_”
  • FIX DPanelSelect – Fixed the panel not restoring old PaintOver()s
  • FIX DTree_Node – Fixed wildcard not properly applying to child elements
  • FIX DListView – Fixed white line in the middle of a line when line height is set to high values
  • FIX DTree_Node (DTree) first expansion will no longer try to expand to a size higher than necessary
  • FIX DLabelEditable – You can no longer use translated strings with this panel (sort of)
  • FIX PropSelect – Auto vertical height support
  • UPD DHorizontalDivider – Many IsValid checks, better handling of resizing to prevent firing PerformLayout every frame
  • UPD DNumSlider – SetDecimals now refreshes the displayed number

GitHub changes

TTT Gamemode Changes

Community Contributions


October 2016 Update #2

$
0
0

A new update has been released!

This update is optional. However, I’d recommend that you update any servers you are running.
Clients will automatically update via Steam when the game is restarted.

  • NEW Added “Fetching Subscriptions” progress window to the main menu
  • NEW Added boolean parameter to render.RedownloadAllLightmaps to apply lighting changes to static props
  • UPD Holding attack whilst opening the weapon selection dialog no longer instantly changes weapon
  • UPD Adjusted HL2 weapons’ idle times to match sv_defaultdeployspeed ConVar
  • UPD Deploy animation of the fists SWEP now obeys the sv_defaultdeployspeed ConVar
  • UPD Automatically named procedural texture names (__vgui_texture_XXX) are now recycled to help avoid “CUtlRBTree overflow!” engine error
  • UPD Removed the unnecessary check for whether the user owns Source SDK Base 2006
  • FIX Player shadows no longer get clipped within the players’ render bounds
  • FIX Inactive weapons’ shadows are no longer drawn in 3rd-person mode
  • FIX AvatarImage panels’ fallback image no longer (sometimes) renders at the incorrect size
  • FIX Numeric values inside DComboBox are now sorted properly
  • FIX Using the light tool on the world will no longer cause errors
  • FIX Fixed an issue preventing addons adding custom spawnlists with spawnmenu.AddPropCategory, even though they really shouldn’t be allowed
  • FIX Fixed mounting of gamemodes/*/content for gamemodes inside GMAs
  • FIX Fixed PreCleanupMap hook not being called on client
  • FIX Fixed a crash related to rendering many ropes in a single frame
  • FIX Fixed massive FPS loss when Entity.Set(Sub)Material is used with unloaded materials
  • FIX Fixed compression artifacts that were on the gui/corner… materials
  • DEL render.RedownloadAllLightmaps defaults to old behavior (The original change was slow and caused issues on large maps)
  • DEL Undone EffectData() changes from the latest update (until we find a way not to break ShellEject effects)

December 2016 Update

$
0
0

A new update has been released! This time around we’ve mostly got bug fixes, but also some changes to the server browser.

The update will be automatically downloaded through Steam when you restart your game.
All servers will need to be updated before you can play on them.

Game Changes

  • NEW Added ‘-nogammarmap’ command-line parameter. This will disable the game’s built in gamma correction and use your system’s settings
  • NEW Hunter helicopters now perform behaviour from Half-Life 2: EP1 and EP2
  • UPD Server browser now shows more servers and ranks them slightly differently
  • UPD Burning props no longer have their gibs ignited on destruction. This was causing some performance issues
  • UPD Disabled the VGUI hotkey system (freaky internal behaviour that made ampersands work weirdly)
  • UPD Improved error messages when failing to initialize the Steam API
  • UPD Updated resource/HALFLIFE2.ttf
  • UPD Re-enabled some fixes for d1_trainstation_05/ep2_outland_01 plug sockets
  • UPD Improved performance of voice-chat mouth movement animations
  • UPD Improved performance of traces (traces that have a function as their filter no longer have the filter called way too many times)
  • UPD Improved performance when checking if entities have a RenderOverride method
  • FIX Fixed some animations not looping (e.g. noclip animation)
  • FIX Game no longer crashes when applying decals to models with a high amount of polygons
  • FIX Fixed buggy behaviour when a player dies whilst climbing a ladder
  • FIX Fixed crash that occured when printing some characters to the console when Windows is set to use certain non-english languages
  • FIX Game no longer attempts to load vaudio_miles module. This caused issues for some people who had weird installations of the Source SDK on their system

Lua API Changes

  • NEW Added Entity.GetFlexIDByName
  • NEW Added Player.SimulateGravGunPickup, Player.SimulateGravGunDrop
  • NEW Added Player.GetPreferredCarryAngles
  • NEW Added ITexture.__tostring
  • UPD GetConVar moved from C to Lua, results are now cached
  • UPD IMaterial.__tostring now acts more similarly to other __tostring metamethods in the game
  • FIX game.CleanUpMap no longer crashes when called too early on maps containg AI nodes
  • FIX game.GetTimeScale/game.GetSkillLevel now return nothing when called too early
  • FIX Entity.GetPoseParameterName no longer crashes when given an invalid input
  • FIX RunConsoleCommand’s error message now ends with a new-line when trying to run a blocked command
  • FIX render.PopFilterMag/render.PopFilterMin now properly apply changes when the filter stack is emptied
  • FIX render.Pop* functions no longer crash the game when over-popping

GMadChanges to the GMad program.

  • UPD Improved error messages when trying to create addons

February 2017 – Security Hotfix

$
0
0

An update has been released which fixes an issue that allows malicious clients to cause game-servers to crash. If you don’t want this to happen to your server, you should update it.

All dedicated servers should be updated through either your Game Server Provider’s control panel or SteamCMD.

April 2017 Update

$
0
0

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.

Engine Changes

  • NEW Added missing TF2 icons
  • NEW Added cl_downloadfilter noworkshop – disables only all of the workshop downloads
  • UPD Set r_radiosity default value back to 4
  • UPD Increased lightcache size from 200 to 8287
  • UPD Updated localization files
  • UPD Updated Steamworks SDK to v1.38a
  • UPD Switched SRCDS Steam Workshop to ISteamUGC API
  • UPD Moved SRCDS workshop files to cache/srcds/id.gma, from addons/ds_id.gma
  • UPD BASS error messages now print the actual error names instead of error IDs
  • UPD Only display warnings about unused .gmas when there are such .gmas
  • UPD Default screen resolution is now your desktop resolution
  • UPD GMod will no longer try to send Lua errors to errors.garrysmod.com
  • UPD Improved crazy physics detection to avoid more crashes
  • UPD Updated LuaJIT to 2.0.4
  • UPD Multiple optimizations and multicore rendering fixes
  • FIX Fixed a problem with the addon system when using “Subscribing to All” on a collection with items that you are already subscribed to
  • FIX Fixed a potential crash/memory leak when loading compressed TF2 maps
  • FIX Fixed certain CS:GO textures failing to load
  • FIX File download process no longer get stuck if a single download fails in CNetChan::HandleUpload
  • FIX Fixed GMad.exe stopping writing the .gma once it encounters an empty file
  • FIX Fixed hlfaceposer.exe and hlmv.exe (Model Viewer) not working out of the box
  • FIX Fixed a problem where soundscripts would be precached as sound files causing lag
  • FIX Fixed floating addons not being mounted on dedicated servers in the root folder
  • FIX Fixed multiple various crash issues

Game Changes

Lua API Changes

  • NEW Added player.GetCount()
  • NEW Added 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 Added game.GetGlobalState( name )
  • NEW Added game.GetGlobalCounter( name )
  • NEW Added game.SetGlobalState( name, state )
  • NEW Added game.SetGlobalCounter( name, value )
  • NEW Added Weapon.SetLastShootTime( time )
  • NEW Added render.OverrideBlendFunc( OverrideEnabled, SrcBlend, DestBlend, SrcBlendAlpha, DestBlendAlpha )
  • NEW Added BLEND_* enumerations to Lua
  • NEW Added GLOBAL_* enumerations to Lua
  • 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
  • UPD Made SWEP.PrintName shared
  • UPD game.AddAmmoType now overrides duplicate names
  • UPD math.IntToBin micro optimisation
  • UPD Prevented Player:CanUseFlashlight() from returning nil
  • UPD Improved Entity:GetKeyValues to show actual values of keys and to show ALL keys
  • UPD Angle() can now also accept only 1 argument, to match the Vector()
  • UPD Optimized draw.RoundedBox(Ex) a bit
  • UPD Optimized DNumberScratch
  • UPD Minor optimisation of GM:MouthMoveAnimation default action
  • UPD timer.Exists will now return false for timers with deleteme flag
  • UPD Player.SetEyeAngles will now only work on local players when used clientside
  • UPD Entity.GetKeyValues will convert boolean values to integers instead, for compatibility with SetKeyValue
  • UPD Entity.IsRagdoll no longer throws Lua errors when used on invalid/NULL entities, returns false instead
  • UPD Entity.IsRagdoll nows return false where it used to return no value
  • UPD Moved Material() extension to shared
  • UPD If Steam says the a game is not installed – it is not installed. ( Mountable games list )
  • UPD Entity.PrintMessage clientside will appear as type “none” in GM:ChatText
  • UPD 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
  • UPD .txt convars now have LUA_SERVER flag and can be hooked onto with cvars.AddCallback
  • UPD Panel.OpenURL now also works with “about:blank”
  • UPD Clamped possible values of render.SetLightingMode to 0-2 to avoid crashes
  • UPD render.Capture now has an “alpha” option ( default true ) that allows to disable alpha on the captured image
  • UPD Player.ScreenFade is now shared
  • UPD GM:RenderScreenspaceEffects will no longer be called with ViewData.dopostprocess set to false
  • FIX Fixed a little issue with DCheckbox convar support
  • FIX DNumSlider.IsHovered now works properly
  • FIX Fixed widget_base producing Lua errors
  • FIX Fixed changing Lua variables of SWEPs in hooks such as GM:WeaponEquip not being applied to engine functions instantly
  • FIX Fixed first HUD_PRINTCENTER message being wrong color
  • FIX Fixed a crash issue with Panel.GetChild
  • FIX Fixed Entity.GetPoseParameterName crashing the game with invalid values
  • FIX Fixed an issue with string.GetFileFromFilename
  • FIX Fixed Weapon.LastShootTime being always 0 serverside
  • FIX Player.SetMuted()’s first argument now actually works
  • FIX DComboBox.Clear now resets the selected item

TTT Gamemode Changes

Viewing all 39 articles
Browse latest View live