вторник, 20 сентября 2011 г.

UT2004, Installation & first start

Here I note what needed to install new Unreal Tournament 2004 *nix server.  Of  course I mean that you already have access to the server (for example through SSH) and you have permissions to execute binaries, change permissions, install libs and etc.

First of all, you need an archive with the linux version of the dedicated server "DedicatedServer3339-BonusPack.zip" (for example from here) and last patch "ut2004-lnxpatch3369-2.tar.bz2" (for example).

Then, at first, you unzip dedicated server:
unzip  DedicatedServer3339-BonusPack.zip
And then extract archive with patch:
tar -jxvf ut2004-lnxpatch3369-2.tar.bz2
Next step - add permission to execute for ucc-bin file:
cd System
chmod +x ucc-bin
If you planned to use license server (which connects to Master Server) you need an CD-Key. Fortunately CD-Key can be generated fo free here. When you receive the CD-Key via e-mail - just save it in "cdkey" text file in System folder (for *nix only!); or add information about CD-Key in registry (for Windows).
Now we can try to start our new server with the command like that:
ucc-bin server DM-Rankin -port=7777 -nohomedir
 As a result you can see that server begins to work, but unfortunately, very often I had to see that error message:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
It happens because your system doesn't contains old C++ libraries, but ut2004 and a few another game servers require it. So now we should add this lib in system. Usually I write something like this (for freeBSD):
pkg_add -r libstdc
And sometimes it work, but sometimes not (usually this command installs newest version of libstdc++.so library). Because this problem appears each time when you install your server to new system, I strongly recommend to you find necessary lib and copy it in game directory, for example in "Admin" folder.
 Again try to start server:
ucc-bin server DM-Rankin -port=7777 -nohomedir
If server successfully start, it's time to take a break. If not - ask Google what you done wrong. =)

Комментариев нет:

Отправить комментарий