branchgarrysmod.main/maincancel

815 Commits over 1,004 Days - 0.03cph!

3 Days Ago
Do not try to build this yet
3 Days Ago
Minor cleanups Disable setting cl_timeout to 45 on load that never worked before Add one more Lua backdoor URL Fix double clicks not invoking VGUIMousePressAllowed Minor whitespace cleanup Fix compile error Minor cleanups of empty/unused files Minor cleanups/warning fixes FIxed compile warnings with LuaJIT "Mounting %i workshop addons" reports mounted count, not total count Bump mem_max_heapsize to 512, and block it & datacachesize from Lua "Optimization" addons setting these to very low values (lower than GMod defaults) when "turned off" causes crashes Undo internal texture changes from CS:GO that affect monitor materials Remove voice_modenable in favor of voice_enable Both of them existing only causes confusion for players. Also fixed a case where voice chat would cease to work voice_enable is set to 0 and back to 1 Player:VoiceVolume works for local player without loopback This only works when using Steam voice, and only when not recording voice to file. (The default state) Minor cleanups
5 Days Ago
Minor cleanup Add engine_no_focus_sleep to blocked convar list Prevent crashes with steamworks lib when called too early on SRCDS it really needs to be queued until its ready, this at least won't crash now. Do not run friendsID check for HLTV clients Fix console spam about sprite orientation when the material is missing Fixed crash to do with env_projected_texture's texture Tell the player if garrysmod.ver is read only It not updating (by Steam) would prevent players from joining servers after updates Log workshop addon mounts (count only) in console Fix console message about lua_strict on game start up Constrain cl_timeout to 10-120, default to 60 (was 30) and block from Lua Merged Pull Requests * Remove default return in WorldPickerMouseDisable * Fix lua error with creator tool and missing NPCs cl_timeout - remove upper limit, unblock, and dont save Fix compile error Added -mountcfgfile launch parameter Block .vdf and specific .cfg files from file library Minor cleanup Increase MAXSTUDIOSKINS for studiomdl.exe from 32 to 64
5 Days Ago
Undo extra debug stuff
5 Days Ago
This likely fixes the Linux mapload crash (and possibly others)
5 Days Ago
Trying to understand why this code causes issues on Linux only
6 Days Ago
Reapply IMaterial (Lua) changes that were undone yesterday
7 Days Ago
Reapply changes recently undone Reapply a single change from the bad commit that SHOULDN'T cause issues
7 Days Ago
It must be this commit then that causes linux issues
7 Days Ago
Revert more changes from april 21st
7 Days Ago
Revert changes from april 21st that potentially causes linux issues
7 Days Ago
Let's try undoing this change to do with shader system
11 Days Ago
Don't forget to register the haptic umsgs on server
11 Days Ago
Stub out Haptics user messages
11 Days Ago
Minor cleanup (VPC) Throw a non halting Lua error when giving invalid types to SetNWVar Throw a non halting Lua error when trying to read net msg past the end Throw a non halting Lua error when hitting Lua file limit So it appears in the problems menu, so the player can know that there is a problem and what it is. Fixed leading spaces in console command not adding to the history Disable OOB checks for Vectors/Angles they use more complex networking, not flat floats nil is a valid NW type Apply minimum size check for net.ReadVector/etc Move new net library errors behind lua_strict convar (0 by default) Block lua_strict Remove Novint Haptics stuff entirely It was disabled in some places already, but now completely gone Fix build error
11 Days Ago
Minor cleanups Minor cleanups Cleanup CUtlBuffer.GetString overloads Merge some build process changes from x86-64 No more 100 Release/Debug folders spattered everywhere
11 Days Ago
Fixed Hammer crash when browsing models
12 Days Ago
Fix a server crash that wasn't merged properly from x86-64 CC/Tonemap system handles marked for deletion entities
12 Days Ago
Minor cleanups
13 Days Ago
Fix build error
13 Days Ago
Added `Alpha` input to func_precipitation in Hammer (FGD) Potential crash fixes Fix "Rotation Yaw Flip Random" particle operator regression Now acts like it used to Default "randomly_flip_direction" to 0 for "Rotation Random" Add `addons/` to autorefresh whitelist Prevent crashes with render.Capture Fixed potential Lua error with Playermodel Selector Minor cleanups Merge PR: Group mountable games by install state Reuse localization strings in main menu replacement buttons Change default hostname to "My Garry's Mod Server"
19 Days Ago
Alien Swarm Map Icons Updates to debug_dump * Handle "0" != "0.0" cases * Add game version to output * Sort alphabetically * Align values and default values vertically for easier parsing with eyes Remove "f" from some number convar default values Remove -usetcp as it is broken anyway and has unknown purpose Implement jiggle bones for serverside ragdolls Apply correct scaling on jigglebones with model scale This also disables some weird code that was applying inverse scale on jiggle bone matrix if scale > 1, I could not see where this was useful and it was causing jiggle bones to disappear up close. Merge Pull Requests * TTT: Updated language files * Micro optimize team.NumPlayers Fixed jiggle bones on scaled models not behaving correctly This took way too long to figure out for how simple the fix is, but jiggle bones on models with scale < 1 should no longer spazz out, and should actually work at scales above > 1 Force load HDR map lighting if there is no SDR lighting Even if the player has set `mat_hdr_level` below 2
21 Days Ago
Minor cleanups Minor cleanups Minor cleanups Gracefully exit when encountering invalid SubRect materials Crash with message, instead of crashing without a message
21 Days Ago
▇▍▋▊▋▄ ▋▍▉▄▆ ▍▍▊▇▇▅
21 Days Ago
▋ ▊▄█▆▆▆ ██▊▉ ▅▆▅▊, ▋▋▇▊▋ ▇▄▅▅█▄ ▅▌▄▍█/▉▇▇ ▊▍▌▌█▌
21 Days Ago
▆▇▇▆▌▇ ▌▍▇▇ ▌█▉▊▍ ▄▇▋▊▇▅
21 Days Ago
▋▄▊▄▇█ ▇█▆▍ ▄▊ ▍▅▆ █▍▅▊ ▍▄▉▌█ ▆▋█ ▉█▇▊▄▉
21 Days Ago
▆▌▍▋▍▉▍ #▍ ▄▉ ▇▌▆ ▊▉▌ ██▉▉▍▇
21 Days Ago
▊▉▆▉█▋█ █ ▍▆ ▊▄▉ ▄▌▆ ▄▌▉▆▋▄
21 Days Ago
Try to fix VPC builds on Linux/OSX
25 Days Ago
VPC changes Minor clean ups from x86-64 Minor clean ups from x86-64 Rename v_byteswap.h to byteswap.h more minor clean ups static prop physics have their contents set consistently between all versions of the game now
26 Days Ago
▍▅▄ ▆▋▊▌▇▋▇ ▅▇▅
26 Days Ago
▌▍▆▇▍▅ ▄▇ ▆▍▆ ▆▇▍▉▋
26 Days Ago
Linux build error fix
26 Days Ago
Try to fix build errors
26 Days Ago
Merge some VPC changes
27 Days Ago
Eliminating more branch differences / minor cleanups
27 Days Ago
Eliminating more branch differences Fix crashes to do with material's representative texture Apply FCVAR_USERINFO to gmod_npcweapon func_movelinear improvements Rework how sounds are played, so they are always consistently played, regardless if they are given, or if both sounds are the same sound. Also merged Portal 2 parented movement fixes. Allow mat_picmic below -1 in multiplayer Init text fields for func_precipitation
28 Days Ago
Eliminate more branch differences Fix close button not doing anything for +showvprof
28 Days Ago
Remove unnecessary changes to ConCommandBase
28 Days Ago
Fix creator tool causing errors on dedicated servers Added env_wind.SetWindDir to FGD Reset wind/sun render params on level load Call PlayerLeaveVehicle after the player leaves the vehicle, not during Fixes a potential stack overflow & being left in no clip when they are being force put in a vehicle from PlayerLeaveVehicle Prevent Lua errors with constraint library Update base.fgd
31 Days Ago
Fixed missing model for npc_citizen in Hammer (FGD) SMG1 ejects rifle shells, not pistol ones
31 Days Ago
Eliminate some branch differences Eliminate more branch differences with x86-64 Eliminate more branch differences with x86-64 again
31 Days Ago
Do not output ASCII control characters for color_white This is useful for exactly 1 person in the world Handle BaseTexture2 for impact particles on displacements Do not write variables at default value to config.cfg Guard against clients without new functions for DButton Fixed compile errors due to branch differences
31 Days Ago
Mention that sv_no_ain_files should be set before map load Handle missing cache file a bit better Remove cl_showpluginmessages Fix compile error Actually remove cl_showpluginmessages Fix crash with NPCs doing scripted sequences Remove test_entity_blocker concommand No reason to have it
31 Days Ago
Asset usage in Model Picker (Hammer) Ported feature from CS:GO, also fixes the model list not scrolling to selection after opened for the first time (since the picker is recreated every time now) Dedicated server workshop improvements * Cache addon list on success * On failure to connect to Steam, try to load addons from cache (this is kinda hacky) * Run Steam callbacks when waiting for Steam Log On, maybe that makes it work more consistently.
31 Days Ago
Fix Bugbait and Gravity Gun reporting 0 as Clip1/2 Make SLAM consistent with weapon_frag Use primary ammo type instead of secondary ammo type. Move crossbow effects clientside Fixed sparks only playing for non local clients Fixed crossbow load glow appearing on view model when using built-in third person mode weapon_crossbow handles addons setting its clip to 1 Updated TTT (Community Contributions) * Adds FCVAR_NOTIFY to various ConVars * If voice drain is enabled, it will not be applied to admins anymore by default * Changes some text used in the main menu "New Game" section * Allows Innocents to pick-up dropped Detective hats by default * Adds an option to disable the Karma system via the main menu "New Game" hosting * fix players sometimes being revealed as dead when they chat/voicechat right as they die (again) Fix regression with Creator tool Fix scanners creating console warnings on spawnmenu spawn resource.AddFile does not add .jpg for .mdl files Fixed crashes when SubRect materials is used on a brush
31 Days Ago
Add ability to put background behind console notify text Increase contimes to 12 by default Added con_bgalpha and con_border Added con_bgalpha/border to blocked convars Fixed typo in Extra console dropdown Fix white-on-white text color for pressed-in DMenuOptions Minor cleanup Fixed DTextEntry autocomplete clicks not functioning Try to prevent infinite loops when firing bullets from OnTakeDamage There was a weird behavior with it applying the first bullet's damage over and over again if using Entity.FireBullets from EntityTakeDamage Reveamp scoreboard player volume scroller thing So it's more obvious that you can scroll https://files.facepunch.com/rubat/2025/April07-1255-ValuableGemsbok.png Fixed NPE server crash to do with removed NPCs in NPC squads Fixed spawning NPCs with creator tool not randomizing weapons Now fully respects the "NPC Weapon" setting in spawnmenu.
38 Days Ago
Fix Linux/Mac compile error
38 Days Ago
Throw a warning when trying to create unprecached particles Added 2 new options to console quick options vcollide_wireframe & cl_particle_show_bbox Fixed particle precipitation not precaching the particles This happened when only PCF particle based precipitation types are on the map. Make Linux use the same console.log code path as Windows This concerns Linux dedicated servers only. Makes it so that ANSI command sequences are not written to console.log on Linux SRCDS. Added gmod_cleanup and gmod_camera to KB Options Fix Lua errors with weapon_base when NPCs try to use it TTT: Update French and Ukrainian localizations Added more console warnings with invalid sendprop types Added a bunch of new data to util.GetModelInfo Update Label center alignment with an inset Basically instead of being a minimum value for the X position of the text, the text is centered using the inset as the 0 position, always taking it into account. This is useful for buttons with icons, so the text always appears centered. DButton.SizeToContents improvement Runs InvalidateLayout to ensure the text inset is set to the correct value, implements SizeToContentsX Replace Copy to Clipboard icon with a button for Problems Hopefully will be more obvious what the button is, so ppl are more encouraged to copy the errors and send them to workshop addon devs. Also add icons to quick fix button Added "Copy to clipboard" button to gui.OpenURL dialog Also add icons to buttons. Increase max voice chat channels to 16 (from 5) Try to avoid Lua errors with DButton Fix tonemap system not getting new controller on map cleanup Fix a potential issue with game.CleanUpMap Improvements for util.TableToJson * Throw hatlng errors at all times (instead of non halting ones) * Clear any parsed data before throwing Lua errors, because the Lua errors prevent destructors from running Added "Inflictor" to Bullet structure Affects Entity.FireBullets and the bullet hooks. Inflictor sets the weapon that the damage should be credited to. Attacker being the entity that dealt the damage, i.e. a player Fixed sv_max_usercmd_move_magnitude breaking some mods Panel:PaintAt will touch Z pos only if there are any 0 values Improve player head angle (yaw) when in vehicles Fix the neck snapping when looking backwards from left to right, fix 90 degree offset in prisoner pod Colors from C++ have their metatables Unifies how colors are pushed to Lua, removes hacks Added Panel:GetContentAlignment Added `trigger_teleport_relative` Added m_bBreakable to prop_door_rotating DataDesc Merged Pull Requests * TTT: Fixed inconsistency for default values in terrortown.txt * Changed "Toggle" to "Toggle Key" for Muscle and Hoverball key inputs * Certain Sandbox entity spawning global functions (used for spawnmenu) return the entities they create Use Panel.GetContentAlignment to fix DButton text alignment With recent changes, the text in right click menus in Sandbox was moved to the left unintentionally. So now we use the new function to make it look right for both, left aligned text buttons, and center aligned ones. Missing whitespace changes from public repo Restore IMaterial:GetColor4Part for now. Needs to be deleted once everyone updates. Restore imat:GetColor hack for now FIx merge errors