完美世界小说吧 关注:3,487,053贴子:94,428,465
  • 2回复贴,共1

雷游戏脚本

只看楼主收藏回复

SCREEN_RESOLUTION="640x960";
SCREEN_COLOR_BITS=32;
-- 主入口
function main()
while true do
x, y = findColorInRegionFuzzy(0x00A0FD, 100, 312, 731, 331, 741);
--新闻点我知道了
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFE5A02, 90, 251, 900, 268, 917);
---找无尽模式
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFFAB00, 90, 311, 885, 326, 902);
--找出击
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DC, 90, 201, 548, 220, 567);
--找返回
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DB, 100, 168, 849, 180, 867);
--找继续
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xC76C00, 90, 313, 710, 324, 726);
--找领取宝箱
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(1000);
end
end


IP属地:湖南1楼2014-08-22 13:35回复
    午好啊 ̄ω ̄
    一二三四五六七八九字数应该够了 ̄ω ̄
    【发表于:2014年8月22日13时36分48秒----星期五】


    IP属地:浙江2楼2014-08-22 13:37
    回复
      玩游戏的男人都不是好男人!!!


      IP属地:江苏3楼2014-08-22 13:38
      回复