Announcement

Collapse

Forum Rules

CHANGES
  • Items changed, or highlighted for future attention, on 20 July 2013 are highlighted in yellow.

Global Rules
  • Forum moderators may or may not be Tripwire Interactive staff members, but either way, please respect them, as they are the authority of the forums. Speaking to them with intentional spite will not be tolerated and may result in the loss of your forum privileges.
  • Any decisions made by any member of staff or moderator are final and not subject to discussion. Doing so may result in a ban from the site. The owners of Tripwire Interactive Forums reserve the right to remove, edit, move or close any thread for any reason, as well as to remove access to the forums for any individuals with or without warning for breaches of the rules.
  • If you have a complaint regarding another user, PM the appropriate moderators, or if you have an administrative issue, [RO]schneidzekk.

General Behaviour
  • Use the search function before posting. Chances are your question has already been answered.
  • Use a title that describes the content of your post. Don't use all caps or special characters to draw attention either in the title or the body of the post.
  • Up to 10 emoticons are allowed in a post
  • Political discussions are prohibited.
  • Flaming - We do not tolerate abusive, malicious, personal attacks. You will be banned if you persist in this behavior.
  • Trolls - Anyone deliberately antagonizing other forum users by posting 'flame bait' type messages is not welcome. You will be banned (possibly without warning depending on the severity of the issue) if you persist in this behavior.
  • Personal insults (directed at anyone) will result in a ban. If the behavior is not corrected, it will be made more permanent.
  • Constructive criticism is welcome. However keep in mind we (and other forums goers) may not agree with you. If you can't keep the conversation civil, you will be removed from the forums.
  • The use of hyperbole, one liners, and images as part of a forum debate is likely to get you infracted. You have many ways to participate and be a constructive part of this community, even when you disagree.
  • To make the highlighted bits above 100% clear to everyone, the following WILL NOT BE TOLERATED:
    1. Personal attacks, insults, antagonism of any forum-goers, moderators or Tripwire Interactive staff.
    2. Breaches of confidentiality and privacy of any sort.
    3. Any form of racism, bigotry or attacks on race, creed or color.
    4. Linking to posts on other forums related to ANY of the above, whether you are the originator or not, without exception.

  • There has been too much in the way of abhorrent personal behaviors in the past. These will cease. It doesn't matter who started it or who reacted to it - it will all result in moderator action. If you have to indulge your hatreds, for whatever reason, go do it elsewhere - and do not try and drag our forum-goers over to enjoy your hatreds.
  • We understand that people have strong feelings about our games, what we do for a living and how we respond (or don't) to comments on the forums. We all aren't going to agree about everything. So, BE CIVIL in your disagreements!

DO NOTs
  • DO NOT Transmit any message, information, data, text, software or graphic files, or other materials ("Content") that is unlawful (including illegal drug usage), harmful, threatening, abusive, harassing, defamatory, vulgar, obscene, libelous, hateful or racially, ethnically, sexually or otherwise objectionable. This includes publicizing private information, such as individual's real names, IP addresses and anything else that might be used to identify them to the freakier members of the internet. This also means you may NOT publically share private communications (PM, email or anything else) without the original poster's permission.
  • DO NOT Post or transmit any Content that contains a virus, Trojan horse or other mischievous Content.
  • DO NOT Post or transmit any unsolicited advertising, promotional materials, "junk mail", "spam", "chain letters", "pyramid schemes" or any other form of solicitation.
  • DO NOT link to posts on any other forums, or any other form of media, that breaches our rules. It will be treated just the same as if you had posted it here.
  • DO NOT Double Post, cross Post or restart closed threads.
  • DO NOT Intentionally or unintentionally violate any applicable local, state, national or international law, rule or regulation.
  • DO NOT Upload or transmit any Content that infringes any patent, trademark, trade secret, copyright or other proprietary rights ("Rights") of any party.
  • DO NOT post cheats or exploits; THIS INCLUDES ALL/ANY REFERENCES TO HACKING, PIRATED SOFTWARE etc.
  • DO NOT complain about being banned from a server and DO NOT complain about other players on servers - that is between you and the admin, no need to get the community involved.

Username, Avatar and Signature Rules
  • Multiple registrations result in a ban.
  • No offensive user names
  • Avatars:
    Avatars are disabled.
  • All signatures should not exceed the following size limits, you can have both text and images
  • - For text signatures: 4 lines normal size, 8 lines small size and up to 100 chars per line. Font sizes above 2 are not allowed. (Blank lines count as lines.)
  • - For images in signatures: 1 image up to 400 pixels wide, 150 pixels tall and 100kb in size plus 2 lines normal size text and up to 100 chars per line
Netiquette: Written text has no inflection, and, as such, you should be careful how you write your messages as interpretation will vary from person to person. Please take advantage of the built-in emoticons to add such expression to your words. Please remember the golden rule: to treat other forum users the way you would like to be treated. Please use common courtesy, and enjoy using Red Orchestra's forums
Offensive material
The following is a list of some things that MAY be considered "offensive" by the moderators and the team. This is NOT an exclusive list and it does depend very much on context.

Crossing the line into "offensive" territory is likely to get you asked to change your name, sig or avatar or to withdraw/delete posts. This will be done politely by the moderators. If you refuse to comply further action WILL be taken once started, ultimately leading to banning from the forums.

A key point: please attempt to use your brains. What is mild humour to you may well be deeply offensive to others. While we have no intention of acting as politically-correct "thought police", we are on the lookout for those things that can cause offense and, in some cases, are actually still illegal in some jurisdictions.
  1. Names recalling notorious war criminals or personalities.
  2. Names recalling atrocities and war crimes in general, or units with particularly odious histories.
  3. Use of obscenities and expletives.
  4. Blatant racism, mysogynism or many other "ism"s.
  5. Use of symbolism and regalia recalling Nazism or Fascism; this does not include pics of soldiers who happen to have such symbols on their uniform, unless we feel this has been done to provoke. Please note that many Nazi symbols (including the Swastika) are still illegal in Germany and other countries and considered deeply offensive by many Europeans.
  6. Use of symbolism and regalia recalling Stalinism.
  7. On both the previous two, the moderators' views on the intention and impact of use of such symbols will be final - not yours. Please be understanding if you are advised to change something.
  8. In general, if a sig/avatar represents your allegiances in-game and is clearly "in part", it is likely to be fine; if the moderators feel you are trying to demonstrate unpalatable political allegiances, or to use it in an attempt to ridicule or provoke others you WILL be asked to change it. RO is NOT the place to make any extremist political statements of any kind.

Examples:
So people get the idea, some examples that would be considered offensive, numbered as above:
  1. "Hitler", "Beria"
  2. "NKVD Blocking Detachment", "Einsatzgruppen"
  3. This one should be pretty obvious...
  4. So should this - and it includes calling all Germans "Nazis" and all Soviets/Russians "Commies". It got boring 50 years ago, so stop it.
  5. Use of swastikas, fasces, SS-runes and so on for the Axis.
  6. There is actually very little overt symbolism from the Stalinist era; the hammer-and-sickle isn't offensive per se.

A simple rule-of-thumb: many Europeans find Nazi symbolism of any sort offensive; many Americans still find Soviet symbolism offensive. Engage your brain before using.




Final Note: this is NOT open to debate, so please do NOT start whining and moaning if a moderator asks you to change something. They will advise at first, giving reasons, then, if you take no notice, they will step up the pressure through to banning.
See more
See less

Linux KF Dedicated Server Tutorial

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux KF Dedicated Server Tutorial

    So.. I dont see much point in running a dedicated server on a system that I need to boot every now and then (talking about windows here) and I've been running Left 4 Dead, CS, DoD etc servers on my linux box for a while now but I havent run any Unreal Engine servers. So I was thinking if we as a community could write up a tutorial of how to install, setup and run a Linux Dedicated Server of Killing Floor. Now I know how to operate the hldsupdatetool so I'll start up by writing a tutorial on how to install the server but since I dont even know myself how to setup and run it I'd like you my fellow server admins to help out in writing this tutorial.

    So here goes:

    UPDATED: May 18th -> v0.5
    UPDATED: May 17th -> v0.41
    UPDATED: May 16th -> v0.4
    UPDATED: May 16th -> v0.3
    UPDATED: May 15th -> v0.2
    Original post: May 15th

    PART 1: Installing the server

    The info below pertaining to hldsupdate is obsolete as of Killing Floor update 1036. Please refer to this thread for the new method of using SteamCMD.

    Hosting a Dedicated Server with SteamCMD

    Spoiler!
    Spoiler!


    PART 2: The quick and dirty start:

    This part is for all of you who dont care much about how "well" and organised the server is setup. This part will get you started the quick way.

    Like many others I couldnt locate the KillingFloor.ini from the <server>/system directory but it actually is under your home directory in a hidden folder ~/.killingfloor/System (see http://forums.tripwireinteractive.co...ad.php?t=30916 for more information)

    NOTE! The KillingFloor.ini will not be created before you start the server at least one time!

    1. Before starting the server fire up your web browser and allready put in the addressbar the address to your server and port 8075 like this but DONT press enter yet:

    http://12.345.67.89:8075 (the address here is NOT the one for you to use)

    2. Navigate into the kfserver/system directory and run:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?AdminName=admin?AdminPassword=admin
    3. As soon as the server has started go to your webbrowser and hit enter on the address you put in earlier. It will now ask for username and password and enter admin on both as provided earlier. Now in the WedAdmin interface navigate to "Defaults" on the top bar and click "Server" on the left sidemenu to setup the server Admin name and Admin password. Make them up and then click "Accept". After this jump back to the server window and stop it by pressing ctrl-c. Restart the server with just:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6
    and relogin with the Admin name and password you put in the "Server" setup dialog. Now you can configure the server as you like from the WebAdmin.

    Check PART 4: Post-installation tips for some tips on running the server afterwards.

    There are many posts on this forum about setting up the server configurations so I wont go into these for now. (See links at the bottom of this post.)

    PART 3: Running the server(s)

    Okay here is a bit more complex but more organised way of running a server or if you plan on running multiple instances of KF Server on your server this will help the administrating.

    First of all I know there is a few different kinds of ways of running multiple servers. One is to install every instance in its own directory. The other is using multiple KillingFloor<insert number>.ini files. I will try to make this tutorial as general as possible and I hope you can use your own brains to apply the information provided here to your own needs. But let us start!

    1. After installing the server you might notice that there is something missing that we have allready talked about, the KillingFloor.ini. You can either run the server once (HOLD ON, dont do it yet! Use the code below to start) or you can copy the default.ini as KillingFloor.ini:

    NOTE!!!!
    Never EVER edit default.ini!!!!!!
    http://forums.tripwireinteractive.co...ad.php?t=30640

    a) Copying default.ini as KillingFloor.ini (I have not tested this method myself)
    Code:
    [system]$ cp default.ini KillingFloor.ini
    b) Running the server once
    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir
    After the server has started just hit CTRL-C to shut it down.

    Now it all comes down to choices. Rather than trying to write every possible solution for your needs, I'm going to try to explain the switches and choices about how you decide to run your servers.

    First of all, the -nohomedir switch makes the server use the .ini files in the same directory as you are running it from. This is handy when you have installed just one set of binaries for the server but still want to run multiple instances, so you make KillingFloor1.ini for server 1, KillingFloor2.ini for server 2 etc.

    You might also want to have a different set of binaries for each server (kfserver1 & kfserver2 directories for example) but then using the -nohomedir switch might be a bit troublesome since all the .ini files will be in different directories. If you use different folders for different server instances, leave out the -nohomedir switch.

    Summary:
    a) 1 binary, many servers, use -nohomedir, *.ini are in kfserver/system

    b) many binaries (directories), many servers, DONT use -nohomedir, *.ini are in ~/.killingfloor/System

    c) just one server, choose whichever way you want and find better for your needs

    2. Lets edit the KillingFloor.ini next with your favourite text editor:

    NOTE!!! From now on the .ini file and the location is related to the choice you made on step 1. If setting up multiple server you need to edit each .ini separately as each server instance needs its own .ini file.

    Code:
    [system]$ nano KillingFloor.ini
    Okay now some things you WANT to edit:

    a) under [Engine.GameReplicationInfo] add an AdminName so you can login from the WebAdmin and change ServerName so you can find it in the serverbrowser!

    b) under [Engine.AccessControl] add an AdminPassword (this will be always saved as plaintext)

    c) under [UWeb.WebServer] make sure that bEnabled=True if you want to use the WebAdmin to control the server

    These options should suffice to run a single instance of the server. If you are setting up multiple servers read on, else you can skip to step 3.

    For setting up multiple servers you need to have a unique port for each instance of course. The default port for KF server is 7707 but that is not the only port (see http://forums.tripwireinteractive.co...ad.php?t=30634). But as explained in that post, the default port controls all the other ports (except WebAdmin):

    7707 UDP/IP (Game Port)
    7708 UDP/IP (Query Port)
    7717 UDP/IP (GameSpy Query Port)
    28852 TCP/IP and UDP (Allows your Server to Connect to the Master Server Browser)
    8075 TCP/IP (Port set via ListenPort that your WebAdmin will run on)
    20560 UDP/IP (Steam Port)

    A good way to separate different server instances is to use +100 for each server (server 1 = default 7707, server 2 = 7807 etc). This will also affect all the other ports like this:

    Server 1 is at the default configuration above (7707 etc).
    Server 2 would be:

    7807 UDP/IP (Game Port)
    7808 UDP/IP (Query Port)
    7817 UDP/IP (GameSpy Query Port)
    28952 TCP/IP and UDP (Allows your Server to Connect to the Master Server Browser)
    8075 TCP/IP (Port set via ListenPort that your WebAdmin will run on)
    20660 UDP/IP (Steam Port)

    (Notice the WebAdmin port staying the same, I left it on purpose because it is a separate config value)

    d) in the beginning of KillingFloor.ini under [url] edit Port setting for the Game port (other ports will change as explained above)

    e) to change the WebAdmin port under [UWeb.WebServer] edit ListenPort=8075 (8075 is the default value) so you can find all the webadmin pages (use whatever logic you like).

    f) It would propably be a good idea to name servers differently (ie. Sekras KF Server 1, Sekras KF Server 2 etc) so you can separate them easier.

    Okay so now you have the technical part of the setup more or less done. For other, game related, configurations see the link to arramus' server tutorial in the links section of this tutorial.

    3. Now its time to start the server(s). You will find additional tips about running the servers in Part 4 (how to run them in the background for example). This section will only tell you how to start the server.

    Again this comes down to the choices you've made earlier:

    a) If you are running just one server it is fairly easy to start it. Navigate into you <kfserver>/system directory and run ucc-bin:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6
    Add the -nohomedir switch if you have the KillingFloor.ini in the same directory as the server or dont use it if you have it under the ~/.killingfloor/System directory. Use a webbrowser to access the webadmin (default port is 8075) and connect with your client to play!

    b) If you are running multiple servers:

    This is a bit tricky to explain because of the many possible ways for you to setup the servers. But the keyword here is the ini=<server ini here> switch.

    If you are running multiple servers with 1 binary you can start each server like this:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir ini=KillingFloor1.ini
    after this server has started up, start the next one with:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir ini=KillingFloor2.ini
    and so on. If you didnt use the -nohomedir option earlier, dont use it now either.

    You might have multiple binary installations and you dont use the -nohomedir to concentrate all .ini in the same place (~/.killingfloor/System) then start like this:

    Navigate into kfserver1/system and run:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 ini=KillingFloor1.ini
    and then navigate into kfserver2/system and run:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 ini=KillingFloor2.ini
    and so on.

    Then you might have multiple server binaries and you used the -nohomedir on all of them. Then to run each server do this:

    Navigate into kfserver1/system and run:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir
    and then navigate into kfserver2/system and run:

    Code:
    [system]$ ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -nohomedir
    and so on. As you can see there are so many ways to do it and it all comes up to the way you find it most comfortable.


    PART 4: Post installation tips

    TIP I: Running the game in a screen aka Sekras startup script

    This script is very easy to make and operate. Definitely for beginners.

    NOTE!!!!
    I use this way to run a single server on my linux box. You will need to edit it to work with multiple servers. The syntax is "screen -S <unique name> <command to run>" and then you can resume the screen by "screen -r <unique name>".

    Okay so who likes to have a terminal window open all the time to just have the boring server console there? The answer is to install a program called screen if you havent allready done so (refer to your linux distro on how to install it). After installing screen this is what I do:

    1. create a file called start in the system directory in kfserver and edit it:

    Code:
    [system]$ nano start
    in that file put this line:

    Code:
    screen -S kfserver ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6
    Save the file and exit (ctrl-x in nano).

    NOTE!!! Only the orange part is important. For the rest of the script use the startup command you chose earlier.

    2. Change the file permission so you can run it:

    Code:
    [system]$ chmod +x start
    3. Run it!

    Code:
    [system]$ ./start
    The server will now start in a screen session. Press CTRL-A and CTRL-D to "Detach" the screen. You will return to your terminal and the server will keep running in the screen! Now if you have only one screen running you can return to the server screen by typing:

    Code:
    $ screen -r
    or if you are like me and running multiple instances of screen type:

    Code:
    $ screen -r kfserver
    and you will open up the server again. And use CTRL-A-D to detach it again to keep it running or CTRL-C to terminate the server and screen will terminate also automatically.

    Here is a suggestion for multiple servers:
    For server 1, make start1 instead of just start:

    Code:
    [system]$ nano start1
    in the scipt write:

    Code:
    screen -S kfserver1 ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 ini=KillingFloor1.ini log=logs/server1.ini
    NOTE!!! Only the orange part is important. For the rest of the script use the startup command you chose earlier.

    And then do the rest as with the single server script. Then repeat and make start2 with screen -S kfserver2 <startup command here> etc.

    Remember to chmod +x all of the scripts!

    TIP II: Updating the server

    So I've seen a few posts by now after the first patch that how do you update the server? Although it has allready been done in this tutorial I think it needs a section of its own for someone just browsing this tutorial for help. The procedure is really simple and easy. Just run the same command we used to install the server in the directory you installed your server and where the steam application is located:

    Code:
    [kfserver]$ ./steam -command update -game killingfloor -dir .
    TIP III: LeAdGuEsT's startup script

    Now here is a more advanced startup script than my version is. This script was originally posted here http://forums.tripwireinteractive.co...ad.php?t=31044

    Quick startup script(start/stop/restart)... Hope this is of any use.

    Make sure to change the GAME_PATH

    Code:
    #!/bin/bash
    #
    # Init file for Killing Floor server
    #
    # chkconfig: 35 90 12
    # description: Killing Floor
    #
    # source function library
    . /etc/rc.d/init.d/functions
    SCREEN_NAME=killing-floor
    GAME_PATH=//srcds_l/killingfloor/system
     
    start()
    {
    cd $GAME_PATH && /usr/bin/screen -A -m -d -S $SCREEN_NAME ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecure=true?MaxPlayers=6
    }
    stop()
    {
    PID=`ps fax | grep $SCREEN_NAME | grep SCREEN | awk '{ print $1 }'`
    kill $PID
    }
    restart()
    {
    stop
    start
    }
    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    restart)
    stop
    start
    ;;
    *)
    echo $"Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit 0
    If this script doesnt work, contact LeAdGuEsT.

    TIP IV: Terrorkarottes very advanced startup scripts

    Terrorkarotte has made some very advanced fine tuning for running your servers (not for beginners). You can find them a few posts downward: http://forums.tripwireinteractive.co...68&postcount=4

    If any of these scripts doesnt work, contact Terrorkarotte.

    TIP V: Server logs

    If you are running multiple servers you might want to specify exactly where and what name the log files should be. You can do that by adding log=<unique name>.log in the startup line. For example you might want to have a logs directory in the ~/.killingfloor/System where you put all the logs of your servers then do this:

    Code:
    mkdir ~/.killingfloor/System/logs
    then navigate into the kfserver/system directory and run:

    Code:
    ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 ini=KillingFloor2.ini log=logs/server2.log
    this will create a server2.log in the logs directory.

    Changelog:
    Code:
    v0.5
    -Rewrote and renamed parts 2 & 3
    -Added the actual script from LeAdGuEsT and a direct link Terrorkarottes advanced scripts to the first post
    -Added a tip about logging
    -A touch of color ;)
     
    v0.41, May 17th 2009
    -Added mention of Terrorkarottes scripts
     
    v0.4, May 16th 2009
    -Added post installation TIP II
    -Added link to LeAdGuEsT's startup script
     
    v0.3, May 16th 2009
    -Added the Links section
     
    v0.2, May 15th 2009
    -Wrote parts 2 and 3 to get a quick start
    -Added Part 4 for tips
     
    Original post, May 15th 2009
    LINKS

    arramus' dedicated server tutorial for windows(also with lots of configuration info):
    http://forums.tripwireinteractive.co...ad.php?t=30579

    LeAdGuEsT's excellent startupscript for linux:
    http://forums.tripwireinteractive.co...ad.php?t=31044

    Zetsumeis How to enable high quality audio codec for dedicated servers:
    http://forums.tripwireinteractive.co...ad.php?t=31589


    Thank you for the following people for helping with this tutorial:

    Tagert
    arramus
    LeAdGuEsT
    Terrorkarotte
    Vociferous

    PLEASE help me write this tutorial! If you find mistakes in my tutorial or if you have suggestions be free to tell me about them and I will correct it.
    Last edited by slavek; 07-11-2012, 03:45 PM. Reason: Update to version 0.5
    [url=http://www.gametracker.com/server_info/176.9.92.143:7777/][img]http://cache.www.gametracker.com/server_info/176.9.92.143:7777/b_350_20_323957_202743_F19A15_111111.png[/img][/url]

  • #2
    be sure to be in this the /system/ directory of your KF server files.
    Then run
    Code:
    chmod+x ucc-bin
    to make the server binary executable.

    Then to start it:

    Code:
    ./ucc-bin server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6
    Last edited by Tagert; 05-16-2009, 05:50 AM.

    Comment


    • #3
      Thanks for the LINUX tutorial Sekra. Good to have tutorials supporting both OS's.
      Killing Floor Vehicle Mod at moddb

      Comment


      • #4
        First of all i would like to thank you for your work. Your tutorial helped me a lot setting up my server. By doing this I encountered some problems and found solutions everybody is asking here in the forum.
        But first this link: http://wiki.fragaholics.de/index.cod...l_Optimization

        It should help you running your linux gameserver more stable. For beginners i would not use a 1000Hz Kernel. The importand things are the realtime,the to your hardware fitted kernel, and mostly importand the rescheduler and idler scipts. If you dont want a kernel try out the scheduler and the idler. Using Source Server (CS:S DOD:S etc) it helped me a lot.

        You have to use another reschulder
        Code:
        #!/bin/sh
        
        PIDS=`ps ax | grep sirq-hrtimer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
        for p in $PIDS; do
          chrt -f -p 99 $p
        done
        
        PIDS=`ps ax | grep sirq-timer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"`
        for p in $PIDS; do
         chrt -f -p 51 $p
        done
        
        PIDS=`pidof ucc-bin-real`
        for p in $PIDS; do
          chrt -f -p 98 $p
        done
        Now to the Killing Floor Part:
        Everybody is telling, that they can not find die KillingFloor.ini or and it is not created.
        It is created. But everyone is looking in the wrong place. Enter your home directory and type:
        Code:
        ls -la
        you will see something like this:
        Code:
        .killingfloor
        kfserver
        .killingfloor is a hidden directory with the subfolder System in it, in which you can find your KillingFloor.ini
        This happens because the existing HowTo
        Last edited by Terrorkarotte; 05-17-2009, 05:54 AM.

        Comment


        • #5
          Moderators think about making this one sticky. It could help many people.
          Last edited by Terrorkarotte; 05-17-2009, 05:14 AM.

          Comment


          • #6
            [quote=Terrorkarotte;438068]

            Everybody is telling, that they can not find die KillingFloor.ini or and it is not created.
            It is created. But everyone is looking in the wrong place. Enter your home directory and type:
            Code:
            ls -la
            you will see something like this:
            Code:
            .killingfloor
            kfserver
            .killingfloor is a hidden directory with the subfolder System in it, in which you can find your KillingFloor.ini
            This happens because the existing HowTo
            [url=http://www.gametracker.com/server_info/176.9.92.143:7777/][img]http://cache.www.gametracker.com/server_info/176.9.92.143:7777/b_350_20_323957_202743_F19A15_111111.png[/img][/url]

            Comment


            • #7
              Originally posted by Sekra View Post
              So.. I dont see much point in running a dedicated server on a system that I need to boot every now and then (talking about windows here)
              If it wasn't for that fact that your installation guide was awesome I'd call you a linux fan boi who doesn't know how to set up her windows Cheers mate, awesome guide.
              [SIGPIC][/SIGPIC]

              Comment


              • #8
                Originally posted by Jaek View Post
                If it wasn't for that fact that your installation guide was awesome I'd call you a linux fan boi who doesn't know how to set up her windows Cheers mate, awesome guide.
                I absolutely frigging hate linux. The worst piece of crap there is. But uh-oh, I hear a flamewar coming! Its only that with servers linux superior to windows.
                [url=http://www.gametracker.com/server_info/176.9.92.143:7777/][img]http://cache.www.gametracker.com/server_info/176.9.92.143:7777/b_350_20_323957_202743_F19A15_111111.png[/img][/url]

                Comment


                • #9
                  As with version 3 of the linux dedicated server comes the ucc-bin-real executable, do we have to use this one, or the ucc-bin as described in this thread?

                  Comment


                  • #10
                    use the ucc-bin as in this tutorial
                    [url=http://www.gametracker.com/server_info/176.9.92.143:7777/][img]http://cache.www.gametracker.com/server_info/176.9.92.143:7777/b_350_20_323957_202743_F19A15_111111.png[/img][/url]

                    Comment


                    • #11
                      When I tried to compress a custom map as it is described in the windows thread, I encountered a few problems.
                      First of all you have to use the ucc-bin instead of the ucc file. The second thing is to use / instead of \.
                      The last thing is to add the "-nohomedir" variable. If you do not add it the compressed files will be in the hidden .killingfloor directory instead of the maps directory in the kfserver folder.
                      The full command:

                      Code:
                      ./ucc-bin compress ../maps/mapname.rom  -nohomedir
                      Last edited by Terrorkarotte; 06-05-2009, 08:30 AM.

                      Comment


                      • #12
                        With linux you can run a script with cron every X minutes/hours that checks if the screen process is running and if not execute the startscript of your server.
                        This script checks for a screen with the name "kf.one" and executes the startscript "kfstart" If you have other names you have to change it to your needs:

                        Code:
                        #!/bin/sh
                        #clear
                        if[[ `screen -ls |grep kf.one ]]
                        then 
                        echo
                        else
                        /home/kfserver/kfstart restart
                        fi
                        Last edited by Terrorkarotte; 06-12-2009, 09:28 AM.

                        Comment


                        • #13
                          Nice Tutorial, but if i try to login to the Web-Interface it dont work :/
                          i type in the Setted Username / Password then the login "screen" go away for a sec and come back.

                          Can someone help?!

                          Comment


                          • #14
                            Check your spelling Linux is always case sensitive.

                            Here is my german howto to set up a linux killing floor server:
                            http://serverwiki.sp12.speed-hoster....p/Killingfloor
                            Last edited by Terrorkarotte; 01-08-2010, 07:03 AM.

                            Comment


                            • #15
                              How to launch muts and mods(like DA) with Ded server?

                              Comment

                              Working...
                              X