zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
|
| 25 Jun 2014 07:26 PM |
I have a system in place to try to prevent hacking, but I was wondering if any exploiters/security experts could help me out with it. It's pretty simple, but it keeps a running total of the most cash you've had. Basically if TotalCash < Purchase+PreviousPurchases then Player:Kick() end
is this easily exploitable? The TotalCash value is stored seperate from leaderstats, but is still stored somewhere in the player. Would they be able to find and change it's value? |
|
|
| Report Abuse |
|
|
| |
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
|
| 25 Jun 2014 07:37 PM |
| I was expecting more than that. .-. |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 07:39 PM |
| Use tables. They cant exploit those, unless you fail badly at security. |
|
|
| Report Abuse |
|
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
|
| 25 Jun 2014 07:53 PM |
| Do tables work between scripts? |
|
|
| Report Abuse |
|
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
| |
|
|
| 25 Jun 2014 08:01 PM |
_G.PlayerStats = { zub78 = { Kills = 0; Deaths = 0; }; }
Store them like that, in _G.
Use Dark stone grey Magic (AKA: RemoteEvents) to pass value changes to the client. |
|
|
| Report Abuse |
|
|
zub74
|
  |
| Joined: 13 Sep 2008 |
| Total Posts: 489 |
|
|
| 25 Jun 2014 08:15 PM |
| And this would work with DataStores? |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 09:02 PM |
Remotefunctions can use data store, as I recall.
(My "yes" from the first post meant that I could easily exploit your system if I wanted to.) |
|
|
| Report Abuse |
|
|