repogarrysmodcancel

722 Commits over 2,496 Days - 0.01cph!

Today
Fixed color modify defaults not resetting "invert color" setting Replace some usages of debug.getregistry()
Today
actually replace getconvarstring usage this time (#2077)
Optimize skypaint matproxy (#2068) * Optimize skypaint matproxy * Remove localized functions * Readd leading newline
Today
remove duplicate id on input which breaks ReverseFilter() (#2079)
4 Days Ago
TTT: replace deprecated GetConVarNumber/String usage (#2076)
6 Days Ago
CSS file clean ups Minor changes Fixed Combine Soldiers with Shotguns having their skin reset (Sandbox) Create spawnlists from addons easily Main menu server browser additions * "Join when not full" option * Ability to add servers to favorites by IP
6 Days Ago
Small optimizations to GM:DrawDeathNotice() (#2045) - Localize the cl_drawhud convar and replace the use of the deprecated GetConVarNumber function with it - Don't reset the Deaths table if there's nothing in it - Don't iterate through the Deaths table twice
6 Days Ago
Move some hardcoded values of weapon_fists to SWEP.* variables Closes garrysmod/pull/1980 Co-Authored-By: code_gs <collings509@gmail.com>
6 Days Ago
Update deprecated GetConVarNumber in weapon_fists (#2054) Update deprecated GetConVarNumber in weapon_fists
6 Days Ago
chore: fix some typos (#2072) Signed-off-by: frameflare <yangzenghua@outlook.com>
6 Days Ago
TTT: Update Russian language (#2070) * TTT: Update Russian language * Update russian.lua * Improve translations --------- Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
15 Days Ago
Update base.fgd Update main_menu.properties Minor fixes via LuaLS Deprecated function fixes, type mismatches, extra unused arguments, etc. Convar descriptions Fixed NPC related kill achievements Prevent tiny amounts of damage (< 0.1) taking a whole armor point Fixed inflator tool not working on NPCs (Regression from #1890) Improvements to Spawnicon Editor Convenience buttons to rotate the model, set LOD to highest. Fixed addon presets not importing correctly DCategoryCollapse disabled state visual support Fixed depth issues with DModelPanel when 2+ are overlayed Fixes and changes regarding "Demo To Video" functionality Fix Lua errors when Spawnicon context menu is used after icon removal Visually disable server disabled Sandbox tools Permission system related UI improvements
18 Days Ago
TTT: add TTTShowSearchScreen hook (#2074)
48 Days Ago
48 Days Ago
func_tanklaser sound fix PropSelect:AddModel throws error on invalid input Added more portal entities to the spawn menu Updated effects library Fixed effects changing their entity table if accessed too soon. Added the "trace" debug console command Added NPCData.SnapToNormal Make npc_security_camera duplicatable
52 Days Ago
TTT: update Turkish language (#2066)
52 Days Ago
TTT: optimise radar ping network traffic (#2064)
52 Days Ago
Make toolgun reload use util.TraceHull for consistency (#2067)
55 Days Ago
TTT: Use new game.CleanUpMap argument
55 Days Ago
Fixed text of game_text being cut off if too long Use string.StartsWith over StartWith Fixed regression with duplicated NPC being forced to drop to the ground Whip out Paint tool when selecting a decal Prevent errors with IconEditor and DAdjustableModelPanel with no entity Fixed problem counter not updating when problems are fired too early Adjustments to fallback main menu Enable asset:// for loading screens Fixed a bug with markup library Allow constraint.Keepupright on more entities Fixed a regression with Entity:NetworkVar Minor cleanups Added DMenuOption radio setting Fixed DMenuOption:SetChecked not calling OnChecked Read-Only file problem handling Allow right clicking in Bodygroup/Skin entity properties CreationMenu validates the panel it wants to parent to Workarounds around game.CleanUpMap() due to bad addons
55 Days Ago
TTT: Use net.Read/WritePlayer (#2063)
55 Days Ago
TTT: Use player.Iterator (#2062)
56 Days Ago
TTT: Replace self.Weapon/self.Entity with self (#2060) * self.Weapon -> self * self.Entity -> self
57 Days Ago
Fixed can_rag_pin_inno overwriting can_rag_pin (#2059)
57 Days Ago
Prevent infinite loop from `panel:SetDragParent` (#2058) * Prevent infinite loop from `panel:SetDragParent` * Prevent DND infinite loop from `panel:DragMousePress` * Remove DND infinite loop prevention from `panel:SetDragParent` * Remove early return in `p:DraMousePress` This will allow the rest of the method to run even if the drag parent is the panel itself
58 Days Ago
Fixed util.IsBinaryModuleInstalled using the wrong FS path (#2057)
2 Months Ago
More linter base fixes Removed DColorMixer:TranslateValues Removed useless calls to table.Copy in DListView More robust Elastic value calculations, does not rely on integers for boolean inputs Removed usage of some deprecated functions
2 Months Ago
Fixed table.Add infinite loop (#2055) Putting the same table twice in table.Add will freeze the game forever.
2 Months Ago
Minor code fixes via LuaLS diagnostics It's mostly usage of non existent globals or function arguments Fixed a regression with env_sky + other editors inherit map values now MInor adjustments "Server" menu bar option Making those settings more visible to the average player. Also made all the options grayed out consistently with their ability to function at a given moment Don't record certain pointless convars/commands in demos Probably a lot more of these need doing Fallback menu for when menu.html doesn't exist Should also be used on x86-64 when chromium doesn't launch for whatever reason.
2 Months Ago
Fixed Taunt Camera making view roll permanent Not a perfect fix, but it works
3 Months Ago
Entity translation for scripted_sequence Fixed spawnmenu "Save Changes" / "Revert" buttons not having icons Regression from garrysmod/pull/1954 Fixed no loading screen when playing demos Fixed a bad thing with HTML translations Removed unused code from loading screen Removed usages of GM:LoadGModSaveFailed clientside Update icon_progress.lua Fixed a visual bug with drag'n'drop When the dragged panel's local position is higher than 2048 on any axis Duplicator uses `CurHealth` instead of `Health` Avoid issues with `Health()` function. Also make the NPC inherit duplicator table correctly Base gamemode supports DMG_REMOVENORAGDOLL for players
4 Months Ago
Make DeathNoticeEvent verify if the entities are players (#2040) * Make DeathNoticeEvent verify if the entities are players * Add IsValid checks
4 Months Ago
Clean ups Do not force render group of base SNPC/nextbots let the engine decide based on the NPC model Use ENT.WantsTranslucency for Sandbox entities duplicator saves "Make Persistent" setting Fixed misspelled community translations Clamp DAdjustableModelPanel FOV to 0-179 Faceposer: improved handling of too many flexes Fixed some sandbox entities not saving some settings in duplications Such as being frozen by the physics gun Fixed a regression introduced by PR #1787 Fixes issues with addons passing incorrect data types to Entity NetworkVar
4 Months Ago
made ammo types reflect game.GetAmmoTypes (#2035)
5 Months Ago
TTT: Replace most SteamID usage with SteamID64 (#2029)
5 Months Ago
Cleaning up vgui files
5 Months Ago
Refactor list.lua (#2024) - Refactor for optimisation, better var naming, and new code style standards - Remove doc comments
5 Months Ago
Rounding pixels to get rid from 1 pixel abnormal shift (#2034)
5 Months Ago
TTT: Fix Turkish translation file
5 Months Ago
Do not register duplicator related stuff clientside (Sandbox) Minor cleanup in matproxy library
5 Months Ago
Add chainstodoor to Door @BaseClass in base.fgd (#2031)
5 Months Ago
minor cleanups util.SetPData transition to SteamID64
5 Months Ago
Clean ups PLayer:SetPData transition to SteamID64 This is backwards compatible and will eventually convert all data to use SteamID64
5 Months Ago
Significantly improve the performance of SortedPairs (#2015) * Improve sortedpairs performance * Fix Keys typo, styling consistency
5 Months Ago
Add option to force override child tables in table.Merge (#1951)
5 Months Ago
Add math.tau (#2030) Convenience var for a well-established constant. Improves readability of code for formulas that typically use tau over 2pi. Fixes garrysmod-requests/issues/2216.
5 Months Ago
TTT: added Turkish Language (#2028)
5 Months Ago
Make Sky Editor inherit values of existing sky on spawn Minor code adjustments Fix conflicting addon problem stacking file paths
5 Months Ago
DT/NetworkVar Changes (#1787) This is an attempt to close garrysmod-requests/issues#798. This allows you to omit the slot of DT/NetworkVars, which simplifies DataTable inheritance. ```Entity:IsDTVarSlotUsed(typename, slot)``` and minor optimizations are also included. The DT/NetworkVars slot parameter can either be nil or completely omitted: ``` local ENT = {} ENT.Type = "anim" function ENT:SetupDataTables() self:NetworkVar("Int", 1, "Base1") self:NetworkVar("Int", 3, "Base2") self:NetworkVar("Int", 5, "Base3") self:NetworkVar("Float", 0, "Base4") self:NetworkVar("Float", 1, "Base5") if SERVER then self:SetBase1(1) self:SetBase2(2) self:SetBase3(3) self:SetBase4(4.4) self:SetBase5(5.5) end end function ENT:Initialize() print(self, self:GetClass()) for i=0, 31 do if self:IsDTVarSlotUsed("Int", i) then print("Int " .. i .. " used", self:GetDTInt(i)) end end for i=0, 31 do if self:IsDTVarSlotUsed("Float", i) then print("Float " .. i .. " used", self:GetDTFloat(i)) end end PrintTable(self:GetNetworkVars()) end scripted_ents.Register(ENT, "github_test") local ENT = {} DEFINE_BASECLASS("github_test") ENT.Base = "github_test" function ENT:SetupDataTables() BaseClass.SetupDataTables(self) self:NetworkVar("Int", nil, "Test1") -- backfills Int 0 self:NetworkVar("Int", "Test2") -- backfills Int 2 self:NetworkVar("Int", "Test3") -- backfills Int 4 self:NetworkVar("Int", "Test4") -- uses Int 6 -- Int 0 through 6 are used self:NetworkVar("Float", "Test5") -- uses Float 2 self:NetworkVar("Float", "Test6") -- uses Float 3 -- Float 0 through 3 are used if SERVER then self:SetTest1(-1) self:SetTest2(-2) self:SetTest3(-3) self:SetTest4(-4) self:SetTest5(-5.5) self:SetTest6(-6.6) end end scripted_ents.Register(ENT, "github_test_child") ```
5 Months Ago
Replaced util.TraceLine by util.TraceHull for tool traces. Fixes trace bypassing parented props (#1890)