xTravax Posted December 25, 2012 Share Posted December 25, 2012 i compile from http://mta.dzek.eu/compiler/ and i make sure that i change in meta script name but still doesn't work at all after compiling. how can i do that compiled script work in this case? Link to comment
iPrestege Posted December 25, 2012 Share Posted December 25, 2012 I also have this problem, but you can compile using scite workin 100 % . Link to comment
xTravax Posted December 25, 2012 Author Share Posted December 25, 2012 i downloaded scite lol and what now no setup or wtf how can i compile now or i need to add that in my server resources so it protects by itself or what? Link to comment
iPrestege Posted December 25, 2012 Share Posted December 25, 2012 You should to chose form the bar "Tool" Compile . end . Link to comment
Castillo Posted December 25, 2012 Share Posted December 25, 2012 I use this compiler: https://forum.multitheftauto.com/viewtop ... 08&t=33905 Link to comment
Anderl Posted December 25, 2012 Share Posted December 25, 2012 Pres[T]ege wasn't talking about the default SciTE but about the one which comes with Lua for Windows package ( click to download ). Link to comment
xTravax Posted December 25, 2012 Author Share Posted December 25, 2012 I use this compiler: https://forum.multitheftauto.com/viewtop ... 08&t=33905 Lol man i used that fucking compiler AND NOW MY SERVER IS FUCKED UP AND EVEN MY BACKUP DONT WORK!!!!!!!!!!!! i dont jell on you solidsnake i yell on compiler because it fucked up my server Link to comment
Castillo Posted December 25, 2012 Share Posted December 25, 2012 You must have used it wrong, I use it for all my scripts and no problems. Link to comment
xTravax Posted December 26, 2012 Author Share Posted December 26, 2012 lol how can u use it wrong? even idiots can do it you press add,add .lua file and press compile then in meta if script was named drift.lua then i chosed to make it compiled in .bak and then file is drift.lua.bak so in meta i add drift.lua.bak easy as hell Link to comment
Castillo Posted December 26, 2012 Share Posted December 26, 2012 See? you are wrong, you don't have to rename anything on meta, you just add the files, choose to make a file with .bak and done. Link to comment
Anderl Posted December 26, 2012 Share Posted December 26, 2012 .bak files generally are BACKUP files, they're supposed to be a security copy in case the compiled files don't work or you need to edit them later. You simply have to compile the scripts. Link to comment
xTravax Posted December 26, 2012 Author Share Posted December 26, 2012 well thanks for helping me but still wait,do i need to have lua and bak files at same time at same place? so in drift resource should i just have drift.bak or drift.lua and drift.bak? Link to comment
xTravax Posted December 26, 2012 Author Share Posted December 26, 2012 well thanks for helping me but stillwait,do i need to have lua and bak files at same time at same place? so in drift resource should i just have drift.bak or drift.lua and drift.bak? because it fu**** up my files which i cannot replace with a old backup idk why and on drift script is missing one row and when i make 1 drift that drift points got disabled by itself idk did it compile with a mistake but still i need a help Link to comment
Anderl Posted December 26, 2012 Share Posted December 26, 2012 BAK files are simply the version of the files not compiled, it's a security copy. You don't need to have any files except the ones that are compiled. Link to comment
Callum Posted December 26, 2012 Share Posted December 26, 2012 I just use a UTF version of LuaC and bulk compile all of the 'Development' folder with a batch script (the result is placed in the resources folder). Link to comment
xTravax Posted December 26, 2012 Author Share Posted December 26, 2012 wtf now 1 server stealed my scripts. luckily my friend is kinda of spy so he was playing he asked for admin and he getted it and he deleted everything in admin resources tab except resourcemanager admin and one more resource called resourcesomething and btw they can still steal my scripts and that works when they steal...... Link to comment
iPrestege Posted December 26, 2012 Share Posted December 26, 2012 Hmm You Try The Scite ? Use FileDelete . Link to comment
Anderl Posted December 26, 2012 Share Posted December 26, 2012 Of course resources can still be stolen. Compiling a script only makes the script not being able to be read and edited by humans ( can still be decompiled ). Link to comment
xTravax Posted December 26, 2012 Author Share Posted December 26, 2012 Hmm You Try The Scite ? Use FileDelete . Man i just see that program like Notepad++ for editing .lua files but can you give me some example of that filedelete? and Anderl,Thanks is there any way to report that Server? Link to comment
Anderl Posted December 26, 2012 Share Posted December 26, 2012 You can't report a server for supposedly having your resources. Next time, search a bit around the forums for ways to protect scripts: viewtopic.php?f=91&t=51882#p505736. Link to comment
iPrestege Posted December 26, 2012 Share Posted December 26, 2012 Hmm You Try The Scite ? Use FileDelete . Man i just see that program like Notepad++ for editing .lua files but can you give me some example of that filedelete? and Anderl,Thanks is there any way to report that Server? For Example you can use it like that but the code in the last script : fileDelete ( client.lua ) fileDelete ( server.lua ) fileDelete ( wall.png ) Link to comment
Anderl Posted December 26, 2012 Share Posted December 26, 2012 Hmm You Try The Scite ? Use FileDelete . Man i just see that program like Notepad++ for editing .lua files but can you give me some example of that filedelete? and Anderl,Thanks is there any way to report that Server? For Example you can use it like that but the code in the last script : fileDelete ( client.lua ) fileDelete ( server.lua ) fileDelete ( wall.png ) There's still a workaround for that way, and server files don't need to be deleted because they aren't even downloaded. Link to comment
TAPL Posted December 27, 2012 Share Posted December 27, 2012 Also fileDelete need the filePath in string. Link to comment
xTravax Posted December 27, 2012 Author Share Posted December 27, 2012 Could i use local newFile = fileCreate("client.lua") -- attempt to create a new file if (newFile) then -- check if the creation succeeded fileWrite(newFile, "This is a test file!") -- write a text line fileClose(newFile) -- close the file once you're done with it fileDelete(newFile) -- delete file end local newFile = fileCreate("drift.lua") -- attempt to create a new file if (newFile) then -- check if the creation succeeded fileWrite(newFile, "This is a test file!") -- write a text line fileClose(newFile) -- close the file once you're done with it fileDelete(newFile) -- delete file end ? I'm sorry i used an Example from Wiki and just edited it. Because i'm not so good at scripting and i need this. And btw when i make that filedelete script then i put my drift.lua and client.lua script in same folder and write that 3 scripts in meta.xml and when people download folder will be empty? Link to comment
Anderl Posted December 27, 2012 Share Posted December 27, 2012 That code will protect nothing, it's a simple script that creates two files, write some shit to them, closes them and then deletes them. You should've read my post above and checked this topic: viewtopic.php?f=91&t=51882#p505736. 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