Ошибка rkeys в скрипте

NOWLEX

Участник
Автор темы
41
3
Версия MoonLoader
.026-beta
Написал скрипт и не понимаю в чем проблема. После нескольких минут игры, скрипт перестает работать и выдает ошибку в консоли
C:\gtawki\gta\moonloader\lib\rkeys.lua: in function <C:\gtawki\gta\moonloader\lib\rkeys.lua:89>
[23:12:11.038815] (error) Binder: Script died due to an error. (3C6D3FDC)

Вот код самого скрипта, подскажите в чем может быть проблема
Lua:
__name__    = "dhelper"
__version__ = "1.0"
__author__    = "nowlex"

require "lib.moonloader" -- подключение библиотеки moonloader
local samp = require 'samp.events'
local sampev = require 'lib.samp.events'
local keys = require "vkeys"
local wm = require 'lib.windows.message'
local mem = require "memory"
local samprak = require 'lib.samp.raknet'
local inicfg = require 'inicfg'
local settingsFile = 'dhelper.ini'
local ini = inicfg.load({
    Bullet =
        {
            AmountPt=25
        }
}, settingsFile)
if not doesFileExist('moonloader/config/'..settingsFile) then inicfg.save(ini, settingsFile) end
local rkeys = require 'rkeys'
local imgui = require "imgui"
local encoding = require "encoding"
encoding.default = "CP1251"
u8 = encoding.UTF8

local AmountPtInput = imgui.ImInt(ini.Bullet.AmountPt)
local show_amountpt_settings = imgui.ImBool(false)

imgui.ToggleButton = require('imgui_addons').ToggleButton
imgui.HotKey = require('imgui_addons').HotKey
imgui.Spinner = require('imgui_addons').Spinner
imgui.BufferingBar = require('imgui_addons').BufferingBar

local tLastKeys = {}

local ActiveClockMenu = {
    v = decodeJson("[18,51]")
}


local main_window_state = imgui.ImBool(false)
check_status = imgui.ImBool(false)
check_status1 = imgui.ImBool(false)
local vkontakte = imgui.ImBool(false)

local dead = false

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(100) end
    sampRegisterChatCommand('dhelper',dhelper)
    imgui.Process = false
    bindClock = rkeys.registerHotKey(ActiveClockMenu.v, true, clockFunc)
    wait(100)
    sampAddChatMessage('{FF5656}[DHelper]: {FFFFFF}Загружен! {FF5656} Автор: Nowlex', -1)

    while true do
        wait(0)

        if check_status.v then
            if isCharDead(PLAYER_PED) and not dead then
                wait(500)
                sampSendChat('/us 15')
                wait(1001)
                sampSendChat('/us 15')
                dead = true -- чтобы не флудило
            elseif not isCharDead(PLAYER_PED) and dead then
                dead = false
            end
        end
    end
end

function sampev.onShowDialog(id, style, title, b1,b2,text)
    if check_status1.v then
        if title:find("{FFFFFF}Выход | {ae433d}Транспорт") then
            sampSendDialogResponse(id, 1, 0)
            lua_thread.create(function()
                wait(300)
                result, id = sampGetPlayerIdByCharHandle(PLAYER_PED)
                sampSendChat("/sellgun deagle " .. ini.Bullet.AmountPt .. " 5 " .. id)
            end)
            return false
        end
    end
end

function dhelper(arg)
    main_window_state.v = not main_window_state.v
    imgui.Process = main_window_state.v
end

