XaskeL Posted April 5, 2018 Share Posted April 5, 2018 Addons for MTA supported only serverside? Or is it possible for the client? Or shared? Lua very slowly for my functions. I want use C++ on clientside. Link to comment
Simple0x47 Posted April 5, 2018 Share Posted April 5, 2018 Make your own features on MTA, and if they are useful they'll be added. Link to comment
XaskeL Posted April 5, 2018 Author Share Posted April 5, 2018 6 minutes ago, Simple01 said: Make your own features on MTA, and if they are useful they'll be added. This functions not give me speed boost for cycle in 1 million operations encode / decode on symbols in file weight 11-15mb. Tea Encode/Decode bad function and useless 1 Link to comment
Saml1er Posted April 6, 2018 Share Posted April 6, 2018 This would defeat the purpose of having Lua in the first place. Imagine if this feature was implemented, any server owner can execute any type of DLL on your client. There's no way for MTA to provide a safe sandbox for executing C++ on client. This question has been asked multiple times here, and the answer has always been the same, no. Perhaps if you try to explain exactly what you are trying to achieve, maybe we can suggest better ways to accomplish it? Link to comment
XaskeL Posted April 6, 2018 Author Share Posted April 6, 2018 1 hour ago, Saml1er said: This would defeat the purpose of having Lua in the first place. Imagine if this feature was implemented, any server owner can execute any type of DLL on your client. There's no way for MTA to provide a safe sandbox for executing C++ on client. This question has been asked multiple times here, and the answer has always been the same, no. Perhaps if you try to explain exactly what you are trying to achieve, maybe we can suggest better ways to accomplish it? I would like to make a full encryption of DFF / TXXD / COL files. At the same time, so that their weight does not increase. And apply compression. But, if you go to every client decryption, through the server, it will break the server itself. I would at least make an encryption, simple. But my soul will not be calm if the file will be is decrypted. Link to comment
Popular Post Jusonex Posted April 6, 2018 Popular Post Share Posted April 6, 2018 What's the exact problem with tea encryption? It's ofc not as powerful as something like AES, but it's not possible to implement an effective and secure encryption of assets anyway as you'd always have to send the secret key to the client at some point. Thus, just intercepting the secret is much easier and faster than trying to break/brute-force TEA. The easiest way to make use of compression is to set up an external http server and enable gzip compression in its config. Topic: C++ addons will not be implemented because of the reasons Saml1er mentioned in his post above. If you really need specific functions though (e.g. AES encryption functions for Lua), you can request them on mantis or submit a pull request on GitHub. 4 Link to comment
Recommended Posts