By using the live client api, the program detects whether you kill or die in-game. When the program detects either a kill or death, it performs a certain action. The current actiions that can be performed are:
- Writing a message in /all chat
- Showing mastery
- Starting a surrender vote
- Not doing anything
To use it, you only need to clone the repository and type 'cargo run' in the terminal, the program should detect the game as soon as loading screen ends.
You can edit the "you_killed.txt" and "you_died.txt" with phrases to your liking.
Config.json example:
{
"death": "surrender",
"kill": "mastery",
"assist": "none"
}
The avaliable options are:
- message
- mastery
- surrender
- none
This is pretty much a port of Auto-chat to rust with a few added funcions such as mastery and surrender. All feedback is apreciated!