branchgarrysmod.main/maincancel

1,039 Commits over 1,308 Days - 0.03cph!

1 Year Ago
Fixed ragdoll boogie happening from +USE pickups/throws Prevent throwing +USE pickup if holding M1/M2 while picking up Ship a cleaner version of decals_mod2x, uncompressed Eliminates green colors from some overstacked decals. Not perfect because some decals now have gray outlines instead of green ones, but much better still. Also ship improved versions of decals/light, decals/dark and decals/alienfliesh/shot1 which appear in the paint tool, and suffer from DXT compression artifacts
1 Year Ago
Compile warning fixes Update Metrocop player model to have a valid shadow LOD Do not render dragndrop overlay when UI mouse input is not active A bit of a bandaid fix, but it works. Minor cleanups FPS independent CUserCmd:GetMouseY/X on server Client's FPS would affect the values the server gets (higher FPS - more intermittent results, causing "low sensitivity") Now we accumulate the mouse deltas when client performs "extra mouse sampling" and send the accumulated value instead of whatever happened to be the latest delta value. This affects Physics Gun +USE rotation and GMOD_Camera by default, but also all mods using the aforemention functions. They should now function more predictably regardless of client FPS. Removed unused convars that do nothing r_fastzrejectdisp mat_shadowstate mat_maxframelatency mp_usehwmvcds r_threaded_client_shadow_manager, r_threaded_renderables r_decal_cullsize r_drawopaquestaticpropslast r_threaded_renderables snd_mix_async mat_parallaxmap On dedicated servers, return "unknown" instead of "prerelease" Since the builds are identical 99% of the time, "unknown" is the more expected value. This way, it's incorrect only in 0.01% instances, instead of most of the time. Fixed resistance turrets being in combine overwatch squad Added list.RemoveEntry (Community Contribution)
1 Year Ago
Compile warning fixes Added host_writeconfig_lua (blocked from Lua) Fixed commas in AddOutput map IO input causing issues Now uses the special ESC symbol, like VMFs do. Minor cleanups Automatically delay HTTP calls until SteamHTTP is ready Apply more strict checking of invalid Lua states in CLuaObject Will display console warnings when CLuaObject is used on an invalid Lua state. Ideally these messages should never be seen. Minor cleanups Queue lua_error_url messages until SteamHTTP is available Make Lua print() and error() colors the same
1 Year Ago
Remove most of deprecated CSteamAPIContext usage on the client It is removed entirely in some newer version of Steamworks API Fixed voice chat crashing, remove unused files, steam usage cleanups Remove more usages of deprecated SteamAPIContext Remove deprecated Steam API stuff from legacy server browser Fix srcds crash to do with workshop
1 Year Ago
Remove temporary hacks for DButton and IMaterial.GetColor Clear networking queue on map shutdown, not map init Fixes clientside errors happening before LevelInit hook not being sent to the server Merge Pull Requests * Pico optimization for cam.Start2D() * Added list.GetEntry
1 Year Ago
Restore build locations for server.dll/client.dll
1 Year Ago
Fix upper 32bits of 64bit pointers in Lua Minor cleanups
1 Year Ago
Do not try to build this yet
1 Year 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
1 Year 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
1 Year Ago
Undo extra debug stuff
1 Year Ago
This likely fixes the Linux mapload crash (and possibly others)
1 Year Ago
Trying to understand why this code causes issues on Linux only
1 Year Ago
Reapply IMaterial (Lua) changes that were undone yesterday
1 Year Ago
Reapply changes recently undone Reapply a single change from the bad commit that SHOULDN'T cause issues
1 Year Ago
It must be this commit then that causes linux issues
1 Year Ago
Revert more changes from april 21st
1 Year Ago
Revert changes from april 21st that potentially causes linux issues
1 Year Ago
Let's try undoing this change to do with shader system
1 Year Ago
Don't forget to register the haptic umsgs on server
1 Year Ago
Stub out Haptics user messages
1 Year 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
1 Year 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
1 Year Ago
Fixed Hammer crash when browsing models
1 Year Ago
Fix a server crash that wasn't merged properly from x86-64 CC/Tonemap system handles marked for deletion entities
1 Year Ago
Minor cleanups
1 Year Ago
Fix build error
1 Year 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"
1 Year 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
1 Year Ago
Minor cleanups Minor cleanups Minor cleanups Gracefully exit when encountering invalid SubRect materials Crash with message, instead of crashing without a message
1 Year Ago
Try to fix VPC builds on Linux/OSX
1 Year 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
1 Year Ago
Linux build error fix
1 Year Ago
Try to fix build errors
1 Year Ago
Merge some VPC changes
1 Year Ago
Eliminating more branch differences / minor cleanups
1 Year 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
1 Year Ago
Eliminate more branch differences Fix close button not doing anything for +showvprof
1 Year Ago
Remove unnecessary changes to ConCommandBase
1 Year 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
1 Year Ago
Fixed missing model for npc_citizen in Hammer (FGD) SMG1 ejects rifle shells, not pistol ones
1 Year Ago
Eliminate some branch differences Eliminate more branch differences with x86-64 Eliminate more branch differences with x86-64 again
1 Year 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
1 Year 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
1 Year 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.
1 Year 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
1 Year 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.
1 Year Ago
Fix Linux/Mac compile error
1 Year 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
1 Year Ago
Updated FGD files Added logic_register_activator, logic_coop_manager, point_viewcontrol_multiplayer and point_viewproxy Updated prop_vehicle_choreo_generic