generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Script Replication Question

Previous Thread :: Next Thread 
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
22 Jan 2014 11:41 AM
No. Its not executed by the client, but the server.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
22 Jan 2014 11:42 AM
But you should use regular Scripts when it comes to the Player, anyway.
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
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
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
22 Jan 2014 12:07 PM
I find it more "slow and unresponsive", but whatever.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
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
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
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
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
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
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
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
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
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
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image