This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
2017-02-24 11:19:17 +03:00
2017-02-24 11:19:17 +03:00
2017-03-28 21:20:11 +03:00
2017-02-24 16:57:02 +03:00
2017-04-10 19:09:50 +03:00
2017-03-26 19:42:06 +03:00
2017-03-28 15:26:16 +03:00
2017-03-19 21:37:16 +03:00
2017-03-17 21:43:13 +03:00
2017-03-24 14:58:47 +03:00
2017-04-10 13:56:33 +03:00
2017-02-24 16:59:17 +03:00
2017-03-30 12:47:27 +03:00
2017-03-29 09:31:08 +03:00

Disclaimer

I know that the style sucks. There is a lot of design errors and cancerous patterns. Most of the code was intended to be temporary.

Discord Server

Official Discord Server

You need g++-6 to compile/use cathook

Full install script for ubuntu (installs g++-6 and cathook)

sudo apt update && \
sudo apt install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt update && \
sudo apt install gcc-snapshot -y && \
sudo apt update && \
sudo apt install gcc-6 g++-6 g++-6-multilib -y && \
sudo apt install gdb
git clone --recursive https://github.com/nullifiedcat/cathook && \
cd cathook && \
make -j4

Updating cathook

Navigate into cathook directory (where src, makefile and other files are) and run:

git pull origin master && \
git submodule update --remote --recursive && \
make clean && \
make -j4

Injection

sudo ./attach to attach to tf2 process (can take argument number 0-N - # of tf2 instance to attach to (for bots))

sudo ./attach-backtrace to attach and print backtrace if tf2 crashes. Some users reported that this method makes you get less FPS ingame.

Followbots

To run followbots, you need to download and install cathook-ipc-server.

Installing script

git clone --recursive https://github.com/nullifiedcat/cathook-ipc-server && \
cd cathook-ipc-server && \
make -j4

Updating script is the same as updating cathook

Running followbot server

./bin/cathook-ipc-server or ./bin/cathook-ipc-server &>/dev/null & to run it in background

Description
Cathook is a training software designed for Team Fortress 2 for Linux.
Readme GPL-3.0 44 MiB
Languages
C++ 93.5%
C 5.4%
Shell 0.6%
CMake 0.4%