Tag: #entities (16) Clear filter ×

1 story

Rubat reverts the SetPos touch and DrawTexturedRectUV changes

Commit 09a162 on main makes the change that had Entity:SetPos fire trigger touch events opt-in via a separate argument, since it caused infinite loops in existing addons such as TTT. The UV behaviour without the sub-pixel adjustment moves to a new function, surface.DrawTexturedRectRawUV, so surface.DrawTexturedRectUV works the old way again.

Details

This answers the complaints of the past days: RNDX and addons that compensated for the old adjustment no longer break. The same commit also fixes NPC-related crashes and lua_refresh_file autocomplete, adds the serverside Player:RunConsoleCommand (with the same limitations as the global RunConsoleCommand) and uses it in some Sandbox tools, and fixes citizen_sheet_bloody.vtf looking blurry. The changes reached the x86-64 beta in the large merge commit cfa73c.

1 story

2 stories

Save crash fix on main; SetSaveValue allows m_hGoalEnt and m_hPhysicsEnt; ladder dismount fix

Commit 7b6a89 on main brings the crash fixes (including saves), allows m_hGoalEnt and m_hPhysicsEnt in SetSaveValue and tries to account for info_ladder_dismount inside the ground.

Details
  • Fix crashes related to recent changes, including saves
  • Allow m_hGoalEnt and m_hPhysicsEnt in SetSaveValue; hEnemy is replaced by NPC:SetEnemy
  • Try to account for info_ladder_dismount inside ground
  • Fixed VPC writing debug files into the release config on Linux
  • Minor cleanup

1 story

2 stories

Barnacle regression fixed, 3 bone weights for meshes, math_counter outputs, Autorefresh rework

Commit 280e7a on main fixes regressions in entity search (including Barnacles), allows three bone weights for procedural meshes, adds OnChangedFromMin/Max to math_counter and substantially changes Autorefresh error handling.

Details
  • Separate Linux client and SRCDS build scripts
  • Classname added to the CUtlRBTree overflow message
  • Fixed some regressions with entity search, including Barnacles
  • ErrorFromLua renamed to ErrorNoHaltStack; added CLuaInterface::FormatError
  • mesh.BoneData can be called with index 2 (weight ignored); Mesh() allows 3 bone weights and Mesh:BuildFromTriangles reads up to 3
  • Two new PhysFrame sub scopes: PhysFrame-CPhysicsEnvironment::Simulate and PhysFrame-VPhysicsShadowUpdate
  • math_counter gains OnChangedFromMin/OnChangedFromMax outputs and SetMaxValueNoFire/SetMinValueNoFire inputs
  • Improved Autorefresh error handling; fixed a memory leak with Windows auto refresh and symlinks ("hopefully without regressions, as the system was changed somewhat substantially")

1 story

1 story

2 stories

Prediction errors now show the array index; multicore memory leaks fixed

Commit 9ecf4a on main makes prediction errors on arrays include the index for ints and floats, fixes a couple of multicore rendering memory leaks and a crash in render.UpdateScreenEffectTexture.

Details
  • GitHub Actions updated to version 6 for Linux and Windows
  • trigger_portal_cleanser added to the entity override whitelist
  • Fixed a crash with render.UpdateScreenEffectTexture
  • widgets.RenderMe and properties.GetHovered removed serverside
  • Minor cleanups so methods match the wiki and vice versa
  • Prediction errors on arrays include the array index for ints and floats
  • Fixed a couple of memory leaks with multicore rendering (render.UpdateScreenEffectTexture, render.PushCustomClipPlane)

2 stories

Big x86-64 beta update: entity creation crash fixes, p2p_force_reliable, Srcds workshop IDs from a file

Commit 0e9ec4 on the x86-64 beta brings a large batch of fixes: several potential crashes around entity creation and search, a new p2p_force_reliable convar, loading Srcds workshop IDs from a file, fixed normals on many built-in models and new props.

Details
  • Disable panel drag'n'drop with mouse 3/4/5
  • Fixed hacked Rollermines ignoring Combine Hunters
  • Allow setting filters via Entity:SetSaveValue
  • Override whitelist gains info_player_teamspawn, info_vehicle_groundspawn and placeholder entities based on prop_dynamic/prop_physics
  • Various potential crash fixes when creating entities and around entity search
  • Bandaid fix for GetBoneTransform returning garbage (needs further investigation)
  • Added p2p_force_reliable (default 0); small packets now use k_EP2PSendUnreliable instead of k_EP2PSendUnreliableNoDelay
  • Different fix attempt for overlay layers resetting on server join
  • Feedback message for host_writeconfig_lua
  • Srcds can load workshop IDs from a file, alone or together with a collection; the cache moved from cfg/srcds_addons.txt to cache/srcds_addon_list_cache.txt
  • Removed the CExampleEffect screen space effect
  • No Lua errors when using prop_effect in the base gamemode
  • New UpdateScreenEffectTexture matproxy (forces _rt_FullFrameFB to update at the end of the frame), used for the PHX screen
  • Fixed SWEP:CustomAmmoDisplay causing UI overlaps; ammo HUD no longer spams animations
  • Fixed normals on more built-in models (CS:S and EP2 props, grenades, furniture)
  • Fallback CS:S hostage pain sounds (citizen sounds), for TTT and other addons
  • Panels think and clip while the main menu is open
  • lua_shared: fewer Bootil::BString usages (ILuaShared unchanged), less duplication calling Lua from C
  • Cargo container props recompiled to fix tangents, plus 3 new props; spawnlists and spawnicons updated (CS:GO map props rearranged, more L4D1 props)
  • gmod_tool no longer errors with addon tools in non-Sandbox gamemodes
  • Also includes the SourceTV/HLTV crash fix, vehicle regression fix, bone cache fixes, zombie double ragdoll fix and the spawnmenu/Infected/npc_alyx fixes from main

1 story

Entity:SetPos now runs trigger touch events; controller input and SetNWVarProxy fixes

Commit c18cba on main makes Entity:SetPos run trigger touch events, fixes several controller input bugs and fixes the old value passed to SetNWVarProxy callbacks.

Details
  • "failed to dlopen" log skips are now case insensitive (macOS)
  • combine_booth_tall01b.vmt includes $normalmapalphaenvmapmask, commented out
  • Fixed IN_MOVERIGHT/IN_MOVELEFT not activating from a controller
  • Fixed a false positive "SeekPut overflow" message
  • Fixed Player:KeyDown clientside in singleplayer not detecting controller movement
  • Fixed SetNWVarProxy callback's old value being the new value
  • Entity:SetPos runs trigger touch events

1 update

2 stories

Portal 2 placeholder entities become override-able on dev

drobotk, who is working on an addon to make Portal 2 maps functional, asked to remove the "visual placeholder" entities such as prop_button or implement them properly. BREEDNKMs noted in the thread that Lua can now only override a whitelist of classnames, which grows as people request it. drobotk asked whether the whitelist is published anywhere.