diff --git a/AutismBotIngame/README.md b/AutismBotIngame/README.md index 105fd5e2..d3b54450 100644 --- a/AutismBotIngame/README.md +++ b/AutismBotIngame/README.md @@ -19,3 +19,16 @@ exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login f instead of automating the steam login its done manually due to requiring x2go/VNC/nomachine clients.
With the virtual desktop related to the VNC/x2go/nomachine client you can log into steam using the normal GUI ->
once logged in steam can run actively for months without requiring restarts + +## bashrc for x2go users +in the users thats running a x2go session edit the .bashrc file and add the follwing (remember SDL_VIDEO_X11_VISUALID deppends on glxinfo from xterm terminal): +if [[ $DISPLAY ]]; then + echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID + export SDL_VIDEO_X11_VISUALID=0x205 + echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID + steam +fi + +#X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" /etc/x2go/x2goagent.options +#keeps session as R instead of S which is needed for interaction with graphical components such as steam and CS:S + diff --git a/AutismBotIngame/python/config.json b/AutismBotIngame/python/config.json new file mode 100644 index 00000000..0a2f59d9 --- /dev/null +++ b/AutismBotIngame/python/config.json @@ -0,0 +1,6 @@ +{ + "udp_port": 48482, + "chat_external_port": 48471, + "steam_port": 29074, + "server_ip_port": "135.125.188.157:27015" +} diff --git a/AutismBotIngame/service_files/clean_maps1.service b/AutismBotIngame/service_files/clean_maps1.service deleted file mode 100644 index 4f886c56..00000000 --- a/AutismBotIngame/service_files/clean_maps1.service +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Deleting files from places after a certain amount of days - -[Service] -Type=simple -User=autismbot1 -ExecStart=find "/home/autismbot1/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/download/maps" -maxdepth 1 -mmin +179 -type f -delete diff --git a/AutismBotIngame/service_files/clean_maps1.timer b/AutismBotIngame/service_files/clean_maps1.timer deleted file mode 100644 index ad00ba55..00000000 --- a/AutismBotIngame/service_files/clean_maps1.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Runs the maps Cleaner once each 10 hours -Requires=clean_maps1.service - -[Timer] -OnCalendar=00/1:00 - -[Install] -WantedBy=multi-user.target