Casti Posted April 22, 2022 Share Posted April 22, 2022 Hello, I don't know if this topic has been created in this forum before, but I have a few problems, I write my own script and offer it for sale, these scripts of course check a database to see if that server is there and run it, but all functions can be changed from the side file. you know, this causes the product I sell to be shared for free, I thought of many ways, but we have no way because the function is interfered with from the side file, we can avoid this problem if the authorities allow us to create our own _G table, https://luac.multitheftauto.com It would be great if there is an option on the site where we can create the _G (https://www.lua.org/pil/14.html) table ourselves, please respect our efforts. We can see the data sent to many functions such as fetchRemote, dbQuery and we can interfere with them easily, I just showed you how I intervened in a function where we can get the player name, I hope you find a solution to this problem. s.lua - side file _getPlayerName = getPlayerName function getPlayerName(a) iprint(a) return "lalala" end server.luac - main file local name = getPlayerName(player) --Output > "lalala" Link to comment
-ffs-PLASMA Posted April 23, 2022 Share Posted April 23, 2022 Theres no way to protect such scripts from getting shared/cracked. To be honest, I advice you not to spend any time on that, at the end its a cat and mouse game, just like with cheaters. 3 Link to comment
Recommended Posts