Giter Club home page Giter Club logo

killing-floor-docker's Introduction

Night Coding

Hey there! I'm Vel

👨🏻‍💻  About Me

💡   Passion for Automotive Industry, AI, CI/CD, Automation & Cloud Architecture. Build, release & delivery.
🌱  Currently working as a DevOps Engineer Release Engineer & hands-on automotive hardware w/ cloud deployment.
✍️  Killing Floor modder, you can find everything in BAM.
💬  Feel free to contact me here [email protected]!
🗣️  I speak German (Moderate), English (Fluent) & Arabic (Fluent).
🗄️  No longer developing/interested in Android Developement; Get Off Your Phone has been archived.

Visitors

Night Coding

🛠  Tech Stack

Languages

Python  JavaScript  Node.js  Unreal-Script  Jinja  MySQL  PostgreSQL 

Services

Git  GitHub  Gitlab  AWS  Azure  Docker  Jenkins  Kubernetes  Terraform  Ansible  JAMA  Artifactory  Cloudability  Xamarin  Calabash  NightmareJS  SonarQube  VeraCode 

Tools

Confluence  Tableau  Visual Studio Code  JIRA  JAMA  Zephyr  Jekyll  Android-Studio  Visual-Studio 

⚙️  GitHub Analytics

Note: Private Repos Included

🤝🏻  Connect with Me

ko-fi

killing-floor-docker's People

Contributors

jdbrowndev avatar vel-san avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

killing-floor-docker's Issues

[BUG] (MacOS) Server runs but does not appear in the Internet Games list in the game

Describe the bug:
I am following both the README and this thread in steam to create a container with a server in OSX. https://steamcommunity.com/sharedfiles/filedetails/?id=2100357812. After some hiccups with the OSX specific instructions, my server is finally running, however it does not show up in the Internet Games list in Killing Floor 1.

To Reproduce:
Follow the steps of https://steamcommunity.com/sharedfiles/filedetails/?id=2100357812 after turning off "Use gRPC FUSE for file sharing". The server will run correctly according to the logs and start providing updates like STEAMAUTH : Sending updated server details - [Server name] 0 | 6, but won't show up in game

Expected behavior:
The sever is listed in-game, or there are further errors in the logs for the container to troubleshoot why it won't appear

Environment (please complete the following information):

  • Docker Version: Docker version 20.10.5, build 55c4c88
  • OS: Mac OS Big Sur 11.6.5
  • Way of using docker (If windows, WSL2 or Desktop): Desktop
  • Terminal used: zsh

Additional context:
The server is running in a separate machine that the one running the game, but they are using the same wi-fi network

[FEATURE] Remove FPS cap

Is your feature request related to a problem? Please describe.
Servers are usually locked at 90FPS, but this can be removed.

Describe the solution you'd like
Simply change the value like below:

  • Find [IpDrv.TcpNetDriver] in killingfloor.ini
  • Change MaxInternetClientRate to 15000

Describe alternatives you've considered
Manually changing the values.

Additional context
Players need to manually modify their User.ini:

Open KillingFloor.ini (game)
Find [Engine.LevelInfo]
Change MaxClientFrameRate to 150
Save

Open User.ini (game)
Find [Engine.Player]
Change ConfiguredInternetSpeed to 15000
Save

[FEATURE] Support for WebAdmin/Game port as variables

Is your feature request related to a problem? Please describe:
Not having support for selecting the ports before running the container means we need to manually modify it from the volume directory

Describe the solution you'd like:
Make variables in kf1_functions to be replaced which lets us have multi-server per container and easily specify the ports!

Variables to be added (Usage is recommended as +2 on every port, in case of multi-server):

- KF_GAME_PORT=7707
- KF_QUERY_PORT=7717
- KF_WEBADMIN_PORT=8075

Describe alternatives you've considered:
Manually modifying ports before running the container

Additional context:

Server is not VAC Secured

Regardless of enabling VAC in KillingFloor.ini & in the Server Launcher itself - server seems to never connect to steam , even tho it says steam AUTH success. Need to research this.

Possible cause:

  • Ports not enabled within the container for steam connections.

[FEATURE] Add KF_SPECTATORS variable

Is your feature request related to a problem? Please describe.
Without this, the server won't allow any spectators! The default is 0 right now.

Describe the solution you'd like
Simply create a variable that can set this up like the other ones. Make its default value as 6.

Describe alternatives you've considered
Manually editing the config.

[FEATURE] Add KF_SPECIMEN_EVENT_TYPE variable

Is your feature request related to a problem? Please describe:
There is no way to modify the type of specimen event/skins.

Describe the solution you'd like:
Simply create a variable SpecialEventType= to be replaced in the killingfloor.ini

Describe alternatives you've considered:
Manually changing the variable

