I don't know a lot about what exploits are out right now, but I do know that they can pretty much read all the scripts that are replicated to them. So even if you make a password, and have the client send that password through the remote event, the exploiter can read what password you are sending in normally and use that to send their own stuff.
A solution to this is simply implementing security checks on the server side.
For example, say you have a remote event to fire a bullet from your pistol. If it was unprotected, an exploiter could spam that event and fire a bunch of bullets even if they didn't have a pistol.
However, if you checked on the server side:
- Does the player have a pistol and is it equipped?
- Does the pistol have ammo remaining?
- When was the last time this event was fired?
There would be no way for the player to fire the bullet unless they had a pistol, ammo, and waited at least the correct interval of time between each bullet. But if this was the case, firing the remote event wouldn't be much of an exploit, because they could achieve the same thing by simply firing the gun normally.
I hope this gives you an understanding of how to protect your game from exploits!
1 comment
Thanks for the extensive reply, but it really wasn't what I was looking for. I already know the above, but I was wanting to know how games like Jailbreak handled their passwords for their remote events. Thanks, though.