Lua ScriptPatrol Lua | Автоматический биндер

Статус
В этой теме нельзя размещать новые ответы.

Foxy01

Известный
283
125
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1)
Compiled: Dec 24 2018 03:13:37

Copyright (c) 2013-2018, BlastHack Team <blast.hk>

Base address: 0x61020000.
Initializing opcodes...
Opcodes initialized successfully. Total opcodes: 382.
Hook "CTimer::GetRealTimeScale" installed.
Hook "CPad::Update" installed.
Hook "CCamera::RenderMotionBlur" installed.
Hook "CScriptThread::AddScriptToQueue" installed.
Hook "CScriptThread::RemoveScriptFromQueue" installed.
Hook "CScriptThread::Process" installed.
Hook "WinMainLoop" installed.
Hook "CLoadingScreen::RenderSplash" installed.
Hook "CVehicle::CVehicle" installed.
Hook "CVehicle::~CVehicle" installed.
Hook "CPed::CPed" installed.
Hook "CPed::~CPed" installed.
Initializing plugins...
SF Plugin "speech.sf" loaded.
samp.dll base addres: 0x03BB0000
Hook "SAMP: CNetGame::CNetGame" installed.
Hook "SAMP: CDialog::Close" installed.
Hook "SAMP: QuitGame" installed.
Hook "SAMP: CCmdWindow::ProcessInput" installed.
[ML] (system) Session started.
[ML]
MoonLoader v.026.5-beta loaded.
[ML] Developers: FYP, hnnssy, EvgeN 1137

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

[ML] (info) Working directory: C:\Games\GTA NFS EDITION emexD low graphic\moonloader
[ML] (system) Installing pre-game hooks...
[ML] (system) Hooks installed.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\BufferCleanerAuto.lua'...
[ML] (system) BufferCleanerAuto.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\Chat MImGui 7.0.lua'...
[ML] (system) Chat MImGui: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\chatutils.lua'...
[ML] (system) chatutils: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\check-moonloader-updates.lua'...
[ML] (system) Check MoonLoader Updates: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\dialog_imgui.lua'...
[ML] (system) dialog_imgui.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\dmginf.lua'...
[ML] (system) dmginf.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\imgui_notf.lua'...
[ML] (system) imgui_notf.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\InputHelper.lua'...
[ML] (system) Input Helper: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\renderobjects.lua'...
[ML] (system) renderobjects.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\SP.luac'...
[ML] (system) ScriptPatrol Lua Beta: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\spSet.lua'...
[ML] (system) spSet.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\Sweet Connect.lua'...
[ML] (system) Sweet Connect.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\TimerOnline.lua'...
[ML] (system) TimerOnline.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\UltraFuck_2.33.luac'...
[ML] (system) UltraFuck: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\VehicleTools.lua'...
[ML] (exception) VehicleTools: error reading ini file: C:\Games\GTA NFS EDITION emexD low graphic\moonloader\config\VehicleTools.ini(1): '=' character not found in line
[ML] (system) VehicleTools: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\áûñòðàÿ çàãðóçêà.lua'...
[ML] (system) áûñòðàÿ çàãðóçêà: Loaded successfully.
[ML] (system) Installing post-load hooks...
[ML] (system) Hooks installed.
[ML] (script) chatutils: +------------chatutils------------+
[ML] (script) chatutils: | Version: 0.2.5 by Laine_prikol |
[ML] (script) chatutils: | Licensed under MIT License |
[ML] (script) chatutils: | 2018 - https://blast.hk |
[ML] (script) chatutils: | Please, dont clear author name! |
[ML] (script) chatutils: +---------------------------------+
Direct3DDevice9 hook installed.
Hook "SAMP: RakPeer::HandleRPCPacket" installed.
Initializing SAMP data...
Info initialized.
Pools initialized.
Player pool initialized.
Vehicle pool initialized.
Chat initialized.
Input initialized.
Death list initialized.
Dialog initialized.
Misc data initialized.
Scoreboard initialized.
RakNet initialized.
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1) completely loaded!
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\config\UltraFuck\Scripts\speed.lua'...
[ML] (system) speed.lua: Loaded successfully.
>> UltraFuck: Îáíîâëåíèÿ íå áûëè íàéäåíû, òåêóùàÿ âåðñèÿ 2.33
[ML] (error) ScriptPatrol Lua Beta: [string "..."]:0: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
[string "..."]: in function 'SPDownloads'
[string "..."]: in function <[string "..."]:0>
[ML] (error) ScriptPatrol Lua Beta: Script died due to an error. (0A9B082C)
 

