- 441
- 222
if text:find('этап 2') and text:find('Осталось') then
if isLien then
if text:find('Лён') then
if text:find('00:01') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:02') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:03') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:04') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:05') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:06') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:07') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:08') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:09') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:10') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:11') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:12') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:13') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:14') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:15') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:16') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:17') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:18') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:19') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:20') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:21') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:22') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:23') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:24') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:25') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:26') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:27') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:28') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:29') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:30') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
end
end
else
if text:find('Хлопок') then
if text:find('00:01') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:02') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:03') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:04') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:05') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:06') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:07') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:08') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:09') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:10') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:11') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:12') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:13') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:14') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:15') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:16') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:17') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:18') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:19') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:20') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:21') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:22') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:23') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:24') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:25') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:26') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:27') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:28') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:29') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
elseif text:find('00:30') then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
end
end
if text:find('этап 2') and text:find('Осталось') then
if (text:find("Лён") and isLien) or text:find("Хлопок") then
for i = 1, 30 do
if text:find("00:" .. (i < 10 and ("0" .. i) or i)) then
table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance})
break
end
end
end
end
мне лень было второй вариант делать, а так просто ctrl c ctrl v, но сути же не меняет🥲Lua:if text:find('этап 2') and text:find('Осталось') then if isLien then if text:find('Лён') then if text:find('00:01') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:02') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:03') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:04') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:05') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:06') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:07') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:08') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:09') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:10') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:11') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:12') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:13') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:14') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:15') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:16') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:17') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:18') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:19') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:20') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:21') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:22') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:23') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:24') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:25') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:26') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:27') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:28') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:29') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:30') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) end end else if text:find('Хлопок') then if text:find('00:01') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:02') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:03') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:04') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:05') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:06') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:07') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:08') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:09') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:10') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:11') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:12') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:13') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:14') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:15') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:16') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:17') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:18') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:19') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:20') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:21') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:22') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:23') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:24') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:25') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:26') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:27') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:28') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:29') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) elseif text:find('00:30') then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) end end
Lua:if text:find('этап 2') and text:find('Осталось') then if (text:find("Лён") and isLien) or text:find("Хлопок") then local timers = {} for i = 1, 30 do if text:find("00:" .. (i < 10 and ("0" .. i) or i)) then table.insert(array, {['position'] = {x, y, z}, ['distance'] = distance}) break end end end end
Я потратил на это минуты двемне лень было второй вариант делать, а так просто ctrl c ctrl v, но сути же не меняет
ну ок, но сути то не меняет.Я потратил на это минуты две
Причем главное сама игра не закрывается, пока я не нажму на ошибке ОКПомогите пожалуйста, не знаю вроде бы все доп контент установил, mimgui samp.lua effil
А ffi inicfg не смог найти, вроде это встроенные в moonloader
При запуске игры вылезает ошибка "Исключение неизвестное программное исключение и циферки всякие"
Ffi и inicfg идёт в комплекте с moonloader. Ты запускаешь бота с обычного сампа или лаунчера Аризоны?Причем главное сама игра не закрывается, пока я не нажму на ошибке ОК
C лаунчера, думаю из за этого проблемаFfi и inicfg идёт в комплекте с moonloader. Ты запускаешь бота с обычного сампа или лаунчера Аризоны?
наоборот, с сампа у меня почему то крашитсяC лаунчера, думаю из за этого проблема
А ты в настройках поставил выключение при изменении позиции сервером?Во время сбора хлопка админ тепнул бота в сторону, флуд альтом продолжился, за что и был забанен.
Возможно, что нетА ты в настройках поставил выключение при изменении позиции сервером?