'LinKin Posted September 10, 2013 Share Posted September 10, 2013 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
TAPL Posted September 10, 2013 Share Posted September 10, 2013 Maybe you just have different mta server version. Link to comment
Markeloff Posted September 10, 2013 Share Posted September 10, 2013 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. Link to comment
bandi94 Posted September 10, 2013 Share Posted September 10, 2013 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 . Link to comment
'LinKin Posted September 10, 2013 Author Share Posted September 10, 2013 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
denny199 Posted September 11, 2013 Share Posted September 11, 2013 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now