sckatchof Posted December 20, 2011 Share Posted December 20, 2011 hello my friends , sometimes i download scripts from community.multitheftauto.com some scripts show like this code , and i want to know how to protecte my scripts when client download my scripts they show like this code : LuaQ 2 @C:\Users\xbost\Desktop\crap\lua\speed_client.lua ” @ E€ \ € € €€ À À À€ G€ @ @ €B E€ M€Â G@ €€ À € @ À @ €D @ À @EŠ ÀE‹ ÀEŒ €ÃŒ €C Ç ÇŽÀ @ ÀG ÀG €È ÀÇ‘ @E’ @Å’ €É‰ €Ã“ ÀG”€ € @ À € @ À € @ À € @ À € @ À € AÀ À Á€ Á €€@ € AÀ À ÁÀ Á €€ € AÀ À ÁÀ €€@ € A€ € Á€ Á €€À @ € € À $ $@ @ $€ € À A …À äÀ @ À A@ …À ä @ À A€ …À ä@ @ À AÀ … ä€ @ $À $ @ À A€ … ä@ @ $€ À $À @ A€ ¤ @€ € W rRoot getResourceRootElement getThisResource sRoot getRootElement sw sh guiGetScreenSize csw csh @`@ lp getLocalPlayer xAngle ð? frame >@ scale ”@ crack on w Àr@ h s r x @@ y settings ào@ g b br spin mph info a imgBG img/speed_bg.png imgL img/speed_labels.png imgHP img/speed_hp.png imgBGG img/speed_bg_glow.png imgIR img/speed_innerring.png imgOR img/speed_outerring.png imgN img/speed_needle.png imgNS img/speed_needle_s.png imgCV img/speed_cover.png imgCR img/speed_crack.png labelColor tocolor Àk@ brightness white Àh@ black ddcSW drag spinner xml renderSpeed getSpeed getHealth addEventHandler onClientVehicleEnter onClientVehicleExit onClientPlayerWasted onClientResourceStart loadSettings saveSettings onClientResourceStop openSettings ddcSpeed addCommandHandler spds X G €€ E@ \€€ €À €A€ …À € € €…À A‡À Ž@Á € ƒÎ@Á Á N AB@ €BÀ €AÁ € @€ CÀ €AA € À€ ‡@ €Á À €E € \ €EA @‰€ €EA MÄGA EA B LGA €‰ €À E \€ ZA À €EA \€ Z €E Link to comment
AGENT_STEELMEAT Posted December 20, 2011 Share Posted December 20, 2011 You need to use a LUA compiler. See the 'Scripting and Mapping Tools' thread in the scripting forums for info. Link to comment
Xeno Posted December 20, 2011 Share Posted December 20, 2011 You can use this compiler: http://www.mediafire.com/?5et60em7mog3yms Or, there is another way, it pretty much deletes the client sided script when the player joins, so he joins, downloads, and then it is deleted afterward so they cant use it. Although it seems like a good idea, there are some downsides too it, because it deletes the file, the person joining will have to download all the files again when he joins. If you want to use this method place this line at the end of your client sided script: fileDelete("script_name.lua") Link to comment
AGENT_STEELMEAT Posted December 20, 2011 Share Posted December 20, 2011 That is a pretty fail method considering someone could just disconnect right after the download before the files are actually loaded. Link to comment
sckatchof Posted December 20, 2011 Author Share Posted December 20, 2011 You can use this compiler: http://www.mediafire.com/?5et60em7mog3ymsOr, there is another way, it pretty much deletes the client sided script when the player joins, so he joins, downloads, and then it is deleted afterward so they cant use it. Although it seems like a good idea, there are some downsides too it, because it deletes the file, the person joining will have to download all the files again when he joins. If you want to use this method place this line at the end of your client sided script: fileDelete("script_name.lua") Ok thanks i will try , but i download this http://www.mediafire.com/?5et60em7mog3yms and i dont know how to use !! 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