Server setup on Linux

Discussions about Servers
Torax
Adept
Posts: 406
Joined: Fri Apr 20, 2012 6:38 pm
Personal rank: Master of Coop
Location: Odessa, Ukraine

Server setup on Linux

Post by Torax »

Have a question guys.
I didn't search through topics.. What are the best to read about UT server setup on linux from zero? I want to start my server with coop game mode Operation Na Pali, also to make tests of my works in modding online.
Unreal. Alter your reality..forever...
-=SoP=-axewound
Average
Posts: 63
Joined: Wed Apr 30, 2008 9:17 pm

Re: Server setup on Linux

Post by -=SoP=-axewound »

Here is a how-to which includes links to the downloads required:
http://wiki.unrealadmin.org/Server_Install_linux
Image
UT99.org

Re: Server setup on Linux

Post by UT99.org »

billybill wrote:what he said. the instructions though are terrible and you only really need that server file and utpgpatch451.tar.gz. You want the oldskool mod which has the game type for coop. And you'll have to choose between unreal1, operation na pali or custom maps with a mapvote. There are lots of coop/unreal sites that will help you if you want to add extra monsters or anything like that.

The Unreal maps when hosted on a UT server have a package flag making them undownloadable for clients who connect! fix this with the program UDL I got it from http://wolf.tcpclan.net/projects/Unreal/UDL.html . Someone really needs to post these undownloadable versions to all the redirects and places where people can download them without going through UDL. I really dont think there is any harm putting a hex edited file on a redirect

Around the 4th map your server will require a file named Editor.u, use the UT version not the unreal version of it. I am unaware of any other package problems but let us know. Make sure you get the latest high resolution textures (for UT) on your client and a nice new graphics renderer :)

Good Luck!
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA

Re: Server setup on Linux

Post by Chamberly »

Gonna find and post some here.

http://wiki.333networks.com/index.php/T ... on_(Linux)
https://gameservermanagers.com/lgsm/ut99server/
http://www.r3uk.com/index.php/home/38-s ... ent-server
https://ubuntuforums.org/showthread.php?t=699307
http://www.tldp.org/HOWTO/archived/Game ... TO/ut.html
http://www.to22.org/node/656

Now running and setting it up on a VDS server is different and look like that one (tutorial) is gonna have to be made. Since I'm new with Linux, I'll be running into many walls. Would be great if anyone can make one for apes (friendly term for noob) like me. lol.
Image
Image
Image Edit: Why does my sig not work anymore?
User avatar
Barbie
Godlike
Posts: 2770
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Server setup on Linux

Post by Barbie »

What wall is the nearest? ^^ In other terms: what exactly is the problem?
Do you have access to server's command line (via SSH e.g.) or ftp access only?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA

Re: Server setup on Linux

Post by Chamberly »

Well, for VDS I do have access. I did installed this one -> https://gameservermanagers.com/lgsm/ut99server/
But the wall I seem to encounter is configuring the commandline/start parameter. Maybe I'm doing something wrong, I don't know.
Do have full access, via Putty and FTP. But again, this is something new to me and I'll probably say something like that is probably not right like this:
So many host offer linux, but very few set up instruction/tutorials, and there is few Windows host, but many tutorials/instructions. Ya... I still need to learn more about linux.
Image
Image
Image Edit: Why does my sig not work anymore?
User avatar
Barbie
Godlike
Posts: 2770
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Server setup on Linux

Post by Barbie »

A note to linux command line generally: one of the first things I install is the Midnight Commander (mc), a Norton Commander Clone (if you are old enough to know that one ;). It can be used for managing files (editing, moving, copying, deleting, ...)

To UT server:
Before managing start/stop scripts you should make sure that the UT server can run at all: log in as a non privileged user (UID!=0), change directory to $UT/System and call ucc-bin with the needed parameters (game type, map name, etc.) manually. These parameters should be the same as in windows. If ucc-bin does not run here, you have to check if the needed libraries are installed and if all settings in INI files are correct. The error messages on the command line and in the log files should guide you with this.
If all system requirements are fulfilled and the UT server is able to run from the command line manually, the next step is setting up a start/stop system. Two things are important: the process running the UT server has to be detached from the command line, otherwise it is terminated if you log out. Detaching can be done by putting a process into the background (e.g. put a trailing "&" at the end of a command line). Second important is restarting the UT server if it crashes. This is usually done with an endless loop, like in the windows batch file you already know.

You can write these start/stop scripts by yourself or use ready-made ones. I'm using "abfackelns Server Utilities (ASU) for Unreal Tournament" as a base for starting and stopping the server; I adapted the start/stop script to my needs.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Barbie
Godlike
Posts: 2770
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Server setup on Linux

Post by Barbie »

Chamberly wrote:I'll be running into many walls
Has the above helped you or are there still any problems?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA

Re: Server setup on Linux

Post by Chamberly »

Barbie wrote:
Chamberly wrote:I'll be running into many walls
Has the above helped you or are there still any problems?
I sent you PM awhile back. Let's continue talking about that in PM and not throw anything else on here yet.
Image
Image
Image Edit: Why does my sig not work anymore?