userRubatcancel
branchgarrysmod.main/x86-64cancel

561 Commits over 823 Days - 0.03cph!

2 Days Ago
Fixed StudioMDL crashes due to $maxverts
2 Days Ago
Make ClientsideModel able to be hit by clientside only traces * When using physics. Collision bounds must be set manually if model changes. Merged Pull Requests * TTT: Updated Turkish localization (Community Contribution) * Main menu: Make check box labels clickable (Community Contribution) * TTT: Set Attacker and Inflictor to usages of SWEP:FireBullets (Community Contribution) Remove extra newlines from "##### CTexture couldn't find" warning * The warning is Linux only Added 2 new optional args to mesh.TexCoord * mesh.TexCoord( stage, S, T, U, V ) - UV being the new args. They are optional. Fixed edict exhaustion prevention affecting nextbot players Fixed some usages of HL2_DLL clientside * TE_CONCUSSIVE_EXPLOSION and fall damage constants being inconsistent between client/server Try to end mesh.Begin when a mesh wasnt ended (i.e. after a Lua error) * mesh.Begin will end the current mesh if there is one. It will still error afterwards like it did before. * Prevents game hang, hopefully without side effects Fixed a crash with clientside ropes on props Basic implementation of clientside ragdoll gibs Prevent crash to do with CSpatialPartition invalid handles Prevent "bone write access" warnings with ClientsideRagdoll() Make `tools/toolsinvisibleladder` not affect visleaves Fixed CLC_Move::ToString numbers being flipped Fixed server crashes to do with Gonarch NPC Restore default FindUseEntity behavior Fixed CBaseFileSystem::ReadLine not working for workshop files Minor VPK support changes from CS:GO Fixed addon dependencies not showing due to regressive Pull Request Change ents.CreateClientRope slack param to work better Make ents.CreateClientRope despawn if any of its entities are removed Fixed Lua errors with DProperty_VectorColor when deleting editable entity Allow to give ents.CreateClientRope local vectors instead of attachment IDs FIlesystem cleanups Improved invalid model detection Improve folder search inside VPK files Can actually find folders in root of VPKs, can actually wildcard match them now as well (so "models/props*" gets you just folders starting with that, not all folders in "models/") 64bit compile fixes
4 Days Ago
Fixed cl_software_cursor
22 Days Ago
MsgC no longer outputs empty strings when first arg is a color Update launcher_main.rc - fix version Added NPC:BecomeRagdoll Same as Nextbot:BecomeRagdoll Added NPC:SetForceCrouch Allows force crouching Citizens and combine soldiers. Added new commands to studiomdl.exe $maxverts, $phyname, $internalname, $qcassert, $lcaseallsequences, $defaultfadein, $defaultfadeout More StudioMDL.exe commands Added $appendsource, $redefineattachment Added $skinnedLODs for StudioMDL Update StudioMDL usage info when given no parameters Added previously unmentioned command line options, dump supported .qc command list. StudioMdl metadata & icon VRAD: Added `-SunSamplesAreaLight` (Community Contribution) HLMV improvements Fixed crashes when doing stuff without a model selected When a material is missing, include the missing material name in "VMTs loaded" section HLMV: Fixed extremely slow screenshot performance * Images are now saved as .bmp instead of .tga More HLMV crash fixes with no model HLMV: Change Shader display to a read only text entry HLMV: Display selected material in a text box so it can be copied Limit static prop counts to save values for now Fixed regression in gmod_camera
25 Days Ago
Update version.rc as well I forgot to press CTRL+S Update version.rc to fill more standard meta data Map compiler meta data Make prop water level changes actually work, and apply on clientside too Sign EXEs
26 Days Ago
Internal improvements Fixed handle leak for gmod.exe (x86-64 exclusive .exe, that selects 64bit or 32bit appropriately) Added version info to gmod.exe (the launcher thing) Added version info to DLLs Do not use `_xp` build tools at all Added sv_pause_sp - allows singleplayer to be not paused Clean-up doubleclicking in menu (Community Contrib) Added option to "hide outdated servers" (Community Contrib) Enable "Spawn with Weapon" for Eli, Mossman, Breen, Magnusson, Kleiner Make zombies/metrocop propagate their lagcomp state to spawned NPCs Dynamically calculate max autocomplete items based on available space Add SteamID64 to "Dropped %s player from server" console message Remove "PREP OK" from console map loading log Also change "PREP FAILED" to "AddMapPackFile failed", and make it a warning. Adjust recent changes to IMaterial functions for multicore Block editdemo concommand just in case Added NPC:IsCrouching Combine/Citizens can do this. Remove unintended changes to weapon_flechette Fixed a crash when using gm_load on dedicated server Also make loading saves on srcds not latch to a random player on the server Fixed some version numbers not being updated in DLLs/EXEs Why are there 4 version numbers in 2 different formats...
30 Days Ago
Cleanups from main
31 Days Ago
Hammer: Port color preview for models from CS:GO Added color keyvalue to prop_door_rotating Allow PCF as valid transfer extension Make sv_lagcompensationforcerestore do something SRCDS workshop cache also caches titles Also display a warning that cache will be used. Added some AnimOverlay functions Entity.FindGestureLayer( activity ) = LayeriD Entity.FindGestureSequenceLayer(seqID)=LayeriD Entity.RemoveLayer( layerID ) Entity.SetLayerAutokill( layerID, bool ) Fix soundscapes not working with duplicate sounds (ported from CS:GO) Also made sv_soundscape_printdebuginfo a cheat, instead of devonly, like in CSGO NPC weapon selection icons Use ContentCategoryIcons list to give NPC weapons icons in spawnmenu NPC tab and on NPC spawn icon right click. Also group NPC icon right click by category like it is in other places. Added GM:OnNPCDropItem hook It will NOT be called for dropped weapons, for that you have GM:PlayerDroppedWeapon (yes it was always called for NPCs too) HL1 NPCs will call this hook when they create "fake weapons" on death, since they do not use weapon entities Fix FireBullets causing "CLuaObject:GetType with invalid lua state" warnings Restore rope texture scaling to HL2 values For tool-created ropes, we apply custom scaling value so it looks like it did before any changes. Fixed NPCs being able to shoot some guns forever, without reloading This affects ALL weapons with DefaultClip above the Clip size, such as AR2. Prevent potential Lua errors with weapon_base Fixed IMaterial spamming console about "$basetexture" not being a texture This happened when opening Overlay post processing effect list in Spawnmenu. Affected functions: IMaterial.GetTexture IMaterial.GetColor IMaterial.Width IMaterial.Height Make "No account token specified" a warning Reset render lib lastmaterial on map shutdown Fallback "VertexBeckman" shader to "VertexLitGeneric" Minor optimization in Ignite property RPG/Crossbow animation improvements for citizens Fix NPC being unable to fire RPG due to recent changes Combine RPG support Improve metropolice weapon support for Shotguns, AR2, RPGs Fixed some NPC drops not calling OnNPCDropItem Add CSS thruster models without mounting CSS` (Community Contribution) Fixed server crash when mounting ladders at edict limit Minor cleanup Improve free edict detection
36 Days Ago
Disable clientside ShawTeam & others We tried, it won't work.
36 Days Ago
nullptr checks in particle rendering that really should've been in last commit Remove newline from "Disconnect by server." kick message So server console log is less messy. No other kick reason adds a new line at the end. Fixed a typo & add internal TODO Merge Pull Requests (Community Contributions) * Micro Nano optimization for GM:HUDDrawTargetID * Make default Sandbox fonts extended for better rendering of non Latin characters Make GM:ShowHelp & co also be called on client. Unhide Jalopy seat and Flechette Gun without mounting HL2 `weapon_fists` sets Weapon in DamageInfo (Community Contribution) Status prints server uptime Improve NPC animation support for pistols and rifles Combine NPCs no longer T-pose with pistols. Improved crouch support for NPCs using pistols and rifles - NPCs wont crouch to shoot for 0.3 seconds and then stand back up Enable EP2 behaviors for npc_combine_s Some sort of "march" thing? Fix off by one issue with particle sheet loading checks Prevent crashes due to netgraph Combine anim retargeting uses AR2 anims, not SMG1 anims Fixed an issue with particle loading NPC Weapon allowance changes Kleiner, Mossman, Eli, Breen and Magnusson can now spawn with guns Vortigaunts and HL1 GMan can no longer spawn with guns Further updates to NPC animations Try to make NPCs shoot slower with the .357 Fix Eli, Magnusson, etc. shooting from their feet.
38 Days Ago
Unhide CSS/Ep1/Ep2 spawnlists by default Improvements to multiplayer player getters * FindEntityProcedural `!pvsplayer` multiplayer support improvement * UTIL_GetLocalPlayer micro optimizations * UTIL_FindClientInPVS now tries to get the closest client Bump version number in DLLs/EXEs Change "exe version" to "network version" for version concmd Multiple improvements to error handling of particle sheet loading
39 Days Ago
Fix srcds regressive crash to do with SnapshotManager changes from csgo
40 Days Ago
Fix branch specific compile error on Linux/MacOS (Hopefully)
40 Days Ago
Enable Jalopy idle_running animation without hl2_episodic convar This applies to all vehicles, even modded ones, if they have an animation bound to ACT_IDLE_STIMULATED Fixed a regressive Lua error with Player:AddCount (Community Contrib) Minor cleanup Prevent certain code making shotguns emit a damage event for each pellet The "TraceAttackToTriggers" system for bullets would cause the shot entity to have a separate damage event for each pellet for a shutgun shot. Update FGD - light properties descriptions Prevent silly values in fog_controller Undo changes to Func_MoveLinear.SetSpeed again Mount CSS/Episodic VPKs in tools Make Linux happy Fixed weird white spots on Metrocop playermodel gloves Updated/Fixed decal textures & materials from main
44 Days Ago
Minor cleanups Move css/episodic VPKs to sourceengine/ and rename them more under friendly names, such as content_cstrike.vpk, and prevents unnecessary work on the build server Fixed regression with loading workshop saves
45 Days Ago
Fixed `version` not having proper branch value Deletes IGet->BuildName Apply multicore support for modifying meshes A bit hacky fix for linux file modified time being wrong due to recent changes
46 Days Ago
Update some base materials with correct surfaceprops Mostly affects HL2 coast maps, so footsteps/impact effects are correct Episode 2 material surfprop fixes Fixed a crash when reloading textures CSS map material surface prop fixes Improve how death is handled when NPC is killed by a harpoon Other game systems can now detect these deaths, such as the Antlion Guard section on d2_coast_11 (OnDeath output runs, etc) Added LuaMesh.__tostring Throw a non halting error when GetRenderMesh has a mesh. but not a mat Prevent a crashing issue with multicore and IMesh:BuildFromTriangles Fixed "timeout" not working in HTTP, clamp it to 1-3600 Merge Pull Requests * Added HexToColor, Color:ToHex() (Community Contribution) * Added CtrlNumPad:GetValue1/GetValue2(Community Contribution)
50 Days Ago
Minor cleanups from main
50 Days Ago
Cleanups from main Fixed Hacked Rollermine not respecting ignore players flag Fixed env_fog_controller.SetColorHDR not working due to extra space char Fixed that one HL2 map having weird fog when coming out of the tunnel Ship Episode 2 override of barricade001a.mdl with fixed physics mesh kickid supports SteamID64 Reduce CEF logging severity to default (from verbose) Minor cleanup Remove MAX_TEXLIGHTS limit from VRAD Update prop water level calculation More accurate water level for props, so props half submerged are no longer considered fully submerged. Explosion code now updates the water level before checking, so RPGs can properly explode floating props now Increase physgun_maxrange maximum value to 32k Fixed a crash with CLuaInterface::IsType
52 Days Ago
Fix lights.rad being broken again
52 Days Ago
Update "AI node graph is out of date" warning to include version number Move "Soundscape: " message to soundscape_debug 1 Clean up g_SBoxObjects when entities get deleted Also fixed Player:GetCount not updating after rejoin on entity delete (undo) Merge Pull Requests * Fixed SWEP info tooltip overlap during fade out (Community Contribution) * lights.rad: episodic additions Enhancement (Community Contribution) Disable sv_parallel_sendsnapshot by default Apparently still causes random issues that need solving first. Fixed crash when using `-hijack` Fix some compile warnings Merge Pull Requests * Localize old spawnmenu categories for addon added entities * Disable mouse3/4/5 input on DAdjustableModelPanel Update dedicated server UI Added workshop collection entry box, gamemode selection and remove mandatory RCON password Replace Steam icon in SRCDS UI with gmod one Disable SRCDS UI loading some animation images that dont exist the pane ls always hidden anyway Manually copy over t_leet.vtf because GIT is being an ass
57 Days Ago
whitespace consistency pass Only build 32bit binaries for 32 bit Linux builds (dependencies) Unhide AIN loading errors from developer 1, make them warnings Move map.pack to cache/map_pack.bsp Since its a temp file that doesn't need to pile up in the root folder Disable 360.ain loading for preload Not sure if this code even runs, but just disable it Force mount HL2 episodic content on SRCDS Prevents "missing particle" warnings on start up
57 Days Ago
Cleanups / warning fixes Removes hud_centerid and hud_showtargetid which were unused. Added Counter-Strike: Source content to Garry's Mod Separate VPK with models, sounds and materials/textures that is mounted if CS:S is not manually mounted. The version shipped with GMod does not have any music or voice over, duplicate content or any of the maps. Adding Half-Life 2 Episodic content as fallbacks Again, no voice over or music, but models, materials and sound shipped. Remove sw.vtx from CSS vpk Enable Episodic spawnmenu content (NPCs/Vehicle/Entity) by default
58 Days Ago
Fixed missing antlion guard step sounds Make RemoveDecalsAt distance a float Added description to sv_sticktoground Use squared distances for RemoveDecalsAt internals Disallow Spawn() on world entity Add a confirmation dialog when trying to load a save that would changelevel Change implementation of VMatrix.InvertTR to avoid it crushing itself It's probably a bit slower now, but returns actually correct values VMatrix:GetAngles uses a normalized matrix internally so scale doesn't affect results as much Added ai.GetNodeCount Properly fix the particle related crash, and fix regression
59 Days Ago
cleanups from main Cleanups from main Minor cleanups Fix missing Trails undo message localization Fixed particle related crashes when attached to an entity Pointless nullptr checks for CImage when basically OOM Apply SendSnapshot hack from base game to HLTV Allows full update snapshot to exceed 256KB limit, up to 1MB limit. Also updated some console messages and kick reasons to include more useful data Remove links to dead valve websites, link to VDC (Hammer & tools) Remove 1 more dead link from Hammer Merge KeyValue leak fixes from TF2 SDK Some of them were already fixed Change description of bot_zombie convar Fixed missing antlion guard step sounds Move VPK to Tools group in Visual Studio
2 Months Ago
Fixed compile error due to branch differences
2 Months Ago
Removing some PS3 specific stuff from tier0 Minor cleanups from main Reduce OBS_MODE_DEATHCAM time from 3 seconds to 1 second Added some sanity checks when loading VTF files and possibly running out of memory. Edit Entity window now shows prettier entity name (Community Contribution) string.ToColor micro-optimization (Community Contribution) More strict shader file whitelist (Requiring to be in `shaders/fxc/`) Delete unused CDispInfo.m_pTags Try to provide some useful info to "hit surface has no samples" warning Fixed operator precedence in a certain validity check Minor cleanups Added more checks for invalid values Increase MAX_NODES to 8192 (from 4096) Sanity checks for VTF loading Minor cleanups Fixed some issues with save/load system UniqueID/SteamID consistency for multirun clients UniqueID will still be inconsistent for multirun clients because its based on data clients can't know Only allow sound precache on level transitions/game load Should help with singleplayer players and addons with hundreds of sounds per weapon Apply FCVAR_CHEAT to r_pixelfog
2 Months Ago
Fixed VRAD Lightmap crash due to static props using out of bounds skins Fixed VRAD always forcing verbose to true Fix "must be compiled with $staticprop" error in VRAD too (was VBSP only) Since `-allowdynamicpropsasstatic` is not a thing in VRAD, it will just always allow such props. VBSP controls whether such props are written to the .BSP file, so it should be all good anyway, since VRAD only loads the model list from the BSP.
2 Months Ago
Fix legacy hooks for entity iterators feeding entities to the callback Minor cleanups in gl_util.cpp Merge Pull Requests * Remove duplicate "Black and White" color modify preset (Community Contribution) * Use player.iterator over player.GetAll in some base game functions (Community Contribution)
2 Months Ago
Add some sanity checks for malformed models that could crash the game (to do w/ textures) Improve V49 model support for VRAD static props -allowdynamicpropsasstatic also allows props without $staticprop VRAD static prop lightmaps respects skins (crash fix as well) + sanity checks for model loading Fixed an issue with format strings
2 Months Ago
Minor VPC cleanups More VPC Cleanups
2 Months Ago
Fix GitHub Desktop's fuckup yet again (lights.rad)
2 Months Ago
Minor cleanups from main Draw console notify text above all other panels Remove leftover debug print Added background to cl_pdump cvar run iterator reset just after EntityRemoved, not before Simplify optional argument checking for Entity:AddGesture/RestartGesture/AddGestureSequence Update lights.rad
3 Months Ago
Cleanups from main Cleaning up VPC build scripts
3 Months Ago
Fix failed merge
3 Months Ago
Minor cleanups Minor cleanups from main More cleanups from main Move HTMLPanel related files together Try to make ents/player.Iterator more reliable during OnEntityCreated/EntityRemoved Reset the cache just before the hooks are run, so the cached table would be up to date when ran inside those hooks by addons Implement cubemap seam blending for HDR cubemaps
3 Months Ago
Fixed some compile warnings Added more sanity checks Prop fading changes If prop min fade distance is below 0 (i.e. -1), it will be set to max fade distance if max fade distance is below 500. This avoids props being always transparent in this scenario, even when walking up really close to it. Minor cleanups More cleanups
3 Months Ago
Remove unused c_fire_smoke methods Fixed worldspawn not calling create/remove hooks correctly clientside Should now be consistently calling create AND remove hooks. Fixed clientside ragdolls not calling GM:EntityRemoved
3 Months Ago
Fixed changing video settings always forcing map reload Improve performance of ToGMODPlayer clientside Matches serverside implementation now Optimize player.Get* functions a bit Optimize ents.Get* and ents.Find* functions Remove -preload as well Use safer Entity push function for recent changes to player/ents libs
3 Months Ago
Minor cleanups Bump internal renderData buffer from 64k to 80k Prevent TOGL crashes when encountering debugger break Merge Pull Requests * Minor optimizations to Problems panel, abilty to close it via ESC key or clicking empty space * Numpad library discards bindings to KEY_NONE * Remove tostring call on the argument of player.GetBySteamID64
3 Months Ago
Added more sanity checks Added lua_matproxy_nobindmat & matproxy changes The convar is for testing only (since not all servers have the updated Lua library), Lua mat proxies will reuse the already stored material in Lua for the bind callback, rather than pushing the stored material from C every frame. This prevents thousands of IMaterials being pushed to Lua a second, and should prevent hitching when GC deletes them all in batches.
3 Months Ago
Removing more unused convars cl_burninggibs, r_propsmaxdist cl_first_person_uses_world_model - does nothing mat_max_worldmesh_vertices - no noticeable effect Removing more unused convars showparticlecounts, cl_team, cl_class Remove cl_SetupAllBones It was functional, but seems to be some sort of leftover hack which is disabled by default anyway Removed cl_forcepreload It is gone in newer versions of the engine anyway. It's functionality CAN be replicated via `-preload` launch param for whatever reason. Added player.GetCountConnecting
3 Months Ago
Add some sanity checks
3 Months Ago
Run PlayerBindPress for unbound keys too The binding will be an empty string. This is consistent with the pre-existing behavior of the hook running after running "unbind <key>" even though the key is technically no longer bound. Update misleading message "Can't save unknown type" Update "Field %s is using the wrong FIELD_ type" warning Test for unclosed Lua ISave/IRestore blocks Add internal note about 64bit engine save warning Saverestore Lua lib: Close started block on early return Not sure if this is the correct approach, so also prints an error if it is hit.
3 Months Ago
Do not try to run HTTP requests with invalid URLs Fix OSX not building
3 Months Ago
Update the DebugLuxel with actual vertex color support Speculative improvements for >2GB file support Reject empty or near empty .gma files More improvements to file support for >2GB Fixed crashes with point_worldtext for good
3 Months Ago
Update RPG Launcher model Added a few new sequences to map to view model activities, fixing the muzzle flash when drawing the weapon or when player shoots it Remove game_text debug prints Added Color:Copy method (Community Contribution) Truncate killfeed names to 512 bytes to prevent overflows Lets try registering private animation events as client events too Removing more unused convars mp_autocrosshair, mp_allowspectators, mp_friendlyfire, mp_fadetoblack Removing more unused convars mp_chattime, mp_waitingforplayers_time, mp_waitingforplayers_restart, mp_waitingforplayers_cancel, mp_clan_readyrestart, mp_clan_ready_signal, mp_readyrestart, mp_ready_signal Remove more unused convars mp_forcerespawn, mp_fraglimit
3 Months Ago
Fixed crashes with PCFs using ELEMENT_INDEX_EXTERNAL Affected particle systems will not be able to load. Remove unused convars joy_yawsensitivity_default joy_pitchsensitivity_default option_duck_method_default sv_stickysprint_default Added sql.QueryTyped
3 Months Ago
temporary game_text debug stuff
3 Months Ago
Minor cleanups Fixed crashes to do with particle loading There will be a console warning when an invalid particle is loaded. Invalid particles will be ignored. Fixed UTF-8 characters in console cmd name appearing as ? Fixed crashes with point_worldtext