|
Post by AutoBOT on Jun 10, 2017 15:46:36 GMT
so i use getUserID and simple array check, if I don't encrypt it and stay with .lua it works fine. but after I encrypt it, it won't work.
I use the ankulua built-in encrypter.
|
|
|
Post by AnkuLua on Jun 10, 2017 15:55:53 GMT
You can't use dofile() on encrypted file.
If it's not the case please give the error screenshot and sample code.
|
|
|
Post by AutoBOT on Jun 10, 2017 16:07:41 GMT
You can't use dofile() on encrypted file. If it's not the case please give the error screenshot and sample code. ah so that's the problem, so is there a way to solve that. or there is no other way so I need put it on main script?
|
|
|
Post by AnkuLua on Jun 11, 2017 1:07:46 GMT
You can compile all lua files into one. You can still see the debug info (exception on which line in which file).
luac -o all.lua func1.lua func2.lua main.lua
Note: the order of all files is important. Normally, puts the main.lua at the last.
|
|