branchgarrysmod.main/maincancel
702 Commits over 853 Days - 0.03cph!
Enable connection reusage for HTTP
Speeds up subsequent requests
render.Push/PopRenderTarget overflow/underflow safeguards
Also made certain render.Push* function overflowing not crash the game outright
Adjust "Failed to find any models for this addon" error
Mention what might be causing the issue
Added OnPlayerLand/OnPlayerJump hooks
Arguments are `Player, number`, where the number is the velocity/impulse of the landing/jump
Should these 2 hooks be combined into 1?
▆▋▊▍ ▊▆▊▍▍▊▇▆▌ ▇▋▄▆▋_▊█▅▌▉▉▋▌_▆▄▋▆▄
Undo changes to input.GetCursorPos
Causes issues with spawnicon editor, and probably other addons too.
Delete serverplugin_empty.dll
Fixed crashes when accessing out of bounds flex controllers
This fixes crashes when rendering spawnicons of models that have more than 96 flex controllers. Probably fixes other cases as well.
Fixed Player:SprintEnable not working
Also made Player:SprintEnable accept a bool optionally, and added Player.IsWalking
minor changes
Merged Pull Requests
* Improvements to DComboBox
* Improvements to MatSelect
Minor adjustments
SourceTV players are considered bots for player library
Fix npc_rocket_turret spawn position
Experimental: input.GetCursorPos returns 0,0 when cursor is not visible
This matches behavior of gui.MousePos()
Added .dem and .vcd to file.Write whitelist
Rework and deduplicate Lua enums
Added COND.* enums
Added render.ComputePixelDiameterOfSphere
▅▊▉▋▅▊▅▄▅ ▌▍▌▋▌█_▉▉▇▌ ▄▄▋█▉▇ ▊▅ ▋▍▋▅ ▋▄▅
Added SENT_AI:OnTaskFailed and others
Added NPC:GetIdealYaw, NPC:GetArrivalDirection, NPC:SetUnforgettable
Added CNavArea:MarkAsDamaging, CNavArea.IsDamaging
SourceTV fixes
Player.IsBot now returns true for SourceTV master client
Prevent tv_enable going beyond absolute max players
▇█▌▄▍ ▇▄▍█▌▊▍▆▊ ▊▋▌ ▍▌▅▅ ▋▇▉▌█▊▆▄, ▌▇▋ ▋▇▌▇▇ ▍▆ ▆▍▊▍ ▄▄▋▇▉▄
Added 6th optional argument to util.ScreenShake - AirShake
defaults to false
▅▌▄▊▅ ▄▉_▇▍█▌▌▇ ▊▋▊▉▆▋▇▍▍, ▇▊▇ ▍█▉ ▋▌▌█ ▋▇▍▄▉▉▄▉▌▆▍ ▇█▍▅▇▉▊▅▊
SourceTV crash fixes
I cannot promise it will function, but it at least doesn't crash
Added 2 optional arguments to util.JSONToTable
first - true to ignore the depth and breadth limits
second - true to ignore string to number conversions
Remove unintended debug print
Add fallback sounds for EP2 vortigaunt attacks
Merged Pull Requests
* Fixed duplicate definitions for Player.GetTool
* Improved support for non-English messages in DTextEntry history
* Fixed DNumberWang passing both strings and numbers to OnValueChanged
* Change usages of deprecated gui.MousePos to input.GetCursorPos
Use doubles for physenv.GetLastSimulationTime
Add portal scenes just because we can
Particle precache for portal maps
Add file path to "ERROR: couldn't open." warnings
Ported some portal entities
The 2 turrets, personality core, fizzler trigger and security camera
RPG Missile stops its looping sound when removed prematurely
Added net.Write/ReadUInt64 and File:Write/ReadUInt64
They accept and return string values, and can be used with Player:SteamID64()
Added Angle.IsEqualTol
Apply file.Exists fix to file.IsDir for Lua paths
Fix custom HTTP methods not working
▆▅▅▉█ ▇▇▅▇▇▆▄ ▊▆▅█▍▆▉▆ ▌▆▊▆▍ ▉▋▌▅ ▊▉ ▍▄▊▋▇ ▄▄▋ ▉▇▉▌ ▆▅█▆▆▇▄▍▉
!▅▍▋▄█▌▉ ▍▊▉▍▊▌▇ ▍▍█▌▇▌▉▄▌ ▆▇█▅ █▆██▅ ▋▍▌▅ ▍▊ ▍▆█▌▍▌ ▊▅▇▌ █▇▋▉▊
▄▄▄▄ █▋▍▋▅ ▊▅▄▌ ▍▍█ ▌▄▌▌▅█▊▄ ▄▊▅▄▆▍▍▋▍ █ ▊▍▋▅ █▍▍▉ ▇▆▌▋▋▆ █▇▊▆▍▊▉
! ▉█▄▍▌ ▉▍█▅▊▇_▅█▆▄▋▊▊▌▌▊ ▅▇▆▆▍ ▍▊▌▆ ▋▋ ▆▌▄█▋ ▆▊█▄▄ ▅▉█▊▆▍█ ▊▄ ▊▅▋▍ █▄▌▊▌▉▇▊▌
Panel.GetNumLines works with TextEntry
Fixed crashes with filesystem printing warnings
Fixed HL:S skill configs setting HL2 convars
Certain conflicting convars from HLS were given `hl1` prefix
Fixed a self induced crash with KillFocus and OnLoseFocus
Fixed a crash with text rendering
garrysmod-issues/issues/5554
Fix malformed HTML in menu files
Servers with more players contribute more to gamemode names
Reworked base gamemode kill feed
* Now uses only 1 net message rather than 5
* Friendly NPCs have a different color
* NPCs killing another of their own class name is no longer considered suicide
* Custom Vehicle and NPC names are now displayed properly in the kill feed, for example npc_citizen reskins
* Deduplicate NPC name translations
Player:IsListenServerHost is now shared
Stricter access control for lua_find* conncommands
Allow CNavArea:SetParent( nil )
render.RenderView now accepts "viewid" option
Defaults to 0 (VIEW_MAIN), valid values range from 0 to 8
Fix CreateParticleSystemNoEntity crashing when particle are removed
Change "Bad map" disconnect message to something more useful
Add missing TF2 map icons
Duplicator saves and restores sub materials by default
Merged Pull Requests
Added math.CubicBezier
Added math.QuadraticBezier
Minor code adjustments to toolgun, no functional change
Merge pull requests
* Added SANDBOX:ContextMenuShowTool hook
* Added Global.ScreenScaleH( height )
* Added table, num = table.Pack( ... )
* Added table = table.Flip( table )
Also supply non lowercase headers for those few that worked before
Remove limits when reading SteamHTTP response headers
▇▉▉ ▉█▆▄▌▅▇ ▋█▉▊ ▊▊ ▌▇▉▄▊
! ▌▋▆▄▆▇ ▊▇▋▊▆▋▉▄▉▅ ▊█ ▌▅▉▉ ▊▌▅▅▉▄▆
! █▄▅▄▊ ▉ ▌▆▉▆▍ ██ ▇▋▉▋▄▉ ▅█▆▌▋▌▄▆
! ▄█▌▄ ▋▉▄▇▉▄ ▋▌▉▊▍▄▆ ▌▋▄▆▍
! ▆█ ▅▄▍ ▌▆▆▇▅ ▊▆▋▌▊▅▅ ▌█ ▄▅█▍▅
▍█▉▅▊▍ .▅▍▍▅▅▇▍▊▊
Update TTT
Entity.IsMarkedForDeletion checks Entity.Remove queue
Apply a hack to render.RenderView to render using VIEW_MONITOR
Instead of VIEW_MAIN
Add "Color Lit Per Particle" particle initializer, update "Color Random"
new fields for "Color Random" - tint blend mode, light amplification amount, output field
game.IsDedicated is now shared
steamworks.GetList days parameter is functional again
For "trending" and "popular" types. The days parameter is clamped to 0-365, default to 7 if given 0 for "trending".
Make Entity.InitializeAsClientEntity do nothing and error no halt when used
I don't think anyone uses it anyway, as it is very crash prone.
Fixed crashes due to EnableCustomCollisions/PhysicsInitSphere
Clamp physics forces phys_torque applies
Change language.Add error checking to be non halting
too many addons use it incorrectly
Delete some unused panel types from the build process
Also restored nav_generate progress dialog
Match behavior of SteamID functions for bots clientside to server
Error no halt when player.CreateNextBot would crash
This happens when trying to run the function too early.
Make Player:SteamID64 and Player:AccountID never return no value
AccountID returns -1 on failure, SteamID64 returns "0". The only know cases for this is multirun now
Merge Pull Requests
* Dark mode for loading screen depending on system theme for x64
* Added DHScrollBar
* Added more NPCs categorized as hostile and friendly towards players
* Replaced 2usages of 'Player.UniqueID' with 'Player.SteamID64'
Add DHScrollBar to vgui_base.lua
Also changed "Couldn't include file '%s' - File not found " to mention that it might be empty
Move changes to Panel.PaintManual to an optional argument
The optional argument overrides panel's clipping, allowing it to be rendered fully when its size is above screen bounds
Move OnRequestFullUpdate warning to developer 1
restore functionality of dtwarning convar, defaults to 1 now
Merge pull requests
* Added Versus Saxton Hale map category
* Fixed Malformed CSS Comments
* Replaced timer.Destroy (deprecated) with timer.Remove
* Added duplicator.Disallow
* Added DPanPanel
* Added math.CHSpline
Added "Clear" button to the console
Minor warning fix