Lua Autologin+Autoreconnect

Perg

Активный
Автор темы
227
32
Версия SA-MP
  1. 0.3.7 (R1)
  2. 0.3.7-R2
  3. 0.3.7-R3
  4. 0.3.7-R4
Всем привет!
Это мой первый скрипт,файл resetRemove.asi в папку с игрой,autoagadada.luac в moonloader,а pass.ini в moonloader/config
Если у вас нету папки config, то создайте! Без .ini работать не будет
@Double Tap Inside помог добавить сюда смену имени,реконнект,смену пароля прямо в игре! Поставьте ему лайк на посты
Сделан под все сервера!
Огромное спасибо @Double Tap Inside это самый крутой чел!
/pin [пинкод от банка]
/pass [пароль от аккаунта]
/name [Ник с которым вы хотите сделать реконнект]
/rec [секунды через сколько произойдет реконнект]
 

Вложения

  • resetRemove.asi
    7 KB · Просмотры: 376
  • pass.ini
    35 байт · Просмотры: 437
  • autoagadada.luac
    3 KB · Просмотры: 461
Последнее редактирование:

Daddyy

Известный
238
53
Закомпилил скрипт, который имеет доступ к нику и паролю, браво.
 

kizn

\ 0 _ 0 /
Всефорумный модератор
2,407
2,108
Закомпилил скрипт, который имеет доступ к нику и паролю, браво.
Модерация все проверяет, и если в скрипте существовало бы автообновление, модератор об этом упомянул бы в теме (по опыту прошлых тем)
 

Perg

Активный
Автор темы
227
32
Почему не через переменные?
потому что я нуб в луа и не шарю во всем этом,если ты умеешь,то помоги пожалуйста со скриптом
Закомпилил скрипт, который имеет доступ к нику и паролю, браво.
хочешь задекомпили и посмотри код
 

Double Tap Inside

Известный
Проверенный
1,916
1,256
Всем привет!
Это мой первый скрипт,все файлы кидать в папку moonloader
Закомпилил,чтобы не мучались от увиденного говнокода

Пароль от банка и аккаунта вводить вводить в moonloader/config/pass.ini
Если у вас нету папки конфиг,то создайте! Без .ini работать не будет
Основа скрипта была взята из темы ниже,а я просто добавил автореконнект! Поставьте ему лайк на тему
Сделан под аризону!

Ищу человека который поможет с скриптом!!!

шо тебе помочь?
 
  • Нравится
Реакции: Perg

fistforflirt

Участник
46
2
Исходник кому надо:
Lua:
function randomFunction    var_11_1.onShowDialog ()
    var_0_1 = 1000 --var_0_1 NUMBER-NUMBER
    wait(var_0_1)
    var_0_2 = 1 --var_0_2 NUMBER-NUMBER
    var_0_3 = -1 --var_0_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_0_0, var_0_2, var_0_3, pass)
    return
end


function randomFunction()
    var_1_1 = 500 --var_1_1 NUMBER-NUMBER
    wait(var_1_1)
    var_1_2 = 1 --var_1_2 NUMBER-NUMBER
    var_1_3 = -1 --var_1_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_1_0, var_1_2, var_1_3, pass)
    return
end


function randomFunction()
    var_2_1 = 500 --var_2_1 NUMBER-NUMBER
    wait(var_2_1)
    var_2_2 = 1 --var_2_2 NUMBER-NUMBER
    var_2_3 = -1 --var_2_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_2_0, var_2_2, var_2_3, pass)
    return
end


function randomFunction()
    var_3_1 = 500 --var_3_1 NUMBER-NUMBER
    wait(var_3_1)
    var_3_2 = 1 --var_3_2 NUMBER-NUMBER
    var_3_3 = -1 --var_3_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_3_0, var_3_2, var_3_3, pin)
    return
end


function someFunc4(INPUT_VAR_0_)
    print(pass)
    if INPUT_VAR_0_ == 0 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        local randomFunction0 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction0)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 1 then
        --jump to 0022 (if previous if statement is false) --0022 JMP-JMP
        local randomFunction1 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction1)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 2 then
        --jump to 0031 (if previous if statement is false) --0031 JMP-JMP
        local randomFunction2 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction2)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 3 then
        --jump to 0040 (if previous if statement is false) --0040 JMP-JMP
        local randomFunction3 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction3)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    return
end


