docker-ebot icon indicating copy to clipboard operation
docker-ebot copied to clipboard

Is there a good way to configure maps?

Open eoswald opened this issue 5 years ago • 5 comments

Can environment variables be used to modify this section? https://github.com/deStrO/eBot-CSGO/blob/master/config/config.ini.smp#L35-L49

eoswald avatar Dec 14 '19 07:12 eoswald

I have the same problem

lukasz922 avatar Dec 26 '19 18:12 lukasz922

Looks like it's not trivial so I forked the project and added the feature. If the repo owner would like me to create a PR here I would be more than happy to.

https://gitlab.com/counterstrafe/docker-ebot/merge_requests/1

eoswald avatar Dec 26 '19 21:12 eoswald

PR are very welcome in fact. I just black time to keep updating this repo

jffz avatar Dec 26 '19 21:12 jffz

additionally editing file app.yml file to add current tournament maps maps . This file looks like this .array: maps: [ de_dust2, de_nuke, de_inferno, de_train, de_mirage, de_season, de_cache, de_overpass, de_cbble, de_tuscan ]

lukasz922 avatar Dec 26 '19 23:12 lukasz922

As a temporary solution we can connect to a docker ebotweb container and execute these commands

cd /config
MAPS="[ de_dust2, de_mirage, de_inferno, de_overpass, de_ancient, de_nuke, de_vertigo, ]"
cat app.yml | sed "s/maps:.*]/maps: $MAPS/" > new.yml
mv app.yml old.yml
mv new.yml app.yml

ReDestroyDeR avatar Dec 24 '21 17:12 ReDestroyDeR