function theme()
    imgui.SwitchContext()
    local style = imgui.GetStyle()
    local colors = style.Colors
    local clr = imgui.Col
    local ImVec4 = imgui.ImVec4
    local ImVec2 = imgui.ImVec2

    style.WindowPadding = imgui.ImVec2(8, 8)
    style.WindowRounding = 6
    style.ChildWindowRounding = 5
    style.FramePadding = imgui.ImVec2(5, 3)
    style.FrameRounding = 3.0
    style.ItemSpacing = imgui.ImVec2(5, 4)
    style.ItemInnerSpacing = imgui.ImVec2(4, 4)
    style.IndentSpacing = 21
    style.ScrollbarSize = 10.0
    style.ScrollbarRounding = 13
    style.GrabMinSize = 8
    style.GrabRounding = 1
    style.WindowTitleAlign = imgui.ImVec2(0.5, 0.5)
    style.ButtonTextAlign = imgui.ImVec2(0.5, 0.5)

    colors[clr.Text]                   = ImVec4(0.95, 0.96, 0.98, 1.00);
    colors[clr.TextDisabled]           = ImVec4(0.29, 0.29, 0.29, 1.00);
    colors[clr.WindowBg]               = ImVec4(0.14, 0.14, 0.14, 1.00);
    colors[clr.ChildWindowBg]          = ImVec4(0.12, 0.12, 0.12, 1.00);
    colors[clr.PopupBg]                = ImVec4(0.08, 0.08, 0.08, 0.94);
    colors[clr.Border]                 = ImVec4(0.14, 0.14, 0.14, 1.00);
    colors[clr.BorderShadow]           = ImVec4(1.00, 1.00, 1.00, 0.10);
    colors[clr.FrameBg]                = ImVec4(0.22, 0.22, 0.22, 1.00);
    colors[clr.FrameBgHovered]         = ImVec4(0.18, 0.18, 0.18, 1.00);
    colors[clr.FrameBgActive]          = ImVec4(0.09, 0.12, 0.14, 1.00);
    colors[clr.TitleBg]                = ImVec4(0.14, 0.14, 0.14, 0.81);
    colors[clr.TitleBgActive]          = ImVec4(0.14, 0.14, 0.14, 1.00);
    colors[clr.TitleBgCollapsed]       = ImVec4(0.00, 0.00, 0.00, 0.51);
    colors[clr.MenuBarBg]              = ImVec4(0.20, 0.20, 0.20, 1.00);
    colors[clr.ScrollbarBg]            = ImVec4(0.02, 0.02, 0.02, 0.39);
    colors[clr.ScrollbarGrab]          = ImVec4(0.36, 0.36, 0.36, 1.00);
    colors[clr.ScrollbarGrabHovered]   = ImVec4(0.18, 0.22, 0.25, 1.00);
    colors[clr.ScrollbarGrabActive]    = ImVec4(0.24, 0.24, 0.24, 1.00);
    colors[clr.ComboBg]                = ImVec4(0.24, 0.24, 0.24, 1.00);
    colors[clr.CheckMark]              = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.SliderGrab]             = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.SliderGrabActive]       = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.Button]                 = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.ButtonHovered]          = ImVec4(1.00, 0.39, 0.39, 1.00);
    colors[clr.ButtonActive]           = ImVec4(1.00, 0.21, 0.21, 1.00);
    colors[clr.Header]                 = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.HeaderHovered]          = ImVec4(1.00, 0.39, 0.39, 1.00);
    colors[clr.HeaderActive]           = ImVec4(1.00, 0.21, 0.21, 1.00);
    colors[clr.ResizeGrip]             = ImVec4(1.00, 0.28, 0.28, 1.00);
    colors[clr.ResizeGripHovered]      = ImVec4(1.00, 0.39, 0.39, 1.00);
    colors[clr.ResizeGripActive]       = ImVec4(1.00, 0.19, 0.19, 1.00);
    colors[clr.CloseButton]            = ImVec4(0.40, 0.39, 0.38, 0.16);
    colors[clr.CloseButtonHovered]     = ImVec4(0.40, 0.39, 0.38, 0.39);
    colors[clr.CloseButtonActive]      = ImVec4(0.40, 0.39, 0.38, 1.00);
    colors[clr.PlotLines]              = ImVec4(0.61, 0.61, 0.61, 1.00);
    colors[clr.PlotLinesHovered]       = ImVec4(1.00, 0.43, 0.35, 1.00);
    colors[clr.PlotHistogram]          = ImVec4(1.00, 0.21, 0.21, 1.00);
    colors[clr.PlotHistogramHovered]   = ImVec4(1.00, 0.18, 0.18, 1.00);
    colors[clr.TextSelectedBg]         = ImVec4(1.00, 0.32, 0.32, 1.00);
    colors[clr.ModalWindowDarkening]   = ImVec4(0.26, 0.26, 0.26, 0.60);
end
theme()

