Декомпиляция скриптов

FYP

Известный
Автор темы
Администратор
1,770
6,006
GVWUrNJ.png
eNo5cSj.png


Общая тема для просьб о помощи в декомпиляциии и декриптованиии скриптов, плагинов и приложений.
Запрещено просить о декомпиляции/декриптовании софта, выставленного на продажу на нашем сайте.

Рекомендации:
  1. Сначала воспользуйтесь поиском по теме и по форуму, возможно его в декомпилированном виде или с исходным кодом уже выкладывали у нас на сайте.
  2. Попытайтесь декомпилировать самостоятельно: CLEO - декриптор, декомпилятор; AHK - распаковщик .exe; LuaJIT - декомпилятор1, декомпилятор2.
  3. Просить о декомпиляции .asi, .sf, .dll, .exe почти бесполезно, часто такие просьбы остаются без ответа и вряд ли вам это что-то даст. Можете попробовать сами, IDA Pro или Ghidra к вашим услугам.
    • Это не касается .exe, которые являются скомпилированными AutoHotKey-скриптами (.ahk).
  4. Добавьте название скрипта к сообщению, если оно известно - это поможет другим пользователям найти его с помощью поиска.
  5. Сообщения по типу "спасибо, помог" по правилам форума считаются флудом и скорее всего будут удалены. Если вам помогли, вы можете нажать кнопку Мне нравится под ответом - это даст понять, что ответ верный.
 
Последнее редактирование:

TheBadZero

Gachi Solider
Проверенный
395
194
как скомпилировать эту хуйнб, она не видит опкоды нормально, даже при установленном SF на SB
 

™ ChipFamily

По ту сторону надежды.
5,143
1,992
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Декомп плиз для изучения
Lua:
script_name("Killer 1337")
script_version("1.0")
script_author("Useful_User")

events = require("samp.events")
state = false

function main()
    while not isSampAvailable() do
        wait(100)
    end

    sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Скрипт загружен! Автор скрипта: {f5c011}Useful_User{FFFFFF}.", -1)
    sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Активация: {e66730}/killer [id] {ffffff}, {e66730}/killercar [id]", -1)
    sampRegisterChatCommand("killer", Killer)
    sampRegisterChatCommand("killercar", KillerCar)

    while true do
        wait(0)
    end
end

function Killer(slot0)
    if state then
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Вы прекратили работу скрипта!", -1)

        state = false
    elseif not slot0:match("%d+") then
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}ИД не обнаружен. Используй: {e66730}/killer [id]", -1)
    elseif sampIsPlayerConnected(slot0) then
        result, handle = sampGetCharHandleBySampPlayerId(slot0)

        if result then
            state = true

            sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Начинаю постепенно убивать игрока с ид - " .. slot0, -1)
        else
            sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Игрок не в зоне стрима!", -1)
        end
    else
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Игрока с ID - {ffa600}" .. slot0 .. " {FFFFFF}нету на сервере.", -1)
    end
end

function KillerCar(slot0)
    if state then
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Вы прекратили работу скрипта!", -1)

        state = false
    elseif not slot0:match("%d+") then
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}ИД не обнаружен. Используй: {e66730}/killercar [id]", -1)
    elseif sampIsPlayerConnected(slot0) then
        result, handle = sampGetCharHandleBySampPlayerId(slot0)

        if result then
            state = true

            sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Начинаю постепенно ломать транспорт игрока - " .. slot0, -1)
        else
            sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Игрок с машиной не в зоне стрима!", -1)
        end
    else
        sampAddChatMessage("{ffa600}[Killer 1337] {FFFFFF}Игрока с ID - {ffa600}" .. slot0 .. " {FFFFFF}нету на сервере.", -1)
    end
end

function events.onSendPlayerSync(slot0)
    if state and isCharOnFoot(PLAYER_PED) and not isCharDead(handle) then
        sx, sy, sz = getCharCoordinates(handle)
        MyX, MyY, MyZ = getCharCoordinates(PLAYER_PED)

        if getDistanceBetweenCoords3d(sx, sy, sz, MyX, MyY, MyZ) < 30 then
            slot0.position = {
                x = sx,
                y = sy,
                z = sz
            }
            slot0.moveSpeed.x = math.random(-0.5, 0.5) * 2
            slot0.moveSpeed.y = math.random(-0.5, 0.5) * 2
            slot0.moveSpeed.z = math.random(-0.5, 0.5) * 2
        end
    end
end
 
501
96
дек плеаз! Уже видел такой скрипт но при комплицяции вылетяет хня ОШИБКА на пол экрана! просьба помощииииии...... ДАйте норм кодик)
 

Вложения

  • ChangeLogo by Dapo Show.cs
    5 KB · Просмотры: 3

ГОХА | GoxaShow

от слова "на заказ" падаю в обморок и посылаю нахй
Проверенный
1,942
1,982
кулити, плиз
 

Вложения

  • NalogChecker.cs
    18.3 KB · Просмотры: 9

Useful_User

Потрачен
66
27
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Декомпил нужен. С целью изучения функций и подобного.
 

Вложения

  • u4u lua, da.luac
    5.8 KB · Просмотры: 5

