Lua [ARZ]Automatic harvesting | SA:MP 0.3.7

MrCold

Активный
Автор темы
364
118
[ARZ]Automatic harvesting


И так, по просьбе одного человека я сделал автоматический сбор урожая для проекта Arizona Role Play. Конечно, внешний вид немного страдает просто потому что мне было впадлу, но скрипт будет в дальнейшем разрабатываться. (возможно)

Описание: скрипт за вас добывает ресурсы (хлопок и лён). Для этого нужно активировать скрипт и подойти к одному из ресурсов.

Команды: /authar - активировать/деактивировать скрипт.
/authar_menu - меню самого скрипта.

Зависимости: IMGUI, EVENTS.

Большое спасибо Павлу Небоженко за предоставленный аккаунт. И спасибо Александру Белову за предложенную идею.

26.05.19 - Релиз.
28.05.19 -
1) Изменён внешний вид скрипта.
2) Добавлена возможность изменять задержку и логировать её в чате.
3) Добавлено изменение темы IMGUI на свой вкус
4) Исправлена невозможность использовать чат при добыче урожая
 

Вложения

  • Automatic Harvesting.luac
    7.1 KB · Просмотры: 176
  • AutomaticHarvestingV2.luac
    14.3 KB · Просмотры: 385
Последнее редактирование:

joksar3228

Новичок
5
3
не работает, какой мунлоадер нужен? и какие могут быть причины неисправности?
 

joksar3228

Новичок
5
3
[20:40:01.902900] (system) Session started.
[20:40:02.150404] (debug) Module handle: 6EFF0000

MoonLoader v.026.5-beta loaded.
Developers: FYP, hnnssy, EvgeN 1137

Copyright (c) 2016, BlastHack Team
https://www.blast.hk/moonloader/

[20:40:02.150404] (info) Working directory: D:\GTA San Andreas MultiPlayer\moonloader
[20:40:02.182905] (debug) FP Control: 0009001F
[20:40:02.182905] (debug) Game: GTA SA 1.0.0.0 US
[20:40:02.182905] (system) Installing pre-game hooks...
[20:40:03.297922] (system) Hooks installed.
[20:40:17.466179] (debug) Initializing opcode handler table
[20:40:17.487180] (debug) package.path = D:\GTA San Andreas MultiPlayer\moonloader\lib\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\lib\?\init.lua;D:\GTA San Andreas MultiPlayer\moonloader\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\?\init.lua;.\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\lib\?.luac;D:\GTA San Andreas MultiPlayer\moonloader\lib\?\init.luac;D:\GTA San Andreas MultiPlayer\moonloader\?.luac;D:\GTA San Andreas MultiPlayer\moonloader\?\init.luac;.\?.luac
[20:40:17.487180] (debug) package.cpath = D:\GTA San Andreas MultiPlayer\moonloader\lib\?.dll;
[20:40:17.488180] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\123.luac'...
[20:40:17.569185] (debug) New script: 0185C10C
[20:40:17.852201] (system) 123.luac: Loaded successfully.
[20:40:17.852201] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\Automatic Harvesting.luac'...
[20:40:17.852201] (debug) New script: 0186257C
[20:40:17.896204] (error) Automatic Harvesting.luac: ...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac:0: module 'imgui' not found:
no field package.preload['imgui']
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui\init.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui\init.lua'
no file '.\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui\init.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui\init.luac'
no file '.\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.dll'
stack traceback:
[C]: in function 'require'
...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac: in function <...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac:0>
[20:40:17.896204] (error) Automatic Harvesting.luac: Script died due to an error. (0186257C)
[20:40:17.897204] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\roulette.luac'...
[20:40:17.897204] (debug) New script: 0186257C
[20:40:17.940206] (system) Roulette: Loaded successfully.
[20:40:17.940206] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\roulette025.luac'...
[20:40:17.941206] (debug) New script: 01862704
[20:40:17.952207] (error) roulette025.luac: D:\GTA San Andreas MultiPlayer\moonloader\roulette025.luac: cannot load incompatible bytecode
[20:40:17.952207] (error) roulette025.luac: Script died due to an error. (01862704)
[20:40:17.952207] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac'...
[20:40:17.953207] (debug) New script: 01862704
[20:40:18.047212] (error) MDX | TRAIN BOT: D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac:0: module 'lib.requests' not found:
no field package.preload['lib.requests']
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests\init.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests\init.lua'
no file '.\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests\init.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests\init.luac'
no file '.\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.dll'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib.dll'
stack traceback:
[C]: in function 'require'
D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac: in function <D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac:0>
 

