启动调试出现2: attempt to call global 'findColorInRegionFuzz
lua吧
全部回复
仅看楼主
level 1
亡灵饿狼 楼主
rx, ry = findColorInRegionFuzzy(0xad3418, 50, 61, 101, 612, 617);
if rx ~= -1 and ry ~= -1 then
touchDown(1,787,583);
touchUp(1, 787,583)
else
dialog("未找到符合条件的坐标");
end --在该区域找到符合条件的点则点击购买
启动调试出现:
2: attempt to call global 'findColorInRegionFuzzy' (a nil value)
Stack Traceback:
2: in main chunk 求大神帮修改下
2014年12月10日 02点12分 1
level 5
颜色坐标字母要大写,你改一下,为0xAD3418就行了
2014年12月10日 03点12分 2
................会不会看错误信息?
2014年12月10日 09点12分
回复 czfshine :额,抱歉,是提示没找到
2014年12月10日 09点12分
回复 czfshine :你是绝顶高手啊
2014年12月10日 09点12分
level 8
别听ls的,
attempt to call global 'findColorInRegionFuzzy' (a nil value)
是说findColorInRegionFuzzy这个变量没有定义,找不到,会不会是你的函数名打错了?
2014年12月10日 09点12分 3
level 1
亡灵饿狼 楼主
那到底应该怎么修改呢?
2014年12月10日 14点12分 4
1