auto update
This commit is contained in:
parent
6799b4d331
commit
73ad8a7475
|
@ -18,7 +18,7 @@ stdScreenH := 2160
|
||||||
waitTolerance := 50
|
waitTolerance := 50
|
||||||
colorTolerance := 15
|
colorTolerance := 15
|
||||||
|
|
||||||
currentVersion := "v0.1.6"
|
currentVersion := "v0.1.7"
|
||||||
usr := "kyokakawaii"
|
usr := "kyokakawaii"
|
||||||
repo := "DoroHelper"
|
repo := "DoroHelper"
|
||||||
|
|
||||||
|
@ -112,7 +112,13 @@ Login()
|
||||||
while !UserCheckColor(stdCkptX, stdCkptY, desiredColor, scrRatio) {
|
while !UserCheckColor(stdCkptX, stdCkptY, desiredColor, scrRatio) {
|
||||||
UserClick(stdTargetX, stdTargetY, scrRatio)
|
UserClick(stdTargetX, stdTargetY, scrRatio)
|
||||||
Sleep sleepTime
|
Sleep sleepTime
|
||||||
if A_Index > waitTolerance * 10 {
|
|
||||||
|
if UserCheckColor([1973, 1969], [1368, 1432], ["0x00ADFB", "0x00ADFB"], scrRatio) {
|
||||||
|
UserClick(2127, 1400, scrRatio)
|
||||||
|
Sleep sleepTime
|
||||||
|
}
|
||||||
|
|
||||||
|
if A_Index > waitTolerance * 20 {
|
||||||
MsgBox "登录失败!"
|
MsgBox "登录失败!"
|
||||||
ExitApp
|
ExitApp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue