求免费qq三国脚本刷行脚本发到c73696...

只需一步,快速开始
后使用快捷导航没有帐号?
查看: 61708|回复: 158
本帖最后由 H.R 于
15:02 编辑
--H.R制作教学案例,非本人授权请勿拿做商用,参数只需要修改前4行就可以适应其它屏幕。
x_qd,y_qd=40,630& &&&--60,780& &--55,980;&&
jl=68;
quyu={1,198,473,670};
rotateScreen(0);
function main()
repeat
local xt,yt=0,0;
& & for i=0,6 do
& && && && && & for j=0,6 do
& && && && && && && && &xt=x_qd+jl*j;
& && && && && && && && &yt=y_qd-jl*i;
& && && && && && && && &r,g,b=getColorRGB(xt,yt)
& && && && && && && && &if i&6 and bjcolor(xt,yt-jl,r,g,b,10)==false then--上
& && && && && && && && && && &&&if bjcolor(xt-jl,yt-jl,r,g,b,10) and (bjcolor(xt+jl,yt-jl,r,g,b,10) or bjcolor(xt-2*jl,yt-jl,r,g,b,10)) or bjcolor(xt+jl,yt-jl,r,g,b,10) and bjcolor(xt+2*jl,yt-jl,r,g,b,10) or bjcolor(xt,yt-2*jl,r,g,b,10) and bjcolor(xt,yt-3*jl,r,g,b,10) then
& && && && && && && && && && && && && & click(xt,yt);
& && && && && && && && && && && && && & click(xt,yt-jl);& && && && && && && && && && && && && &
& && && && && && && && && && &&&end
& && && && && && && && &end
& && && && && && && && &if i&0 and bjcolor(xt,yt+jl,r,g,b,10)==false then--下
& && && && && && && && && && &&&if bjcolor(xt-jl,yt+jl,r,g,b,10) and (bjcolor(xt+jl,yt+jl,r,g,b,10) or bjcolor(xt-2*jl,yt+jl,r,g,b,10)) or bjcolor(xt+jl,yt+jl,r,g,b,10) and bjcolor(xt+2*jl,yt+jl,r,g,b,10) or bjcolor(xt,yt+2*jl,r,g,b,10) and bjcolor(xt,yt+3*jl,r,g,b,10) then
& && && && && && && && && && && && && & click(xt,yt);
& && && && && && && && && && && && && & click(xt,yt+jl);& && && && && && && && && && && && && &
& && && && && && && && && && &&&end
& && && && && && && && &end
& && && && && && && && &if j&0 and bjcolor(xt-jl,yt,r,g,b,10)==false then--左
& && && && && && && && && & if bjcolor(xt-jl,yt+jl,r,g,b,10) and (bjcolor(xt-jl,yt+2*jl,r,g,b,10) or bjcolor(xt-jl,yt-jl,r,g,b,10)) or bjcolor(xt-jl,yt-jl,r,g,b,10) and bjcolor(xt-jl,yt-2*jl,r,g,b,10) or bjcolor(xt-2*jl,yt,r,g,b,10) and bjcolor(xt-3*jl,yt,r,g,b,10) then
& && && && && && && && && && && && && & click(xt,yt);
& && && && && && && && && && && && && & click(xt-jl,yt);& && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && && &
& && && && && && && && && && &&&end
& && && && && && && && &end
& && && && && && && && &if j&6 and bjcolor(xt+jl,yt,r,g,b,10)==false then--右
& && && && && && && && && & if bjcolor(xt+jl,yt+jl,r,g,b,10) and (bjcolor(xt+jl,yt+2*jl,r,g,b,10) or bjcolor(xt+jl,yt-jl,r,g,b,10)) or bjcolor(xt+jl,yt-jl,r,g,b,10) and bjcolor(xt+jl,yt-2*jl,r,g,b,10) or bjcolor(xt+2*jl,yt,r,g,b,10) and bjcolor(xt+3*jl,yt,r,g,b,10) then
& && && && && && && && && && && && && & click(xt,yt);
& && && && && && && && && && && && && & click(xt+jl,yt);& && && && && && && && && && && && && && && && && && && && && && && && && && &&&
& && && && && && && && && && &&&end
& && && && && && && && &end
& && && && && & end
& && &&&end
until false
end
function bjcolor(x2,y2,r,g,b,wc)
wc=wc or 0;& && &&&
if x2&quyu[1] or x2&quyu[3] or y2&quyu[2] or y2&quyu[4] then
& && &&&return false
end
local r1,g1,b1=getColorRGB(x2,y2);
if (r&=r1+wc and r&=r1-wc) and (g&=g1+wc and g&=g1-wc) and (b&=b1+wc and b&=b1-wc) then
& && &&&return true
else
& & return false
end
end
function click(x,y)
& && && && &touchDown(0, x, y);
& && &&&mSleep(50);
& && &&&touchUp(0);& && &&&
end
复制代码
本帖最后由 H.R 于
15:04 编辑
该脚本是本人认为适合脚本学习者用来练手学习用才做的教学脚本,该脚本只能在能用优化模式的设备上使用。
关于制作思路、算法及代码含义有详细的视频教程。
随便打个广告,年底教学视频回馈,基本部分免费了。
x_qd,y_qd&&这两个参数代表的是找色开始的起点位置,分别是X和y的坐标
jl 这个参数表示一个 小方块之间的距离,我们可以选取熊猫的长宽
quyu 表示所有图标加起来占的面积
rotateScreen(0);&&竖屏手机为0&&横屏-90
本帖子中包含更多资源
才可以下载或查看,没有帐号?
大神,能否说说如何设置前四行,比如800x1280的分辨率如何设置,谢~~~~~~~~
左上角第一个方块坐标是100,380
方块之间的距离差值为100
大神指点一下吧
大神,能否说说如何设置前四行,比如800x1280的分辨率
左上角第一个方块坐标是100,380
方块之间的距离差值为100如何设置,谢~~~~~~~~
参数说明:
第一行是起点坐标,最左一为起点,因为本脚本从下向上消除。
第二行是距离,也就是每个格子的长度。
第三行是游戏区域的左上角和右下角坐标,游戏区域指的是7*7那个消除区域。
老师乃最好的人拉~指导我到完成我的Iphone 5脚本改写,附件俩张图是我天天挨消除iphone 5的成果。感谢老师
本帖子中包含更多资源
才可以下载或查看,没有帐号?
楼主,请教,为什么左上角是1,198.
而起点坐标又是40 630呢?
在线等你~~
流云易逝 发表于
楼主,请教,为什么左上角是1,198.
而起点坐标又是40 630呢?
在线等你~~
已经改好了,250万轻松到手。谢谢楼主。
老师能否给一个iphone5的脚本啊
Powered by

我要回帖

更多关于 qq三国脚本 的文章

 

随机推荐