[IDEA] Make SCP attacks use server validation instead of client validation
Goal Description
This already exists for like half the SCP abilities and it pmo that as plugin devs we have no ability to do something like fully allowing friendly fire between SCPs In the context of patching HitboxIdentity.IsEnemy: 939's claw attack works perfectly, lunge doesn't 106 can't even do attacks 3114's slap works, but the strangle doesn't 049's attack works but targeting doesn't 096 fully works 173's observing works, but the blink doesn't kill It's so odd that half the shit is networked, and the other half just, isn't I get why, I understand that client-side validation is cool and hip for reducing network traffic but we can't mod clients, and until that day comes, just allow us to do this stuff please
Notes
No response
I feel like saying SCPs should use server validation is the wrong way to achieve your goal. The thing is that client only says its using a special ability to hurt somebody if client can see they can, the better way to do this would probably be generalizing all the enemy checks in client side SCP abilities to a singular method, then make a SyncList or something for something in a referencehub somewhere to tell clients which players can be hit (even if normal checks say you cant) and then client would use ability, tell server they did that, sever would validate it, then it'd go through and hit somebody
I feel like saying SCPs should use server validation is the wrong way to achieve your goal. The thing is that client only says its using a special ability to hurt somebody if client can see they can, the better way to do this would probably be generalizing all the enemy checks in client side SCP abilities to a singular method, then make a SyncList or something for something in a referencehub somewhere to tell clients which players can be hit (even if normal checks say you cant) and then client would use ability, tell server they did that, sever would validate it, then it'd go through and hit somebody
Except that's not how the other server-synced/server-validated abilities do it I recommended it this way because it's the pattern that exists If they want to optimize their networking code then they can go for it but making things validate on the server instead seems like the easiest way they can go about it
Thank you for your suggestion! We've logged this issue in our internal git system for further review and tracking. Please note that this doesn't guarantee acceptance or implementation at this stage. If we need any additional information or clarification, we'll be sure to reach out to you.
We've reopened this suggestion to prevent confusion and duplicate posts. As stated before, the issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.