馬上加入Android 台灣中文網,立即免費下載應用遊戲。
您需要 登錄 才可以下載或查看,沒有帳號?註冊
x
在網上找了個自動餵魚訓練腳本,但是一點開始就提示語法錯誤,求大神幫幫解決。
语法错误。
/strorage/sdcarrd0/Touchelper/scripts/V2/自动喂鱼
lua:1:unexpected symbol near char(232)
腳本如下:
-- 脚本描述
DESCRIPTION="自动喂鱼,自动修炼,20个鱼槽循环。";
-- 适用屏幕参数
SCREEN_RESOLUTION="1280x720";
SCREEN_COLOR_BITS=32;
-- 主入口
function main()
rotateScreen(90)
a, b, c, d = 40, 220, 340, 600
w, x, y, z = 640, 850, 1020, 1220
while true do
mSleep(5000);
touchDown(0, x, c);
touchUp(0);
t = y
mSleep(5000);
for val = 1, 3 do
mSleep(2000)
touchDown(0, t, w);
touchUp(0);
mSleep(2000);
touchDown(0, x, c);
touchUp(0);
mSleep(4000);
touchDown(0, y, b);
touchUp(0);
t = t - b
end
mSleep(2000);
touchDown(0, z, a);
touchUp(0);
mSleep(5000);
touchDown(0, y, b);
touchUp(0);
mSleep(3000);
for val = 1, 19 do
mSleep(2000);
touchDown(0, y, d);
touchUp(0);
mSleep(2000);
touchDown(0, x, c);
touchUp(0);
mSleep(2000);
touchDown(0, y, b);
touchUp(0);
mSleep(2000);
touchDown(0, x, w);
mSleep(100);
touchMove(0, x, a);
touchUp(0);
end
mSleep(4000);
touchDown(0, z, a);
touchUp(0);
end
end |

|