userRubatcancel
branchgarrysmod.main/maincancel

1,100 Commits over 1,339 Days - 0.03cph!

Today
Remove VPROF from GetType (& minor cleanups) Get rid of remaining CSteamAPIContext references * Enables updating Steamworks SDK to latest versions * Maybe fixed getting notifications in chat for already unlocked achievements Fix inverted condition on some Lua funcs, oopsie Apply numerous safeguards in game code * Prevent effect entity leaks with CPhysicsCannister for example Only disallow SOME characters from concommand names * Spaces, newlines, tabs, etc., for backwards compatibility with poor decisions in the past More cleanups * Deletes CPropAirboat::CreateAntiFlipConstraint (unused) * Delete unused fields on some tempents clientside
Yesterday
Minor changes & cleanups Apply a mitigation for compression bomb in networking * Thanks to the people who reported the details of the exploit Adjust airboat flashlight * Make it a bit brighter, make it shine a bit father, and fix weird horizontal cutting off due to vertical FOV More nullptr checks for when at entity limit * Stalker, Combine Cannon effects More cleanups for consistency Disallow physics functions on players * Is there any reason to allow this? Add VPROF scope to IsPhysicsObjectValid
3 Days Ago
Merge shaderlib fix from x86-64 * We will need this change here eventually anyway Block setinfo concommand Try to prevent infinite loops in model animation code Apply "boing" jigglebone fix from TF2 SDK PRs * Fixes some models becoming invisible due to jigglebones * ValveSoftware/source-sdk-2013/pull/1721 Fix crash with dropship at entity limit w/ strider container
3 Days Ago
Some HUD adjustments * Use 1440p HUD font size for 2560x1660, 4K remains unchanged * Make the notification font text slightly smaller, now better matches sizes between 1080p and 1440p with how it used to be @ 1080p Make Voice HUD use its own font + positioning fix * The voice panels no longer overlap ammo HUD at high resolutions
4 Days Ago
Fix drive system not working fully in TTT
4 Days Ago
CFixedCommandStorageBuffer bounds check Prevent NPE crashes with creating physics too soon * Entity:PhysicsInitBox and Sphere affected. Will throw console warning. Alias func_simpleladder to func_brush * Fixes L4D ladders not working Prevent infinite loops from EntityEmitSound hook
4 Days Ago
Undo changes to player_info_s
7 Days Ago
Fixed $treeswaystatic not being copied to DepthWrite Add density sliders to fogui
7 Days Ago
Minor changes & cleanups * CBaseServerVehicle, CPropVehicleDriveable, CBaseAnimating rearranged some fields * CBasePlayer - rearranged some private fields * CHL2_Player - deleted UpdateLocatorPosition, SetLocatorTargetEntity, m_vecMissPositions, m_nNumMissPositions, m_AutoaimTimer, m_hLockedAutoAimEntity, m_hLocatorTargetEntity, m_flTimeNextLadderHint, DisplayLadderHudHint * CLogicPlayerProxy - removed defunct SetLocatorTargetEntity input * Restored mega grav gun armor reduction with hl2_episodic 1 More player and localplayerdata field reordering More field reshuffling * Deletes Panek::m_nHorizontalGradient, m_nVerticalGradient, m_nHorizontalGradientR, m_nVerticalGradientR (unused fields) Make "Unable to load module" give a reason in Windows Added ProjectedTexture:Get/SetSkipShadowUpdates Prevent invalid data in spawnmenu lists breaking search * Such as erroneously setting a weapon entry to a string or something Restore airboat speedometer thing Make "ProcessServerInfo failed" kick show a popup Update dxsuppor.cfg with some changes from HL2 cl_detaildist to 4096 high model & water detail for unknown cards Fixed r_rootlod with high numbers crashing the game Update default detailsprite material * Remove alpha testing and fix alpha fading of the detail sprites (rather than on/off "fading") Add missing CS:S painting textures
8 Days Ago
Remove recently added DebuggerBreak call Lets try shipping 64bit tools for testing Minor changes to entity classes Deletes C_BaseAnimating.m_bNoModelParticles (unused) Makes C_BaseEntity::m_fEffects, m_nRenderMode and m_nOldRenderMode private Removed C_BaseAnimating.SaveRagdollInfo, RetrieveRagdollInfo, m_bStoreRagdollInfo Moved some private/protected members around a bit (C_BaseEntity, C_BaseAnimating)
9 Days Ago
Prevent NPEs in FireBullets Some RenderData nullptr checks Minor change for FlashlightState_t mem layout Unfix door_03_slotted_left.mdl skins Invert Green channel on citizen sleeve c_model normal Discard certain saverestore types * CSoundPatch, CTakeDamageInfo, CEffectData will no longer throw errors
10 Days Ago
Fixed bugbait crashing in a certain scenario Prevent invalid VTF file flags from crashing the game For TEXTUREFLAGS_RENDERTARGET / TEXTUREFLAGS_DEPTHRENDERTARGET flags, instead of refusing to load these files, simply remove the flag so we don't crash later on. These flags are invalid to be in files. Move ANISOTROPIC stuff from DImage to notification lib Added SENT_AI:ResolveCustomFlyCollision( trace, vecVel ) Fix player NPC squad HUD not having a background * Also make the HUD element fit all NPCs following you (up to 16 right now) Delete some unused CGarrysMod stuff * Also block building_cubemaps convar (can still read it) * Removes IGarrysMod::MD5String, PlaySound, GetMapName * Removes CGarrysMod::SteamLogon, UpdateVGUI, MD5String, PlaySound, LoadDLLModule, GetMapName, GetServerAddress, m_ServerAddress, IsSteamOverlayActive, OnGameOverlayActivated Bump renderData to 16MB max * Was 4.4 MB. This is a bandaid fix for many skinned meshes existing on screen at once causing crashes (on x86-64)
11 Days Ago
Fix Linux SRCDS failing to build
11 Days Ago
Disallow duplicating gmod_hands * There's a save on workshop that somehow has 7000 of the things, which I don't expect to be intentional. Minor changes to overlay rendering from CS:GO Batched overlay rendering support Merge normal calc for overlay stuff from CS:GO Static prop physics scaling Fix some air being considered water on CSGO dangerzone maps * It was partially fixed for grenade clips, now fixed for drone clips r_staticpropinfo 5 shows static prop bounds * Just for debugging Unhide r_renderoverlaybatch for now
15 Days Ago
Update "Rejected transfer of" warning to be more descriptive * And also moved it after existing file check, so it doesn't spit out misleading warnings Add .ani to serverDL whitelist Fixed Lua error with duplicator's control panel Clamp down on more invalid paths Turn some console messages into warnings so they are easier to see Reduce scheme max font size to 150 * Fixes some weapon selection icons not having their blur at 160 More killicon aliases Vehicles inherit physics icon, hl1 mp5 and grenades use HL2 alternatives More BMS NPC placeholders * I am not even sure I should be doing this. Adds the zombie variations, sets the human grunt models, randomizes faces Consistently apply ammo HUD coloring when empty
16 Days Ago
Improve default HUD text scaling at 4K Fix loading screen size after screen resolution change DImage applies ANISOTROPIC mag/min filters Try to make the notification library work with different screen resolutions * It was overlapping ammo HUD @ 4K, so we make the position use screen % and scale the text with screen height Apply static prop scale to lighting origin * No idea if this changes anything, but CS:GO does it, so we will too. Changes IVModelInfo::GetIlluminationPoint Apply soup based physics scaling Fixed damage indicator HUD size after resolution change not in-game
17 Days Ago
Make "Invalid detail light id" into a warning Apparently some HL2 maps have bad LDR detail prop lighting lumps, triggering the bounds check Improve and fix water shader rendering * Fixes regression on existing maps that were not using realtime reflections, such as most TF2 maps. They used weird cheap & expensive water blending which is now restored * For water materials using flowmaps but NOT realtime reflections, we now apply CS:GO's envmap blending like expected. This improves visuals of water on MC:V maps Also reset reflection/refraction after reflective glass is out of view Fix newly introduced crashes with ammo HUD MC:V map icons htf_ map category Fixed scaled static props not updating render bounds * Fixes MC:V static props not rendering sometimes Fix gravity gun regression in multiplayer Give more space to secondary ammo display for 4 digits Slightly adjust default HUD colors * Slightly darker background, less eye searing text, so it's easier to see on various backgrounds * All the colors are in ClientScheme.res Enable weapon selector scrolling with too many weapons to fit on screen Preview of what it looks like: https://files.facepunch.com/rubat/2026/March31-2469-FruitfulBelugawhale.mp4
21 Days Ago
Minor cleanups Rework CCachedRenderData bounds checking * Is now a warning + more checks Fix armor UI element being slightly longer than HP UI element HP and Armor HUD expands to fit 4 digits when necessary Slightly adjust ammo HUD to fit 9999s comfortably Default HUD supports showing Clip2 if weapon uses that * it also supports cursed combinations like secondary and primary without clips at the same time, primary without clips and secondary with, etc Try to fix ammo counter being red/orange when having ammo
21 Days Ago
Probably fixed Linux build error Mention sv_nomap_timeout in "no map" warning (once) CS:GO missing map icons Reject invalid Water shader combos
22 Days Ago
Fix combine dropship not flying away after deploying troops ILuaThreadedCall virtual destructor Update UnlitTwoTexture shader to CS:GO version * Includes support for TRANSLUCENT shader combo and BEACHFOAM material parameter from CS:GO Apply a hack to hide toolsocclusion on MC:V maps Make some warnings use RED text * Bad lightmap extents on material, srcds_run warnings/errors Fix fallback skybox texture using non existent textures Lets try disabling -ffast-math (replacing with -fno-math-errno) Fixed some potential crashes
23 Days Ago
Re-multiply SWEP slot positions by 100 again * This is part of a hack that was removed, but mods are expecting this behavior now, so we restore the *100 part Update default spawnlists * Added Tool Gun world model to Garry's Mod spawnlist * Updated CS:S spawnlists - merged characters and weapons to "Counter-Strike" spawnlist Updated spawnicons * Added spawnicons for most CS:S props, rerendered weapon icons to be brighter New CS:S spawnlist to include ALL props from CS:S * Old "Map Props" spawnlist removed, add 2 new ones that contain all the models, one with the more useful ones, one with the less useful ones Merge PR to update default spawnlists Sort Browse => Games/Addons in spawnmenu using lowercase text * Fixes some models, such as W_AlyxGun appearing out of order Update 2 more spawnicons
25 Days Ago
Remove unintentional change that breaks Linux/macOs builds
25 Days Ago
Change navmesh.GetNavAreaCount data source * Fixes its return value not matching getAllNavAreas return count Fixed a crash with trigger_tonemap & some other issues * Also fixed `trigger_weapon_strip` preventing weapon pickup indefinitely if removed while player is inside the field Updated FGD files * func_useableladder origin KV is now defined (since its auto generated) Try to fix trigger_playermovement sticking when removed with a player in Simplify how we get Steam APIs * The new SteamAPI versions do not have the "api context" stuff anyway. * Deletes IGet::SteamRemoteStorage, SteamApps, SteamScreenshots, SteamUser, SteamFriends, SteamGameServer, ResetSteamAPIs Fixed another NPE crash with HLTV Fix some prediction errors with HL1 weapons * These weapons take too much effort Minor weapon prediction fixes * SLAM fixes * Minor Gravity Gun prediction fix (for holding right click)
30 Days Ago
Probably fixed CEF not loading in some super weird scenarios By setting PATH a bit sooner in the launcher DLL Fix HL1 ammo not respawning at correct pos with mp_weaponrespawn Remove some unused fields from HL2MP gamerules Added Black Mesa as mountable game * Also adds placeholder entities for some NPCs, such as guards, scientists and the HECU Slightly improve error handling for saving JPG/PNG files
31 Days Ago
Fix main menu being a tiny square for split second on game start up Minor change Unchange some hardcoded defaults for global EmitSound * Hopefully this is as simple as this for issue 6769 Fix Hologram/Distort render FX affecting attachment & shadow pos * This fixes driving a hologram jeep causing player view to jitter around with the animation.
32 Days Ago
Implement CHAR_DIRSTEREO Also fixed a potential issue with CAudioDeviceSDLAudio Iterate over duplicator positioning * Do not render preview in depth/skybox pass, do not adjust dupe spawn height which affects tall dupes Fixed GM:AdjustMouseSensitivity returning nil still affecting sensitivity * Invalid returns were acting as 0, but -1 was expected for "no action". Now non number returns are treated as -1 Remove more "test" console commands * drawcross, drawline, cast_ray, cast_hull, test_dispatcheffect Change buddha messages to be send to client console Remove hidden "killtarget" concommand Make base gamemode load spawnpoint list from the entity * So we have 1 dynamic list of spawnpoint entities we want Lua to register and use Added MC:V to mountable games list
32 Days Ago
Revert "Lets try making singleplayer always select first spawnpoint" This reverts commit 793dfc845bc7a0523c23224be83629b4303771ea.
32 Days Ago
Undo some changes to clientside game.CleanupMap()
35 Days Ago
More ent_create NPE crash fixes vgui_slideshow_display refuses to scan invalid folders for slides Delete a few more "test" concommands * This includes collision_test, kdtree_test, voxeltree_view, voxeltree_playerview, voxeltree_box, voxeltree_sphere Add 2 new parameters to VRAD * `-LeafAmbientSampleReduction` and `-AmbientFromLeafCenters` Lets try rebuilding ambient cube indexes for when there are >65536 of em Lets try making singleplayer always select first spawnpoint * This mimics Half-LIfe 2/Portal 1 behavior. so you don't spawn on spawnpoints meant for testing during map development Fixed crashes with SavePresets Fixed decal related crashes with static props * For "clipped vertices" (whatever that means) it would crash, so we prevent that Make template spawned entities be removed if they are not NPCs * This is for NPCMaker entities, when given invalid entity classes to spawn (i.e. not NPC classes), it will now also remove the non NPC entity after spawning it, so they don't fill up the server Do not assign client-only color_correction entities serverside * This fixes map cleanups applying color correction that is not applied when just starting the map
36 Days Ago
Make BuildFromTriangles read weights from util.GetModelMeshes * It will only read 2 weights max naturally, while util.GetModelMeshes will return up to 3!
36 Days Ago
Use actual model scale for jiggle bone scaling * It was calculating the scale from bone orientation before (??) which was causing oscillations on some models when unscaled Make joystick input add to mouse delta, not replace it * Since the player can still use both at the same time, both affecting mouse delta at the same time makes sense, no? This is also consistent with how viewangles are handled I think Merged Pull Requests * TTT: translatability improvements * TTT: use GMod language setting by default * TTT: Equipment menu sorting options * Menu: Optimise digest scheduling * Pass along GM:AdjustMouseSensitivity's arguments to weapons
37 Days Ago
Fix a NPE crash with network transmission check Change Hammers ???? spawn flag to a more descriptive text Restore gmod_language cvar for dedicated servers * Kinda lame that I have to do this, but in order to not break stuff Apply some validations to shader API
38 Days Ago
Fixed some compile warnings
38 Days Ago
Try to fix OSX not compiling
38 Days Ago
Update Linux vphysics * This makes additional changes that need a close eye on them: * Deletes libstdc++.so.6 from game folder * Enables Valve's memory allocator override, which is required for new vphysics
39 Days Ago
Fix 64bit HLMV Fix a crash with improper usage of prop_ragdoll Fix physgun glow rendering in buildcubemaps * Just a dumb fix. Applied some more changes like not drawing physgun glow if player is invisible Fix potential crashing issues with GetModelMeshes Reset firing delay on weapon holster while in reload animation * So pulling out 357 or crossbow after starting reload doesn't lock you out of doing anything with the weapon for the duration of reload Fix animation canceling with the RPG reload * You can no longer holster and redeploy to bypass the reload animation after firing Minor cleanups Remove duplicate voice_scale from the blocked list Apply some clientleafsystem index checks from TF2 SDK Remove explosion sound from Emitter's underwater explosion Minor changes to util.SpriteTrail * No entity leakage on Lua error
39 Days Ago
Fix ents.Iterator getting NULLs again Limit Colour tool inputs to valid range
42 Days Ago
Fix "invalid format PHY" for old model formats Add non-halting error when tables have wrong data type * This relates to C functions that expect table inputs. Instead of failing silently, we let the developer know they are doing something wrong Delete particle_test* convars/concommands * Seem useless? Delete simple_bot (simple_bot_add concmd) * Nextbot test entity or something? Delete hunter_shoot_flechette concmd Delete fadein and fadeout console commands * I think that this is never used? Fixed a number of concommands crashing when using on srcds * For example `prop_physics_create` Give weapon_cubemap a unique bucket position * So it doesn't conflict with other built-in weapons. really should update the weapon selector so this isn't even necessary Disable most impulse commands * This includes 76, 81, 82, 83, 102, 106, 107, 108, 195-197, 202 and 203 * All of these are either useless or do nothing, or are replaced by Sandbox. (jeep spawning) Remove some CAI_BaseNPC debug stuff Removes CAI_BaseNPC::m_pDebugNPC, SetDebugNPC, IsDebugNPC which are never used Remove CBasePlayer::m_rgItems (unused) Enable default weapon selector to render weapon slots 7-10 * They will not appear by default (as empty boxes), but if you have a weapon in slot above 6, you can now actually see it Move where model scale limits are enforced * Also delete duplicate m_flModelScale definition in the data table Rework weapon selector weapon positioning * It kinda took too long, but it is no longer possible for weapons to be invisible within the first 10 slots. Everything else should be the same * Removes a few SlotPos related hacks * Fixed slot 10 (bound to 0 by default) having wrong number in the selector, and not being selectable via the bind
43 Days Ago
Fixed some spawn crashes with some entities gmad.exe no longer overwrites existing files More model data validations Fix CreateLinkController leaking entities if misused Implement Combine APC aiming for players * I had this code laying around unfinished, and now its finished. * Also respect EnableGun for players only Lets try undoing changes to UTIL_PrecacheOther * I wonder if this causes ents.Iterator nulls Block mat_texture_list_txlod_sync just in case
44 Days Ago
Fix a typo in DModelPanel
44 Days Ago
Implement drag'n'drop for HLMV * You can now just drag a .mdl onto the app to open it Fix normals on balloon_classic LODs and camera.mdl LOD 3 Merge some minor changes for models to load correctly on 64bit Minor cleanups Fix false positive on LoadLeafs data validity test Update AppID for CS:GO to use the new one Ship a fixed tri1x1.mdl * Fixed normals, fixed extra weird mesh Do not reset water reflection/refract textures when they are not used * From start of game, if expensive water is always disabled (or if the map doesn't have water to begin with), do not clear the RTs. (This would happen only once regardless)
45 Days Ago
Include tree_deciduous_card_01.mdl with the extra skin * Fixes some visual inconsistencies on HL2 maps Implement Panel:Clear for DPropertySheet/DCollapsibleCategory * DPropertySheet will clear all tabs and their associated panels (and calls OnActiveTabChanged with nil as new panel) * DCollapsibleCategory will avoid clearing its header, deletes everything else * DPropertySheet:CloseTab now also calls OnActiveTabChanged Flip order of operations for model matrix mult of DrawSkinned * Should fix angles affecting position Apply name restrictions to concommand.Add * It's the same name restrictions as CreateConVar, so probably fine? Let's try removing Language system from dedicated servers Minor cleanup Do not check toolmode_allow convars for Utilities menu Clarify what "Max Ragdolls" server setting is Stop soundpatches on entity removal And also prevent soundpatches from playing with invalid entities. Spawnmenu calls CanTool clientside to mark server-disabled tools * This is an experiment which may end up error prone, but let's try it. The intent is to show in the spawnmenu UI when a server (or an addon) has disabled a particular tool.
46 Days Ago
Implement corrected limit checking for mesh.Begin w/ static meshes I.e. when giving mesh.Begin a mesh object, the limit becomes 65535 instead of 32768 Added second arg to IMesh:DrawSkinned - mult by model matrix Try to prevent crashes with weird .phy files
49 Days Ago
mesh.Begin throws errors with invalid primitive counts Fixed a crash with func_button and Sandbox drive system Lets try making r_radiosity default to 4 again Add some sanity checks to map loading
50 Days Ago
Add a temp hack for missing surface.GetScissorRect Add some invalid handle checks to shadow rendering Remove that unused code Potential micro optimization for trace filter tables Fix MSurf_MaterialSortID check being to aggressive perhaps Minor cleanup Fix last map not loading correctly if it's an addon map
51 Days Ago
Make effects.BubbleTrail not turn start/end pos into mins/maxs Added Lua mesh skinning support * Added `mesh.BoneData( index, matrixId, weight )` * Added second argument to `Global.Mesh` - boneWeights * Added `IMesh:DrawSkinned( matrixTable )` Minor cleanups Fixed DrawSkinned affecting underwater rendering * By applying the model matrix to the Draw() call Some more than minor cleanups of probably unused stuff Fill remaining matrices with identity ones for DrawSkinned * In case some silly goober doesn't give it enough or gives none Fix handling of userdata members from tables Fix potential crash with malformed models
53 Days Ago
Fix potential crash issue with rope rendering Remove the while loop from DModelPanel render * Added surface.GetScissorRect (Faster than surface.GetPanelPaintState) - returns enabled, left, top, right, bottom Merged Pull Requests * weapon_fists sets damage position * Make closedcaptions fonts anti aliased Fix missing font CloseCaption_Small Implement vendor specific shadow depth format test for Intel Allow solid triggers to touch triggers * Allows loose weapons and ammo entities touch remove/teleport triggers, etc. Unhide r_particle_timescale
56 Days Ago
Merge PR: Toolgun trace not hitting parented props re-fix Fixed a crash to do with HTLV
57 Days Ago
Flechette Gun aligns projectiles with world clicker Fixed buggy behavior of HL:S crossbow with its zoom * (By removing the "instant" attack mode) Fix HL:S crowbar hitsounds in multiplayer Alias some HL:S weapon killicons from HL2 ones Clear _rt_Camera texture to black on disconnect Clear water reflection/refraction textures when unused Ship fixed door models * Door03_Slotted - fixed skins not working, fixed opening animations not always playing correctly, added ep1 hardware type, fixed pushbar lighting * Door03 (Ep1) - added rusted texture skin from Door01 (fits the window cutout) * Door01 - added ep1 hardware type, fixed pushbar lighting Ship fixed Skin13 & 14 for doors * Fixed handlebar textures for both Implement pistol empty holster * Fixes the model having empty and non empty holster anim being tied to the same activity
59 Days Ago
Fix missing return value on Matrix()