Changelog:
- Configuration Management:
- Added new configuration options for weapons.
- Implemented configuration validation to ensure data integrity.
- Added interactive configuration wizard for first-time setup or when the configuration is invalid.
- Replaced direct reading from
Settings.cfg
with a more structured JSON configuration usingnlohmann::json
.
- Arduino Connection:
- Added more detailed logging throughout the device detection and connection process.
- Switched from raw Win32 API
CreateFile
for serial communication to Boost.Asio for better cross-platform compatibility and error handling.
- Module Architecture:
- Implemented a
ModuleManager
to manage and process modules. - Refactored core functionality into separate modules (
Bhop
,ColorBot
,RapidFire
,RecoilControl
,AutoAccept
,FastReload
). - Introduced a Module system with base classes (
Module
,AutomaticModule
,HoldableModule
,ToggleableModule
,SystemModule
).
- Implemented a
- Recoil Control Refactoring:
- Recoil control is now handled by the
RecoilControl
module. - Weapon selection is now handled internally by the
RecoilControl
module, triggered by key presses.
- Recoil control is now handled by the
- Auto Accept Feature: Added new feature that automatically accepts the CS2 match using screen analysis and mouse control.
- Configuration File Loading: Improved error handling for the configuration file loading process.
- General Code Cleanup: Codebase has been restructured and cleaned for improved readability and maintainability.
- Logging Improvements: Replaced custom logging function with
Boost.Log
for more robust and configurable logging.