userRubatcancel

5,073 Commits over 4,018 Days - 0.05cph!

Today
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.
Today
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 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
Today
Add some sanity checks 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 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. 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
Today
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
Yesterday
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
5 Days 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
5 Days 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.
6 Days Ago
Cleanup filesystem changes Files over 2GB should kinda work now on Linux
6 Days Ago
▊█▄▄▉▆▇ ▋▉▌▌▆ ▋▋ █▅▅▍▇▆
6 Days Ago
That really didnt work
6 Days Ago
MacOS doesn't like it
6 Days Ago
Maybe this will allow loading of files above 2GB
6 Days Ago
Revert "Temp debugging stuff for linux" This reverts commit 71d90d5d97ac4187eb36ec54f4f19e17f52d3f09.
6 Days Ago
Temp debugging stuff for linux
7 Days Ago
Update the DebugLuxel with actual vertex color support
7 Days Ago
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 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 Do not try to run HTTP requests with invalid URLs Fix OSX not building 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.
7 Days Ago
Fixed DebugLuxels not accepting vertex color in Hammer More colors for Lightmap Grid in Hammer red for under 8, green for above 63 Fix GetAimVector clientside for non local players in vehicles being wrong Restore functionality of m_filter Minor cleanups for particles Minor compile warning fixes Minor bootil cleanups, remove bootil's HTTP stuff since we dont use it Minor warning fixes Remove CTakeDamageInfo.m_iDamageStats (unused) When dealing physics stress damage on characters, apply inflictor Will try to set the inflictor/attacker to something more useful than "World". In case of multiple props, it will be the first one. Added commented out Entity.GetConstraintParams it works, but most values are garbage or not that useful, so I am not sure how useful this actually would be. More compile warning fixes 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 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 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 Added Color:Copy method (Community Contribution)
7 Days 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
8 Days Ago
Add some sanity checks
8 Days 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.
9 Days Ago
Do not try to run HTTP requests with invalid URLs Fix OSX not building
9 Days 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
11 Days 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
13 Days 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
13 Days Ago
temporary game_text debug stuff
13 Days 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
15 Days Ago
Restore functionality of m_filter Minor cleanups for particles Minor compile warning fixes Minor bootil cleanups, remove bootil's HTTP stuff since we dont use it Minor warning fixes Remove CTakeDamageInfo.m_iDamageStats (unused) When dealing physics stress damage on characters, apply inflictor Will try to set the inflictor/attacker to something more useful than "World". In case of multiple props, it will be the first one. Added commented out Entity.GetConstraintParams it works, but most values are garbage or not that useful, so I am not sure how useful this actually would be. More compile warning fixes
16 Days Ago
Fixed DebugLuxels not accepting vertex color in Hammer More colors for Lightmap Grid in Hammer red for under 8, green for above 63 Fix GetAimVector clientside for non local players in vehicles being wrong
19 Days Ago
Fixed IGModAudioChannel:GetPos returning invalid values sometimes Minor cleanups Fix close caption norepeat not working Fixed regressive crash with close captions gmad compile warning fixes Minor cleanups Added ents.CreateClientRope ents.CreateClientRope( ent1, attachment1, ent2, attachment2, extras ) Extras is an optional table with the following options: * slack = 0 * width = 2 * segments = 8 * material = cable/cable * nogravity = 0
19 Days Ago
Fixed IGModAudioChannel:GetPos returning invalid values sometimes Minor cleanups Fix close caption norepeat not working Fixed regressive crash with close captions gmad compile warning fixes Minor cleanups Added ents.CreateClientRope ents.CreateClientRope( ent1, attachment1, ent2, attachment2, extras ) Extras is an optional table with the following options: * slack = 0 * width = 2 * segments = 8 * material = cable/cable * nogravity = 0
20 Days Ago
Do not force "rate" cvar to 100k on start up Remove archive flag from "rate" cvar It effectively didn't do anything until previous commit, because the value was always reset on start up. Fixed a crash issue with close caption HUD constraint.Motor accepts a bool for "toggle" parameter Very minor changes from CS:GO's framesnapshot stuff
20 Days Ago
Do not force "rate" cvar to 100k on start up Remove archive flag from "rate" cvar It effectively didn't do anything until previous commit, because the value was always reset on start up. Fixed a crash issue with close caption HUD constraint.Motor accepts a bool for "toggle" parameter Very minor changes from CS:GO's framesnapshot stuff
20 Days Ago
Update DebugLuxels shader from HL2 repo
20 Days Ago
Remove "Use Bloom" checkbox from Video options, as it does nothing Remove mat_hdr_level 1 from Video Options since it doesn't do anything mat_hdr_level 1 will act as "NONE" in options. Fixed options complaining about missing hap_HasDevice convar Remove sv_contact and sv_consistency as they are unused Rework arguments of OnClientLuaError This is a bit messy until a network breaking update, but new arguments are: ( error, ply, stack, addon_name ) Also no longer affected by "5 a second" limit serverside Lets try not delaying material/texture cleanup until render end Add WriteTempEntities overflow warning from csgo Bonemerged models inherit lighting origin from parent Makes viewmodel hands match lighting of the viewmodel itself Apply changes to CHudCloseCaption from TF2 Make Linux compile Fixed regression to do with PrePlayerDraw Fixed an infinite loop in weapon selection HUD Faceposer uses localized "Other" string Fixed 3D grid not rendering correctly in Hammer
21 Days Ago
Merge some Bootil changes from x86-64 Remove mp_usehwmmodels convar (unused) AvatarImage panel changes + defer material cleanup till render end AvatarImage keeps track of textures it creates and reuses them, preventing exhaustion of texture name symbol list Deferring material cleanups a little makes it more likely the materials and textures are no longer used by any part of the renderer, allowing refcounts to reach 0 naturally. Added GM:OnClientLuaError( strErr, ply ) Remove stray space indentation in some Lua files from PRs Updated FGD files Added inputs to light_environment, removed point_clientcommand and point_servercommand since they do not work in Garry's Mod. Fake Combine Ball bounces from frozen props Make crossbow bolts bounce from indestructable props Prevent crashes when trying to write too much data to small texture Added new info to util.GetModelInfo IncludeModelCount, IncludeModels and HitBoxSets Fix avatar image texture manager not respecting avatar size at all Removing more unused convars mp_teamlist, mp_teamoverride, mp_defaultteam, mp_allowNPCs Remove mat_disablehwmorph as it does nothing
21 Days Ago
Fixed regression to do with PrePlayerDraw Fixed an infinite loop in weapon selection HUD Faceposer uses localized "Other" string Fixed 3D grid not rendering correctly in Hammer Update DebugLuxels shader from HL2 repo
22 Days Ago
Make Linux compile
22 Days Ago
Add WriteTempEntities overflow warning from csgo Bonemerged models inherit lighting origin from parent Makes viewmodel hands match lighting of the viewmodel itself Apply changes to CHudCloseCaption from TF2
22 Days Ago
Lets try not delaying material/texture cleanup until render end
23 Days Ago
Updated FGD files Added inputs to light_environment, removed point_clientcommand and point_servercommand since they do not work in Garry's Mod. Fake Combine Ball bounces from frozen props Make crossbow bolts bounce from indestructable props Prevent crashes when trying to write too much data to small texture Added new info to util.GetModelInfo IncludeModelCount, IncludeModels and HitBoxSets Fix avatar image texture manager not respecting avatar size at all Removing more unused convars mp_teamlist, mp_teamoverride, mp_defaultteam, mp_allowNPCs Remove mat_disablehwmorph as it does nothing Remove "Use Bloom" checkbox from Video options, as it does nothing Remove mat_hdr_level 1 from Video Options since it doesn't do anything mat_hdr_level 1 will act as "NONE" in options. Fixed options complaining about missing hap_HasDevice convar Remove sv_contact and sv_consistency as they are unused Rework arguments of OnClientLuaError This is a bit messy until a network breaking update, but new arguments are: ( error, ply, stack, addon_name ) Also no longer affected by "5 a second" limit serverside
26 Days Ago
Remove mp_usehwmmodels convar (unused) Remove unintended change AvatarImage panel changes + defer material cleanup till render end AvatarImage keeps track of textures it creates and reuses them, preventing exhaustion of texture name symbol list Deferring material cleanups a little makes it more likely the materials and textures are no longer used by any part of the renderer, allowing refcounts to reach 0 naturally. Added GM:OnClientLuaError( strErr, ply ) Remove stray space indentation in some Lua files from PRs
26 Days Ago
Remove unintended change that doesnt compile on main
26 Days Ago
Apply changes to type() function (Server/menu) (Community Contrib)
26 Days 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
26 Days 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)
26 Days 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
26 Days 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
26 Days 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
27 Days Ago
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) Apply changes to type() function (Server/menu) (Community Contrib) 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
27 Days Ago
Minor cleanups Queue lua_error_url messages until SteamHTTP is available Make Lua print() and error() colors the same 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.