Commit Graph

3893 Commits

Author SHA1 Message Date
Redox
b7658d3d3b
Fix cl error and use global IsValid instead (#1257)
* Fix cl error and use global IsValid instead

* Newline

* Revert usage of global IsValid
2022-11-09 11:49:22 -05:00
Redox
0330c223bf
Replace convar with lua check (#1256) 2022-11-09 16:07:04 +01:00
Redox
ccecc651d4
Rename hook to PACCanRunConsoleCommand 2022-11-06 19:47:13 +01:00
Redox
fce194fdb3
Add PACRunConsoleCommand hook 2022-11-06 19:46:58 +01:00
Redox
ced6c7d36e
Add leaky bucket ratelimiting system and use it in e2 core (#1251)
* Add rate limit system util and add e2 ratelimiting
2022-10-30 18:38:40 +01:00
Redox
9ce8fe00c1 Improve pac editor networking logic (#1250)
* Dont send editor data when editor isn't open

* Add ratelimit logic
2022-10-29 23:35:13 +02:00
Redox
f459b2e423 Mapoutfit improvements (#1249)
Improve pac map spawn and error proof it
2022-10-29 23:35:07 +02:00
thegrb93
b45c718495 Move into server block 2022-10-29 23:35:01 +02:00
Redox
6920ad49d1 Prevent players from mutating entities if they're pac banned (#1245) 2022-10-29 23:34:53 +02:00
CapsAdmin
4853fcd567 Backdoor improvements (#1248)
* Add extra safeguard

* Fix typo?

* Set protected flag and make default string
2022-10-29 23:34:31 +02:00
Redox
3f7def5f09
Improve pac editor networking logic (#1250)
* Dont send editor data when editor isn't open

* Add ratelimit logic
2022-10-29 23:32:14 +02:00
Redox
ce9f378911
Mapoutfit improvements (#1249)
Improve pac map spawn and error proof it
2022-10-29 19:50:23 +02:00
Redox
9540f207c0
Backdoor improvements (#1248)
* Add extra safeguard

* Fix typo?

* Set protected flag and make default string
2022-10-29 19:48:16 +02:00
thegrb93
c7b2401bf4 Move into server block 2022-10-28 23:38:28 -04:00
thegrb93
615e0bf827
Move into server block 2022-10-28 18:28:21 -04:00
thegrb93
fe292ceaf5
Prevent players from mutating entities if they're pac banned (#1246)
* make CanTool check more robust

* Fix an HTML injection exploit (#1210)

* Improve FixURL

* Ensure number

* Simplify

* Update CONTRIBUTING.md

* Prevent players from mutating entities if they're pac banned

Co-authored-by: CapsAdmin <eliashogstvedt@gmail.com>
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
Co-authored-by: Techbot121 <techbot121@gmail.com>
Co-authored-by: Redox <mail@redox.to>
2022-10-28 18:08:47 -04:00
Redox
b4f3803728
Prevent players from mutating entities if they're pac banned (#1245) 2022-10-28 18:06:08 -04:00
Techbot121
754674c927 add round to expressions 2022-10-28 18:06:44 +02:00
Garrett Brown
67d4f6ee21 Remove old setupbones call 2022-10-08 12:08:37 -04:00
Yagira
0cfbba7434 ignore zero roll on particles, fixes #1222 2022-10-06 19:14:51 +02:00
Garrett Brown
64e8ed9ec0 Add back legacy bone hack. Fixes: #1238 2022-10-04 08:30:26 -04:00
Niccep
d2e84cd590
add voice_volume_scale (#1232)
* add voice_volume_scale

* Update proxy.lua

* Fix weird removed code

Co-authored-by: Garrett Brown <grbrown93@sbcglobal.net>
2022-09-28 05:07:35 -04:00
thegrb93
bf760c15fb
Fix setupbones infinite loop (#1237)
* Fix setupbones infinite loop

* Update part_pool.lua

* Fix other setupbone occurances
2022-09-28 02:10:36 -04:00
Yagira
985f456635 oops 2022-09-17 17:03:35 +02:00
Yagira
cd6acce5d3 fix local sounds not playing? 2022-09-17 03:46:58 +02:00
pingu7867
8913cf4e23
quality of life: flipping the sign and switching hand sides (#1227)
* quality of life: flipping the sign of numeric values and swapping left-right sides on strings like bones

minus or numpad minus + left clicking on a number (or vector component) will invert the sign between negative and positive

upon right clicking a string property, between paste and reset, a new option, "change sides" will change "right" to "left", or vice versa (but it doesn't work if the property is a part yet)

added sign flip to context menu

left-right swap for parts also works (thanks yagira)
2022-09-13 20:11:14 +02:00
Yagira
e6e6b5b1a7 prevent negative radius on is_touching
fixes a possible crash
2022-09-13 18:37:45 +02:00
Techbot121
130ccdce30 fix left/right arrowkeys not working in the editor
(maybe fix #1005?)
2022-09-06 22:48:56 +02:00
Techbot121
202c895a66 fix #987 2022-09-06 22:22:04 +02:00
Techbot121
edc7eaa2fb Update CONTRIBUTING.md 2022-09-06 20:22:13 +02:00
Techbot121
df95ee286e
Update CONTRIBUTING.md 2022-09-06 20:19:15 +02:00
Techbot121
5b4363a64f apparently not everyone names the default animation "idle" 2022-09-04 22:02:51 +02:00
Techbot121
bea26f975a fix t-pose hiding some models in some cases
now looksup reference -> ragdoll -> idle
2022-09-04 20:50:48 +02:00
Techbot121
48b0f68077 only look up "reference" for t-pose
as custom models, which are using the proportions trick, look broken
using "ragdoll"
2022-09-04 17:43:09 +02:00
Techbot121
a30428e6e9 fix custom animation event in multiplayer
(hopefully)
2022-07-25 22:40:52 +02:00
Techbot121
9af6b9b7e8 add (wip?) custom_animation_frame event 2022-07-25 21:55:50 +02:00
Techbot121
968bb9d734 move the eventwheel hide to command events only 2022-07-23 20:04:42 +02:00
Techbot121
7b67f55d9e add ability to hide events from the event wheel 2022-07-23 19:41:46 +02:00
Techbot121
a0048d7c49 Remove double icons
(Didn't see there was a paintoverlay over them 🤦‍♂️)

This reverts commit c4ff3d2954.
2022-07-20 19:33:50 +02:00
Techbot121
c4ff3d2954 change icons of the legacy parts
so it's easier to tell them apart
2022-07-19 18:29:59 +02:00
Techbot121
addd3b47dc automatically invert events, so you don't have to. 2022-07-18 19:57:50 +02:00
Brandon Sturgeon
8fc9e12dfa Fix an HTML injection exploit (#1210)
* Improve FixURL

* Ensure number

* Simplify
2022-07-13 09:35:28 +02:00
Brandon Sturgeon
67d9349256
Fix an HTML injection exploit (#1210)
* Improve FixURL

* Ensure number

* Simplify
2022-07-13 00:54:10 -04:00
Techbot121
d7b20ee951 fix command part not executing on wear
and fix minor spelling mistake
2022-07-04 21:00:00 +02:00
Yagira
18db20c560 fix some entity errors 2022-07-04 18:47:42 +02:00
Yagira
a2008b8c39 better model check
should fix some cases of models changing multiple times
2022-07-03 15:11:43 +02:00
Techbot121
b1bf11ba79 display is_touching as well + permanently display
unless a different part was selected
2022-07-03 12:10:12 +02:00
Techbot121
04c0e4346d oops 2022-07-03 11:14:47 +02:00
Techbot121
57ab8f4f9b also clear warning when changing properties 2022-07-03 10:48:00 +02:00
Techbot121
c66e1e79da spooky formatting and clear warning 2022-07-03 10:42:25 +02:00