Jump to content

Error on hosted server, but on local no=??


Recommended Posts

Hey all, i have an vps and i was preparing everything on my local server. And it works fine, with just 1 bug or 2 but it was perfect!!

So yesterday i uploaded to vps and surprice, Some maps doesn't load, userpanel draws a horrible line under the screen any possible reasongs? Solutions?

(I don't know if this is the right section).

Local server:

-Windows 8

-AMD 2 GHz

-8GB Ram

VPS, Hoster:

-Linux/Ubuntu 12.04

-512 Ram

-1 Core, Uknow Ghz or manufacturer.

I cheked vps status, non-overloaded, so i don't have any solution.

Link to comment

Technically client doesn't care what server it is running the same scripts on. So you can't have a "weird line under the screen" except situations when the server passes some wrong output to the client.

Some maps could fail to load due to rights management. If you run your server with an account called "xerox" (just an example), but add maps via your root account, all files created by root will be (depending on the file rights) non-readable and non-writable for the user, and of course your game server. You have to chown and chmod the files recursively and avoid using root account when not necessary.

In other cases, there might be errors with other codes (e.g. local server has a module, but the VPS one doesn't have one, thus causing attempts to call functions which don't really exist), but that's trivial.

Overall, if the codes are the same, the things act the same way too, unless there's something else what could affect other scripts' behavior

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