repogarrysmodcancel

535 Commits over 1,918 Days - 0.01cph!

3 Months Ago
TTT: PT-BR minor translation updates (#1915)
3 Months Ago
TTT: tweak traitor button hint text (#1909) Change "sec" to "seconds"
3 Months Ago
TTT: Add Ukrainian translation (#1910)
4 Months Ago
Add `util.IsBinaryModuleInstalled` (#1896)
4 Months Ago
Added support for Colors to table sanitization (#1885) Also added 0's to the first argument of these, due to the fact that if the first argument of a vector/angle/? is set to NIL, then ALL the values will be 0. This is probably due to the check where it tries to convert a string/function/? to a vector/angle/? This is quite important because if you had Vector(0,1,2) and you sanitised it, the sanitisation replaces all 0's with nil, and your vector will break since the first value is 0 (nil now): ```lua tbl[ k ] = Vector( v.x or 0, v.y, v.z ) ``` and ```lua tbl[ k ] = Angle( v.p or 0, v.y, v.r ) ``` Have also made the nilled values of Color to 255 instead of 0, as 255 is going to be the most common number in a Color, especially in the alpha channel, and will save on data
4 Months Ago
Make NPC vs NPC killicon consistent with NPC vs Player
4 Months Ago
Add canvas IsValid check to dragndrop (#1902) Prevent errors when the selection canvas is struggling before we call any functions on an invalid panel.
4 Months Ago
Added: Support for typing disable for text boxes (#1897) * Added: Property read only to derma properties base Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
4 Months Ago
TTT: change comment (#1903)
4 Months Ago
Update language files Fix vehicle collision group post dupe Group NPC weapons by category makes easier to see what's what Added "Select Page" button to addons menu Server Browser changes Infinite scroll, "Outdated" now uses network version Derma_Install_Convar_Functions no longer ties to set empty cvars Fixed a visual bug with Lua error panel in Problems menu Post PR cleanups
4 Months Ago
Add string.StartsWith (#1867)
4 Months Ago
Add HL1 357 and shotgun to NPCUsableWeapons (#1895) Sure, some might argue that the animations are broken and the names can cause confusion, but the Glock does as well! so?
4 Months Ago
Remove hairy cocks (#1901) This is disgusting. These comments were left everywhere. Absolutely gross. Please fix.
4 Months Ago
Add option to make hands skin match player skin (#1525)
4 Months Ago
Reload spawn menu when gmod_language changes (#1724) * Run spawnmenu_reload when gmod_language changes * Update spawn menu language switch refreshing logic - The spawn menu needs to be recreated ("refreshed") after a language switch - We SHOULDN'T refresh it if the user has unsaved changes to their spawn list (these would be lost!) - We SHOULDN'T refresh it if the user has the spawn menu open (that would be bad user experience) - But, we SHOULD refresh it if the user saves or reverts any changes and closes the spawn menu - What if the user switches BACK to the original language they were using? Surely, a refresh is not needed now? - No, in this case we should still refresh the spawn menu because some text and labels do actually update during use of the spawn menu and might be left "dirty"
4 Months Ago
Fixed nil player being passed to ENT.PostEntityPaste (#1408)
4 Months Ago
Only consider HUDShouldDraw's return if it's non-nil (#1894) Fixes having to always return true in SWEP:HUDShouldDraw for an element to render unlike a HUDShouldDraw hook. Also now checks to make sure SWEP:HUDShouldDraw is a function before calling it.
4 Months Ago
Update dcheckbox.lua (#1893) * Update dcheckbox.lua * Update dcheckbox.lua Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
6 Months Ago
Fixed collision bounds of custom Sandbox NPCs Fixed collision bounds of custom Sandbox NPCs with uppercase characters in model name
6 Months Ago
Fixed an error when dupe-spawning admin only NPCs without player obj
6 Months Ago
6 Months Ago
Delete progressbar.lua It is unused
6 Months Ago
Redrawing of ping icons (#1845)
6 Months Ago
Add math.SnapTo (#1888) * Add math.SnapTo * Formatting consistency & small typo fix
6 Months Ago
Added: Editable entity combo box can now use default selected and hav… (#1871) * Added: Editable entity combo box can now use default selected and have icons * Changed: Move icon check up * Fixed: Not passing booleans to `vars.selected` * Fixed: Selection operator working with nil/bool Moved: Flag nest to the loop * Added: Spacing before if-statement * Fixed: IF bracket space * Update prop_combo.lua Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
6 Months Ago
Resolve my oopsie
6 Months Ago
Fix entity spawning out of bounds (#1863) * Fix entity spawning out of bounds Fixes garrysmod-issues/issues/5028 * Don't edit trace result Fixes code to avoid changing the trace result. Removes the redundant OBBCenter() calculation, since it doesn't work until the entity is spawned. Moves entities 2 units closer to surface when spawn position is being corrected, to avoid DropToFloor() moving the entity out of bounds. * Make fix better conform to old behavior Makes it so that the new spawn position is offset even when aiming at an entity, like before. Also cleaner readability
6 Months Ago
IsAdmin bypasses for singleplayer So that badly behaving addons that override IsAdmin cannot screw with basic functionality in singleplayer Adjust spawn offsets for HL ents Less likely to be outside of the map this way Save cookies on game shutdown Spawnmenu does not try to run empty console commands Search maps by addon name main menu fixes Addon conflict problem menu stuff Make sure spawned ents/weps are not out of the map
6 Months Ago
Fixed lingering toolgun ghost when using Player:SelectWeapon in multiplayer (#1674) See garrysmod/pull/1673. Consider fixing the extra clientside Think call after Holster in the engine instead. Also cached the constant trace mask in Primary/SecondaryAttack since I was already editing the file.
6 Months Ago
Localizing g_SkyPaint to get data (#1879) * Localizing g_SkyPaint to retrieve data There is no need to access global variables every time to get data. And if it is necessary, something is wrong. * Update sky_paint.lua Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
6 Months Ago
Fix CollapseKeyValue docstring (#1891)
6 Months Ago
Tiny fix - validation of panel in timer (#1889) * Tiny fix - validation of panel in timer Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
6 Months Ago
TTT: PT-BR translation: add missing letter (#1892)
6 Months Ago
TTT: fix weapons disappearing during round reset As per #1887, weapon entities that are part of the map (as opposed to rearm scripts) are recreated by the map reset. At that point players are holding nothing and could pick up the recreated weapon entity. This would then be stripped again when the players got respawned a moment later. We avoid this by tracking whether a map reset is in progress and preventing weapon pickups during that time. (Based on a different solution proposed in #1887). Closes #1887.
9 Months Ago
Update mainmenu.lua Flash game window on loading finish hook.Add checks for nil hook ident Sandbox tool fixes Sandbox save system improvements Fixed a regression with string.Comma Update main_menu.properties DIconLayout: Fix border being counted twice for LEFT content alignment
9 Months Ago
TTT: Fix ammo ents blocking +use near other entites (#1878)
9 Months Ago
fix Error Message printing Add instead of Remove (#1877)
10 Months Ago
Fix DIconLayout (#1873) x starts at m_iBorder, not zero, so it should be compared to max width including the left side border
10 Months Ago
Fixed an issue with halo not resetting color of pp/copy
10 Months Ago
Update language files Persistence system changes Fixed a crash with DListView and made other improvements to it Fixed a few server lag exploits Implemented Steam chat filter Update faceposer.lua Reset spawnmenu search cache when mounted content changes Hoverball enabled/disabled state improvements
11 Months Ago
Nocollides shouldn't use phys_constraintsystem (#1870)
11 Months Ago
TTT: Add hook for last words (#1869) - Add TTTLastWordsMsg(ply, msg)
12 Months Ago
Renamed math.DistToSqr to math.DistanceSqr More logical/consistent with math.Distance Fixed MarkupObject:Draw's new argument not working without MaxWidth being set
12 Months Ago
12 Months Ago
Try using the new UI functions in Sandbox tools Cleanup net.lua
12 Months Ago
Add argument to net.Read/WriteColor to skip alpha (#1841) * Add argument to net.Read/WriteColor to skip alpha More network efficient if you aren't using the alpha. The value between the read and write calls must match and should be a warning on the wiki page if this is merged. * Change alpha read from faux ternary to cond branch Since net.ReadUInt is a cfunc
12 Months Ago
Added: Color box method (#1854) * Added: Color box method * Added function to control panel also * Updated: Coding stile Updated: Use ipairs instead of pairs * Utilize: Use of `ipairs` Removed: All changes from DForm * Fixed: wrong variable names for R,G,B,A Utilize: Pairs loop when configuring default convar settings * Updated: Use camel case * Removed: Use `if var` instead of `if var != nil` for convention changed: Loop internal variables to `k,v` for convention * Relace the IF statement with selection operator
1 Year Ago
minor style change
1 Year Ago
Correction of a typing error in the comments (#1862) This is a problem of huge importance: it was written "interger" instead of "integer". The game will surely be better with this fix ;)
1 Year Ago
Moved DForm.ToolPresets and DForm.KeyBinder to ControlPanel panel The panels those functions create are Sandbox gamemode exclusive Less error prone tool panel creation string.JavascriptSafe escapes ` Minor cleanups in menu state Added Permissions viewer TTT uses new permissions.EnableVoiceChat