Aisoc
|
  |
| Joined: 08 Jun 2013 |
| Total Posts: 412 |
|
|
| 14 Jun 2014 03:40 PM |
| i create IntValue in players.player but how to make it unhackable because i want to be sure about no one hacking their stats what can i use for that ? |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 03:43 PM |
| Well, you can try to make your game work with filtering enabled on (under workspace). It is doesn't allow changes from the client to change anything on the server. Besides that there is not another way that can think of... |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 03:55 PM |
Create a boolvalue inside inside the IntValue. Whenever you want to change his stats, simply change the boolvalue to false then apply your changes and quickly set it back to true.
If anybody attempts to hack his stats and that boolvalue is true, it will instantly kick them of the game and reset their stats. |
|
|
| Report Abuse |
|
|
ayub32
|
  |
| Joined: 27 Dec 2009 |
| Total Posts: 485 |
|
|
| 14 Jun 2014 03:57 PM |
| @Above Brilliant, I've never seen something like that. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 03:59 PM |
| Lol im going to try that. Great idea. |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 14 Jun 2014 04:11 PM |
Awesome man! :D
*gives cookie* |
|
|
| Report Abuse |
|
|
Aisoc
|
  |
| Joined: 08 Jun 2013 |
| Total Posts: 412 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jun 2014 04:58 PM |
I would to store the "real" leaderstats in ServerStorage and read/write to that, while anytime it is written to, update the "fake" one (the one that shows up on the leaderboard)
But either way, values shouldn't be changeable when they are in leaderstats unless you are using a local script to change it |
|
|
| Report Abuse |
|
|
Aisoc
|
  |
| Joined: 08 Jun 2013 |
| Total Posts: 412 |
|
|
| 14 Jun 2014 05:10 PM |
| whats difference local script so players can hack it ? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jun 2014 05:11 PM |
| What? No, local scripts are just run on the client. So when you change your value from the client (and use ur haxskills to also change it) it will tell the server that you have said new value. |
|
|
| Report Abuse |
|
|
Aisoc
|
  |
| Joined: 08 Jun 2013 |
| Total Posts: 412 |
|
|
| 14 Jun 2014 05:12 PM |
ohh... thanks for all.
gives all cookies* |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
|
| 14 Jun 2014 05:29 PM |
| Lol i can hack server script's with kohl dll's |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 14 Jun 2014 05:31 PM |
Eat ur cookie roc.
transIate is on utube caught hacking, lol. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 05:33 PM |
@cnt
People can change anything on the client. This includes stats. However, they can change anything that is replicated to the client. Your suggested ServerStorage would work flawlessly, but players can still change the 'fake' leaderstats value on their client (and it will be sent to the server if FilteringEnabled is false). |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jun 2014 05:34 PM |
| Agent, yeah but changing the fake one wouldn't actually be dangerous |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 14 Jun 2014 05:36 PM |
| Wouldn't matter, its fake, just for showing. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 05:37 PM |
Yes, that's why I said your method would work flawlessly. I was mainly replying to this statement:
"But either way, values shouldn't be changeable when they are in leaderstats unless you are using a local script to change it"
Which is not quite true. Anything the client can see can be changed by said client (without a LocalScript) if you have something like CE. The changed values will then be sent back to the server if FilteringEnabled is false. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jun 2014 05:39 PM |
The player object and all descendants are client-side? I thought it was only backpack and PlayerGui, well this is good to know.
While you're here, there is an error on the wiki when trying to give a link to someone:
'* CFrame.new(0, 0, -5) --Move the camera backwards 5 units' http://wiki.roblox.com/index.php?title=Camera_manipulation#Circling_the_part
|
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 05:40 PM |
| Lol watta looser if the player was client side then u could change your name |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jun 2014 05:41 PM |
| that I found when giving a link to someone* |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 05:44 PM |
"Lol watta looser if the player was client side then u could change your name"
You can change your name. If you have elevated security. Or if you have enough time to find it in memory and edit it.
"The player object and all descendants are client-side? I thought it was only backpack and PlayerGui, well this is good to know."
Everything is client-side if the client can see it, technically. Think of it as source control.
The server is the main branch. Clients pull from the main branch. Clients can then make changes and push to the main branch.
If FilteringEnabled is true, clients do not have permission to push to the main branch. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2014 05:45 PM |
"You can change your name. If you have elevated security. Or if you have enough time to find it in memory and edit it."
Nope your a idiot If u use a local scriptalo to atempt to replicate a change to your player name Then it ignore's it and just cahnges it on your client memory dll's Lol LOL LOLZ Watta looser .. Get your fact's straight bro |
|
|
| Report Abuse |
|
|
Aisoc
|
  |
| Joined: 08 Jun 2013 |
| Total Posts: 412 |
|
|
| 14 Jun 2014 05:46 PM |
| GO AND FIGHT AT ANOTHER POST MY QUESTION ENDED THANKS.. |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 14 Jun 2014 05:47 PM |
| What other forum are you trolling on? |
|
|
| Report Abuse |
|
|