Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Best way to keep learderstats safe from exploits? (Besides FE)

Asked by 6 years ago

So, in the game that I'm developing the over all economy can really be hurt if an exploiter was to hack other's leaderstats or even their own. I know of several ways to keep leaderstats safe but I'm hoping some of you guys will leave some ideas/suggestions. It would be greatly appreciated.

1
There really isn't another way besides FE, cause without it local and server scripts can access anything thus making everything exposed to exploits. FE isn't all that bad though. Take a shot and try to learn about it! Audiimo 105 — 6y
0
I agree however, I seen an exploiter change their leaderstats in a FE game. I was going to make my game FE but I was wondering what else could help prevent exploiters from doing this. Michael_TheCreator 166 — 6y
1
It's quite simple. Just monitor the remotes and don't allow the client to change the money. Allow the client to say they killed something, have the server confirmed it was killed and make the server script give the money and not the client User#9949 0 — 6y
1
Make a table instead a ModuleScript in the server, and if client want to change the currency value, they have to change both values from Leaderstats and the table under a certain amount or a script will change back. thesit123 509 — 6y

1 answer

Log in to vote
0
Answered by
Tomstah 401 Moderation Voter
6 years ago
Edited 6 years ago

If your game isn't FE the simplest way is to not trust the client. (Which is what FE is based off of already so :shrug:)

Anyways: Some of the best ways to do this is for all, should-be, constant values, is to connect a .Changed event to a value which makes sure that the value doesn't change. For values that sometimes or often change, it gets a bit harder. At this point you most likely want to provide "reasons" for why they're changing. You could do this by string values, or, more likely, remote/bindable events/functions. If I'm not mistaken you can still use them even when the game isn't FE.

Personally, I highly recommend you start FE scripting as not only does it give the server more advantages but it also requires you to think outside the box. When FE is disabled, you'll have to focus on much tinier but more frequent exploits. I encourage you to think how the exploiter thinks and counter it. Best of luck to you and if you require more information feel free to ask!

0
Thank you for the information. Michael_TheCreator 166 — 6y
Ad

Answer this question