replacing reliance on alias for connecting with steam native connect command. downloading maps through sourcemod saying the nextmap. should assure that bots are connected much faster from now on in almost all cases.
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
apt-get install xvfb xserver-xephyr tigervnc-standalone-server x11-utils gnumeric
|
||||
|
||||
apt-get install xdotool
|
||||
|
||||
#NOTICE: steam might not be able to launch in case of the tmpfs /dev/shm filesystem being full. it seems safe to just delete u1001-Shm_* files and u1002-Shm_ files. It should be fine because the files exists as long as at least one process has them open. So until steam is killed i assume. You dont need to be root for killing them, the user running the bot has permissions to rm the files
|
||||
|
||||
#intel specific:
|
||||
@@ -34,7 +36,7 @@
|
||||
apt install libgtk2.0-0:i386
|
||||
|
||||
/home/gameservers/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/cfg/autoexec.cfg: <br/>
|
||||
alias loop "exec looptest.cfg; wait 5; loop;"; wait 5; loop; <br/>
|
||||
alias loop "exec looptest.cfg; wait 5; loop;"; wait 5; loop;
|
||||
|
||||
exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login for starting games correctly <br/>
|
||||
<br/> With the virtual desktop related to the VNC/x2go/nomachine client you can log into steam using the normal GUI -> <br/>
|
||||
@@ -46,6 +48,7 @@
|
||||
echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID
|
||||
export SDL_VIDEO_X11_VISUALID=0x205
|
||||
echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID
|
||||
echo "DISPLAY=$DISPLAY" > /home/$(whoami)/ze_runner/display.txt
|
||||
dbus-run-session /usr/games/steam -applaunch 240 -novid -noipx -nojoy -noshaderapi
|
||||
fi
|
||||
|
||||
@@ -88,5 +91,4 @@ limiting cpu can throttle the download speed as well. if bots cant connect and a
|
||||
#pip3 extra
|
||||
|
||||
pip3 install watchdog
|
||||
|
||||
|
||||
pip3 install requests
|
||||
|
||||
Reference in New Issue
Block a user