function imgui.OnDrawFrame()
    
    if main_window_state.v == false then
        imgui.Process = false
    end

    local sw, sh = getScreenResolution()
    imgui.SetNextWindowPos(imgui.ImVec2(sw / 2, sh / 2), imgui.Cond.FirstUseEver, imgui.ImVec2(0.5, 0.5))
    imgui.SetNextWindowSize(imgui.ImVec2(260, 150), imgui.Cond.FirstUseEver)

    imgui.Begin("DHelper", main_window_state, imgui.WindowFlags.NoResize + imgui.WindowFlags.NoCollapse)

    imgui.Checkbox(u8"АвтоНарко после смерти", check_status)

    imgui.Checkbox(u8"Крафт оружия при выходе с ДНК", check_status1)

    imgui.Text(u8'Кол-во патрон для крафта')
        if imgui.InputInt('##inputint0', AmountPtInput) then
            ini.Bullet.AmountPt = AmountPtInput.v
            inicfg.save(ini, settingsFile)
        end

    imgui.SameLine()
    imgui.SetCursorPos(imgui.ImVec2(225, 120))
    imgui.TextDisabled('Info')
    if imgui.IsItemHovered() then
        imgui.BeginTooltip()
        imgui.PushTextWrapPos(450)
        imgui.TextUnformatted('Author: '..__author__..'\nVersion: '..__version__)
        imgui.PopTextWrapPos()
        imgui.EndTooltip()
    end
    imgui.End()
end
 

William_Roses

Активный
260
26
насчет ркейс хз, но иникфг мне кажется лучше сделать не так,
local ini = inicfg.load({ Bullet = { AmountPt=25 } }, settingsFile)
а так
Lua:
local ini = inicfg.load({
    Bullet =
        {
            AmountPt=25
        }
}, 'settingsFile.ini')
inicfg.save(ini, 'settingsFile')
upd:
После добавления этого скрипта к себе поиграв 10 минут пока что ничего не произошло
 
Последнее редактирование:

NOWLEX

Участник
Автор темы
41
3
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: 0x7A440000.
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 "Reconnect+.sf" loaded.
samp.dll base addres: 0x03EF0000
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:\gtawki\LOW PC GTA\moonloader
[ML] (system) Installing pre-game hooks...
[ML] (system) Hooks installed.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AntiZeroAmmo.luac'...
[ML] (system) AntiZeroAmmo.luac: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Custom_NameTags (v 2.0).lua'...
[ML] (system) Custom NameTags: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Dhelper.lua'...
[ML] (system) Dhelper.lua: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\fogdist.lua'...
[ML] (system) fogdist.lua: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\GhettoHelper.luac'...
[ML] (system) GhettoHelper.luac: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Player_Remover.lua'...
[ML] (system) Player Remover: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\ugenrl.lua'...
[ML] (system) ugenrl.lua: Loaded successfully.
[ML] (system) Installing post-load hooks...
[ML] (system) Hooks installed.
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!
RegisterCommand Error: Command "clearchat" already exists.
RegisterCommand Error: Command "gc" already exists.
[ML] (system) AntiZeroAmmo.luac: Script terminated. (01CB8B24)
[ML] (system) ML-AutoReboot: Script terminated. (01CB957C)
[ML] (system) Custom NameTags: Script terminated. (01CB9A94)
[ML] (system) Dhelper.lua: Script terminated. (0E9641CC)
[ML] (system) fogdist.lua: Script terminated. (0E94A77C)
[ML] (system) GhettoHelper.luac: Script terminated. (0E94B90C)
[ML] (system) Player Remover: Script terminated. (0E94BA94)
[ML] (system) ML-ReloadAll: Script terminated. (0E9ADFE4)
[ML] (system) SF Integration: Script terminated. (0E9ADE5C)
[ML] (system) ugenrl.lua: Script terminated. (0E9AE16C)
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AntiZeroAmmo.luac'...
[ML] (system) AntiZeroAmmo.luac: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AutoReboot.lua'...
[ML] (system) ML-AutoReboot: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Custom_NameTags (v 2.0).lua'...
[ML] (system) Custom NameTags: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Dhelper.lua'...
[ML] (system) Dhelper.lua: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\dnkhelper.lua'...
[ML] (system) DNK Helper: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\fogdist.lua'...
[ML] (system) fogdist.lua: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\GhettoHelper.luac'...
[ML] (system) GhettoHelper.luac: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Player_Remover.lua'...
[ML] (system) Player Remover: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\reload_all.lua'...
[ML] (system) ML-ReloadAll: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\SF Integration.lua'...
[ML] (system) SF Integration: Loaded successfully.
[ML] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\ugenrl.lua'...
[ML] (system) ugenrl.lua: Loaded successfully.
RegisterCommand Error: Command "gc" already exists.
[ML] (error) Dhelper.lua: C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua:106: attempt to call field 'callback' (a nil value)
stack traceback:
C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua: in function <C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua:89>
[ML] (error) Dhelper.lua: Script died due to an error. (0E9ADE5C)

