767 Commits over 2,710 Days - 0.01cph!
Optimizations using table.IsEmpty (#1568)
make Player:SetPData and Player:RemovePData actually return a boolean (#1394)
* make Player:SetPData and Player:RemovePData actually return a boolean
According to the wiki [SetPData](https://wiki.garrysmod.com/page/Player/SetPData) and [RemovePData](https://wiki.garrysmod.com/page/Player/RemovePData) should return a boolean on success/failure which at the moment they're not.
Additionally it would be optimal if they would also throw an error (sql.LastError()) if it fails so people actually know why their stuff didn't get stored.
Add Tooltip accessors (#998)
* Add Tooltip accessors
Solves garrysmod-requests/issues/514
Style consistency for weld.lua
Add MarkupObject metatable to the registry (#1541)
Co-Authored-By: Collin (code_gs) <collings509@gmail.com>
Remove MarkupObject:Create() (#1542)
This function shouldn't exist - it's a class function of the MarkupObject that... creates a MarkupObject. Calling it on an existing MarkupObject creates an object that now has the metatable of the previous MarkupObject which is improper and inconsistent behaviour for a class function. Even the single use of it calls the function on the MarkupObject metatable as if it were an object. It also updates the __index of the metatable to itself every time needlessly instead of setting it once outright.
This will break no compatibility with previous code since the MarkupObject metatable isn't available outside of a single file, and calling it on an actual MarkupObject results in bad behaviour.
add nocollide to weld tool (#1544)
helpfull function
Changed table.Count to table.IsEmpty in halos
Merge pull request #1565 from Kefta/patch-109
Changed table.Count to table.IsEmpty in halos
Add table.IsEmpty
More efficient method
Credits to @Kefta
Merge pull request #1538 from WilliamVenner/table_isempty
Create table.IsEmpty
Spawnmenu editing hints
Halo.add with no entities silently fails
ImageCheckBox.Set/GetChecked
Flechette effects iin Mp fixed
Fixed faceposer UI bug
was hiding last flex accidentally
Icons for spawnlist rightclicks
lower screen res css fixes
Language files
Fix flechette console spam
Moved weapon script files
Updated language files
Some HL1 translations
Added missiing stuff
How the hell did this not get into the previous commit
ENT:HandleAnimEvent for nextbots
TTT: granular ammo pickup (#1550)
Only ammo the player can carry is taken from ammo boxes, if the box has more than a quarter left it stays around and the remainder can still be picked up.
Player Class changes
Player classes are set on all clients automatically clientside
Added hook GM:PlayerClassChanged
Player classes are initialized as soon as they are set, instead of on first hook call
Explanation to !IsFirstTimePredicted()
Nextbot:FireAnimationEvent dummy/docs
Fix toolgun ghost being left behind (#1557)
Backgrounds do not change in loading
prop_effect changes
Bodygroups and making MakeEffect usable
Serverlist changes
Stop refreshing server list upon joining a server or switching between server list types (Internet, LAN, favorites, etc)
Double the amount of servers shown per gamemode
Do not hide "Stop refreshing" button while browsing servers of a gamemode
Reduced rankiing impact of empty servers, increased ranking impact of full servers
Server ranking based on player count now starts earlier
Fix copypasta error
Moved default spawnlists
Moved default spawnlists to settings/spawnlist_default
Fixes for SWEP/SENT table recreation
Also makes ENT/SWEP table inheritance more consistent
Panel changes/fixes
Fixes for GetCount not updating
Hide tabs in icon editor
Spawnmenu icon editor doesn't display an empty Bodygroups tab
Invisible children of DHorizontalScroller will no longer affect position of the visible panels
Fix for prop_effect bodygroups
Fixed duped effects not having AttachedEntityInfo + minor effect fixes (#1553)
* Fixed duped prop_effects not having their AttachedEntityInfo table (meaning no entity mods, skin/bodygroup changes, bone manips, etc.) ever since the MakeEffect function was added. This value used to be copied over because duped prop_effects were being spawned with GenericDuplicatorFunction, which dumps the entire dupe data table into the new entity. Now that they have their own spawn function, we have to copy the value over manually.
* Fixed prop spawn effect not working on prop_effects because it was trying to apply them to the prop_effect itself instead of its AttachedEntity
* SWEP spawn effect
Toolgun Think fixes (#1547)
- Check owner validity - fixes rare edge case of the owner being invalid when Think is called and cases where the owner is an NPC
- Check last tool object validity before releasing its entity - fixes error when switching from invalid mode to another invalid mode
- Remove a return when a mode switch occurs and the last mode was invalid, causing the first Think after a mode switch to be skipped - fixes garrysmod-issues/issues/3682
Fix invalid table.GetWinningKey behavior. (#1554)
Add new Blade Symphony map to the menu (#1540)
Fix missing argument (#1549)
Fix up whitespace in localization
Fixed an exploit with gm_giveswep
Also renamed npc_tf2_ghost from Test NPC to Example NPC. TODO: Change classname too
Hints can now use dynamic keybinds
Tool translations fixed up
More consistency
Keyboard Settings labels
Updated keyboard tab keybind labels to be more descriptive.
Spawnmenu right click menus translated
Sandbox settings text improvements
Better more descriptive strings for the Sandbox server settings, as well as improved server browser player counts translations
Main menu updates
*Last played map now snaps into view when opening the New Game menu
* Added recent news to the main menu
Menu bar translations/changes
* Moved gmod_drawtooleffects to appropriate file, and it now affects tool tracer
* Menu bar translations
* Menu bar items that require sv_cheats 1 now reflect that
Minor changes
Axis tool nocollide help text
Paint tool duplication prevention
Some whitespace changes
Soundscripts updated
Added Hl1 music, fixed up Hl1 weapon sounds, removed unnecessary files
TTT: fix entity ID/player ID mixup in late loadout (#1546)
An entity ID is used in a player.GetByID call
TTT: Russian translation fixes (#1545)
DColumnSheet return the sheet button (#1505)
Makes DColumnSheet return the sheet's button like DPropertySheet does, all the cool kids are doing it.
Replace dead link about line endings (#1516)
Let it point to the github documentation instead.
Add empty RunBehaviour function to nextbot (#1524)
Fixes garrysmod-issues/issues/3581.
Get rid of direct thread links in Readme
[TTT] Russian localization file minor fix (#1522)
[TTT] Russian translation overhaul (#1518)
TTT: translatability improvements
- Fixed several cases of hardcoded untranslatable texts
- Tweaked UI to give texts more space to fit Russian translation better
Fixes garrysmod-issues/issues/3544
TTT: optimize random weapon and ammo spawning
Changes from #1506 by @mcnuggets1
Co-Authored-By: David <mcnuggets1@users.noreply.github.com>
Updated surfaceproperites.txt
Updated surfaceproperites.txt to remove some entries to fit the 128
entry limit.
Removed snow_normal (instead adjusted snow to be less slippery)
Removed some HL2 Ep2 properties that were used on models with no physics
Removed portal/tf2 properties
Renamed local function
Genetic => Generic
Added quick filter to materials tool
And fixed some translations of sandbox entities
You can now ignite ragdolls
All properties now have proper target check
Distance check, general entity validity check
Add filter to FindUseEntity trace
oopsie
Add additional HL2 entity translations (#1501)
* Add additional HL2 entity translations
- prop_crane
- prop_vehicle_driveable
- prop_stickybomb
- prop_vehicle_jeep "Vehicle" -> "Jeep" (may represent the Jalopy too but it's better than Vehicle imo)
Same encoding issue as garrysmod/pull/1500
Add additional HL1 entity translations (#1500)
* Add additional HL1 entity translations
Last batch. GitHub refuses to keep the current encoding no matter which way I commit it.
* Remove grenade_spit