Rubik
14d3673dc4
Update file_browser.lua ( #495 )
...
Double-clicking an item in the search results would return an error - "file not found". Pass `node.Ref` to GetNodePath() instead.
2025-02-09 01:42:28 -05:00
thecraftianman
620d3ba776
Use world icon for tool HUD ( #494 )
2025-01-08 13:13:59 -05:00
Brandon Sturgeon
8d6ad3b8f6
Add adjustable ghost rate ( #493 )
2025-01-03 00:59:01 -05:00
thegrb93
722c560515
Better error when dealing with newline corruption ( #492 )
...
* Improve error for corrupt newlines
* A bit better
2024-12-06 14:39:50 -05:00
thecraftianman
883dd6389c
Add Tool Information Display ( #489 )
2024-11-23 18:55:55 -05:00
Redox
293b094899
Halt during upload ( #488 )
...
* Halt during upload
* Improve messages
* Rename opening to uploading for more clarity
2024-11-18 18:20:14 -05:00
Redox
31d066cc10
Globalize some advdupe2 networking logic ( #487 )
...
* Globalize client net functions
* Rename var
* Fix oversight
* Fix arg order
* Remove print
2024-11-17 13:46:43 -05:00
thegrb93
9fb777d884
Ensure loading files/directories isn't nil ( #486 )
2024-11-14 21:12:08 -05:00
thecraftianman
41d4fa6f2b
Fix physobj OOB access ( #483 )
...
* Fix physobj OOB access
* Fix broken contributing link
2024-11-02 04:09:48 -04:00
Redox
ac5f1f202a
Add constraint limit from basegame ( #482 )
...
* Add constraint limit from basegame
* Differentiate between rope and regular constraints
* Remove print
* Apply suggestions from code review
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Add player check
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2024-10-30 21:13:49 -04:00
Redox
8a1fa8658f
Add AdvDupe2.SanitizeFilename ( #480 )
...
* Add AdvDupe2.SanitizeFilename
* Uncomment
* Style
2024-10-16 18:47:17 -04:00
march
0ff4d3046c
Fix a pasting bug ( #476 )
2024-08-21 23:06:42 -04:00
march
3092b77b7a
Make browser loading faster ( #467 )
...
- Change names to remove dashes
- Add FOLDER:Clear() and FOLDER:LoadDataFolder(folderPath) to replace PurgeFiles
- Make loading folder/file nodes non-blocking
2024-08-21 23:06:31 -04:00
thegrb93
282f7607ac
Make netstream timeout 30. Gmod apparently struggles sending 20kb in under 10s sometimes ( #474 )
2024-08-10 16:54:43 -04:00
thegrb93
b9984fcea1
Rewrote netstream ( #472 )
...
* 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
2024-06-09 17:08:08 -04:00
thegrb93
238d02d289
Add max size for advdupe2 dupes ( #470 )
2024-05-31 22:06:15 -04:00
Redox
0c1d194c52
Account for no menu binding ( #468 )
2024-05-30 15:32:57 -04:00
Brandon Sturgeon
94c6f4a4dd
Fix AreaCopy when used with the CopyOutside param ( #466 )
...
* Fix AreaCopy when used with the CopyOutside param
* Adjust param order
* Fix call parameters
2024-04-25 16:11:14 -04:00
thegrb93
19eb2221a1
Add CPPICanTool to advdupe2 copy ( #465 )
2024-04-11 22:33:59 -04:00
aStonedPenguin
6fe9bc86ea
Use ents.Iterator in place of ents.GetAll ( #464 )
...
* Use ents.Iterator in place of ents.GetAll
* syntax
* Update advdupe2.lua
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2024-04-05 18:11:29 -04:00
Porky
0c6f311f3a
Fixed a crash exploit ( #462 )
...
* 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>
2024-03-28 15:18:27 -04:00
stepa2
f2936d5315
Add AdvDupe2_PreCreateEntity
hook. ( #458 )
...
I need it to fix model path change in my model pack.
2024-01-22 15:43:17 -05:00
stepa2
ddd8b76af5
Fixes reportmodel
using AdvDupe2_ReportClass
netmessage ( #457 )
2024-01-19 12:09:58 -05:00
Deyan Dobromirov
c46ca53f0f
Changed: !,||,&& to not,or,and ( #455 )
...
Changed: Some long lines
Changed: Use condition-less assignment
Changed: Reduce 4 vector creation to 2 at line 764
2024-01-09 18:12:18 -05:00
kotvacya
284bd4d598
Make traceback actually useful ( #452 )
2024-01-08 17:13:18 -05:00
Deyan Dobromirov
9a751cf616
Changed: Localize ply.AdvDupe2
as dupe = ply.AdvDupe2
( #450 )
...
* Changed: Localize `ply.AdvDupe2` as `dupe = ply.AdvDupe2`
Reduced: Length of some long identifier lines
* Updated; `TOOL:Deploy()`
* Updated: Code review
* Added: Requests from code review 2
Changed: Align some identifiers
2024-01-08 13:14:07 -05:00
Deyan Dobromirov
ad80512575
Changed: Using tab["pos"]
is the same as tab.pos
( #446 )
2023-12-01 17:46:12 -05:00
Deyan Dobromirov
e7db6e0161
Cleanup: Brackets with double quotes to include structures ( like wirem… ( #445 )
...
* 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
2023-11-08 11:31:49 -05:00
Garrett Brown
e4a0d9d80b
Use old revision var
2023-10-31 02:08:12 -04:00
Denneisk
db5fd6b439
Fix broken duping when not having loaded a file previously ( #444 )
...
* Fix broken duping when not having loaded a file previously
Expose codec revision in AdvDupe2.CODEC_REVISION
* Assign Revision on copy
2023-10-30 19:35:00 -04:00
Denneisk
7f061801bf
Track revision in Queue to avoid bad backwards compat ( #442 )
...
* Track revision in Queue to avoid bad backwards compat
* Remove revision parameter
2023-10-30 14:25:00 -04:00
Deyan Dobromirov
9d2d43c908
Create table only when needed ( #440 )
...
* Create table only when needed
* Equalize tabs
2023-10-28 20:25:01 -04:00
Matt Jeanes
4295fd95cc
patch copying special "Data" attribute ( #439 )
2023-10-23 19:56:23 -04:00
Redox
a7adb33ef8
Hide classarg prints behind convar ( #437 )
...
* 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>
2023-08-26 16:50:05 -04:00
Vurv
e58e15fb6d
Merge pull request #436 from wrefgtzweve/master-1
...
Remove unneeded newline
2023-08-06 16:51:55 -07:00
Redox
ee8074e6da
Remove unneeded newline
2023-08-07 00:48:52 +01:00
aStonedPenguin
5d7db74761
fix language strings ( #434 )
2023-07-27 15:09:32 -04:00
Vurv
32492a57a1
Merge pull request #433 from Vurv78/auto-workshop-deploy
...
Add workshop deployment action
2023-07-14 16:02:24 -07:00
Vurv
b0d3462b65
Add workshop deployment action
2023-07-13 22:02:19 -07:00
Vurv
6895075b8b
Merge pull request #430 from Vurv78/new-readme
...
New `README.md`
2023-06-26 13:21:35 -07:00
Vurv
f43fc8edc1
Update README.md
2023-06-26 12:58:15 -07:00
Vurv
392432070a
Remove WireLib.dummytrace
dependency ( #428 )
...
* 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
2023-06-15 11:07:32 -04:00
Deyan Dobromirov
8b30c2bc5e
Fixed: Last YAW value being reset when user requests a small change ( #425 )
...
* 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
2023-06-01 10:58:44 -04:00
Vurv
2618c37624
Pass ply to GetDupeAngleOffset
2023-05-15 14:56:29 -07:00
Deyan Dobromirov
426808476a
Improved: Angle and elevation handling fail-safe ( #421 )
2023-05-15 10:50:46 -04:00
Redox
f1de4bf087
Make sure Constraints table exist ( #418 )
...
* Make sure Constraints table exist
* Use tab indentation
* Use AdvDupe2.CheckValidDupe instead
2023-04-24 11:32:42 -04:00
Redox
3b969bac9f
Fix possible arg count error ( #417 )
...
* 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
2023-04-18 19:52:08 -04:00
aStonedPenguin
df12047d51
check PLAYER.CPPIGetOwner instead of CPPI global ( #414 )
...
Fixes partial implementations of CPPI and is more consistent with the rest of the code base
2023-03-01 13:37:09 -05:00
thegrb93
c78decb8be
Fix ghosts not getting cleaned up ( #412 )
2023-01-25 17:10:25 -05:00
Deyan Dobromirov
2c12f32a85
Entity creator is not set to player spawning the dupe ( #408 )
...
* Fixed: Creator is not set correctly when dupe is pasted
* Added: Creator update after every `ents.Create`
2023-01-11 19:37:55 -05:00