- Change names to remove dashes
- Add FOLDER:Clear() and FOLDER:LoadDataFolder(folderPath) to replace PurgeFiles
- Make loading folder/file nodes non-blocking
* Rewrote netstream
* Only add timer when queue empty
* Only update activitytimeout if queue is empty too
* Move activity timeout reset into successful write
* Move net read before return
* Fixed a crash exploit
Spawning props with model scale set to 0 crashes dedicated servers.
* Update lua/advdupe2/sv_clipboard.lua
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Added: Brackets with double quotes to include structures ( like wiremod )
Converted: Global `constraints` and `serializable` to real globals
* Update: Shove control stricture in the global setup table
* Order by length and reduce spaces
* Hide classarg prints behind convar
* Tabs instead of spaces
* Group defines and move includes to be done last
* Cleanup spawnrate code
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Remove `WireLib.dummytrace` dependency
Think returning just `{ Entity = ent }` is fine.
Doubt it would cause errors, I don't think servers with only advdupe2 and not wiremod are uncommon.
* Copy code from wiremod
* Fixed: Last YAW value being reset when user requests a small change
Fixed: Progress bar pixel-perfect aliment
Fixed: Tool screen HUD use boolean state instead of a number
Updated: Pitch-roll dupe control via MouseMiddle
Updated: Tool screen shows P,Y,R and height
Added: E+Shift+MouseMiddle resets offsets
Removed: Heuristics for proper angle handling
Optimized: Tool screen avoid creating color objects every frame
* Added: Local variable for player and fail-save conversion values
* Fixed: P/R offests relative to player's aim vector
* Fixed: Sign of P/R usage according to the axis used
* Removed Base world angle
* Account for YAW value when calculation P/R
* Don't spawn entity if arg counts don't match up
* Style
* Use tab indentation
* Delete last created entity instead
* Use SafeRemoveEntity instead
* Move remove down
* Support multiple created entities
* Style fix
* Fix print grammar
* Apply feedback
* Fixed: Allow adv dupe 2 to have height inset just like the offset
Fixed: Increase adv dupe contraption paste resolution
Added: Default value for offsets triggered by know mouse 3
* Improved: Tooltips for the offset controls
We aren't using travis anymore, mainly since their free tier is gone now.
I'll have to convert this to github actions, as I'd like to also get it working once more to auto-upload to workshop.
* Fixes #364
* Fixed: May use invalid physobj for `localtoworld` conversion
Added: Performance optimizations
Updated: Use non-deprecated convar extractors
Updated: Utilize table.column instead of table["column"]
Updated: Improved readability
Utilize: Lua multiple assignment
* Added: Faster way to check for `*.mdl`
Utilized: Multiple assignment and scoping
Fixed: Ghosted contraption entries not moved to mouse cursor
* Added: Validation recheck for all entities in the dupe
* Update files according to code review
* Fixed: Sentences and punctuation
* Forgot to change according to first review
* Resolves rest of the conversations
* Update requests according to the last code review
* Fixed: Convars used for `UpdateGhosts` are read correctly
Fixed: Ghosted contraption does not go upwards when the game is paused
* Removed: Use of `SetUnpacked` for older Gmod versions
* Renamed: The desired local variables