zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 12:35 AM |
Hackers can change the values of the leaderstats because they are client-based right?
If I make the values of the leaderstats the value of server-side IntValues, it will be harder to change/modify/hack? What else are hackable that I should secure? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 12:37 AM |
| >.>. It's all done using admin commands. |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2011 12:37 AM |
| It would not be harder, it would be impossible, just make sure you use as little LocalScripts as possible |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 12:41 AM |
| Value objects are replicated from client to server and server to client, so changing the computer it's created on will not change anything. |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 12:42 AM |
@Spleen Thanks for advice.
Btw, someone once changed the map of the Sword Fighting Tournament, putting decals around and making the lights all dark. What's up with that? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 12:42 AM |
| If you really were worried about that, you can put a value in each workspace for the player, and constantly get the leaderstat value to read off the value in workspace. |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 12:46 AM |
@blocco What do you mean? Did you mean changing your leaderstats values for your player with hack won't do anything? |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 12:49 AM |
@nate I'll connect a changed event that checks if both values are the same. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 12:53 AM |
| I'm saying they can modify Value objects no matter what. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 12:55 AM |
| Blocco, some command in admin commands allow them to change the value of their current leaderstats, but when you chat the command using person229's admin commands it checks in the player and changes the stats. That's why if you get the stats to constantly read off a value in workspace, then they won't have control over it, unless they used "c/workspace.EXTREMELYRANDOMGUESS.Value=35656" |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 12:55 AM |
@blocco But can they modify Value objects that are server-side? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 12:59 AM |
1) My point still stands. 2) They are _REPLICATED_, so editing them will work anywhere. |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 01:04 AM |
So how do you prevent, or lessen, the hacking of the leaderstats? Or is that impossible and we are all doomed? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 01:06 AM |
| "Lock" them by storing the value somewhere else and editing them back. |
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 14 Aug 2011 01:09 AM |
| Just have two separate values, and if they aren't equal, destroy the server. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 01:11 AM |
Waffle, no.
Just do what I said. Get the leaderstat value to constantly read off a value in workspace, that way someone with commands can't change the value because it's simple there, but it's always getting changed. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 01:11 AM |
| Ewwww, don't take the server down. |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 01:11 AM |
"editing them back"? So you can store it in a model full of bricks, edit it, then put it back in the player? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 01:12 AM |
| Zac, no. Just do what I said. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 01:14 AM |
| Blocco, I have no idea what he meant, You confused him with un-necessary stuff. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 01:16 AM |
| Being philosophical is necessary, Nate. |
|
|
| Report Abuse |
|
|
zaqpoi
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 88 |
|
|
| 14 Aug 2011 01:16 AM |
I would put a IntValue in a hard to find place in Workspace. When that IntValue's value changes, it makes your leaderstat value the same as it.
When your leaderstat's value changes, it makes sure its value is the same as the IntValue.
What about that? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2011 01:18 AM |
| No, store it in the environment of a server-sided script. It is near impossible to edit those, if not impossible. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 14 Aug 2011 01:18 AM |
I don't think he wants to learn, just fix his problem, or figure this out, although, I guess that would involve learning.
Yes, exactly like that. |
|
|
| Report Abuse |
|
|