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 » Roblox » All Things ROBLOX
Home Search
 

Re: Warning to Scripters: About Roblox' loadstring function

Previous Thread :: Next Thread 
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
08 May 2014 04:03 PM
I made this post in the Scripters forum as well, but not all scripters go in there and I believe the rest of the community should know about this as well

On May 12th, Server-side loadstring() will be disabled by default. The LoadStringEnabled property will be removed from the Workspace, and will get moved over to the ServerScriptService. The property will be off by default, and will not be scriptable (It can still be set in studio though).

The new property can be found inside of the ServerScriptService now. If you are using loadstring still, you need to think of a better implementation as soon as possible, and if all else fails, you can enable the property.
There is no guarantee that loadstring will be around forever, and it may be disabled completely in the future with no way to bring it back (on the server side at least)

You have about 4 days. Get moving ;)
Report Abuse
ali119 is not online. ali119
Joined: 02 May 2009
Total Posts: 2417
08 May 2014 04:04 PM
I'm gonna have t-?

Oh crap.
Report Abuse
Sterilization is not online. Sterilization
Joined: 26 Oct 2013
Total Posts: 1786
08 May 2014 04:05 PM
Okay.
Report Abuse
Spectrabox is not online. Spectrabox
Joined: 29 Aug 2008
Total Posts: 6888
08 May 2014 04:07 PM
Are you referring to the LoadString of data persistence or the other one? If it is data persistence that will suck :/
Report Abuse
legobotron is not online. legobotron
Joined: 17 Mar 2011
Total Posts: 2668
08 May 2014 04:08 PM
What Spectrabox said
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
08 May 2014 04:12 PM
@Spectrablox
Nope, the loadstring function.
Its an extremely useful function that can let you load code using a string. For instance:

local lol_print = loadstring([[print("Lol")]])
lol_print()

However, with great power comes great responsibility. Roblox has been cracking down on all of these Lua based server vulnerabilities, and because so many script builders/ admin commands have script commands, a hacker can just copy the script, change the string value to code they want to run and basically damage a game really badly.

That's why they are forcing the property to false if it hasn't been set already, and the creator will have to take care of it. Yes it will break some old games that are no longer maintained, but in the long run this will be a lot better.
Report Abuse
miller476 is not online. miller476
Joined: 08 Sep 2010
Total Posts: 9252
08 May 2014 04:13 PM
Lua confuses me
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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