- 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