function randomFunction    cmd_rec ()
    sampSetGamestate(GAMESTATE_DISCONNECTED)
    var_5_1 = 0 --var_5_1 NUMBER-NUMBER
    sampDisconnectWithReason(var_5_1)
    var_5_0 = os.clock()
    repeat
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    wait(var_5_2)
    var_5_2 = os.clock()
    var_5_2 = var_5_2 - var_5_0 --var_5_2 NUMBER-NUMBER
    var_5_1 = uget_5_0 - var_5_2 --var_5_1 NUMBER-NUMBER
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    if var_5_2 <= var_5_1 then
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
        var_5_5 = var_5_1
        var_5_4 = math.ceil(var_5_5)
        var_5_3 =  "Reconnect in " .. var_5_4 .. " sec"
        printStringNow(var_5_3)
        --jump to 0010 (if previous if statement is false) --0010 JMP-JMP
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
    else
        --location 0035--0035 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0035
        sampSetGamestate(GAMESTATE_WAIT_CONNECT)
        return
    end
end --REVERSE ME

function someFunc6(INPUT_VAR_0_)
    var_6_2 = INPUT_VAR_0_
    var_6_1 = tonumber(var_6_2)
    if not var_6_1 then
        --jump to 0011 (if previous if statement is false) --0011 JMP-JMP
        var_6_3 = "Х {FFC800}[Autologin]{FFFFFF} /rec [sec]" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_6_4 = 16777215 --var_6_4 NUMBER-NUMBER
        sampAddChatMessage(var_6_3, var_6_4)
    end
    if rec_thread then
        --jump to 0018 (if previous if statement is false) --0018 JMP-JMP
        var_6_3 = rec_thread
        rec_thread.terminate(var_6_3)
    end
    local randomFunction4 = function() end -- starts at  test.lua:0
    var_6_2 = lua_thread.create(randomFunction4)
    rec_thread = var_6_2
    return
    return
end


function randomFunction    cmd_name (INPUT_VAR_0_)
    var_7_1 = INPUT_VAR_0_
    var_7_3 = var_7_1
    var_7_2 = var_7_1.match(var_7_3, "%w")
    if not var_7_2 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        var_7_3 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_7_4 = 16777215 --var_7_4 NUMBER-NUMBER
        sampAddChatMessage(var_7_3, var_7_4)
        return
    end
    var_7_3 = var_7_1
    sampSetLocalPlayerName(var_7_3)
    var_7_2, var_7_3 = sampGetCurrentServerAddress()
    var_7_5 = var_7_2
    var_7_6 = var_7_3
    sampConnectToServer(var_7_5, var_7_6)
    return
end


