|
| 22 Jan 2014 11:36 AM |
If I put a Script (not a LocalScript) in side the Player's PlayerGui, would the Player be able to see its source via a cheat program (ex. Cheat Engine)?
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 11:41 AM |
| No. Its not executed by the client, but the server. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 11:42 AM |
| But you should use regular Scripts when it comes to the Player, anyway. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 11:49 AM |
Alright, thanks! I was wondering because I'm hoping to use ServerStorage for a leaderboard in hopes to make stats more secure... but if the Player could edit the Script, it would do the opposite and give them the ability to ruin my server.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 11:51 AM |
| Use tables, pass the tables to the client when they are changed and verify all data that comes from the client (You might want to initially assume that the data is correct on the clients end to avoid some slight lag issues) |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:03 PM |
I was going to do that initially, however, I've used RemoteFunctions enough that they've gotten boring. I'm just going to make it a game that is controlled by the server for 99% of actions. I'm doing this for two reasons: 1. Its more secure 2. When Sorcus finishes his awesome update, the client will be unable to apply changes to the majority of the server (toggleable property, of course). In other words, I want to be ready for this update so I don't have to make major changes to my game
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:07 PM |
| I find it more "slow and unresponsive", but whatever. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:07 PM |
"2. When Sorcus finishes his awesome update, the client will be unable to apply changes to the majority of the server (toggleable property, of course). In other words, I want to be ready for this update so I don't have to make major changes to my game"
Oh, and what's this. Got a link or anything? |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:12 PM |
| Well, as for 2 you could simply have the client have no effect on the server, and just have requests for changes happen through RemoteEvents and RemoteFunctions. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:13 PM |
It was announced on RBXDev... however, I posted a picture of the post of it on Tumblr. Take the spaces out:
ht tp :/ /ro b loxgas m. tum blr. c om/ post /72 6 92030493/ shedletsky-announced-this-on-rbxdev-a-bit-ago
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:17 PM |
| I will want to use that... however... I can see a slight issue with it. Namely, what WILL be modifiable? |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:20 PM |
I'm really not sure, sorry. That's all that's been mentioned about it.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:25 PM |
A way to protect your server from the dbvm hack is to make your own chat bar That was a little off topic but you said you didn't want people ruining the game so yah |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:28 PM |
@Scriptural Yeah, Gusmanak was talking about that... however, it was brought up that it also makes the report system not work correctly (as there is not chat logs). I'm just going to wait for Sorcus's update before I start advertising.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:45 PM |
To bad there isn't a way to check if something is a script without running it Then you could Kick() them for chatting scripts True you could use pcall() and loadstring() but then it would run whatever they said first |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 12:59 PM |
Here's something Aetherknight threw together:
local invalid = false; --... catch error invalid = assert(loadstring(message),"Normal Chat"); --... end catch if (invalid) then --... Do things with the player, they're running a script end
It won't execute the code, but will still allow you to check if the player chatted some code. For example, "HELLO THERE" will error, but "print('Hello World!')" will not. Therefore, "print('Hello World!')" will result in invalid being true. You will also need to surround it with a ypcall, as assert will stop your code if you don't.
Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2014 01:32 PM |
Thats interesting, I wonder why no one has used it in an anti cheat yet Most of the anti cheats will let you run a script if it is short enough (For whatever reason) |
|
|
| Report Abuse |
|
|