Git Product home page Git Product logo

gamesvr-csgo-tourney's Introduction

Laclede's LAN CSGO Tournament Server in Docker

thumb-csgo-tourney

This repository is maintained by Laclede's LAN. Its contents are heavily tailored and tweaked for use at our charity LAN-Parties. For third-parties we recommend using this repo only as a reference example and then building your own using gamesvr-csgo as the base image for your customized server.

Table of Content

Tags

Tag Description Purpose
base LL tournament rules. n/a
base-overtime LL tournament rules, but the server starts in overtime mode. TESTING
get5 Built from base, but includes metamod, sourcemod, and get5. PRODUCTION
latest Alias for the default LL tournament server, currently base-get5. PRODUCTION
hasty From latest, configurations tweak for shorter play and testing. TESTING
warmod From base, uses Warmod instead of get5. EMERGENCY

Build Hierarchy

                                        ┌─────────────────────┐
                                        │ gamesvr-csgo:latest │
                                        └──────────┬──────────┘
                                                   │
                                     ┌─────────────▼─────────────┐
                                     │ gamesvr-csgo-tourney:base │
                                     └─────┬───────┬──────┬──────┘
                   ┌───────────────────────┘       │      └─────────────────────────────┐
┌──────────────────▼─────────────────┐   ┌─────────▼─────────────────┐   ┌──────────────▼──────────────┐
│ gamesvr-csgo-tourney:base-overtime │   │ gamesvr-csgo-tourney:get5 │   │ gamesvr-csgo-tourney:warmod │
└────────────────────────────────────┘   └───────────────────────────┘   └─────────────────────────────┘
┌─────────────────────────────┐        ┌────────────────────────────┐
│ gamesvr-csgo-tourney:latest ├────────► gamesvr-csgo-tourney:hasty │
└─────────────────────────────┘        └────────────────────────────┘

Third Party Content

This repo includes content from other projects, including Metamod:Source, SourceMod, and SourceMod get5 plugin. For details see [./dist/README.md](./dist/README.md).

Linux

Get5

get5 is derived from base but includes the MetaMod plugin get5 and its prerequisites Metamod:Source and SourceMod.

Download

docker pull lacledeslan/gamesvr-csgo-tourney:get5;

Run Self-Tests

docker run --rm lacledeslan/gamesvr-csgo-tourney:get5 ./ll-tests/gamesvr-csgo-tourney-get5.sh;

Base-Overtime

The base-overtime image is mod-free, containing LL tournament configs that have been tweaked to start the server in overtime mode.

Start Overtime Server

TODO!

Hasty

The hasty image is built from latest and is meant only for testing. Its configs have been tweaked to drastically shorten game time.

Useful Commands

Extract Log Files

docker ps -a | grep lacledeslan/gamesvr-csgo-tourney | awk '{ print $14 }' | while read containerName; do
    echo Extracting for $containerName
    docker cp $containerName:/app/csgo/logs ~/$containerName/
    rm -f ~/$containerName/*.txt
    docker cp $containerName:/app/csgo/addons/sourcemod/logs ~/$containerName/sourcemod/
    rm -f ~/$containerName/sourcemod/accelerator.log
    rm -f ~/$containerName/sourcemod/*.txt
done

gamesvr-csgo-tourney's People

Contributors

azure-pipelines[bot] avatar dependabot[bot] avatar dudleycodes avatar justinbenedick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gamesvr-csgo-tourney's Issues

Team names butchered

From fall 22 tournament. After running in snippet gen the names bet butchered on the server.

"Dirty Donkeys" became "dirty"
"Miller Bros" became "T"

Possible issue with spaces in the team name and missing space.

docker run -d --name CSGOTournc2_Sa11h36m52s --network=llnet --ip 172.30.14.80 lacledeslan/gamesvr-csgo-tourney:get5 /bin/bash -c './get5-cli -1 Dirty Donkeys -2 T NAMEMiller Bros -v hostname:c2_Dirty Donkeys_v_T NAMEMiller Bros -m de_ancient -m de_dust2 -m de_inferno -m de_mirage -m de_nuke -m de_overpass -m de_vertigo && ./srcds_run -game csgo +game_type 0 +game_mode 1 -tickrate 128 -console +map de_orange +sv_password "trumpets5" +sv_lan 1 +rcon_password "tacotime247" +tv_name zLLTV_CSGO_BRACKET_"c2" +tv_password "CoyotesTakeWaterfalls" +tv_relaypassword "CoyotesTakeWaterfalls" -usercon'

Matchmedic screws up demos

For spring 2023, had a match were the teams took a break on warm up on map 3. used get5 startup command to restore prelive on map 3. at the end only 1 demo file was found. need to investigate.

Need to get braket no in hostname

Need to get braket no in hostname

It shows up LL CSG#1 NAME VS NAME

Need to figure out if there is away to tweak that. Looks like get 5 determines that.

Get5 does not accept even number of maps

We sometimes need to do an even number of maps for map advantage -- alternatively, we could do the normal 3 maps and award a map using a get5 command. We just need to be able to assign map advantage, starting at 1-0

investigate tv server being "full"

weird quirky issue is with csgo tv servers, it could list as full need to see if normal or an issue. Just need to figure out whats going on.

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.