Author Topic: Actually how to hold a server?  (Read 528 times)

0 Members and 1 Guest are viewing this topic.

Offline 資源回收筒

Actually how to hold a server?
« on: February 08, 2017, 07:04:09 AM »
I want to ask about how to hold a server? I google it but many are outdated. Can anyone help me?

Offline DrSuperGood

Re: Actually how to hold a server?
« Reply #1 on: February 08, 2017, 04:41:00 PM »
Depends on the type of server system you are using. If you are using an old desktop converted into a server it should be very easy to carry/hold with two hands on its steel case. If you are using a larger scale server solution such as a server rack you can demount the rack from the cabinet and should then be able to carry/hold it with hands on each side. If you are trying to hold an entire server cabinet you might need multiple people to help carry/hold it or use some heavy machinery to help carry some of the weight such as a forklift truck or a winch attached to the roof.

Or are you asking how to setup a server?

In such a case you will need a computer system to act as the server which is attached to a network with your potential clients with a good upload rate. You will then need to self-build the POSIX server build of Simutrans (this version is not distributed pre-built) to act as your server. This version can then be started as a server from the command line, passing server configuration information as arguments. If the server is behind a NAT then appropriate port forwarding is required for clients outside the NAT to connect to it. The port used by the server for receiving TCP connections can be specified as part of the command line. Automated restarting and save backups can be done with some command line hackery.

The standard client can also be used as a server. This is done by starting it from the command line like the POSIX server build with the same arguments. This is not really suitable for remote servers with no window management system running. It also consumes more resources than the POSIX server build due to graphic support.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 15419
  • Total likes: 376
  • Helpful: 171
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Actually how to hold a server?
« Reply #2 on: February 09, 2017, 12:32:52 PM »
To add to that: to run Simutrans as a server, start it with the -server command line flag.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.