MrCold

Активный
Автор темы
364
118
[20:40:01.902900] (system) Session started.
[20:40:02.150404] (debug) Module handle: 6EFF0000

MoonLoader v.026.5-beta loaded.
Developers: FYP, hnnssy, EvgeN 1137

Copyright (c) 2016, BlastHack Team
https://www.blast.hk/moonloader/

[20:40:02.150404] (info) Working directory: D:\GTA San Andreas MultiPlayer\moonloader
[20:40:02.182905] (debug) FP Control: 0009001F
[20:40:02.182905] (debug) Game: GTA SA 1.0.0.0 US
[20:40:02.182905] (system) Installing pre-game hooks...
[20:40:03.297922] (system) Hooks installed.
[20:40:17.466179] (debug) Initializing opcode handler table
[20:40:17.487180] (debug) package.path = D:\GTA San Andreas MultiPlayer\moonloader\lib\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\lib\?\init.lua;D:\GTA San Andreas MultiPlayer\moonloader\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\?\init.lua;.\?.lua;D:\GTA San Andreas MultiPlayer\moonloader\lib\?.luac;D:\GTA San Andreas MultiPlayer\moonloader\lib\?\init.luac;D:\GTA San Andreas MultiPlayer\moonloader\?.luac;D:\GTA San Andreas MultiPlayer\moonloader\?\init.luac;.\?.luac
[20:40:17.487180] (debug) package.cpath = D:\GTA San Andreas MultiPlayer\moonloader\lib\?.dll;
[20:40:17.488180] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\123.luac'...
[20:40:17.569185] (debug) New script: 0185C10C
[20:40:17.852201] (system) 123.luac: Loaded successfully.
[20:40:17.852201] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\Automatic Harvesting.luac'...
[20:40:17.852201] (debug) New script: 0186257C
[20:40:17.896204] (error) Automatic Harvesting.luac: ...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac:0: module 'imgui' not found:
no field package.preload['imgui']
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui\init.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui\init.lua'
no file '.\imgui.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui\init.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\imgui\init.luac'
no file '.\imgui.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\imgui.dll'
stack traceback:
[C]: in function 'require'
...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac: in function <...Andreas MultiPlayer\moonloader\Automatic Harvesting.luac:0>
[20:40:17.896204] (error) Automatic Harvesting.luac: Script died due to an error. (0186257C)
[20:40:17.897204] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\roulette.luac'...
[20:40:17.897204] (debug) New script: 0186257C
[20:40:17.940206] (system) Roulette: Loaded successfully.
[20:40:17.940206] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\roulette025.luac'...
[20:40:17.941206] (debug) New script: 01862704
[20:40:17.952207] (error) roulette025.luac: D:\GTA San Andreas MultiPlayer\moonloader\roulette025.luac: cannot load incompatible bytecode
[20:40:17.952207] (error) roulette025.luac: Script died due to an error. (01862704)
[20:40:17.952207] (system) Loading script 'D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac'...
[20:40:17.953207] (debug) New script: 01862704
[20:40:18.047212] (error) MDX | TRAIN BOT: D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac:0: module 'lib.requests' not found:
no field package.preload['lib.requests']
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests\init.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests\init.lua'
no file '.\lib\requests.lua'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests\init.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\requests\init.luac'
no file '.\lib\requests.luac'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib\requests.dll'
no file 'D:\GTA San Andreas MultiPlayer\moonloader\lib\lib.dll'
stack traceback:
[C]: in function 'require'
D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac: in function <D:\GTA San Andreas MultiPlayer\moonloader\TRAIN BOT.luac:0>
 
  • Нравится
Реакции: joksar3228 и Salisburry

MrCold

Активный
Автор темы
364
118
Обновление 28.05.19:
1) Изменён внешний вид скрипта.
2) Добавлена возможность изменять задержку и логировать её в чате.
3) Добавлено изменение темы IMGUI на свой вкус
4) Исправлена невозможность использовать чат при добыче урожая

Видео:
 

Вложения

  • AutomaticHarvestingV2.luac
    14.3 KB · Просмотры: 32