Lua MoonMod

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

WhyExtern

Участник
73
12
PHP:
    if not isInVeh then
        if isFuncEnabled('FastWalk') then
            local power = getFuncExtra('FastWalk')
            if isKeyDown(0xBB) then
                if FastWalk_multiplier < 15 then FastWalk_multiplier = FastWalk_multiplier + math.floor(5 * fpsCorrection()) / 100 end
                postNotification(string.format('FastWalk speed: %.2f', FastWalk_multiplier))
            elseif isKeyDown(0xBD) then
                if FastWalk_multiplier > 1 then FastWalk_multiplier = FastWalk_multiplier - math.floor(5 * fpsCorrection()) / 100 end
                postNotification(string.format('FastWalk speed: %.2f', FastWalk_multiplier))
            end
            for k,v in pairs(Anims_1) do setCharAnimSpeed(playerPed, v, FastWalk_multiplier) end
        end
     
        if isFuncEnabled('NoFall') then
            if isCharPlayingAnim(playerPed, 'KO_SKID_BACK') or isCharPlayingAnim(playerPed, 'FALL_COLLAPSE') then
                local x, y, z = getCharCoordinates(playerPed)
                setCharCoordinates(playerPed, x, y, z - 1)
            end
        end
    end
end

в конец скрипта
может конечно еще надо будет какую то функцию к нему взять , хз . Впадлу смотреть.
не это не то
 

WhyExtern

Участник
73
12
Мне кажется что должно быть вот так но все ровно не робит, крипта даже в списке нет, крашит до начала работы
Код:
bool gm =false
if isKeyJustPressed(VK_INSERT)then-- inv
       if gm == false then
            setCharProofs(playerPed,true,true,true,true,true)
            writeMemory(0x96916E,1,1,false)
           if isInVeh then
                setCarProofs(veh,true,true,true,true,true)
           end
            gm = true
       else
            setCharProofs(playerPed,false,false,false,false,false)
            writeMemory(0x96916E,1,0,false)
           if isInVeh then
                setCarProofs(veh,false,false,false,false,false)
           end
          gm = false
       end
end
  
function doCheatWork()
    local isInVeh = isCharInAnyCar(playerPed)
    local veh = nil
    if isInVeh then veh = storeCarCharIsInNoSave(playerPed) end
       
    if isFuncEnabled('Inv') then
        if isInVeh then
            setCarProofs(veh, true, true, true, true, true)
        end
        if isCharDead(playerPed) then
            switchFunc('Inv')
            postNotification('inv disabled')
        end
    end
    end

Код:
function doFastCheatWork()
    local isInVeh = isCharInAnyCar(playerPed)
    local veh = nil
    if isInVeh then veh = storeCarCharIsInNoSave(playerPed) end
