|
| 05 Jan 2015 09:27 PM |
| If I were to put a backpack filled with values in the workspace that's used for settigns (such as cash) and turn on FE, would player still be able to exploit it and gain from it? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Jan 2015 09:29 PM |
| Nope, or at least shouldn't since those changes shouldn't be replicated to the server. |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2015 09:30 PM |
| what if I were to check the value of the cash in the local script, rather than in a local script? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Jan 2015 09:32 PM |
Well it would be whatever they set it :) But if you are handling cash stuff from the server (like you should) then you should be fine. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 05 Jan 2015 09:32 PM |
| ^That makes no sense to me. It appears as if your comparing something to itself, which would result in true if we were scripting.^ |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Jan 2015 09:33 PM |
| I'm assuming he meant "rather than a script" |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 05 Jan 2015 09:33 PM |
| Previous post meant for the guy above cnt. |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2015 09:34 PM |
Lol, I accidentally typed local script twice.
The reason I don't wanna immediately use it in a server script is because of the delay that comes with FE.
I need the conditional statement to be instantaneous, to prevent people from getting 12/10 units.. How would I solve? Debounce? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 05 Jan 2015 09:36 PM |
"How would I solve? Debounce?"
Exactly. In cases we're leaderstats are used, you can't deploy a "client-effect" solution to make the process seem smoother. You simply need to wait for server verification before moving on. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Jan 2015 09:37 PM |
| Why not just use a RemoteFunction since that would yield the script until the server finishes executing the RF? |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2015 09:38 PM |
would this work properly?
if debounce == false then debounce = true debounce = rf:InvokeServer() -- other stuff end |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2015 09:40 PM |
rf.OnServerInvoke = function(player) -- handle things
return false
end |
|
|
| Report Abuse |
|
|