Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesewe/cs2-triggerbot
CS2 TriggerBot is an automated tool designed for Counter-Strike 2 that assists with precise aiming by automatically triggering a mouse click when an enemy is detected in the player's crosshairs.
https://github.com/jesewe/cs2-triggerbot
cs2 cs2-cheat cs2-triggerbot
Last synced: 4 days ago
JSON representation
CS2 TriggerBot is an automated tool designed for Counter-Strike 2 that assists with precise aiming by automatically triggering a mouse click when an enemy is detected in the player's crosshairs.
- Host: GitHub
- URL: https://github.com/jesewe/cs2-triggerbot
- Owner: Jesewe
- License: mit
- Created: 2024-05-10T12:27:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T11:32:39.000Z (2 months ago)
- Last Synced: 2024-10-21T16:38:46.748Z (2 months ago)
- Topics: cs2, cs2-cheat, cs2-triggerbot
- Language: Python
- Homepage: https://github.com/Jesewe/cs2-triggerbot
- Size: 1.1 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CS2 TriggerBot
Your ultimate aiming assistant for Counter-Strike 2
![Downloads](https://img.shields.io/github/downloads/jesewe/cs2-triggerbot/total?style=for-the-badge&logo=github&color=D5006D)
![Platforms](https://img.shields.io/badge/platform-Windows-blue?style=for-the-badge&color=D5006D)
![License](https://img.shields.io/github/license/jesewe/cs2-triggerbot?style=for-the-badge&color=D5006D)
Features •
Installation •
Usage •
Configuration •
Troubleshooting •
Contributing---
# Overview
CS2 TriggerBot is an automated tool designed for Counter-Strike 2 that assists with precise aiming by automatically triggering a mouse click when an enemy is detected in the player's crosshairs. The tool features a graphical user interface (GUI) for easy configuration.**Official Telegram Channel:**
Stay updated with the latest features, updates, and support for CS2 TriggerBot! Join our Telegram community here: [CS2 TriggerBot Updates](https://t.me/cs2_jesewe).## Features
- **Automatic Trigger**: Fires your weapon when an enemy is detected under your crosshair.
- **Configurable Trigger Key**: Configure a keyboard key or mouse button (`x1` or `x2`) as the trigger via the GUI or `config.json` file.
- **Configurable Delays**: Set minimum, maximum, and post-shot delays for more natural shooting behavior.
- **Attack Teammates Option**: Toggle friendly fire with a checkbox in the GUI.
- **Offsets and Client Data**: Automatically fetches the latest offsets and client data from remote sources.
- **Logging**: Detailed logs are saved in `%LOCALAPPDATA%\Requests\ItsJesewe\crashes\tb_logs.log`.
- **Update Checker**: Automatically checks for updates from the GitHub repository.
- **GUI Interface**: Control the bot's behavior and configuration using the included graphical interface.
- **Dynamic Config Update**: Automatically detects and applies changes to the `config.json` file without restarting the bot.## Installation
You can install the trigger bot by cloning the repository or by downloading a pre-built executable file from the releases.
### Option 1: Clone the Repository
1. **Clone the Repository:**
```bash
git clone https://github.com/Jesewe/cs2-triggerbot.git
cd cs2-triggerbot
```2. **Install Dependencies:**
```bash
pip install -r requirements.txt
```3. **Run the Script:**
```bash
python main.py
```### Option 2: Download Pre-Built Executable
Alternatively, download the ready-to-use executable from the [Releases](https://github.com/Jesewe/cs2-triggerbot/releases) page. Download the latest version and run the executable directly.
## Configuration
The `config.json` file is automatically generated in the directory `%LOCALAPPDATA%\Requests\ItsJesewe\` on the first run. You can modify the `TriggerKey` in this file or via the GUI.Example `config.json`:
```json
{
"Settings": {
"TriggerKey": "x",
"ShotDelayMin": 0.01,
"ShotDelayMax": 0.03,
"AttackOnTeammates": false,
"PostShotDelay": 0.1
}
}
```- **TriggerKey**: The key or mouse button (`x`, `x1`, or `x2`) to activate the bot.
- **ShotDelayMin** and **ShotDelayMax**: Control the delay between shots to simulate natural behavior.
- **PostShotDelay**: Set a delay after each shot for more controlled firing.
- **AttackOnTeammates**: Set to `true` to enable friendly fire.## Usage
1. Launch Counter-Strike 2.
2. Run the TriggerBot using the command mentioned above or by launching the GUI version.
3. Adjust settings like `Trigger Key`, `Shot Delay`, `Post Shot Delay` and `Attack Teammates` from the GUI.
4. The bot will automatically start functioning when the game is active.## Troubleshooting
- **Failed to Fetch Offsets:** Ensure you have an active internet connection and that the source URLs are accessible.
- **Errors with Offsets after Game Update:** After a Counter-Strike 2 game update, there may be issues with offsets, which can result in errors. In this case, please wait for updated offsets to be released.
- **Could Not Open `cs2.exe`:** Make sure the game is running and that you have the necessary permissions.
- **Unexpected Errors:** Check the log file located in the log directory for more details.## Contributing
Contributions are welcome! Please open an issue or submit a pull request on the [GitHub repository](https://github.com/Jesewe/cs2-triggerbot).## Disclaimer
This script is for educational purposes only. Using cheats or hacks in online games is against the terms of service of most games and can result in bans or other penalties. Use this script at your own risk.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.