Пробуй, возможно не то, с телефона не удобно работать (
Все не то блин
 
Последнее редактирование модератором:

4el0ve4ik

Известный
Всефорумный модератор
1,548
1,338
Мне кажется что должно быть вот так но все ровно не робит, крипта даже в списке нет, крашит до начала работы
Код:
bool gm =false
if isKeyJustPressed(VK_INSERT)then-- inv
       if gm == false then
            setCharProofs(playerPed,true,true,true,true,true)
            writeMemory(0x96916E,1,1,false)
           if isInVeh then
                setCarProofs(veh,true,true,true,true,true)
           end
            gm = true
       else
            setCharProofs(playerPed,false,false,false,false,false)
            writeMemory(0x96916E,1,0,false)
           if isInVeh then
                setCarProofs(veh,false,false,false,false,false)
           end
          gm = false
       end
end
 
function doCheatWork()
    local isInVeh = isCharInAnyCar(playerPed)
    local veh = nil
    if isInVeh then veh = storeCarCharIsInNoSave(playerPed) end
      
    if isFuncEnabled('Inv') then
        if isInVeh then
            setCarProofs(veh, true, true, true, true, true)
        end
        if isCharDead(playerPed) then
            switchFunc('Inv')
            postNotification('inv disabled')
        end
    end
    end
Лог кинь
 

WhyExtern

Участник
73
12
Код:
[13:00:22.357659] (system)    Session started.
[13:00:22.357659] (debug)    Module handle: 637A0000.

MoonLoader v.015-alpha loaded.
Developers: FYP, hnnssy, EvgeN 1137

© BlastHack Team, 2016
https://www.blast.hk

[13:00:22.357659] (info)    Working directory: "C:\Games\Grand Theft Auto - San Andreas\moonloader"
[13:00:22.357659] (debug)    FP Control: 9001f
[13:00:22.357659] (system)    Installing pre-game hooks...     OK.
[13:00:22.817637] (debug)    Initializing opcode handler table
[13:00:22.817637] (debug)    package.path = .\?.lua;C:\Games\Grand Theft Auto - San Andreas\moonloader\lib\?.lua;C:\Games\Grand Theft Auto - San Andreas\moonloader\lib\?\init.lua;C:\Games\Grand Theft Auto - San Andreas\moonloader\?.lua;C:\Games\Grand Theft Auto - San Andreas\moonloader\?\init.lua
[13:00:22.817637] (debug)    package.cpath = .\?.dll;C:\Games\Grand Theft Auto - San Andreas\moonloader\lib\?.dll;C:\Games\Grand Theft Auto - San Andreas\moonloader\?.dll
[13:00:22.817637] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\Anti-DriverKillByDarkP1xel.lua'...
[13:00:22.817637] (debug)    New thread: 08A9EBF4
[13:00:22.819959] (system)    Anti-DriverKill: Loaded successfully.
[13:00:22.819959] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\autoreload.lua'...
[13:00:22.819959] (debug)    New thread: 08A9ED9C
[13:00:22.821461] (system)    ML-AutoReload: Loaded successfully.
[13:00:22.821461] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\clickwarp.lua'...
[13:00:22.821461] (debug)    New thread: 092304D4
[13:00:22.824462] (system)    Click Warp: Loaded successfully.
[13:00:22.824462] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\FastGang.lua'...
[13:00:22.824462] (debug)    New thread: 0923067C
[13:00:22.825963] (system)    FastGang: Loaded successfully.
[13:00:22.825963] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\GM.lua'...
[13:00:22.826463] (debug)    New thread: 09230824
[13:00:22.826463] (system)    GM.lua: Thread terminated (09230824)
[13:00:22.826463] (error)    C:\Games\Grand Theft Auto - San Andreas\moonloader\GM.lua:10: '=' expected near 'gm'
[13:00:22.826963] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\hbar.lua'...
[13:00:22.826963] (debug)    New thread: 09230824
[13:00:22.826963] (script)    hbar.lua: * /lua/ hBAR loaded // hnnssy
[13:00:22.828464] (system)    hbar.lua: Loaded successfully.
[13:00:22.828464] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\pkmh.lua'...
[13:00:22.828464] (debug)    New thread: 092309CC
[13:00:22.830467] (system)    Easy-rp: Loaded successfully.
[13:00:22.830467] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\reload_all.lua'...
[13:00:22.830977] (debug)    New thread: 0923123C
[13:00:22.831969] (system)    ML-ReloadAll: Loaded successfully.
[13:00:22.831969] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\scriptManager.lua'...
[13:00:22.831969] (debug)    New thread: 09230EEC
[13:00:22.835470] (system)    ScriptManager: Loaded successfully.
[13:00:22.835470] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\SF Integration.lua'...
[13:00:22.835470] (debug)    New thread: 092313E4
[13:00:22.837472] (system)    SAMPFUNCS Integration: Loaded successfully.
[13:00:27.257781] (system)    Installing post-load hooks...     OK.
[13:00:27.257781] (debug)    Add thread 01C630A0 to SCM-thread queue
[13:00:28.730717] (debug)    Add thread 06CFD9F8 to SCM-thread queue
[13:00:29.467164] (debug)    Add thread 0F5644D8 to SCM-thread queue
[13:00:45.290128] (system)    Anti-DriverKill: Thread terminated (08A9EBF4)
[13:00:45.290627] (system)    ML-AutoReload: Thread terminated (08A9ED9C)
[13:00:45.290627] (system)    Click Warp: Thread terminated (092304D4)
[13:00:45.291128] (system)    FastGang: Thread terminated (0923067C)
[13:00:45.291627] (system)    hbar.lua: Thread terminated (09230824)
[13:00:45.291627] (debug)    Remove thread 0F5644D8 from SCM-thread queue
[13:00:45.292128] (system)    Easy-rp: Thread terminated (092309CC)
[13:00:45.292629] (system)    ML-ReloadAll: Thread terminated (0923123C)
[13:00:45.292629] (system)    ScriptManager: Thread terminated (09230EEC)
[13:00:45.293130] (debug)    Remove thread 06CFD9F8 from SCM-thread queue
[13:00:45.293630] (system)    SAMPFUNCS Integration: Thread terminated (092313E4)
[13:00:45.293630] (debug)    Remove thread 01C630A0 from SCM-thread queue
[13:00:45.294629] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\Anti-DriverKillByDarkP1xel.lua'...
[13:00:45.294629] (debug)    New thread: 0F2BDFC4
[13:00:45.296132] (system)    Anti-DriverKill: Loaded successfully.
[13:00:45.296132] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\autoreload.lua'...
[13:00:45.296132] (debug)    New thread: 0F2BCF34
[13:00:45.297633] (system)    ML-AutoReload: Loaded successfully.
[13:00:45.297633] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\clickwarp.lua'...
[13:00:45.297633] (debug)    New thread: 0F2BD0DC
[13:00:45.300331] (system)    Click Warp: Loaded successfully.
[13:00:45.300331] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\FastGang.lua'...
[13:00:45.300831] (debug)    New thread: 0F2BD5D4
[13:00:45.302332] (system)    FastGang: Loaded successfully.
[13:00:45.302332] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\GM.lua'...
[13:00:45.302332] (debug)    New thread: 0923123C
[13:00:45.302832] (system)    GM.lua: Thread terminated (0923123C)
[13:00:45.302832] (error)    C:\Games\Grand Theft Auto - San Andreas\moonloader\GM.lua:10: '=' expected near 'gm'
[13:00:45.302832] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\hbar.lua'...
[13:00:45.302832] (debug)    New thread: 0923123C
[13:00:45.302832] (script)    hbar.lua: * /lua/ hBAR loaded // hnnssy
[13:00:45.304333] (system)    hbar.lua: Loaded successfully.
[13:00:45.304333] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\pkmh.lua'...
[13:00:45.304333] (debug)    New thread: 09230EEC
[13:00:45.305834] (system)    Easy-rp: Loaded successfully.
[13:00:45.305834] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\reload_all.lua'...
[13:00:45.306335] (debug)    New thread: 092313E4
[13:00:45.307335] (system)    ML-ReloadAll: Loaded successfully.
[13:00:45.307335] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\scriptManager.lua'...
[13:00:45.307335] (debug)    New thread: 1F629244
[13:00:45.310380] (system)    ScriptManager: Loaded successfully.
[13:00:45.310380] (system)    Loading script 'C:\Games\Grand Theft Auto - San Andreas\moonloader\SF Integration.lua'...
[13:00:45.310380] (debug)    New thread: 1F62A12C
[13:00:45.312381] (system)    SAMPFUNCS Integration: Loaded successfully.
[13:00:45.377309] (debug)    Add thread 01C630A0 to SCM-thread queue
[13:00:45.407603] (debug)    Add thread 18A48708 to SCM-thread queue
[13:00:45.407603] (debug)    Add thread 092A1A48 to SCM-thread queue

ахахах кажется я понял почему скрипт не работает
Нет начала

EvgeN 1137 поготи вырезать GM и GM car с активацие\деактивацией
А то все пробуют помочь но ни чей код не работает
 
Последнее редактирование модератором:

eelyus

Новичок
5
0
половина функций плохо работает : сбив анимки, анфриз - просто застреваю в воздухе; резкий разворот - разворот то работает, но потом включается спидках на фулл и меня кикает за подозрение, резкий выход из тачки - мешает когда допустим пишешь в чат
 

exp.smith

Участник
59
3
Кто может помочь запустить Lua файлы через инжектор?
И возможно ли вообще запустить, если asi файл не будет находится в папке с игрой
 

Amhmmm

Известный
41
48
Можешь заменить клавишу от сюда?
" F12 - отключить мунмод "
Чтоб было как чит-код (Как в GTA SA), и чтоб в чат ничего не выходило при активации и деактивации. Поставь код: "moonmod"
 
Статус
В этой теме нельзя размещать новые ответы.