Please, follow the instructions and you shouldn't have any problems installing/using cat-bots (at least if you use Ubuntu 16.04)
- You must have cathook installed (and you should be able to compile/inject it at least once)
- Locate your steamapps folder (usually in
/home/yourname/.local/share/Steam/steamapps, to see hidden folders/files press Ctrl+H) and copy this path somewhere - Locate your cathook folder (probably in
/home/yourname/cathook), this is the folder with injection scripts, etc. Save the path - Open terminal (Ctrl+Alt+T)
- Run this command:
git clone https://github.com/nullifiedcat/catbot-setup && cd catbot-setup(next commands will just be inmonospace blocks, you have to run them). Remember that you can auto-complete the command in bash by pressingTab ./01-usergroup.sh- You have to log out (or restart the PC)
./02-steamapps.sh "/path/to/steamapps"(you got path in step 2)./03-create-12-users.sh./04-locate-cathook.sh "/path/to/cathook"(step 3)- Run scripts
./05-get-ipc-server.sh,./06-rebuild-ipc-server.sh,./07-build-textmode.sh - Choose the amount of bots you will run, it's better to start with something like 1 (to test) or 3. My i5 3570k @ 3.8GHz and 16GB RAM could run 9 cat-bots.
./08-recommended-settings.sh- this script will copy chatspam (botspamfile) and recommended config to your Team Fortress 2 installation./09-start-ipc-server.sh- You have to open new terminal window. Do not close the IPC server, you need it to see bots' status
./10-start-steams.sh 4(replace4with amount of bots you want to start)- You have to accept Steam's license terms, wait for it to install, etc.
- Create Steam accounts (or log in) in these Steam windows
- You have to launch Team Fortress 2, open Casual matchmaking menu and select only those maps for which you have walkbot paths installed (these path files must be named
default). Bot abandons the game if there is no default path for map. - Click "Save" button above map selection menu. You can close TF2 now.
./11-start-games.sh 4- again, replace4with number of bots- Wait at least 30 seconds (or a minute)
./12-inject-cathook.sh- Bots should work now, check IPC server console to see their status.
- When an update is released, run
./13-update.sh
- You can run console commands on bots' games. If you are in catbot-setup folder, type
cd cathook-ipc-server/bin, then you can use either./exec <bot ID> <command>or./exec_all <command>(will run a command on one bot or all bots, for example./exec_all say helloor./exec 1 kill - Bots crashed/frozen? Use
./99-kill-everything.shto kill all bots/steam instances, stop IPC server and start over from step 14.