GithubHelp home page GithubHelp logo

vitordino / counter-strike-docker Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 5.0 14.16 MB

run a hybrid (steam + no-steam) cs1.6 server (with death-match and other optional plugins)

License: Apache License 2.0

Shell 11.94% Dockerfile 17.78% Pawn 70.28%
counter-strike docker game half-life counterstrike server hlds

counter-strike-docker's Introduction

CS 1.6 HLDS + AMX MOD X + CSDM

Build & run

  1. Create .env configuration file from example file:

    $ cp example.env .env
    
  2. Build image with HLDS Server. It includes raw Steam HLDS + Metamod + DProto + AMX MOD X:

    $ docker-compose build hlds
    
  3. Build custom server image based on hlds image. It includes maps, configuration and the other customization stuff:

    $ docker-compose build server
    
  4. Edit .env configuration variables if needed (see image entrypoint file hlds_run.sh if you want to figure out how variables are used).

  5. Start your server:

    $ docker-compose up -d server
    
  6. Enjoy ;)

counter-strike-docker's People

Contributors

artem-panchenko avatar ghost avatar leonardodino avatar zarv1k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

counter-strike-docker's Issues

carsh

Hi
it's crashing without any log

Running container

After build and run in console:

server_1  | Exe version 1.1.2.7/Stdio (cstrike)
server_1  | Exe build: 19:52:19 Aug  3 2020 (8684)
server_1  | STEAM Auth Server
server_1  | Server IP address 172.19.0.2:27015
server_1  |    
server_1  |    Metamod version 1.20  Copyright (c) 2001-2013 Will Day <[email protected]>
server_1  |    Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
server_1  |    This is free software, and you are welcome to redistribute it
server_1  |    under certain conditions; type `meta gpl' for details.
server_1  |    
server_1  | 
server_1  |    AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team 
server_1  |    AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
server_1  |    This is free software and you are welcome to redistribute it under 
server_1  |    certain conditions; type 'amxx gpl' for details.
server_1  |   
server_1  | Version 0.9.582 Linux
server_1  | [DPROTO]: Done.
server_1  | L 09/25/2020 - 07:29:40: -------- Mapchange to de_dust2 --------
server_1  | L 09/25/2020 - 07:29:40: [csdm_spawn_preset.amxx] Loaded 40 spawn points for map de_dust2.
server_1  | L 09/25/2020 - 07:29:40: [csdm_main.amxx] CSDM spawn mode set to preset
server_1  | [AMXX] Loaded 1 admin from file
server_1  | Menu item 1 added to Menus Front-End: "CSDM Menu" from plugin "CSDM Main"
server_1  | [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
server_1  | dlopen failed trying to load:
server_1  | steamclient.so
server_1  | with error:
server_1  | steamclient.so: cannot open shared object file: No such file or directory
server_1  | [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
server_1  | FATAL ERROR (shutting down): Unable to initialize Steam.

Where did I go wrong?

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.