paulocf Posted May 19, 2013 Share Posted May 19, 2013 So a client-side script has "cache" option on meta.xml, the file is downloaded and deleted after loading into memory, is there a way to actually extract the script from the memory or somehow get the script in the process? There's a guy telling me he managed to get my script, not sure if I should trust him or not and that's why I want to make sure it is protected. And it's funny cause it isn't THAT complicated, why would someone ever want to steal it? Link to comment
iPrestege Posted May 19, 2013 Share Posted May 19, 2013 As far as i know this will work if you have this 1.3.1 r4909 version and onwards and i think if you have older version maybe the file will loaded . Link to comment
denny199 Posted May 19, 2013 Share Posted May 19, 2013 Cache worked already in the older versions, I don't know how the caching works, but one thing I know, it wont be saved to the players hard-drive. BTW, The one who said that he has all your resources/scripts might be jealous, if you want to troll the stealer then build in a backdoor(just in case you can track back your script if someone has stole it.), and then simpely compile it with a costum compiler. ^.^ Link to comment
iPrestege Posted May 19, 2013 Share Posted May 19, 2013 Hmm.. I Think you are wrong You know why ? Because you said the file won't loaded when the player have a older version i remember i try to use the cache on my script the file doesn't load in my device but in my friend device the file has been loaded . Link to comment
DiSaMe Posted May 19, 2013 Share Posted May 19, 2013 is there a way to actually extract the script from the memory or somehow get the script in the process? Yes. The only way to make sure that no one can get the script is not sending it to the players. Link to comment
paulocf Posted May 19, 2013 Author Share Posted May 19, 2013 is there a way to actually extract the script from the memory or somehow get the script in the process? Yes. The only way to make sure that no one can get the script is not sending it to the players. How would that be done? What if I set 1.3.2 as the min. version required? Link to comment
DiSaMe Posted May 19, 2013 Share Posted May 19, 2013 How would what be done? If you want the client-side files to be impossible to steal, don't use them. You can't expect to make the MTA client use the data without downloading it first. Link to comment
paulocf Posted May 19, 2013 Author Share Posted May 19, 2013 How would what be done? If you want the client-side files to be impossible to steal, don't use them. You can't expect to make the MTA client use the data without downloading it first. I see what you mean, but this script can't rely on server responses because it depends on client's actions and someone can fake lagging issues OR actually have lagging issues... it is a protection system and has to be checked client-side. Link to comment
Castillo Posted May 19, 2013 Share Posted May 19, 2013 You can actually send the script to the client side using triggerClientEvent and then execute it. Link to comment
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