function randomFunction    cmd_pass (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_8_2 = "Х {FFC800}[Autologin]{FFFFFF} /pass [pas" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_3 = 16777215 --var_8_3 NUMBER-NUMBER
        sampAddChatMessage(var_8_2, var_8_3)
        return
    end
    uget_8_0.config.pass = INPUT_VAR_0_
    pass = uget_8_0.config.pass
    var_8_1 = uget_8_1.save(uget_8_0, uget_8_2)
    if var_8_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕароль сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    end
    return
end


function randomFunction    cmd_pin (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_9_2 = "Х {FFC800}[Autologin]{FFFFFF} /pin [pinc" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_3 = 16777215 --var_9_3 NUMBER-NUMBER
        sampAddChatMessage(var_9_2, var_9_3)
        return
    end
    uget_9_0.config.pin = INPUT_VAR_0_
    pin = uget_9_0.config.pin
    var_9_1 = uget_9_1.save(uget_9_0, uget_9_2)
    if var_9_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕинкод сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    end
    return
end


function randomFunction    main ()
    var_10_0 = isSampfuncsLoaded()
    if var_10_0 then
        --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
        var_10_0 = isSampLoaded()
        if not var_10_0 then
        end -- maybe?
    else
        --location 0009--0009 LOCATION-LOCATION_
        return
    end
    var_10_0 = isSampAvailable()
    if not var_10_0 then
        --jump to 0019 (if previous if statement is false) --0019 JMP-JMP
        repeat
        var_10_1 = 100 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
    else
        --location 0019--0019 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0019
        sampRegisterChatCommand("rec", cmd_rec)
        sampRegisterChatCommand("name", cmd_name)
        sampRegisterChatCommand("pass", cmd_pass)
        sampRegisterChatCommand("pin", cmd_pin)
        until false or (previous if statement is true) --location 0035
        var_10_1 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_10_2 = 16777215 --var_10_2 NUMBER-NUMBER
        sampAddChatMessage(var_10_1, var_10_2)
        repeat
        var_10_1 = 1 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
        var_10_1 = 99 --var_10_1 NUMBER-NUMBER
        var_10_0 = sampGetChatString(var_10_1)
        if var_10_0 ~=  "Server closed the connection." then
            --jump to 0050 (if previous if statement is false) --0050 JMP-JMP
            if var_10_0 ==  "You are banned from this server." then
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                var_10_2 = false --var_10_2 PRIMITIVE-PRIMITIVE
                sampDisconnectWithReason(var_10_2)
                var_10_3 = 11125988 --var_10_3 NUMBER-NUMBER
                sampAddChatMessage("Wait reconnecting...", var_10_3)
                var_10_2 = 15500 --var_10_2 NUMBER-NUMBER
                wait(var_10_2)
                sampSetGamestate(GAMESTATE_WAIT_CONNECT)
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                until false or (previous if statement is true) --location 0064
                return
            end
            
            

function someFunc11()
    script_name("Autologin")
    script_author("Perg")
    script_version("1.0")
    var_11_0, var_11_1 = pcall(require, "lib.samp.events")
    var_11_2 = require("inicfg")
    until false or (previous if statement is true) --location 0019
    var_11_5 = nil --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = "moonloader\config\pass.ini"
    var_11_4 = var_11_2.load(var_11_5, var_11_6)
    var_11_5 = false --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = false --var_11_6 PRIMITIVE-PRIMITIVE
    require("lib.moonloader")
    pass = var_11_4.config.pass
    pin = var_11_4.config.pin
    until false or (previous if statement is true) --location 0035
    require("sampfuncs")
    local randomFunction5 = function() end -- starts at  test.lua:0
    var_11_1.onShowDialog = randomFunction5
    local randomFunction6 = function() end -- starts at  test.lua:0
    cmd_rec = randomFunction6
    local randomFunction7 = function() end -- starts at  test.lua:0
    cmd_name = randomFunction7
    local randomFunction8 = function() end -- starts at  test.lua:0
    cmd_pass = randomFunction8
    local randomFunction9 = function() end -- starts at  test.lua:0
    cmd_pin = randomFunction9
    local randomFunction10 = function() end -- starts at  test.lua:0
    main = randomFunction10
    return
end
 

Perg

Активный
Автор темы
227
32
Исходник кому надо:
Lua:
function randomFunction    var_11_1.onShowDialog ()
    var_0_1 = 1000 --var_0_1 NUMBER-NUMBER
    wait(var_0_1)
    var_0_2 = 1 --var_0_2 NUMBER-NUMBER
    var_0_3 = -1 --var_0_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_0_0, var_0_2, var_0_3, pass)
    return
end


function randomFunction()
    var_1_1 = 500 --var_1_1 NUMBER-NUMBER
    wait(var_1_1)
    var_1_2 = 1 --var_1_2 NUMBER-NUMBER
    var_1_3 = -1 --var_1_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_1_0, var_1_2, var_1_3, pass)
    return
end


function randomFunction()
    var_2_1 = 500 --var_2_1 NUMBER-NUMBER
    wait(var_2_1)
    var_2_2 = 1 --var_2_2 NUMBER-NUMBER
    var_2_3 = -1 --var_2_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_2_0, var_2_2, var_2_3, pass)
    return
end


function randomFunction()
    var_3_1 = 500 --var_3_1 NUMBER-NUMBER
    wait(var_3_1)
    var_3_2 = 1 --var_3_2 NUMBER-NUMBER
    var_3_3 = -1 --var_3_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_3_0, var_3_2, var_3_3, pin)
    return
end


function someFunc4(INPUT_VAR_0_)
    print(pass)
    if INPUT_VAR_0_ == 0 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        local randomFunction0 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction0)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 1 then
        --jump to 0022 (if previous if statement is false) --0022 JMP-JMP
        local randomFunction1 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction1)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 2 then
        --jump to 0031 (if previous if statement is false) --0031 JMP-JMP
        local randomFunction2 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction2)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 3 then
        --jump to 0040 (if previous if statement is false) --0040 JMP-JMP
        local randomFunction3 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction3)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    return
