-
Notifications
You must be signed in to change notification settings - Fork 18
Home
ItsJesewe edited this page Oct 19, 2024
·
4 revisions
CS2 TriggerBot is an open-source Python tool designed for Counter-Strike 2. It offers automatic trigger actions based on the player's surroundings, providing competitive advantages such as automatic firing when an enemy enters the crosshair. This project is built on top of Pymem for memory manipulation and pynput for controlling mouse inputs.
- Automated Triggerbot: Fires automatically when an enemy is under the crosshair.
- Adjustable Shot Delays: Configurable shot delay between trigger activations.
- Configurable Trigger Key: Assign any mouse button or keyboard key as the trigger key.
- Selective Fire on Teammates: Option to disable or enable firing on teammates.
-
Automatic Game Process Detection: Attaches to the
cs2.exeprocess for real-time trigger actions. -
Customizable Settings: Easy configuration via
config.inito adjust various parameters like trigger key, shot delay, and logging levels. - Update Checker: Notifies users of new versions and updates available via the GitHub repository.
- Logging System: Logs all activity and errors to help with debugging and tracking issues.
- Python 3.6+
- The following Python libraries:
pymempynputrequestscoloramapackagingpywin32keyboardconfigparser
Install the required dependencies using the following command:
pip install -r requirements.txt-
Trigger Key: You can configure the trigger key and other options in the
config.inifile, which is auto-generated if it does not exist. - Shot Delay: The bot supports customizable shot delay (between minimum and maximum values) to prevent detection by anti-cheat systems.
-
Attack Teammates: Enable or disable attacking teammates by setting
AttackOnTeammatesinconfig.ini.
- Launch Counter-Strike 2.
- Run the
CS2TriggerBot.pyscript:python CS2TriggerBot.py
- The bot will automatically attach to the
cs2.exeprocess and start working once you press the configured trigger key.
Logs are saved to %LOCALAPPDATA%\Requests\ItsJesewe\crashes\tb_logs.log. You can view detailed log messages for debugging purposes.
We welcome contributions to improve this project! You can:
- Report bugs or request features in the Issues section.
- Fork the repository and submit a pull request for new features or bug fixes.
-
Game not detected: Ensure the game
cs2.exeis running before launching the bot. - Offsets not fetched: If offsets or client data fail to load, check your internet connection or retry after some time.
- Trigger not firing: Double-check the configuration file for the correct trigger key and ensure the game window is active.
For more troubleshooting, visit the Issues section.
This project is licensed under the MIT License. See the LICENSE file for details.