Giter VIP home page Giter VIP logo

Comments (8)

jusito avatar jusito commented on June 3, 2024

Hey Lucas,
can you provide me the exact command you used, just replace secrets with dummy value?

from docker-ttt.

lucas2350d avatar lucas2350d commented on June 3, 2024

Thanks for replying, in the meantime I got the server started once with this command:

docker run -d
-p 27015:27015/udp
-e SERVER_PORT=27015
-e INSTALL_CSS=true
-e WORKSHOP_COLLECTION_ID=######
-e SERVER_NAME="#####"
-e SERVER_PASSWORD="#####"
-e SERVER_DEFAULT_MAP="ttt_minecraft_b5"
-v TTTDev:/home/steam/serverfiles
-p 27015:27015/tcp
-e SERVER_RCON_PASSWORD="########"
--name "MyTTTServer"
jusito/docker-ttt:latest

now the start is no longer possible with the following log error message:
checking GitHub module install_stats.sh...OK
checking GitHub module install_steamcmd.sh...OK
checking GitHub module lgsm...ERROR
rm: cannot remove 'lgsm': Is a directory
removing module lgsm...FAIL

after that the Container crashed

from docker-ttt.

jusito avatar jusito commented on June 3, 2024

If the server is starting only the first time but not the second, probably an update broke it.
The linuxgsm version in docker hub is outdated, in the first boot it will just install itself and start but doesn't check for an update. At every later start it checks if lgsm is already installed and if so perform an update. I have to admit I thought this bug is already fixed, because was issue #9 .

You can recreate the image locally, or you wait until I push a new one.

from docker-ttt.

lucas2350d avatar lucas2350d commented on June 3, 2024

Ok thanks for the answer
So it is not fixed even in the Develop version?
Is there an easy way for me to take this update query out?

from docker-ttt.

jusito avatar jusito commented on June 3, 2024

updated develop image, can you please try:

docker pull jusito/docker-ttt:gmod_ttt_debian-develop
docker run ... jusito/docker-ttt:gmod_ttt_debian-develop

from docker-ttt.

lucas2350d avatar lucas2350d commented on June 3, 2024

Thank you I have tested it a few times now and it works.

I still have one question. I have saved my ttt settings under /home/steam/serverfiles/garrysmod/cfg/server.cfg. unfortunately they are not taken over in the game.

or are the server.cfg not used at all and everything has to be stored in gmodserver.cfg?

This are my settings:
net_maxfilesize "9999"
// TTT SETTINGS
ttt_always_use_mapcycle
ttt_round_limit "10"
ttt_minimum_players "2"
ttt_preptime_seconds "25"
ttt_posttime_seconds "15"
ttt_firstpreptime "30"
ttt_traitor_pct "0.3334"
ttt_traitor_max "5"
ttt_detective_pct "0.3334"
ttt_detective_max "2"
ttt_karma_low_autokick "0"
ttt_namechange_kick "0"
ttt_idle_limit "99999"
ttt_time_limit_minutes "9999999"
ttt_fretta_mapvoting 1
ttt_postround_dm "1"

from docker-ttt.

lucas2350d avatar lucas2350d commented on June 3, 2024

ok got it. The ttt values must also be entered in gmodserver.cfg

Thank you very much for everything

from docker-ttt.

jusito avatar jusito commented on June 3, 2024

yes if you use docker exec -it CONTAINER details you will see that linuxgsm changes the location of the cfg.

You are welcome.

from docker-ttt.

Related Issues (20)

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.