Jump to content

MTA Going Crazy


'LinKin

Recommended Posts

Posted

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?

Posted

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.

Posted

I hade same problem , and with the same file : " racevoting_server.lua" . On my localhost Windows server was working great. On the hosted server , ofc is Linux , the whole server was crashing in every 10 min.

Well my fix was that i recoded every change of my .

Posted
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?

Posted

Maybe you can post us on what mta-server you are running, which linux, which OS are you testing with, what have you changed, for example setElementVelocity worked great on my localhost, but on the server it looked laggy, while our ping was 19~10.

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