[18:59:07.427438] (system) Session started.
[18:59:07.427438] (debug) Module handle: 79FF0000

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

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

[18:59:07.427438] (info) Working directory: C:\gtawki\LOW PC GTA\moonloader
[18:59:07.427438] (debug) FP Control: 0009001F
[18:59:07.427438] (debug) Game: GTA SA 1.0.0.0 US
[18:59:07.427438] (system) Installing pre-game hooks...
[18:59:07.429411] (system) Hooks installed.
[18:59:07.877246] (debug) Initializing opcode handler table
[18:59:07.877246] (debug) package.path = C:\gtawki\LOW PC GTA\moonloader\lib\?.lua;C:\gtawki\LOW PC GTA\moonloader\lib\?\init.lua;C:\gtawki\LOW PC GTA\moonloader\?.lua;C:\gtawki\LOW PC GTA\moonloader\?\init.lua;.\?.lua;C:\gtawki\LOW PC GTA\moonloader\lib\?.luac;C:\gtawki\LOW PC GTA\moonloader\lib\?\init.luac;C:\gtawki\LOW PC GTA\moonloader\?.luac;C:\gtawki\LOW PC GTA\moonloader\?\init.luac;.\?.luac
[18:59:07.877246] (debug) package.cpath = C:\gtawki\LOW PC GTA\moonloader\lib\?.dll;
[18:59:07.877246] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AntiZeroAmmo.luac'...
[18:59:07.877246] (debug) New script: 01CB8B24
[18:59:07.895245] (system) AntiZeroAmmo.luac: Loaded successfully.
[18:59:07.895245] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AutoReboot.lua'...
[18:59:07.895245] (debug) New script: 01CB957C
[18:59:07.896246] (system) ML-AutoReboot: Loaded successfully.
[18:59:07.896246] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Custom_NameTags (v 2.0).lua'...
[18:59:07.896246] (debug) New script: 01CB9A94
[18:59:07.899247] (system) Custom NameTags: Loaded successfully.
[18:59:07.899247] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Dhelper.lua'...
[18:59:07.899247] (debug) New script: 0E9641CC
[18:59:07.907246] (system) Dhelper.lua: Loaded successfully.
[18:59:07.907246] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\fogdist.lua'...
[18:59:07.907246] (debug) New script: 0E94A77C
[18:59:07.908271] (system) fogdist.lua: Loaded successfully.
[18:59:07.908271] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\GhettoHelper.luac'...
[18:59:07.908271] (debug) New script: 0E94B90C
[18:59:07.934241] (system) GhettoHelper.luac: Loaded successfully.
[18:59:07.934241] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Player_Remover.lua'...
[18:59:07.934241] (debug) New script: 0E94BA94
[18:59:07.945240] (system) Player Remover: Loaded successfully.
[18:59:07.945240] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\reload_all.lua'...
[18:59:07.945240] (debug) New script: 0E9ADFE4
[18:59:07.946240] (system) ML-ReloadAll: Loaded successfully.
[18:59:07.946240] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\SF Integration.lua'...
[18:59:07.946240] (debug) New script: 0E9ADE5C
[18:59:07.947239] (system) SF Integration: Loaded successfully.
[18:59:07.947239] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\ugenrl.lua'...
[18:59:07.947239] (debug) New script: 0E9AE16C
[18:59:07.951238] (system) ugenrl.lua: Loaded successfully.
[18:59:08.851239] (system) Installing post-load hooks...
[18:59:08.851239] (system) Hooks installed.
[19:01:11.812186] (system) AntiZeroAmmo.luac: Script terminated. (01CB8B24)
[19:01:11.813186] (system) ML-AutoReboot: Script terminated. (01CB957C)
[19:01:11.813186] (system) Custom NameTags: Script terminated. (01CB9A94)
[19:01:11.813186] (system) Dhelper.lua: Script terminated. (0E9641CC)
[19:01:11.815186] (system) fogdist.lua: Script terminated. (0E94A77C)
[19:01:11.815186] (system) GhettoHelper.luac: Script terminated. (0E94B90C)
[19:01:11.816185] (system) Player Remover: Script terminated. (0E94BA94)
[19:01:11.817228] (system) ML-ReloadAll: Script terminated. (0E9ADFE4)
[19:01:11.817228] (system) SF Integration: Script terminated. (0E9ADE5C)
[19:01:11.818186] (system) ugenrl.lua: Script terminated. (0E9AE16C)
[19:01:11.818186] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AntiZeroAmmo.luac'...
[19:01:11.818186] (debug) New script: 0E9ADCD4
[19:01:11.835186] (system) AntiZeroAmmo.luac: Loaded successfully.
[19:01:11.835186] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\AutoReboot.lua'...
[19:01:11.835186] (debug) New script: 0E9AE2F4
[19:01:11.835186] (system) ML-AutoReboot: Loaded successfully.
[19:01:11.835186] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Custom_NameTags (v 2.0).lua'...
[19:01:11.835186] (debug) New script: 0E9AD6B4
[19:01:11.838141] (system) Custom NameTags: Loaded successfully.
[19:01:11.838141] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Dhelper.lua'...
[19:01:11.838141] (debug) New script: 0E9ADE5C
[19:01:11.846113] (system) Dhelper.lua: Loaded successfully.
[19:01:11.846113] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\dnkhelper.lua'...
[19:01:11.846113] (debug) New script: 0E9AE16C
[19:01:11.850226] (system) DNK Helper: Loaded successfully.
[19:01:11.850226] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\fogdist.lua'...
[19:01:11.850226] (debug) New script: 0E9AD83C
[19:01:11.850226] (system) fogdist.lua: Loaded successfully.
[19:01:11.850226] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\GhettoHelper.luac'...
[19:01:11.850226] (debug) New script: 0E9ADFE4
[19:01:11.876238] (system) GhettoHelper.luac: Loaded successfully.
[19:01:11.876238] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\Player_Remover.lua'...
[19:01:11.876238] (debug) New script: 22B357E4
[19:01:11.887261] (system) Player Remover: Loaded successfully.
[19:01:11.887261] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\reload_all.lua'...
[19:01:11.887261] (debug) New script: 22B3534C
[19:01:11.887261] (system) ML-ReloadAll: Loaded successfully.
[19:01:11.887261] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\SF Integration.lua'...
[19:01:11.887261] (debug) New script: 22B35C7C
[19:01:11.889129] (system) SF Integration: Loaded successfully.
[19:01:11.889129] (system) Loading script 'C:\gtawki\LOW PC GTA\moonloader\ugenrl.lua'...
[19:01:11.889129] (debug) New script: 22B3596C
[19:01:11.892128] (system) ugenrl.lua: Loaded successfully.
[19:04:40.168098] (error) Dhelper.lua: C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua:106: attempt to call field 'callback' (a nil value)
stack traceback:
C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua: in function <C:\gtawki\LOW PC GTA\moonloader\lib\rkeys.lua:89>
[19:04:40.168098] (error) Dhelper.lua: Script died due to an error. (0E9ADE5C)
 

NOWLEX

Участник
Автор темы
41
3
поиграв с твоим скриптом плюс минус часа 2 я уже забыл о нем, за 2 часа не разу не крашнуло. мб либы у тебя х#йня
там именно когда используешь его функции, я вот капчусь когда, через несколько минут скрипт просто перестает работать, я открываю консоль и там ошибка

я сначала думал что проблема в ркейсе самом, скачал заного, обе версии поставил, все равно так же