767 Commits over 2,710 Days - 0.01cph!
Added 2 new arguments to CanTool hooks
Fixed Lua errors when gm_loading map crated phys_magnet
Stack for ErrorNoHalts in numpad library
Slider notch color improvements
Added DSlider.Set/GetNotchColor
Added SKIN.colNumSliderNotch
DNumSlider now colors the notches and the DTextEntry text to match the slider label
Improved slider notch rendering
Ensure all notches have at least 1 pixel between each other
Fixed the last notch not rendering for sliders with a range that isn't a whole number
Fixed addon subcategory pagination
Added 'extended' to default Derma fonts
Minor optimization with the PlayerWeaponColor matproxy
Fixed an issue with resizing drag'n'dropped spawnicons
It was trying to relayout the container the icon was initially created on, no the container the icon is currently in
Update vgui_showlayout.lua
Minor optimization with the PlayerColor material proxy
* Update player_color.lua
Co-authored-by: Rubat <robotboy655@gmail.com>
Fix for the motor tool's torque axis
garrysmod-issues/issues/4882
Server flag filters and minor visual improvements
Also fixed unreachable servers being filtered out by default filter values
Hopefully improved performance of map icon loading
Only loads the current page, not all pages
Update of some broken/obsolete links (#1782)
Over the time, some links notably those of the wiki and the changelist have disappeared.
New Server Browser features
Gamemode categories
Server flags
Outdated flags
More filters/sorting options
Changes to Problems button in menu state
Minor changes
Fixed beta branch/version text link in the main menu
Added new string for Any/All aspect ratio
Problems tab for the Problems menu
+ Localization
Fixed brushes not being target-able by properties
point_template entity translation for kill feed
making sure all lua files are identical between github and plastic
Fixed "Disable sprays" being unclickable sometimes
Due to it being covered up by the label above it
Improved performance of translation system in main menu
Fixed a typo in code
TTT: add Japanese language (#1781)
Fix cookie lib hash (#1779)
test code:
```lua
local key = "test"
local function printState()
PrintTable({
realval = sql.QueryValue( "SELECT value FROM cookies WHERE key = " .. SQLStr(key) ),
cached = cookie.GetString(key),
})
end
cookie.Set(key, 1) -- set initial value
printState() -- ok. cached but not commited so realval is nil for now
timer.Simple(31, function() -- wait cache ttl (time to live) period
-- Update cached value immediately but don't refresh cache's ttl so it's expires
-- At this point, we also schedule a commit to the DB
cookie.Set(key, 2)
-- Because the caches ttl is expired, the cookie.GetString function should request a value from the DB
-- But as we remember, in the previous step we just scheduled a value update
-- It has not been commuted so the cache will be updated with the wrong value and contain the wrong value for the next 30 seconds
printState() -- realval and cache values are both "1"
-- Wait for scheduled commit
timer.Simple(2, function()
-- As stated before, cache now and for the next 30 seconds (28 seconds) will be wrong
printState() -- We have "1" for cached value and "2" for real value in database
end)
end)
```
TTT: updates to PT-BR translation (#1771)
Changes to the highlights and to the AFK message
TTT: fix karma still affecting damage after it is disabled (#1780)
Default binds for M4 and M5 keys
Example Hammer sprinkle definition
Change disabled button border to fit border color (#1778)
Fix custom theme issues with DMenuOptions (#1775)
Don't call SetTextColor in DMenuOption as it overrides theme colors.
TTT: fix ragdoll pinning HUD for innocents (#1776)
Added Panel.Get/SetX/Y and changed Panel.Center to use them
Fixes garrysmod-issues/issues/4857
thumb_up
7
thumb_down
114
Added the Problems panel
New features to Browse > Addons and Games in Spawnmenu
New Right click options - Open on Workshop and Create Spawnlist
Both Addons and Games now reload when game content is remounted
Nicer error handling for Browse > Addons
Fixed a bug with DTree_Node when MakeFolder was called on a node whose parent is expanded, forcing the user to collapse and re-expand the parent node for the folder to populate
Only save preset groups that changed
Fix blacklist case sensitivity
Added DTree_Node.OnNodeAdded & GetExpanded
Pagination does not disappear when errors happen on page 2+
For addons/dupes/saves/demos/etc
Workshop download progress UI improvements
Just minor tweaks and removal of useless arguments
Main menu tweaks for tiny screens
All the buttons now fit on tiny screens and improved the mountable games menu to hopefully prevent questions.
Added duplicate controls for NPCs to the NPC tab
This should ensure people don't miss these options.
Maintain nicer sorting for numbers in DListView column sorting
Fixes garrysmod-issues/issues/4850
Add a IsScripted check to this hack (#1772)
Add spacers to DComboBox's DMenu (#1543)
undo: PreUndo hook
Update undo.lua
Update undo.lua
Update init.lua
Update undo.lua
Merge pull request #1762 from NathanX-S/patch-4
undo: PreUndo hook
TTT: fix instant reload of dropped weapon
Update cl_init.lua (#1770)
* Update cl_init.lua
- Removed if statement and replaced it with 'and' and 'or'
- Entered 'view' table indexes directly upon creation (line 351)
* Revert
Reverted
local team = ent.Team and ent:Team() or TEAM_ANASSIGNED
Fixed exploits to do with the main menu
Remove base_ai comment that is not true
Fixed spawnmenu tabs erroring due to content w/ no category
Use the new undo.AddFunction feature for Statue property
Added DProperty_Entity
Also made util.StringToType work with "entity" type
Editable Entity UI (DProperties) now supports the same UI type names as the DTVar type names. i.e. you can now use "Bool" instead of "Boolean" in Entity:NetworkVar() "Edit" table, etc
DTextEntry deletes its suggestions DMenu if the textentry is deleted
Deleted auto-sent files from lua/send.txt
Main menu maps optimization
No longer refreshes the map list multiple times a per "mounted content changed" event, so it should be faster
Added callback to gmsave.LoadMap
Useful for mods that want something to happen only after all the entities are placed
Allow SpawnmenuContentPanel to switch to NULL panel
Do not error when SpawnmenuContentPanel:SwitchPanel() is called with an invalid panel.
Minor clean ups that don't deserve their own commit
Allow returning false in undo.AddFunction to skip undo if it's no longer valid (#1749)
Fix label PerformLayout in DCheckBoxLabel (#1767)
Update admin_functions.lua (#1768)
TTT: fix error handling when adding a translation string
Missing return meant we still tried to add the string to the nonexistent language, instead of failing gracefully
Fixed default faceposer presets
Changes to base_ai
sound script changes
Slots 7-0 in Options
HL2 credits so that they work in gmod
Update send.txt
Fixed faceposer UI getting filled when changing targets
Preset editor improvements
handles different cAsInG of convars and missing preset convars
Empty rope material Lua error fix
Server browser favorites change
addon list invalid state changes
getmaps.lua optimisations
Noclip drive type for cameras
Added Jump and Crouch bind actions to the default drive types
Got rid of the weird 40 HU 3rd person view from noclip drive type
Removed incorrect arguments from render.DrawSprite calls
Spawnmenu handles screen resolution changes in-game better
Removed dead wiki links
Loading screen fixes
Fixed Lua errors when default usergroups file is missing
Also cleaned up the file
Fixed DListView Lua errors when sorting mixed types
Fixed Lua errors with Spawnicons when Paint is overwritten
Create OptionsSubAudio.res
Adds volume_sfx slider
Adds OnRequestFullUpdate serverside gameevent
Fix Disconnect button width with other languages (russian, etc.) (#1763)
* Fix Disconnect button width with other languages (russian, etc.)
* style update
Dock the OpenURL disconnect button to the left (#1756)
Don't draw Sandbox world tips with nodraw ents (#1751)
* Made invisible entities not draw halo/overlay.
* Update base_gmodentity.lua
Disable sprays button in options
New language strings
halo lib no longer renders nodraw entities
improvements to ArmDupe's net.receive
TTT: fixed Magneto Stick ragdoll pinning hint never showing for innocents (#1753)
When ttt_ragdoll_pinning_innocents is enabled, the hint should be displayed for all players rather than only traitors.
Addendum to PR#1745
PlayerSpawn* hooks should consistently no longer receive NULL players
gm_spawnvehicle no longer errors when used in srcds console
Fixed serverside console spam with Paint tool
Added current map/server name/gamemode to loading screen
Followed and Favorite sectiosn to Dupes/Saves/Demos
Fixes for -noworkshop message in main menus
Workshop addon filesizes in Addons menu
Also replace "local floating" with a more clear "non workshop .gma addon"
Followed/Favorite sections to spawnmenu Dupes/Saves too
Unreachable Servers sections in server list
some feedback for players, instead of just a blank screen
gui.OpenURL/askconnect confimration dialog changes
DComboBox updates its color properly
SetEnabled was one of the issues
Allow null ply in MakeVehicle (#1745)
* Allow null ply in MakeVehicle
* Update commands.lua
Update list.lua
table.insert returns the index the object was placed at.
Merge pull request #1742 from kunacha/patch-1
list.Add should return the index the object was placed at
Remove this sanity
Allow false values in string library to be indexable by __index
Merge pull request #1716 from GitSparTV/string
Remove string.__index error
Added PreRegister hooks
Updated hook names to PreRegister*
false will now block registration
false will now block registration
Merge pull request #1307 from Kefta/patch-62
Added weapons/scripted_ents.PreRegistered hook
Allow weapons with a CalcView function to work with player_manager view overrides
The updated view origin, angles, and fov from the player_manager returns are now used for the current weapon's CalcView call. Also, the returns are now optional.
Merge pull request #1348 from Kefta/patch-71
Allow weapons with a CalcView function to work with player_manager view overrides
Fixed entity function type consistency
Fixes the rest of the functions in garrysmod-issues/issues/3132
Type compatibility fix
Merge pull request #1488 from Kefta/patch-84
Fixed entity function type consistency
Fix color_white corruption
How to:
Press R on prop, then left click on it. There you go, color_white is corrupted by duplicator.StoreEntityModifier.
Merge pull request #1740 from osiris-plus/patch-1
Fix color_white corruption
Fixed not being able to unfocus text entries
Added PLAYER.MaxArmor to player class system
More sane maximum value for thrusters
Avoids crashing issues
Added mp_falldamage to Sandbox start new game
Fixed skins not updating when their parent changes skin
Fixed gui.OpenURL's popup not working well with modal panels
Fixed whereis for floating .gma files
Improvements to DMenu while parented to modal panel
DProperties better handles missing control types
Fixed 2 bugs with ENT:TriggerOutput
1. It was ignoring the Source's internal IO queue
2. There was a bug where auto deleting any outputs due to limited amount of fires would cause certain outputs to no longer work
TTT: update some default settings
Enables by default:
- ttt_detective_hats
- ttt_teleport_telefrags
- ttt_no_nade_throw_during_prep
Fixes #1738
TTT: change "Português brasileiro" to "Português (Brasil)" (#1736)