Desaster Posted December 10, 2013 Posted December 10, 2013 hi I saw this in a resource can you tell me what does it do ? ="client.lua" type="client" protected="true"/> ps : in meta.xml
Castillo Posted December 10, 2013 Posted December 10, 2013 If you enable that, the script won't be downloaded to the client's hard drive, it'll be loaded on memory.
Castillo Posted December 10, 2013 Posted December 10, 2013 I would say that it got renamed to 'cache', since 'protected' no longer appears on the wiki.
Markeloff Posted December 10, 2013 Posted December 10, 2013 it'll be loaded on memory. Server's Memory or client's computer?
Dealman Posted December 10, 2013 Posted December 10, 2013 It will be stored in the RAM, rather than stored on the hard-drive. That way, people will have to re-download the client script everytime they join the server. This is to prevent script theft. You should use "cache=false" instead. False will store in RAM, true on HDD.
arezu Posted December 11, 2013 Posted December 11, 2013 Keep in mind that people can still get the code easily by packet sniffing, but I guess it's a good way to prevent noobs from stealing your scripts at least.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now