end


function randomFunction    cmd_rec ()
    sampSetGamestate(GAMESTATE_DISCONNECTED)
    var_5_1 = 0 --var_5_1 NUMBER-NUMBER
    sampDisconnectWithReason(var_5_1)
    var_5_0 = os.clock()
    repeat
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    wait(var_5_2)
    var_5_2 = os.clock()
    var_5_2 = var_5_2 - var_5_0 --var_5_2 NUMBER-NUMBER
    var_5_1 = uget_5_0 - var_5_2 --var_5_1 NUMBER-NUMBER
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    if var_5_2 <= var_5_1 then
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
        var_5_5 = var_5_1
        var_5_4 = math.ceil(var_5_5)
        var_5_3 =  "Reconnect in " .. var_5_4 .. " sec"
        printStringNow(var_5_3)
        --jump to 0010 (if previous if statement is false) --0010 JMP-JMP
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
    else
        --location 0035--0035 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0035
        sampSetGamestate(GAMESTATE_WAIT_CONNECT)
        return
    end
end --REVERSE ME

function someFunc6(INPUT_VAR_0_)
    var_6_2 = INPUT_VAR_0_
    var_6_1 = tonumber(var_6_2)
    if not var_6_1 then
        --jump to 0011 (if previous if statement is false) --0011 JMP-JMP
        var_6_3 = "Х {FFC800}[Autologin]{FFFFFF} /rec [sec]" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_6_4 = 16777215 --var_6_4 NUMBER-NUMBER
        sampAddChatMessage(var_6_3, var_6_4)
    end
    if rec_thread then
        --jump to 0018 (if previous if statement is false) --0018 JMP-JMP
        var_6_3 = rec_thread
        rec_thread.terminate(var_6_3)
    end
    local randomFunction4 = function() end -- starts at  test.lua:0
    var_6_2 = lua_thread.create(randomFunction4)
    rec_thread = var_6_2
    return
    return
end


function randomFunction    cmd_name (INPUT_VAR_0_)
    var_7_1 = INPUT_VAR_0_
    var_7_3 = var_7_1
    var_7_2 = var_7_1.match(var_7_3, "%w")
    if not var_7_2 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        var_7_3 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_7_4 = 16777215 --var_7_4 NUMBER-NUMBER
        sampAddChatMessage(var_7_3, var_7_4)
        return
    end
    var_7_3 = var_7_1
    sampSetLocalPlayerName(var_7_3)
    var_7_2, var_7_3 = sampGetCurrentServerAddress()
    var_7_5 = var_7_2
    var_7_6 = var_7_3
    sampConnectToServer(var_7_5, var_7_6)
    return
end