GrezeeBal

Известный
Автор темы
Проверенный
1,611
941
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1)
Compiled: Dec 24 2018 03:13:37

Copyright (c) 2013-2018, BlastHack Team <blast.hk>

Base address: 0x61020000.
Initializing opcodes...
Opcodes initialized successfully. Total opcodes: 382.
Hook "CTimer::GetRealTimeScale" installed.
Hook "CPad::Update" installed.
Hook "CCamera::RenderMotionBlur" installed.
Hook "CScriptThread::AddScriptToQueue" installed.
Hook "CScriptThread::RemoveScriptFromQueue" installed.
Hook "CScriptThread::Process" installed.
Hook "WinMainLoop" installed.
Hook "CLoadingScreen::RenderSplash" installed.
Hook "CVehicle::CVehicle" installed.
Hook "CVehicle::~CVehicle" installed.
Hook "CPed::CPed" installed.
Hook "CPed::~CPed" installed.
Initializing plugins...
SF Plugin "speech.sf" loaded.
samp.dll base addres: 0x03BB0000
Hook "SAMP: CNetGame::CNetGame" installed.
Hook "SAMP: CDialog::Close" installed.
Hook "SAMP: QuitGame" installed.
Hook "SAMP: CCmdWindow::ProcessInput" installed.
[ML] (system) Session started.
[ML]
MoonLoader v.026.5-beta loaded.
[ML] Developers: FYP, hnnssy, EvgeN 1137

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

[ML] (info) Working directory: C:\Games\GTA NFS EDITION emexD low graphic\moonloader
[ML] (system) Installing pre-game hooks...
[ML] (system) Hooks installed.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\BufferCleanerAuto.lua'...
[ML] (system) BufferCleanerAuto.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\Chat MImGui 7.0.lua'...
[ML] (system) Chat MImGui: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\chatutils.lua'...
[ML] (system) chatutils: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\check-moonloader-updates.lua'...
[ML] (system) Check MoonLoader Updates: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\dialog_imgui.lua'...
[ML] (system) dialog_imgui.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\dmginf.lua'...
[ML] (system) dmginf.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\imgui_notf.lua'...
[ML] (system) imgui_notf.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\InputHelper.lua'...
[ML] (system) Input Helper: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\renderobjects.lua'...
[ML] (system) renderobjects.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\SP.luac'...
[ML] (system) ScriptPatrol Lua Beta: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\spSet.lua'...
[ML] (system) spSet.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\Sweet Connect.lua'...
[ML] (system) Sweet Connect.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\TimerOnline.lua'...
[ML] (system) TimerOnline.lua: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\UltraFuck_2.33.luac'...
[ML] (system) UltraFuck: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\VehicleTools.lua'...
[ML] (exception) VehicleTools: error reading ini file: C:\Games\GTA NFS EDITION emexD low graphic\moonloader\config\VehicleTools.ini(1): '=' character not found in line
[ML] (system) VehicleTools: Loaded successfully.
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\áûñòðàÿ çàãðóçêà.lua'...
[ML] (system) áûñòðàÿ çàãðóçêà: Loaded successfully.
[ML] (system) Installing post-load hooks...
[ML] (system) Hooks installed.
[ML] (script) chatutils: +------------chatutils------------+
[ML] (script) chatutils: | Version: 0.2.5 by Laine_prikol |
[ML] (script) chatutils: | Licensed under MIT License |
[ML] (script) chatutils: | 2018 - https://blast.hk |
[ML] (script) chatutils: | Please, dont clear author name! |
[ML] (script) chatutils: +---------------------------------+
Direct3DDevice9 hook installed.
Hook "SAMP: RakPeer::HandleRPCPacket" installed.
Initializing SAMP data...
Info initialized.
Pools initialized.
Player pool initialized.
Vehicle pool initialized.
Chat initialized.
Input initialized.
Death list initialized.
Dialog initialized.
Misc data initialized.
Scoreboard initialized.
RakNet initialized.
SAMPFUNCS v5.4.1-final rel.21 (SA-MP 0.3.7-R1) completely loaded!
[ML] (system) Loading script 'C:\Games\GTA NFS EDITION emexD low graphic\moonloader\config\UltraFuck\Scripts\speed.lua'...
[ML] (system) speed.lua: Loaded successfully.
>> UltraFuck: Îáíîâëåíèÿ íå áûëè íàéäåíû, òåêóùàÿ âåðñèÿ 2.33
[ML] (error) ScriptPatrol Lua Beta: [string "..."]:0: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
[string "..."]: in function 'SPDownloads'
[string "..."]: in function <[string "..."]:0>
[ML] (error) ScriptPatrol Lua Beta: Script died due to an error. (0A9B082C)
 

