if not g_game.isOnline() then
return
end
local currentDir = g_game.getLocalPlayer():getDirection()
repeat
local newDir = config.directions[math.random(1, #config.directions)]
g_game.turn(newDir)
sleep(1000)
until (g_game.getLocalPlayer():getDirection() ~= currentDir)
auto(config.timeToTurn)
Anty Idle
in Lua scripts
Posted · Edited by Wyszna
Siema, do tej pory używałem skrypt na anty idle z tego forum i działał do dzisiaj 05,11,21, (przestał po aktualizacji bota).
Proszę o pomoc.
Hi, i used this scripts until now. Today after update i got this error. Please help me.
local config = {
timeToTurn = 15 * 60 * 1000, -- 15 minutes
directions = { Direction.North, Direction.South, Direction.West, Direction.East }
}
if not g_game.isOnline() then
return
end
local currentDir = g_game.getLocalPlayer():getDirection()
repeat
local newDir = config.directions[math.random(1, #config.directions)]
g_game.turn(newDir)
sleep(1000)
until (g_game.getLocalPlayer():getDirection() ~= currentDir)
auto(config.timeToTurn)