В чем проблема?

  • Автор темы Удалённый пользователь 439480
  • Дата начала
У

Удалённый пользователь 439480

Гость
Автор темы
Не пойму в чем проблема, после нажатия кнопки попросту крашит скрипт. vkeys - есть, мунлоадер лог ниже, код тоже.
Код:
            local tLastOne = {}
            if imguiad.HotKey("##ActiveOne", ofHotkeys.LeaveReconWindow, tLastOne, 100) then
                rkeys.changeHotKey(BindLeaveReconWindow, ofHotkeys.LeaveReconWindow.v)                   
                cfg.LeaveReconWindow = deepcopy(ofHotkeys.LeaveReconWindow.v)
                luasave()
            end imgui.SameLine() imgui.Text(u8"Выйти из рекона [/reoff]")
            local tLastTwo = {}
        if imguiad.HotKey("##ActiveTwo", ofHotkeys.whEnabled, tLastTwo, 100) then
                rkeys.changeHotKey(BindwhEnabled, ofHotkeys.whEnabled.v)                   
                cfg.whEnabled = deepcopy(ofHotkeys.whEnabled.v)
                 luasave()
            end imgui.SameLine() imgui.Text(u8'Что-то хз что')
            local tLastThree = {}
            if imguiad.HotKey("##ActiveThree", ofHotkeys.openHomeWindow, tLastThree, 100) then
                rkeys.changeHotKey(BindopenHomeWindow, ofHotkeys.openHomeWindow.v)                   
                cfg.openHomeWindow = deepcopy(ofHotkeys.openHomeWindow.v)
                luasave()
            end  imgui.SameLine() imgui.Text(u8'Открыть основное окно')
            local tLastFour = {}
            if imguiad.HotKey("##ActiveFour", ofHotkeys.openAutoReport, tLastFour, 100) then
                rkeys.changeHotKey(BindopenAutoReport, ofHotkeys.openAutoReport.v)                   
                cfg.openAutoReport = deepcopy(ofHotkeys.openAutoReport.v)
                luasave()
            end imgui.SameLine() imgui.Text(u8'Открыть авто-репорт')
            local tLastFive = {}
            if imguiad.HotKey("##ActiveFive", ofHotkeys.enabledTracers, tLastFive, 100) then
                rkeys.changeHotKey(BindenabledTracers, ofHotkeys.enabledTracers.v)                   
                cfg.enabledTracers = deepcopy(ofHotkeys.enabledTracers.v)
                luasave()
            end imgui.SameLine() imgui.Text(u8'Вкл/выкл трейсеры пуль')
        end

14:35:31.776088] (system) Session started.
[14:35:31.777063] (debug) Module handle: 5E270000

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

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