djorek

Известный
21
1
можно как-нить взять число из текстдрава и провести с ним ряд математических операций?
 

djorek

Известный
21
1
точнее взять число то можно, а как-нибудь прибавить\разделить\умножить его
 

GrezeeBal

Известный
Автор темы
Проверенный
1,611
941
К примеру: есть текстдрав №2141 "777" и как мне "777" из этого текстдрава разделить на "7".
<{"math":"??? / 7"}>
Как вместо "???" запихнуть цифру из текстдрава №2141 "777". Это возможно?
Возможно. Поищи в группе ВК соответствующую переменную (не уверен, что такая есть). Если не найдешь - у тебя есть возможность написать или попросить чтобы написали переменную, которая будет возвращать текст из текстдрава
 

djorek

Известный
21
1
есть пер
Возможно. Поищи в группе ВК соответствующую переменную (не уверен, что такая есть). Если не найдешь - у тебя есть возможность написать или попросить чтобы написали переменную, которая будет возвращать текст из текстдрава
<{"textdrawtext":"2057;1"}> - считывает текстдрав и по номеру возвращает слово. Только как это совместить с переменной math
<{"math":"??? / 7"}> внутрь одной переменной не засунуть ж вторую?
<{"textdrawtext":"2057;1"}> = "???" - нужное нам значение, а как его разделить или умножить и т.д. я не понимаю
в этом собсна и заключался вопрос, как это сделать и возможно ли (
 

GrezeeBal

Известный
Автор темы
Проверенный
1,611
941
есть пер

<{"textdrawtext":"2057;1"}> - считывает текстдрав и по номеру возвращает слово. Только как это совместить с переменной math
<{"math":"??? / 7"}> внутрь одной переменной не засунуть ж вторую?
<{"textdrawtext":"2057;1"}> = "???" - нужное нам значение, а как его разделить или умножить и т.д. я не понимаю
в этом собсна и заключался вопрос, как это сделать и возможно ли (
/spregvar var {"textdrawtext":"2057;1"}
<{"math":"$var$ / 7"}>
 

GrezeeBal

Известный
Автор темы
Проверенный
1,611
941
он ругается из-за синтаксиса
Попробуй так:
/spregvar var <{"textdrawtext":"2057;1"}>
<{"math":"$var$/7"}>

Если не заработает - почитай инструкции по функциональным переменным в группе, а именно как делать двойные переменные.
Не поймёшь - пиши в ЛС группы (пиши только после прочтения инструкции)
 
  • Нравится
Реакции: djorek

djorek

Известный
21
1
Спасибо за помощь! Получилось. Только через два бинда и через <{"math":{"paramcmd":"2-4"}}>
 
Статус
В этой теме нельзя размещать новые ответы.