Set the keys first, then start it. It right clicks twice and has an option for people with Heaven's Blessing. I attached the exe at the bottom if you don't want to use the source code.
Created with AutoIt.
Source Code:
Note: This was created with AutoIt, that means some virus scanners will detect false positives. If you are too afraid to use it then don't use it.
Created with AutoIt.
Source Code:
Code:
#NoTrayIcon
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
$Form1 = GUICreate("Toxic Fog", 255, 140, 193, 125)
$Start = GUICtrlCreateButton("Start", 16, 16, 81, 25, 0)
$Stop = GUICtrlCreateButton("Stop", 16, 53, 81, 25, 0)
$Heaven = GUICtrlCreateCheckbox("Heaven's Blessing", 120, 19, 113, 17)
$Sit = GUICtrlCreateCombo("", 8, 112, 89, 25)
GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")
$Label1 = GUICtrlCreateLabel("Sit Key:", 32, 96, 40, 17, BitOR($SS_CENTER, $SS_RIGHT, $SS_GRAYFRAME, $SS_WHITEFRAME, $SS_SIMPLE))
$ToxicFog = GUICtrlCreateCombo("", 141, 112, 89, 25)
GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")
$Label2 = GUICtrlCreateLabel("Toxic Fog Key:", 148, 96, 75, 17, BitOR($SS_CENTER, $SS_RIGHT, $SS_GRAYFRAME, $SS_WHITEFRAME, $SS_SIMPLE))
GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")
GUICtrlSetOnEvent($Start, "Start")
GUICtrlSetOnEvent($Stop, "Stop")
GUISetState(@SW_SHOW)
$Conquer = ControlGetHandle("[CLASS:Afx:400000:0:10003:0:0]", "", "#327701")
$Active = False
$Run = 0
While 1
If $Active = False Then Sleep(100)
If $Active = True Then
$SitKey = GUICtrlRead($Sit)
$TFK = GUICtrlRead($ToxicFog)
If $Run = 0 Then ; Select Toxic Fog
If $TFK = "F1" Then ControlClick($Conquer, "", "Button136", "Right", 1, 18, 20)
If $TFK = "F2" Then ControlClick($Conquer, "", "Button136", "Right", 1, 61, 20)
If $TFK = "F3" Then ControlClick($Conquer, "", "Button136", "Right", 1, 102, 20)
If $TFK = "F4" Then ControlClick($Conquer, "", "Button136", "Right", 1, 144, 20)
If $TFK = "F5" Then ControlClick($Conquer, "", "Button136", "Right", 1, 183, 20)
If $TFK = "F6" Then ControlClick($Conquer, "", "Button136", "Right", 1, 220, 20)
If $TFK = "F7" Then ControlClick($Conquer, "", "Button136", "Right", 1, 260, 20)
If $TFK = "F8" Then ControlClick($Conquer, "", "Button136", "Right", 1, 306, 20)
If $TFK = "F9" Then ControlClick($Conquer, "", "Button136", "Right", 1, 348, 20)
If $TFK = "F10" Then ControlClick($Conquer, "", "Button136", "Right", 1, 387, 20)
$Run = 1
Sleep(500)
EndIf
If GUICtrlRead($Heaven) == 4 Then ; Unchecked
ControlClick($Conquer, "", $Conquer, "Right", 1, 503, 406)
Sleep(1000)
ControlClick($Conquer, "", $Conquer, "Right", 1, 503, 406)
Sleep(500)
If $SitKey = "F1" Then ControlClick($Conquer, "", "Button136", "Right", 1, 18, 20)
If $SitKey = "F2" Then ControlClick($Conquer, "", "Button136", "Right", 1, 61, 20)
If $SitKey = "F3" Then ControlClick($Conquer, "", "Button136", "Right", 1, 102, 20)
If $SitKey = "F4" Then ControlClick($Conquer, "", "Button136", "Right", 1, 144, 20)
If $SitKey = "F5" Then ControlClick($Conquer, "", "Button136", "Right", 1, 183, 20)
If $SitKey = "F6" Then ControlClick($Conquer, "", "Button136", "Right", 1, 220, 20)
If $SitKey = "F7" Then ControlClick($Conquer, "", "Button136", "Right", 1, 260, 20)
If $SitKey = "F8" Then ControlClick($Conquer, "", "Button136", "Right", 1, 306, 20)
If $SitKey = "F9" Then ControlClick($Conquer, "", "Button136", "Right", 1, 348, 20)
If $SitKey = "F10" Then ControlClick($Conquer, "", "Button136", "Right", 1, 387, 20)
Sleep(10000)
EndIf
If GUICtrlRead($Heaven) == 1 Then ; Checked
ControlClick($Conquer, "", $Conquer, "Right", 1, 503, 406)
Sleep(1000)
ControlClick($Conquer, "", $Conquer, "Right", 1, 503, 406)
Sleep(1000)
ControlClick($Conquer, "", $Conquer, "Right", 1, 503, 406)
Sleep(500)
If $SitKey = "F1" Then ControlClick($Conquer, "", "Button136", "Right", 1, 18, 20)
If $SitKey = "F2" Then ControlClick($Conquer, "", "Button136", "Right", 1, 61, 20)
If $SitKey = "F3" Then ControlClick($Conquer, "", "Button136", "Right", 1, 102, 20)
If $SitKey = "F4" Then ControlClick($Conquer, "", "Button136", "Right", 1, 144, 20)
If $SitKey = "F5" Then ControlClick($Conquer, "", "Button136", "Right", 1, 183, 20)
If $SitKey = "F6" Then ControlClick($Conquer, "", "Button136", "Right", 1, 220, 20)
If $SitKey = "F7" Then ControlClick($Conquer, "", "Button136", "Right", 1, 260, 20)
If $SitKey = "F8" Then ControlClick($Conquer, "", "Button136", "Right", 1, 306, 20)
If $SitKey = "F9" Then ControlClick($Conquer, "", "Button136", "Right", 1, 348, 20)
If $SitKey = "F10" Then ControlClick($Conquer, "", "Button136", "Right", 1, 387, 20)
Sleep(15000)
EndIf
EndIf
WEnd
Func _Exit()
Exit 0
EndFunc ;==>_Exit
Func Start()
$Active = True
EndFunc ;==>Start
Func Stop()
$Run = 0
$Active = False
EndFunc ;==>Stop