Jump to content

[HELP]Lua MTA 1.1 compiler?


Recommended Posts

Posted

Hello, i have some problems with my compiled scripts, they dont seem to work in MTA 1.1..

This is the error:

 [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTRF-8. 

Could someone help me?

Regards,

Jesse

  • MTA Team
Posted

When you are making your scripts, edit np++ to save in UTF-8 (or notepad if u use it)

NP++ : ENCODE -> UTF-8 (don't choose UTF-8 without BOM)

Notepad: Save as, somewhere in that window there is encoding

Posted
When you are making your scripts, edit np++ to save in UTF-8 (or notepad if u use it)

NP++ : ENCODE -> UTF-8 (don't choose UTF-8 without BOM)

Notepad: Save as, somewhere in that window there is encoding

Thanks, but if i open the encoded script again i see it normal, is that supposed to be happen?

  • MTA Team
Posted

ENCODE ~= COMPILE

ENCODE IS NOT THE SAME AS COMPILE

It's supposed to be like that, everything is proper.

  • MTA Team
Posted

Jezus, what I am trying to say is compiling is not the same as encoding.

For example, you can encode a text file (or a lua file in our case) to change the way how it is read ( in this case, 1.1 require UTF-8 FOR ALL SCRIPTS), but compiling our lua, just makes it not readable.

Compiling does NOT affect encoding! Encoding changes the way it is read! Compiling makes it illegiblefor the basic thieves.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...