level 6
小情歌dxy
楼主
require("TSLib")
init(0,0)
mSleep(1)
function click(x,y,n)
local n=n or 0.5
touchDown(x, y)
mSleep(40)
touchUp(x, y)
mSleep(n*40)
end
function click1(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(3000)
touchUp(x, y)
mSleep(n*1000)
end
function click2(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(500)
touchUp(x, y)
mSleep(n*500)
end
function click3(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(3000)
touchUp(x, y)
mSleep(n*1000)
end
while true do
local x,y = findMultiColorInRegionFuzzy( 0x6be40a, "-16|-47|0x2d6b0a,-10|32|0x80ed2a,18|23|0xfdfffd,32|21|0xffffff,37|42|0x90e556,11|45|0x76ec16,8|-136|0x73ea13,31|-117|0xf6fbf6,-9|-120|0x64de05", 90, 27, 835, 122, 1072)
if x ~= -1 and y ~= -1 then
toast("111",1)
for i=1,1 do
click(64, 282)
end
for i=1,8 do
click(33, 516)
end
for i=1,3 do
click(63, 281)
end
for i=1,1 do
click3(89, 980)
end
end
local x1,y1 = findMultiColorInRegionFuzzy( 0xbe6804, "1|-39|0xd27509,4|-75|0xffc61c,23|-92|0xffd645,31|-78|0xffffff,31|-25|0xffffff,36|-28|0xfffdfd,18|-20|0xfdf8f4,43|-132|0xffffff,11|-113|0xf8cc2a", 90, 27, 835, 122, 1072)
if x1 ~= -1 and y1 ~= -1 then
toast("111",1)
click2(64, 282) ---点一
mSleep(100)
click2(33, 516) --点二
click1(89, 980) --长按3秒
end
end
2018年01月30日 20点01分
1
init(0,0)
mSleep(1)
function click(x,y,n)
local n=n or 0.5
touchDown(x, y)
mSleep(40)
touchUp(x, y)
mSleep(n*40)
end
function click1(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(3000)
touchUp(x, y)
mSleep(n*1000)
end
function click2(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(500)
touchUp(x, y)
mSleep(n*500)
end
function click3(x,y,n)
local n=n or 0.2
touchDown(x, y)
mSleep(3000)
touchUp(x, y)
mSleep(n*1000)
end
while true do
local x,y = findMultiColorInRegionFuzzy( 0x6be40a, "-16|-47|0x2d6b0a,-10|32|0x80ed2a,18|23|0xfdfffd,32|21|0xffffff,37|42|0x90e556,11|45|0x76ec16,8|-136|0x73ea13,31|-117|0xf6fbf6,-9|-120|0x64de05", 90, 27, 835, 122, 1072)
if x ~= -1 and y ~= -1 then
toast("111",1)
for i=1,1 do
click(64, 282)
end
for i=1,8 do
click(33, 516)
end
for i=1,3 do
click(63, 281)
end
for i=1,1 do
click3(89, 980)
end
end
local x1,y1 = findMultiColorInRegionFuzzy( 0xbe6804, "1|-39|0xd27509,4|-75|0xffc61c,23|-92|0xffd645,31|-78|0xffffff,31|-25|0xffffff,36|-28|0xfffdfd,18|-20|0xfdf8f4,43|-132|0xffffff,11|-113|0xf8cc2a", 90, 27, 835, 122, 1072)
if x1 ~= -1 and y1 ~= -1 then
toast("111",1)
click2(64, 282) ---点一
mSleep(100)
click2(33, 516) --点二
click1(89, 980) --长按3秒
end
end