项目作者: Jolken

项目描述 :
Trigger for CS:GO
高级语言: Python
项目地址: git://github.com/Jolken/csgoTrigger.git
创建时间: 2018-04-13T20:53:05Z
项目社区:https://github.com/Jolken/csgoTrigger

开源协议:MIT License

下载


Trigger for CS:GO

Simple trigger for CS:GO that can’t be banned by VAC.

How it works

This python script taking two screenshot of your crosshair and compare them.
If they are different, it make shot.
Tested on Windows 10 x64, python 3.6.4.

Usage

Look in the doorway, etc.
Press the hotkey, which you can change in the code.
Wait for the enemy.
If he was in your cross, the script would probably shoot and kill him :)

Installation

Download zip archive or

  1. $ git clone https://github.com/Jolken/csgoTrigger.git

Install packages

  1. $ cd csgoTrigger
  2. $ pip install -r requirements.txt

Or

  1. $ pip install numpy
  2. $ pip install Pillow
  3. $ pip install opencv-python
  4. $ pip install keyboard

Open console in CS:GO and bind +attack to fire key

  1. > bind o +attack

Fire key can be changed in code.

How to start

Open trigger.py with python or

  1. $ python /.../csgoTrigger/trigger.py

Change hotkey

Change the variable HOTKEY in trigger.py. For example

  1. HOTKEY = 'alt+r'
  2. HOTKEY = 'q'

Change fire key

Change the variable FIRE_KEY in trigger.py. For example

  1. FIRE_KEY = 0x18 #'O'
  2. FIRE_KEY = 0x12 #'E'
  3. FIRE_KEY = 0x4B # NUMPAD4

List of hex codes can be found here.aspx), here or here.

License

This project is licensed under the MIT License - see the LICENSE file for details