Sign in to follow this  
XaskeL

MTA C++ Addon

Recommended Posts

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.

Share this post


Link to post
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

  • Like 1

Share this post


Link to post

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?

Share this post


Link to post
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. :S

Share this post


Link to post

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.

  • Like 4

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.