Additional context:
Currently available variables:

ET_None -- Default
ET_SummerSideshow -- for the summer ZEDs
ET_HillbillyHorror -- for the Halloween ZEDs
ET_TwistedChristmas -- for the Christmas ZEDs

[issue] OSX Is not supported

ucc-bin or ucc-bin-real are compiled as Linux binaries in the first place -- Linux binaries do not properly run on OSX Unix.

Testing with Noah doesn't work either. To fix the issue, we might have to revert to changing the whole run-time process and keep the scripts running inside the docker, instead of

ENTRYPOINT ["/bin/bash", "kf1_install.sh"]

The whole point of a docker image is to bypass the limitations of kernels/OS platforms 😄

@jdbrowndev What do you think?

We can use a Multi-stage docker to switch from the FROM steamCMD img to FROM Ubuntu I guess?

[BUG] "ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install --yes lib32stdc++6 procps" did not complete successfully: exit code: 1" on Raspberry Pi while building the images

Describe the bug:

Dockerimage build script fails on Raspberry Pi.

Log:

xelot@raspi:~/kf_stuff/killing-floor-docker $ sudo docker build -t kf1-docker .
[sudo] password for xelot: 
[+] Building 43.8s (6/10)                                                                                                   
 => [internal] load .dockerignore                                                                                      0.1s
 => => transferring context: 2B                                                                                        0.0s
 => [internal] load build definition from Dockerfile                                                                   0.1s
 => => transferring dockerfile: 493B                                                                                   0.0s
 => [internal] load metadata for docker.io/cm2network/steamcmd:latest                                                  1.7s
 => [1/6] FROM docker.io/cm2network/steamcmd@sha256:64eb1d95e2a72e14449773ff62e36177d7d8067bd032c17227cf0e45d470b118  38.4s
 => => resolve docker.io/cm2network/steamcmd@sha256:64eb1d95e2a72e14449773ff62e36177d7d8067bd032c17227cf0e45d470b118   0.0s
 => => sha256:64eb1d95e2a72e14449773ff62e36177d7d8067bd032c17227cf0e45d470b118 742B / 742B                             0.0s
 => => sha256:ef0a9299c6ab43fbcf43fcaae284e517448b7d4a7b12cfd019d0a422f4ef7d58 4.07kB / 4.07kB                         0.0s
 => => sha256:d24274118e330e7e16af8c48e11ee2922af94d3924258f6f90ccf3450da39f47 162.60MB / 162.60MB                    18.6s
 => => sha256:bb263680fed18eecdc67f885094df6f589bafc19004839d7fdf141df236a61aa 31.41MB / 31.41MB                       4.3s
 => => extracting sha256:bb263680fed18eecdc67f885094df6f589bafc19004839d7fdf141df236a61aa                              9.2s
 => => extracting sha256:d24274118e330e7e16af8c48e11ee2922af94d3924258f6f90ccf3450da39f47                             18.1s
 => [internal] load build context                                                                                      0.1s
 => => transferring context: 6.99kB                                                                                    0.0s
 => ERROR [2/6] RUN apt-get update     && apt-get install --yes         lib32stdc++6 procps                            3.5s
------                                                                                                                      
 > [2/6] RUN apt-get update     && apt-get install --yes         lib32stdc++6 procps:
#0 0.658 exec /bin/sh: exec format error
------
Dockerfile:6
--------------------
   5 |     # Install dependencies and create steam user
   6 | >>> RUN apt-get update \
   7 | >>>     && apt-get install --yes \
   8 | >>>         lib32stdc++6 procps
   9 |     USER steam
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update     && apt-get install --yes         lib32stdc++6 procps" did not complete successfully: exit code: 1

To Reproduce:
Run "sudo docker build -t kf1-docker ." on Raspberry Pi

Expected behavior:
Image should be built.

Environment (please complete the following information):

  • Docker Version
Client: Docker Engine - Community
 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
 Built:             Thu Feb  9 19:46:47 2023
 OS/Arch:           linux/arm
 Context:           rootless

Server: Docker Engine - Community
 Engine:
  Version:          23.0.1
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.5
  Git commit:       bc3805a
  Built:            Thu Feb  9 19:46:47 2023
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.6.16
  GitCommit:        31aa4358a36870b21a992d3ad2bef29e1d693bec
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
 rootlesskit:
  Version:          1.1.0
  ApiVersion:       1.1.1
  NetworkDriver:    slirp4netns
  PortDriver:       builtin
  StateDir:         /tmp/rootlesskit951453937
 slirp4netns:
  Version:          1.0.1
  GitCommit:        6a7b16babc95b6a3056b33fb45b74a6f62262dd4
  • OS
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
  • Terminal used
    Linux shell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.