function randomFunction    cmd_pass (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_8_2 = "Х {FFC800}[Autologin]{FFFFFF} /pass [pas" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_3 = 16777215 --var_8_3 NUMBER-NUMBER
        sampAddChatMessage(var_8_2, var_8_3)
        return
    end
    uget_8_0.config.pass = INPUT_VAR_0_
    pass = uget_8_0.config.pass
    var_8_1 = uget_8_1.save(uget_8_0, uget_8_2)
    if var_8_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕароль сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    end
    return
end


function randomFunction    cmd_pin (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_9_2 = "Х {FFC800}[Autologin]{FFFFFF} /pin [pinc" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_3 = 16777215 --var_9_3 NUMBER-NUMBER
        sampAddChatMessage(var_9_2, var_9_3)
        return
    end
    uget_9_0.config.pin = INPUT_VAR_0_
    pin = uget_9_0.config.pin
    var_9_1 = uget_9_1.save(uget_9_0, uget_9_2)
    if var_9_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕинкод сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    end
    return
end


function randomFunction    main ()
    var_10_0 = isSampfuncsLoaded()
    if var_10_0 then
        --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
        var_10_0 = isSampLoaded()
        if not var_10_0 then
        end -- maybe?
    else
        --location 0009--0009 LOCATION-LOCATION_
        return
    end
    var_10_0 = isSampAvailable()
    if not var_10_0 then
        --jump to 0019 (if previous if statement is false) --0019 JMP-JMP
        repeat
        var_10_1 = 100 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
    else
        --location 0019--0019 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0019
        sampRegisterChatCommand("rec", cmd_rec)
        sampRegisterChatCommand("name", cmd_name)
        sampRegisterChatCommand("pass", cmd_pass)
        sampRegisterChatCommand("pin", cmd_pin)
        until false or (previous if statement is true) --location 0035
        var_10_1 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_10_2 = 16777215 --var_10_2 NUMBER-NUMBER
        sampAddChatMessage(var_10_1, var_10_2)
        repeat
        var_10_1 = 1 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
        var_10_1 = 99 --var_10_1 NUMBER-NUMBER
        var_10_0 = sampGetChatString(var_10_1)
        if var_10_0 ~=  "Server closed the connection." then
            --jump to 0050 (if previous if statement is false) --0050 JMP-JMP
            if var_10_0 ==  "You are banned from this server." then
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                var_10_2 = false --var_10_2 PRIMITIVE-PRIMITIVE
                sampDisconnectWithReason(var_10_2)
                var_10_3 = 11125988 --var_10_3 NUMBER-NUMBER
                sampAddChatMessage("Wait reconnecting...", var_10_3)
                var_10_2 = 15500 --var_10_2 NUMBER-NUMBER
                wait(var_10_2)
                sampSetGamestate(GAMESTATE_WAIT_CONNECT)
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                until false or (previous if statement is true) --location 0064
                return
            end
           
           

function someFunc11()
    script_name("Autologin")
    script_author("Perg")
    script_version("1.0")
    var_11_0, var_11_1 = pcall(require, "lib.samp.events")
    var_11_2 = require("inicfg")
    until false or (previous if statement is true) --location 0019
    var_11_5 = nil --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = "moonloader\config\pass.ini"
    var_11_4 = var_11_2.load(var_11_5, var_11_6)
    var_11_5 = false --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = false --var_11_6 PRIMITIVE-PRIMITIVE
    require("lib.moonloader")
    pass = var_11_4.config.pass
    pin = var_11_4.config.pin
    until false or (previous if statement is true) --location 0035
    require("sampfuncs")
    local randomFunction5 = function() end -- starts at  test.lua:0
    var_11_1.onShowDialog = randomFunction5
    local randomFunction6 = function() end -- starts at  test.lua:0
    cmd_rec = randomFunction6
    local randomFunction7 = function() end -- starts at  test.lua:0
    cmd_name = randomFunction7
    local randomFunction8 = function() end -- starts at  test.lua:0
    cmd_pass = randomFunction8
    local randomFunction9 = function() end -- starts at  test.lua:0
    cmd_pin = randomFunction9
    local randomFunction10 = function() end -- starts at  test.lua:0
    main = randomFunction10
    return
end
Смешно
 

Myradov|

Известный
361
106
Исходник кому надо:
Lua:
function randomFunction    var_11_1.onShowDialog ()
    var_0_1 = 1000 --var_0_1 NUMBER-NUMBER
    wait(var_0_1)
    var_0_2 = 1 --var_0_2 NUMBER-NUMBER
    var_0_3 = -1 --var_0_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_0_0, var_0_2, var_0_3, pass)
    return
end


function randomFunction()
    var_1_1 = 500 --var_1_1 NUMBER-NUMBER
    wait(var_1_1)
    var_1_2 = 1 --var_1_2 NUMBER-NUMBER
    var_1_3 = -1 --var_1_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_1_0, var_1_2, var_1_3, pass)
    return
end


function randomFunction()
    var_2_1 = 500 --var_2_1 NUMBER-NUMBER
    wait(var_2_1)
    var_2_2 = 1 --var_2_2 NUMBER-NUMBER
    var_2_3 = -1 --var_2_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_2_0, var_2_2, var_2_3, pass)
    return
end


function randomFunction()
    var_3_1 = 500 --var_3_1 NUMBER-NUMBER
    wait(var_3_1)
    var_3_2 = 1 --var_3_2 NUMBER-NUMBER
    var_3_3 = -1 --var_3_3 NUMBER-NUMBER
    sampSendDialogResponse(uget_3_0, var_3_2, var_3_3, pin)
    return
end


function someFunc4(INPUT_VAR_0_)
    print(pass)
    if INPUT_VAR_0_ == 0 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        local randomFunction0 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction0)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 1 then
        --jump to 0022 (if previous if statement is false) --0022 JMP-JMP
        local randomFunction1 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction1)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 2 then
        --jump to 0031 (if previous if statement is false) --0031 JMP-JMP
        local randomFunction2 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction2)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    if INPUT_VAR_0_ == 3 then
        --jump to 0040 (if previous if statement is false) --0040 JMP-JMP
        local randomFunction3 = function() end -- starts at  test.lua:0
        lua_thread.create(randomFunction3)
        var_4_6 = false --var_4_6 PRIMITIVE-PRIMITIVE
        return var_4_6
    end
    return
