The TriggerBot that works in any game by detecting a new pixel in the center of screen.
Tested on:
- Arch linux
- Create config file to minimize interaction with code
- Create auto keyboard event pick
- Fully fix image noise and false shots
You must install some packages.
There maybe will be some issues with opencv, if you have those, check Tips and issues section.
opencv
ydotool
grimNote
To set a triggerKey you can change trig.setKey(58) at 133 line of code. (It's a key code, by default set to CAPSLOCK)
Run ./build.sh to compile application.
Run ./LinuxTriggerBot in the project directory:
- Enter your screen resolution
- Enter delay(70 is recommended)
- Enter your keyboard device event
Important
Check Tips and issues for keyboard event information
Ingame you need to hold capslock and do not move camera.
- Showing all keyboard devices:
ls /dev/input/by-id/ | grep kbd- Pick your keyboard from received list:
usb-MY_KEYBOARD-event-kbd -> ../event2
usb-ANOTHER_KEYBOARD-event-kbd -> ../event17
usb-SOME_KEYBOARD-if01-event-kbd -> ../event20
usb-MY_MICE_KEYBOARD_IDK_WHAT_ITS_DOING_HERE-if01-event-kbd -> ../event11- Copy your keyboard event path and paste it into application or to config instead:
/dev/input/event2