Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

v1.3 Jettison Ore and Jamming functionality added

  • Loading branch information...
commit efc405d7386ece358d3494266dcc57340e53d410 1 parent 8bed1ba
@kahlos authored
Showing with 19 additions and 7 deletions.
  1. +19 −7 minotaur.ahk
View
26 minotaur.ahk
@@ -1273,6 +1273,15 @@ Mining:
IfEqual, MainLogs, 1, FileAppend, %A_NowUTC% :: %A_LineNumber% - CurrentCargo=%CurrentCargo%`, ClockCounter=%ClockCounter%`, TimeLeft=%TimeLeft%`, FinishTime=%FinishTime%`n, %DebugFile%
+ IfEqual, JettisonOre, 1
+ {
+ IfLess,TimeLeft,10
+ {
+ GoSub, JettisonOre
+ Goto, Mining
+ }
+ }
+
IfNotInString, Asteroids, Ice
{
If (ClockCounter>FinishTime AND CurrentCargo>(CargoVolume-(MiningAmount*NumberOfLasers)))
@@ -1552,6 +1561,15 @@ CheckLaserSequence:
If (OverviewColor<0xF00000)
{
IfEqual, MainLogs, 1, FileAppend, %A_NowUTC% :: %A_LineNumber% - Asteroid in %LineNumber% line is not locked`, Locking..`, last major laser=%LaserNumber% `n, %DebugFile%
+
+ GoSub, CheckJamming
+ IfEqual, Jamming, 1
+ {
+ IfEqual, MainLogs, 1, FileAppend, %A_NowUTC% :: %A_LineNumber% - Jamming detected running aversion routines, %DebugFile%
+ GoSub, CheckHealth
+ GoSub, Drones
+ }
+
MouseMove, 819, 115+WindowOffsetY, %FastMouseSpeed%
PixelGetColor, OverviewColor, OTX, OTY+42+LineNumber*19
@@ -1628,7 +1646,6 @@ CheckLaserSequence:
IfEqual, MainLogs, 1, FileAppend, %A_NowUTC% :: %A_LineNumber% - Asteroid in %LineNumber% line is locked`n, %DebugFile%
TargetingActionCorrection2:
-
Loop, 14
{
PixelGetColor, OverviewColor1, OTX, OTY+42+A_Index*19
@@ -5126,9 +5143,6 @@ Return
; END RecallDrones:
-
-
-
CheckJamming:
IfEqual, MainLogs, 1, FileAppend, %A_NowUTC% :: CheckJamming:`n, %DebugFile%
@@ -5255,7 +5269,7 @@ ChangePreset:
Sleep, 2000*DelaySpeedCoefficient/5
MouseClick, Left, OTX+104, OTY-2+(PresetNumber*15)
- Sleep, 2000*DelaySpeedCoefficient/1.5
+ Sleep, 2000*DelaySpeedCoefficient/2
Return
; End ChangePreset
@@ -6494,8 +6508,6 @@ StartEveAndLogin:
Send, {ENTER}
Sleep, 100
Send, {ENTER}
- Sleep, 30000
- Send, {ENTER}
}
Else
{
Please sign in to comment.
Something went wrong with that request. Please try again.