|
chrixtal 發表於 Sept 12, 2018 18:13:38 GMT
第一次使用,請問有什麼除錯工具或資訊可以看嗎? 執行後就這個框框,然後下面出現 兩個按鈕 Pro2 和 好 其他全部空白....
|
|
|
AnkuLua 發表於 Sept 14, 2018 1:57:21 GMT
請使用 print() 來除錯
有需要的話,把您的腳本貼上來
|
|
|
chrixtal 發表於 Sept 14, 2018 10:07:33 GMT
----- created by AnkuLua snap and play script ------ immersive = false setImmersiveMode(immersive) scriptDimension = 1280 Settings:setScriptDimension(true, scriptDimension) Settings:setCompareDimension(true, scriptDimension) local index = 1 touchList = {} waitList = {}
------ 1 ----- touchList[index] = {target = "1.png", region = Region(1094, 273, 150, 150), id = "1", action = 'click'} index = index + 1
------ 2 ----- touchList[index] = {target = "2.png", region = Region(665, 587, 150, 150), id = "2", action = 'click'} index = index + 1
------ 3 ----- touchList[index] = {target = "3.png", region = Region(1018, 65, 150, 150), id = "3", action = 'click'} index = index + 1
------ 4 ----- touchList[index] = {target = "4.png", region = Region(650, 153, 150, 150), id = "4", action = 'click'} index = index + 1
------ 5 ----- touchList[index] = {target = "5.png", region = Region(505, 403, 150, 150), id = "5", action = 'click'} index = index + 1
------ 6 ----- touchList[index] = {target = "6.png", region = Region(547, 554, 150, 150), id = "6", action = 'click'} index = index + 1
------ 7 ----- touchList[index] = {target = "7.png", region = Region(417, 434, 150, 150), id = "7", action = 'click'} index = index + 1
------ 8 ----- touchList[index] = {target = "8.png", region = Region(503, 572, 150, 150), id = "8", action = 'click'} index = index + 1
------ 9 ----- touchList[index] = {target = "9.png", region = Region(987, 372, 150, 150), id = "9", action = 'click'} index = index + 1
------ 10 ----- touchList[index] = {target = "10.png", region = Region(1139, 84, 150, 150), id = "10", action = 'click'} index = index + 1
------ 11 ----- touchList[index] = {target = "11.png", region = Region(985, 473, 150, 150), id = "11", action = 'click'} index = index + 1
------ 12 ----- touchList[index] = {target = "12.png", region = Region(998, 459, 150, 150), id = "12", action = 'click'} index = index + 1
------ 13 ----- touchList[index] = {target = "13.png", region = Region(1150, 71, 150, 150), id = "13", action = 'click'} index = index + 1
------ 14 ----- touchList[index] = {target = "14.png", region = Region(1150, 71, 150, 150), id = "14", action = 'click'} index = index + 1
------ 15 ----- touchList[index] = {target = "15.png", region = Region(557, 559, 150, 150), id = "15", action = 'click'} index = index + 1
------ 16 ----- touchList[index] = {target = "16.png", region = Region(591, 548, 150, 150), id = "16", action = 'click'} index = index + 1
------ 17 ----- touchList[index] = {target = "17.png", region = Region(591, 548, 150, 150), id = "17", action = 'click'} index = index + 1
------ 18 ----- touchList[index] = {target = "18.png", region = Region(591, 548, 150, 150), id = "18", action = 'click'} index = index + 1
|
|
|
AnkuLua 發表於 Sept 14, 2018 10:15:42 GMT
|
|