Jump to content

MTA Going Crazy


'LinKin

Recommended Posts

Hello,

I've noticed that sometimes, the scripts I test in my Local server, have a different behaviour when I upload and test them in a paid-host server.

Just some minutes ago, I was modifying the racevoting_server.lua. I made a couple of changes and tested it on Local server, and it didn't work as I wanted. I checked the code looking for some error, but everything was perfect. I decided to upload it to the hosted server and test it. And guess what, it worked perfectly as I wanted it to do.

Some weeks ago, I had the same problem but the other way up. A script I made worked perfectly on Local server, but not in hosted server.

Have you ever had this confusing and wierd experience?

Any solutions, suggestions?

Link to comment
I know why, because the OS of the host load it as ANSI while mta needs it as UTF-8. I change the code type and it is working. I'm using Notepad ++ and you are able to change it into UTF-8 then put it in the paid server.

What you're telling us is pointing to a hosted server being unable to run the scripts we test in localhost. In my latest case, it was not like that. The hosted server could run perfectly the script I was testing in localhost.

What to do in this case?

Link to comment

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...