™ ChipFamily

По ту сторону надежды.
5,143
1,992
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Декомпил нужен. С целью изучения функций и подобного.
Lua:
slot0 = require("vector3d")

function _()
    return false
end

slot1 = 110
slot2 = 5
slot3 = false
slot5 = false
slot6 = renderCreateFont("Century Gothic", 13, 10)
slot7 = false
slot8 = -1
slot9 = 21
slot10 = 0
slot11, slot12 = getScreenResolution()

function getTargetBlipCoordinatesFixed()
    slot0, slot1, slot2, slot3 = getTargetBlipCoordinates()

    if not slot0 then
        return false
    end

    requestCollision(slot1, slot2)
    loadScene(slot1, slot2, slot3)

    slot8, slot9, slot10, slot11 = getTargetBlipCoordinates()

    return slot4, slot5, slot6, slot7
end

require("lib.samp.events").onSendPlayerSync = function (slot0)
    uv0 = math.sqrt(slot0.moveSpeed.x^2 + slot0.moveSpeed.y^2 + slot0.moveSpeed.z^2) * 140

    if uv1 then
        slot1.x = uv2 / 140
        slot1.y = 0
        slot1.z = -1
    end
end

function secundomer()
    print("1")

    while true do
        wait(0)

        if uv0 == 1 then
            wait(100)
            printString(0 + 0.1, 2000)
        elseif uv0 == 0 then
            slot0 = 0
        end
    end
end

function main()
    while not isSampAvailable() do
        wait(0)
    end

    sampRegisterChatCommand("poehali", sup)
    lua_thread.create(secundomer)

    while true do
        wait(0)

        while uv0 do
            wait(uv1)

            uv2 = 1
            isBlipExists, blipX, blipY, blipZ = getTargetBlipCoordinates()

            if isBlipExists then
                requestCollision(blipX, blipY)

                blipZ = getGroundZFor3dCoord(blipX, blipY, blipZ)
                blipZ = blipZ + 5.9855
            else
                sampAddChatMessage("ћетка на карте отсутствует", 6586937)

                uv0 = false

                freezeCharPositionAndDontLoadCollision(playerPed, false)
            end

            freezeCharPositionAndDontLoadCollision(playerPed, true)

            slot0, slot1, slot2 = GetCoordinates()
            vx = blipX - slot0
            vy = blipY - slot1
            vz = blipZ - slot2
            slot3 = uv3(vx, vy, vz)

            slot3:normalize()
            teleportPlayer(slot0 + slot3.x * uv4, slot1 + slot3.y * uv4, slot2 + slot3.z * uv4)

            slot11, slot12, slot13 = GetCoordinates()
            mamagdeya = getDistanceBetweenCoords3d(blipX, blipY, blipZ, slot4, slot5, slot6)

            if mamagdeya < uv4 then
                wait(uv1)
                teleportPlayer(blipX, blipY, blipZ)

                uv0 = false
                uv5 = false
                uv2 = 0

                freezeCharPositionAndDontLoadCollision(playerPed, false)
            end
        end
    end
end

function sup()
    uv0 = not uv0

    if uv0 then
        uv1 = 30

        print("21")
    end

    sampAddChatMessage("летим в пизду с помощью скрипта отча¤вшегос¤ скриптера", -1)

    isBlipExists, blipX, blipY, blipZ = getTargetBlipCoordinates()

    if isBlipExists then
        uv2 = true
    else
        sampAddChatMessage("ћетка на карте отсутствует", 6586937)
    end
end

function SetAngle(slot0, slot1, slot2)
    slot3, slot4, slot5 = GetCoordinates()

    if isCharInAnyCar(playerPed) then
        setCarHeading(storeCarCharIsInNoSave(playerPed), getHeadingFromVector2d(slot6, slot7))
    else
        setCharHeading(playerPed, slot8)
    end

    restoreCameraJumpcut()
end

function GetCoordinates()
    if isCharInAnyCar(playerPed) then
        return getCarCoordinates(storeCarCharIsInNoSave(playerPed))
    else
        return getOffsetFromCharInWorldCoords(playerPed, 0, 0, 0.2855)
    end
end

function teleportPlayer(slot0, slot1, slot2)
    if isCharInAnyCar(playerPed) then
        setCharCoordinates(playerPed, slot0, slot1, slot2)
    end

    setCharCoordinatesDontResetAnim(playerPed, slot0, slot1, slot2)
end

function setCharCoordinatesDontResetAnim(slot0, slot1, slot2, slot3)
    if doesCharExist(slot0) then
        setEntityCoordinates(getCharPointer(slot0), slot1, slot2, slot3)
    end
end

function setEntityCoordinates(slot0, slot1, slot2, slot3)
    if slot0 ~= 0 and readMemory(slot0 + 20, 4, false) ~= 0 then
        writeMemory(slot4 + 48 + 0, 4, representFloatAsInt(slot1), false)
        writeMemory(slot4 + 48 + 4, 4, representFloatAsInt(slot2), false)
        writeMemory(slot4 + 48 + 8, 4, representFloatAsInt(slot3), false)
    end
end