end


function randomFunction    cmd_rec ()
    sampSetGamestate(GAMESTATE_DISCONNECTED)
    var_5_1 = 0 --var_5_1 NUMBER-NUMBER
    sampDisconnectWithReason(var_5_1)
    var_5_0 = os.clock()
    repeat
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    wait(var_5_2)
    var_5_2 = os.clock()
    var_5_2 = var_5_2 - var_5_0 --var_5_2 NUMBER-NUMBER
    var_5_1 = uget_5_0 - var_5_2 --var_5_1 NUMBER-NUMBER
    var_5_2 = 0 --var_5_2 NUMBER-NUMBER
    if var_5_2 <= var_5_1 then
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
        var_5_5 = var_5_1
        var_5_4 = math.ceil(var_5_5)
        var_5_3 =  "Reconnect in " .. var_5_4 .. " sec"
        printStringNow(var_5_3)
        --jump to 0010 (if previous if statement is false) --0010 JMP-JMP
        --jump to 0035 (if previous if statement is false) --0035 JMP-JMP
    else
        --location 0035--0035 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0035
        sampSetGamestate(GAMESTATE_WAIT_CONNECT)
        return
    end
end --REVERSE ME

function someFunc6(INPUT_VAR_0_)
    var_6_2 = INPUT_VAR_0_
    var_6_1 = tonumber(var_6_2)
    if not var_6_1 then
        --jump to 0011 (if previous if statement is false) --0011 JMP-JMP
        var_6_3 = "Х {FFC800}[Autologin]{FFFFFF} /rec [sec]" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_6_4 = 16777215 --var_6_4 NUMBER-NUMBER
        sampAddChatMessage(var_6_3, var_6_4)
    end
    if rec_thread then
        --jump to 0018 (if previous if statement is false) --0018 JMP-JMP
        var_6_3 = rec_thread
        rec_thread.terminate(var_6_3)
    end
    local randomFunction4 = function() end -- starts at  test.lua:0
    var_6_2 = lua_thread.create(randomFunction4)
    rec_thread = var_6_2
    return
    return
end


function randomFunction    cmd_name (INPUT_VAR_0_)
    var_7_1 = INPUT_VAR_0_
    var_7_3 = var_7_1
    var_7_2 = var_7_1.match(var_7_3, "%w")
    if not var_7_2 then
        --jump to 0013 (if previous if statement is false) --0013 JMP-JMP
        var_7_3 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_7_4 = 16777215 --var_7_4 NUMBER-NUMBER
        sampAddChatMessage(var_7_3, var_7_4)
        return
    end
    var_7_3 = var_7_1
    sampSetLocalPlayerName(var_7_3)
    var_7_2, var_7_3 = sampGetCurrentServerAddress()
    var_7_5 = var_7_2
    var_7_6 = var_7_3
    sampConnectToServer(var_7_5, var_7_6)
    return
end


function randomFunction    cmd_pass (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_8_2 = "Х {FFC800}[Autologin]{FFFFFF} /pass [pas" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_3 = 16777215 --var_8_3 NUMBER-NUMBER
        sampAddChatMessage(var_8_2, var_8_3)
        return
    end
    uget_8_0.config.pass = INPUT_VAR_0_
    pass = uget_8_0.config.pass
    var_8_1 = uget_8_1.save(uget_8_0, uget_8_2)
    if var_8_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕароль сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_8_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_8_4 = 16777215 --var_8_4 NUMBER-NUMBER
        sampAddChatMessage(var_8_3, var_8_4)
    end
    return
end


function randomFunction    cmd_pin (INPUT_VAR_0_)
    if INPUT_VAR_0_ ==  "" then
        --jump to 0008 (if previous if statement is false) --0008 JMP-JMP
        var_9_2 = "Х {FFC800}[Autologin]{FFFFFF} /pin [pinc" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_3 = 16777215 --var_9_3 NUMBER-NUMBER
        sampAddChatMessage(var_9_2, var_9_3)
        return
    end
    uget_9_0.config.pin = INPUT_VAR_0_
    pin = uget_9_0.config.pin
    var_9_1 = uget_9_1.save(uget_9_0, uget_9_2)
    if var_9_1 then
        --jump to 0027 (if previous if statement is false) --0027 JMP-JMP
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} ѕинкод сох" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    else
        --location 0027--0027 LOCATION-LOCATION_
        var_9_3 = "Х {FFC800}[Autologin]{FFFFFF} Ќе удалось" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_9_4 = 16777215 --var_9_4 NUMBER-NUMBER
        sampAddChatMessage(var_9_3, var_9_4)
    end
    return
