branchgarrysmod/mastercancel

483 Commits over 1,644 Days - 0.01cph!

Today
minor style change
Today
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 ;)
Today
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
Add new types to AccessorFunc (#1800)
Today
Optimized string.Comma. (#1513) * Optimized string.Comma. * code style fixes Co-authored-by: howmanysmall <9477871+1@iechs.org> Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Today
add math.DistToSqr (#1844)
Today
Additional check for TableInherit function (#1830) If you write argument in base entity like a string and then overwrite it like table you will catch error like [ERROR] lua/includes/modules/scripted_ents.lua:25: bad argument #1 to 'pairs' (table expected, got string) 1. pairs - [C]:-1 2. TableInherit - lua/includes/modules/scripted_ents.lua:25 3. TableInherit - lua/includes/modules/scripted_ents.lua:30 4. Get - lua/includes/modules/scripted_ents.lua:184 5. unknown - lua/includes/modules/scripted_ents.lua:151
Yesterday
Markup Library Improvements (#1732) * Markup Library Improvements - New argument to MarkupObject:Draw() (textAlign) allows for text alignment inside the maxWidth bounds (i.e. align text center, align text right) - Added MarkupObject:GetMaxWidth() - Added markup.Escape which escapes markup-sensitive characters ( & < > ) - Fixed trailing spaces on new lines - Fixed issue where new blocks were unnecessarily being split in the middle of a word - Changed pairs to ipairs - Improved code readability, cleaned up comments, removed a redundant comment * New blocks will not wrap unless preceded by a space, remove some redundant code, change name of variable and add new comment * Use lookup table for unescape string.gsub * Small optimizations - Changed blocks[ i ] to blk - Populate new_block tables during declaration rather than setting keys & values after creation * Create markup.Color which converts a Color into a string for use in <color> tags
6 Days Ago
Removed useless variable (#1832)
9 Days Ago
TTT: fix TTTCanPickup hook not denying pickup when false is returned (#1860)
18 Days Ago
TTT: PT-BR translation final update (#1859)
20 Days Ago
TTT: update PT-BR translation (#1858)
25 Days Ago
TTT: translation updates (#1857) * Add L.tip41 to Brazilian Portuguese translation * Correct inconsistencies with the date markers * Removes some translations from the Simplified Chinese translation that do not exist in the original English translation.
48 Days Ago
Fixed a potential error in duplicator tool
49 Days Ago
TTT: update Russian translation (#1847)
49 Days Ago
Added: Various handy methods replacing PANEL:AddControl() (#1702)
50 Days Ago
Problems system improvements Code style cleanups Lowercase model name in PropSelect for sorting purposes This simply matches behavior of the "old" method which ends up with lowercase keys.
50 Days Ago
hook.Add with invalid 2nd argument throws proper error (#1810)
50 Days Ago
Add SlowWalkSpeed to player_manager / GM.SetPlayerSpeed / Default player classes (#1827)
50 Days Ago
Add utility functions for using the Hammer IO system (#1530) Example usage ```lua function ENT:KeyValue( key, value ) if ( BaseClass.KeyValue ) then BaseClass.KeyValue( self, key, value ) end if ( self:SetNetworkKeyValue( key, value ) ) then return elseif ( self:AddOutputFromKeyValue( key, value ) ) then return end -- Your entity's logic goes here end function ENT:AcceptInput( name, activator, called, value ) if ( BaseClass.AcceptInput and BaseClass.AcceptInput( self, name, activator, called, value ) ) then return true end if ( self:AddOutputFromAcceptInput( name, value ) ) then return true end -- Your entity's logic goes here return false end ```
50 Days Ago
Create table.MemberValuesFromKey (#1539)
50 Days Ago
New library: math.ease (#1755) * New library: ease * ease -> math.ease * fix: call correct math.ease function probably a module leftover * Reduce repeated multiplication to powers * Reduce _G lookups and use a `module()` Co-authored-by: Tom <27384135+CupCakeR@users.noreply.github.com>
50 Days Ago
Add DComboBox:OnMenuOpened(menu) (#1659)
50 Days Ago
Add table.Shuffle (#1683) * Add table.Shuffle Performs an inline Fisher-Yates shuffle on the table in O(n) time * table.Shuffle small optimization
50 Days Ago
Fix table.RemoveByValue throwing an error when key is not a number (#1704)
50 Days Ago
Made hook.Add/Remove not silently fail on arg type mismatch (#1344) * Made hook.Add/Remove not silently fail on arg type mismatch In the rare case a typo was made for the hook args, it is now noticeable.
2 Months Ago
TTT: add PT-BR translation for L.tip41 (#1842)
2 Months Ago
TTT: add spectator mic volume tip (#1840) * New player mic volume tip * Increased number of tips
2 Months Ago
TTT: PT-BR translation update (#1838)
3 Months Ago
Fix mistake in russian.lua (#1837) Incorrect form > ВЫБЕРЕТЕ ОБРАЗЕЦ Correct > ВЫБЕРИТЕ ОБРАЗЕЦ The word “выберите” expresses a wish, request, or order. In this context, the verb form of the imperative plural is used. https://russkiiyazyk.ru/orfografiya/pravopisanie/kak-pravilno-pishetsya-slovo-vyiberete-ili-vyiberite.html
3 Months Ago
TTT: update Russian translation (#1835)
3 Months Ago
TTT: PT-BR translation updates (#1829)
3 Months Ago
TTT: update Spanish translation (#1828)
4 Months Ago
Fixed duplicator and saves not working Fixed an issue with constraint.GetAllConstrainedEntities Fixed constraint.GetAllConstrainedEntities returning all entities constrained to world if the given entity is constrained to world
4 Months Ago
Added g_SpawnMenu:GetCreationMenu() Added CreationMenu.GetCreationTab & GetCreationTabs Added spawnmenu.SwitchCreationTab( id ) Made spawnmenu.SwitchToolTab work Added 3rd argument to spawnmenu.ActivateToolPanel Save game map workshopID stuff Adds duplicator.FigureOutRequiredAddons Required Workshop addons for duplicator
4 Months Ago
Attribute CS:GO lobby map to CS:GO (#1824) makes "Other" empty by default again
4 Months Ago
Fixed a Lua error with DTree_Node DComboBox's dropdown works better on modal panels Disallowed Shadow shader to be used as rope material
5 Months Ago
TTT: add more validation to corpse commands - Prevent spamming of "call detective" command. Thanks to #1822 for suggesting a similar fix. - Make sure cmds act on player corpses only - Cleanup
5 Months Ago
TTT: more updates to PT-BR translation (#1820)
5 Months Ago
TTT: update German translation (#1818)
5 Months Ago
Better implementation of Player.IsUserGroup (#1819)
5 Months Ago
Fix gmod_camera being dependent on tickrate (#1816)
5 Months Ago
TTT: PT-BR translation updates (#1815)
5 Months Ago
Fixed XSS vulnerability in loading screen. (#1814) Using the method `.text` rather than `.html`, since the method `.html` does not escape html entity characters.
5 Months Ago
TTT: updated the Russian localization (#1813)
5 Months Ago
Fixed DownloadingFile in loading screens duplicator copies lua-set colors and material override Fixed 0 width constrains creating errors Fixed Lua errors with default scoreboard Prevent 2 or more players from 'driving' a single entity Make use of IsConCommandBlocked Makes blocked concommand errors include proper stack. Fixed duplicated constraints not getting correct player obj
5 Months Ago
Add xalign to draw.WordBox (#1809) * Add xalign to draw.WordBox * Also add yalign Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
5 Months Ago
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>
6 Months Ago
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>
6 Months Ago
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).