Automated Dota2 game acceptor.
REQUIREMENTS:
Settings in Dota2 [Settings -> Advanced Options -> Bring Dota 2 to front when match found]
REQUIREMENTS (Phillips Hue Support):
Hue Bridge 2nd Generation
GENERAL USAGE:
- Start button will kick-off an exe (DotaGameAcceptor.exe) that will wait for Dota2.exe to become focused window (no additional user interaction is required).
- This script exe will exit if user input is detected (mouse movement) or when a game is found.
- When a game is found, Dota2.exe will become focused window due to setting change from above.
- Script exe will then wait a few seconds and press Enter to accept the game.
USAGE (Hue Support):
- Configure HueUserLights.xml (See configuration section)
- Connect to Hue Bridge by clicking Light Bulb Icon
- [First time use] Light bulb will turn Red (Error connecting), expected for first time use.
- [First time use] Press Link button on Hue Bridge to allow new connections.
- [First time use] Click Light Bulb icon again. Hue authentication key will be saved in HueAuthentication.xml
- The icon will turn green when a connection is successful and Hue lights configure should flash once.
- Once a game is found, Hue lights will flash for 10 seconds using the "lalert" command to all lights configured in HueUserLights.xml
CONFIGURATION:
Uses light name configured in Hue setup to find and alert lights.
To add additional lights, add under Lights:
<Light>
<Name>New light name</Name>
</Light>
Schema:
<HueUserLights>
<Lights>
<Light>
<Name>Hue Iris 1</Name>
</Light>
<Light>
<Name>Hue color downlight</Name>
</Light>
</Lights>
</HueUserLights>
Hue Authentication:
Schema:
<HueAuthSuccess>
<success>
<username>A!@45JNJKIDF54Nn67KJBNDIU</username>
</success>
</HueAuthSuccess>
NOTES
- The application will try to create and write to a file (HueAuthentication.xml) on first use of connecting, Run As Admin if you do not have these privledges.
- The HueAuthentication.xml file can be deleted and regenerated by pressing the Link button on your Hue Bridge and attempting to connect.