-
Notifications
You must be signed in to change notification settings - Fork 341
Fix world prop exploit. #3440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix world prop exploit. #3440
Conversation
I got the instructions from this screen. |
This looks like something that'd affect all wiremod entities, why fix it for this instance specifically? |
This was patched in advdupe2 before see, wiremod/advdupe2#417 |
I just fixed this using a call stack I got from error. I didn't know that all entities may be affected. |
I'll try to do that a bit later. I thought it was wiremod's issue specifically. |
Yes, it won't fix anything, this happens with almost all wire/regular sents. It's more of a problem with the duplicator itself and the long-ignored problem of dupes without data validation |
Should we approve the PR now? Like this SENT is used widely to created world props, so I think it might work as a temporary "fix" . It's on yours side though. |
Nah, there was exactly the same pr from redox to fix turrets, but in the end it didn't fix anything. It's better to make one big PR that will validate all the data of all entities. But it will still error with a regular duplicator because it merges the entity table with the table from the dupe, which can also be corrupted |
Yeah this is a Garry's Fault issue |
However, 'ENT:Setup' should be reworked to have typechecking internally. |
Are you still planning anything with this PR? At this stage, i don't see the point, because as i said, it won't fix anything |
Probably no if that is a gmod issue. |
I don't think duplicator will be fixed any time soon, so I did that as a "quick fix", so that players won't exploit this on my servers. I just don't think they'll find out that other entities are getting broken like the explosive. |
Well, then fork it and fix it yourself. As i said, it doesn't make sense if you only do it for one entity. (even if for every sent ¯_(ツ)_/¯) |
ent_create gmod_wire_simple_explosive SOMEMODEL.mdl
It turns World in some prop protection addons.