792 Commits over 2,740 Days - 0.01cph!
Add xalign to draw.WordBox (#1809)
* Add xalign to draw.WordBox
* Also add yalign
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Fix errors from GetInt() when text entry contents aren't numeric (#1808)
* Fix errors from GetInt() when entry isn't numeric
Co-Authored-By: blu <75856885+bludotbat@users.noreply.github.com>
* Update dtextentry.lua
Co-authored-by: blu <75856885+bludotbat@users.noreply.github.com>
Co-authored-by: Rubat <robotboy655@gmail.com>
TTT: add a player mic volume slider to the scoreboard (#1804)
* Adds a player mic volume slider to the TTT scoreboard
* Add Brazilian Portuguese translation
Co-authored-by: Tiagoquix <30274161+Tiagoquix@users.noreply.github.com>
TTT: fix table.Shuffle
Did not shuffle the first couple elements of the list as much as it should (note that this is not used for traitor selection or anything critical).
TTT: fix propspec_allow_named setting not taking effect
The propspec_allow_named flag on the ttt_map_settings entity was being overwritten.
The default for all maps is still to disable it as maps will expect this at this point, and non-TTT maps that could allow named entity propspec possession are rarely played in practice.
Voice scale support for base/sandbox
Improvement to dupe bounding box
world constraints fix
colored ropes support
More accurate bounding box for dupes
Permissions & "remember my choice"
TTT: fix low-karma autokick evasion (#1803)
TTT: add missing accents to Brazilian Portuguese (#1801)
TTT: update the Brazilian Portuguese translation (#1799)
Fix reliance on the sandbox gamemode for DoF (#1798)
* Update super_dof.lua
Co-authored-by: Rubat <robotboy655@gmail.com>
TTT: show language names correctly in menu
The lowercased version of the name is now only used for the convar values etc. Settings menu shows the original name.
TTT: tune shotgun headshot damage
Changes to FireBullets mean all shotgun bullets can headshot (instead of only half). To compensate, reduce the short-range headshot multiplier from 3.1 to 2.
TTT: give shotgun very small accuracy boost
Change in bullet tracing theoretically impacts shotgun accuracy (though it was not super noticeable to me) so this is a slight boost to compensate
Updated killfeed translations
Fixed visual issues with Spawnmenu's Save/Dupe icons
Removed the "Ping < 60" server rank adjustment
New detectable problems
Description for local dupes/saves/demos
Addon menu improvements
"Select all" works as expected when there's an active filter
Floating addons can no longer be selected
Fixed a JS error when disabling/enabling selected addons
Added addon count to the filter menu
NEXTBOT:OnTakeDamage
Removed physgun freeze hack for jeeps
This is done in-engine now
Fixed a small issue with duplicator library
Line 67
More responsive controls for "noclip" Drive properly
Bounding box for currently active dupe in Duplicator tool
Micro optimization to player:__index (#1796)
If the value in the entity table is nil, it would return nil anyway, so we don't need to check it.
Prevent Weld save its Constraint to global table (#1792)
Move DrawBokehDOF function to global (#1747)
The "DrawBokehDOF" function is now global to allow it to be called everywhere (like the other built-in effects).
Fixed Lua error in Hoverball tool
Fixed regression with gamemode search
DNumSlider text color adjustments
Default values for Super DOF sliders
Added ability to clear Lua errors per category/group
Added ability to clear Lua errors per category/group in the Problems menu
Minor tweaks to the Problems panel
Do not complain about dxlevel 90
TTT: fix "select language" strings in translations (#1788)
* french.lua
* japanese.lua
Update .gitignore to allow players to use their Garry's Mod install to suggest changes easier. (#1774)
update .gitignore to allow players to make their gmod install use github repo code
SpawnIcon Re-Render all fix
Removed debug output from one of the Problem fixes
Limited sv_loadingurl to http(s)
Fixed Lua errors when searching addons using special symbols
Server Browser improvements
Made the "Future version" tag less visually prominent
Fixed up positioning of the inverse filter buttons for gm categories
Made the flag filters be per gamemode, not global, to avoid confusion and prevent "soft locking" the filters
Improvements to UGC thumbnails
Increased the size of the checkbox for addon sub selection, added some spacing for the addon name on the thumb to avoid accidental clicks when aiming for the checkboxes.
gmsave system improvements
Force disable point_viewcontrol entities on save load to avoid softlocking
Fixed loading a save from main menu not restoring the player position
Updated default checkbox style for Awesomium
Yucky fix, but the visuals now match modern Chromium and scale properly.
Added ENT:GetSoundInterests
Adjusted invisible physgun beam prevention
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