end


function randomFunction    main ()
    var_10_0 = isSampfuncsLoaded()
    if var_10_0 then
        --jump to 0009 (if previous if statement is false) --0009 JMP-JMP
        var_10_0 = isSampLoaded()
        if not var_10_0 then
        end -- maybe?
    else
        --location 0009--0009 LOCATION-LOCATION_
        return
    end
    var_10_0 = isSampAvailable()
    if not var_10_0 then
        --jump to 0019 (if previous if statement is false) --0019 JMP-JMP
        repeat
        var_10_1 = 100 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
    else
        --location 0019--0019 LOCATION-LOCATION_
        until false or (previous if statement is true) --location 0019
        sampRegisterChatCommand("rec", cmd_rec)
        sampRegisterChatCommand("name", cmd_name)
        sampRegisterChatCommand("pass", cmd_pass)
        sampRegisterChatCommand("pin", cmd_pin)
        until false or (previous if statement is true) --location 0035
        var_10_1 = "Х {FFC800}[Autologin]{FFFFFF} /name [nic" --strings longer than 40 characters get cut off, so check to see if there's more!
        var_10_2 = 16777215 --var_10_2 NUMBER-NUMBER
        sampAddChatMessage(var_10_1, var_10_2)
        repeat
        var_10_1 = 1 --var_10_1 NUMBER-NUMBER
        wait(var_10_1)
        var_10_1 = 99 --var_10_1 NUMBER-NUMBER
        var_10_0 = sampGetChatString(var_10_1)
        if var_10_0 ~=  "Server closed the connection." then
            --jump to 0050 (if previous if statement is false) --0050 JMP-JMP
            if var_10_0 ==  "You are banned from this server." then
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                var_10_2 = false --var_10_2 PRIMITIVE-PRIMITIVE
                sampDisconnectWithReason(var_10_2)
                var_10_3 = 11125988 --var_10_3 NUMBER-NUMBER
                sampAddChatMessage("Wait reconnecting...", var_10_3)
                var_10_2 = 15500 --var_10_2 NUMBER-NUMBER
                wait(var_10_2)
                sampSetGamestate(GAMESTATE_WAIT_CONNECT)
                --jump to 0039 (if previous if statement is false) --0039 JMP-JMP
                until false or (previous if statement is true) --location 0064
                return
            end
           
           

function someFunc11()
    script_name("Autologin")
    script_author("Perg")
    script_version("1.0")
    var_11_0, var_11_1 = pcall(require, "lib.samp.events")
    var_11_2 = require("inicfg")
    until false or (previous if statement is true) --location 0019
    var_11_5 = nil --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = "moonloader\config\pass.ini"
    var_11_4 = var_11_2.load(var_11_5, var_11_6)
    var_11_5 = false --var_11_5 PRIMITIVE-PRIMITIVE
    var_11_6 = false --var_11_6 PRIMITIVE-PRIMITIVE
    require("lib.moonloader")
    pass = var_11_4.config.pass
    pin = var_11_4.config.pin
    until false or (previous if statement is true) --location 0035
    require("sampfuncs")
    local randomFunction5 = function() end -- starts at  test.lua:0
    var_11_1.onShowDialog = randomFunction5
    local randomFunction6 = function() end -- starts at  test.lua:0
    cmd_rec = randomFunction6
    local randomFunction7 = function() end -- starts at  test.lua:0
    cmd_name = randomFunction7
    local randomFunction8 = function() end -- starts at  test.lua:0
    cmd_pass = randomFunction8
    local randomFunction9 = function() end -- starts at  test.lua:0
    cmd_pin = randomFunction9
    local randomFunction10 = function() end -- starts at  test.lua:0
    main = randomFunction10
    return
end
Бля, ну пиздатый исходник, просто ВО
 
  • Нравится
Реакции: Vespan