[14:35:31.777063] (info) Working directory: D:\Games\GTA San Andreas\moonloader
[14:35:31.777063] (debug) FP Control: 0009001F
[14:35:31.778049] (debug) Game: GTA SA 1.0.0.0 US
[14:35:31.778049] (system) Installing pre-game hooks...
[14:35:31.780979] (system) Hooks installed.
[14:35:36.617748] (debug) Initializing opcode handler table
[14:35:36.617748] (debug) package.path = D:\Games\GTA San Andreas\moonloader\lib\?.lua;D:\Games\GTA San Andreas\moonloader\lib\?\init.lua;D:\Games\GTA San Andreas\moonloader\?.lua;D:\Games\GTA San Andreas\moonloader\?\init.lua;.\?.lua;D:\Games\GTA San Andreas\moonloader\lib\?.luac;D:\Games\GTA San Andreas\moonloader\lib\?\init.luac;D:\Games\GTA San Andreas\moonloader\?.luac;D:\Games\GTA San Andreas\moonloader\?\init.luac;.\?.luac
[14:35:36.617748] (debug) package.cpath = D:\Games\GTA San Andreas\moonloader\lib\?.dll;
[14:35:36.622141] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:35:36.622630] (debug) New script: 01ECD60C
[14:35:37.423877] (system) AdminTools.lua: Loaded successfully.
[14:35:37.423877] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AutoReboot.lua'...
[14:35:37.423877] (debug) New script: 01ECC09C
[14:35:37.427791] (system) ML-AutoReboot: Loaded successfully.
[14:35:37.428768] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\check-moonloader-updates.lua'...
[14:35:37.428768] (debug) New script: 01ECCB54
[14:35:37.446335] (system) Check MoonLoader Updates: Loaded successfully.
[14:35:37.447322] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\GameFixer.lua'...
[14:35:37.447322] (debug) New script: 01ECCCDC
[14:35:37.611371] (system) GameFixer.lua: Loaded successfully.
[14:35:37.611371] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\Ghw Speedometer.lua'...
[14:35:37.611371] (debug) New script: 0BC52C0C
[14:35:37.758830] (system) GHW Speedometer: Loaded successfully.
[14:35:37.758830] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\HassleHUD_v3.lua'...
[14:35:37.758830] (debug) New script: 0BC51B34
[14:35:37.823276] (system) HassleHUD_v3.lua: Loaded successfully.
[14:35:37.823276] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\InputHelper.lua'...
[14:35:37.823276] (debug) New script: 0BC52A84
[14:35:37.842819] (system) Input Helper: Loaded successfully.
[14:35:37.842819] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\lock.lua'...
[14:35:37.842819] (debug) New script: 0BC51FCC
[14:35:37.857466] (system) Helper ARZP: Loaded successfully.
[14:35:37.857466] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\money_separator.lua'...
[14:35:37.857466] (debug) New script: 0BC52154
[14:35:37.881871] (system) money_separator.lua: Loaded successfully.
[14:35:37.881871] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\reload_all.lua'...
[14:35:37.881871] (debug) New script: 0BC525EC
[14:35:37.893589] (system) ML-ReloadAll: Loaded successfully.
[14:35:37.893589] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\setWeather&Time.lua'...
[14:35:37.893589] (debug) New script: 0BC528FC
[14:35:37.918011] (system) setWeather&Time: Loaded successfully.
[14:35:37.918011] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\SF Integration.lua'...
[14:35:37.918011] (debug) New script: 0BC519AC
[14:35:37.934604] (system) SF Integration: Loaded successfully.
[14:35:53.253513] (system) Installing post-load hooks...
[14:35:53.253513] (system) Hooks installed.
[14:35:55.905769] (script) HassleHUD_v3.lua: ICON 19 NOT FOUND
[14:35:55.905769] (script) HassleHUD_v3.lua: ICON 20 NOT FOUND
[14:35:55.905769] (script) HassleHUD_v3.lua: ICON 21 NOT FOUND
[14:36:40.159881] (script) GHW Speedometer: {5082E1}[GHW Speedometer]: {FFFFFF}Скрипт работает только на сервере: {5082E1}GHW {FFFFFF}Project.
[14:36:40.706250] (system) GHW Speedometer: Script terminated. (0BC52C0C)
[14:37:23.661094] (script) ML-AutoReboot: Reloading "AdminTools.lua"...
[14:37:23.727498] (system) AdminTools.lua: Script terminated. (01ECD60C)
[14:37:23.733352] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:37:23.734327] (debug) New script: 0BC52774
[14:37:23.786088] (system) AdminTools.lua: Loaded successfully.
[14:38:31.732419] (script) ML-AutoReboot: Reloading "AdminTools.lua"...
[14:38:31.754869] (system) AdminTools.lua: Script terminated. (0BC52774)
[14:38:31.759824] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:38:31.759824] (debug) New script: 0BC5353C
[14:38:31.809068] (system) AdminTools.lua: Loaded successfully.
[14:45:11.496992] (script) ML-AutoReboot: Reloading "AdminTools.lua"...
[14:45:12.432014] (system) AdminTools.lua: Script terminated. (0BC5353C)
[14:45:12.436899] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:45:12.437880] (debug) New script: 0BC52774
[14:45:12.489634] (system) AdminTools.lua: Loaded successfully.
[14:49:27.279132] (script) ML-AutoReboot: Reloading "AdminTools.lua"...
[14:49:27.301108] (system) AdminTools.lua: Script terminated. (0BC52774)
[14:49:27.307943] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:49:27.307943] (debug) New script: 0BC52C0C
[14:49:27.358724] (system) AdminTools.lua: Loaded successfully.
[14:50:51.178552] (error) AdminTools.lua: D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua:106: attempt to call field 'callback' (a boolean value)
stack traceback:
D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua: in function <D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua:89>
[14:50:51.180501] (error) AdminTools.lua: Script died due to an error. (0BC52C0C)
[14:50:54.297593] (system) ML-AutoReboot: Script terminated. (01ECC09C)
[14:50:54.298084] (system) Check MoonLoader Updates: Script terminated. (01ECCB54)
[14:50:54.299061] (system) GameFixer.lua: Script terminated. (01ECCCDC)
[14:50:54.301987] (system) HassleHUD_v3.lua: Script terminated. (0BC51B34)
[14:50:54.312734] (system) Input Helper: Script terminated. (0BC52A84)
[14:50:54.313706] (system) Helper ARZP: Script terminated. (0BC51FCC)
[14:50:54.314682] (system) money_separator.lua: Script terminated. (0BC52154)
[14:50:54.316635] (system) ML-ReloadAll: Script terminated. (0BC525EC)
[14:50:54.316635] (system) setWeather&Time: Script terminated. (0BC528FC)
[14:50:54.317614] (system) SF Integration: Script terminated. (0BC519AC)
[14:50:54.318590] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AdminTools.lua'...
[14:50:54.318590] (debug) New script: 0BC51B34
[14:50:54.376203] (system) AdminTools.lua: Loaded successfully.
[14:50:54.376203] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\AutoReboot.lua'...
[14:50:54.376203] (debug) New script: 0BC51E44
[14:50:54.378156] (system) ML-AutoReboot: Loaded successfully.
[14:50:54.378156] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\check-moonloader-updates.lua'...
[14:50:54.378156] (debug) New script: 0BC519AC
[14:50:54.383530] (system) Check MoonLoader Updates: Loaded successfully.
[14:50:54.383530] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\GameFixer.lua'...
[14:50:54.384016] (debug) New script: 0BC52A84
[14:50:54.433332] (system) GameFixer.lua: Loaded successfully.
[14:50:54.433332] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\Ghw Speedometer.lua'...
[14:50:54.433332] (debug) New script: 0BC51FCC
[14:50:54.470445] (system) GHW Speedometer: Loaded successfully.
[14:50:54.470445] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\HassleHUD_v3.lua'...
[14:50:54.470445] (debug) New script: 0BC52154
[14:50:54.487046] (system) HassleHUD_v3.lua: Loaded successfully.
[14:50:54.488029] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\InputHelper.lua'...
[14:50:54.488029] (debug) New script: 0BC5353C
[14:50:54.493886] (system) Input Helper: Loaded successfully.
[14:50:54.493886] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\lock.lua'...
[14:50:54.493886] (debug) New script: 0BC52464
[14:50:54.499736] (system) Helper ARZP: Loaded successfully.
[14:50:54.499736] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\money_separator.lua'...
[14:50:54.499736] (debug) New script: 0BC52C0C
[14:50:54.513408] (system) money_separator.lua: Loaded successfully.
[14:50:54.513408] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\reload_all.lua'...
[14:50:54.513408] (debug) New script: 0BC530A4
[14:50:54.515360] (system) ML-ReloadAll: Loaded successfully.
[14:50:54.515360] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\setWeather&Time.lua'...
[14:50:54.516339] (debug) New script: 0BC5322C
[14:50:54.518291] (system) setWeather&Time: Loaded successfully.
[14:50:54.518291] (system) Loading script 'D:\Games\GTA San Andreas\moonloader\SF Integration.lua'...
[14:50:54.518291] (debug) New script: 0BC52774
[14:50:54.523175] (system) SF Integration: Loaded successfully.
[14:50:54.598367] (script) HassleHUD_v3.lua: ICON 19 NOT FOUND
[14:50:54.598367] (script) HassleHUD_v3.lua: ICON 20 NOT FOUND
[14:50:54.598367] (script) HassleHUD_v3.lua: ICON 21 NOT FOUND
[14:50:54.747784] (script) GHW Speedometer: {5082E1}[GHW Speedometer]: {FFFFFF}Скрипт работает только на сервере: {5082E1}GHW {FFFFFF}Project.
[14:50:54.909879] (system) GHW Speedometer: Script terminated. (0BC51FCC)
[14:51:20.079076] (error) AdminTools.lua: D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua:106: attempt to call field 'callback' (a boolean value)
stack traceback:
D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua: in function <D:\Games\GTA San Andreas\moonloader\lib\rkeys.lua:89>
[14:51:20.081018] (error) AdminTools.lua: Script died due to an error. (0BC51B34)