- 5
- 0
- Версия MoonLoader
- .027.0-preview
Lua:
function randomFunction main ()
repeat
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
var_0_0 = isSampAvailable()
if var_0_0 then
--jump to 0001 (if previous if statement is false) --0001 JMP-JMP
until false or (previous if statement is true) --location 0009
var_0_1 = var_0_1 .. "Ñêðèïò çàãðóæåí. Àâòîð: " .. author .. "{ffffff}."
var_0_2 = -1 --var_0_2 NUMBER-NUMBER
sampAddChatMessage(var_0_1, var_0_2)
repeat
if activate then
--jump to 0040 (if previous if statement is false) --0040 JMP-JMP
var_0_1 = 2087 --var_0_1 NUMBER-NUMBER
get(var_0_1)
renderDrawBox(firstPosX, firstPosY, firstSizeX, firstSizeY, firstColor)
renderDrawBox(secondPosX, secondPosY, secondSizeX, secondSizeY, secondColor)
checkMouse()
end
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
--jump to 0017 (if previous if statement is false) --0017 JMP-JMP
until false or (previous if statement is true) --location 0044
return
end
end --REVERSE ME
function randomFunction checkMouse (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_,INPUT_VAR_3_,INPUT_VAR_4_,INPUT_VAR_5_,INPUT_VAR_6_,INPUT_VAR_7_,INPUT_VAR_8_,INPUT_VAR_9_,INPUT_VAR_10_)
var_1_0, var_1_1 = getCursorPos()
if firstPosX < var_1_0 then
--jump to 0011 (if previous if statement is false) --0011 JMP-JMP
var_1_2 = firstPosX + firstSizeX --var_1_2 NUMBER-NUMBER
until false or (previous if statement is true) --location 0009
if not (var_1_0 < var_1_2) then
end -- maybe?
else
--location 0011--0011 LOCATION-LOCATION_
var_1_2 = false --var_1_2 PRIMITIVE-PRIMITIVE
else
--location 0013--0013 LOCATION-LOCATION_
var_1_2 = true --var_1_2 PRIMITIVE-PRIMITIVE
end
if firstPosY < var_1_1 then
--jump to 0022 (if previous if statement is false) --0022 JMP-JMP
var_1_3 = firstPosY + firstSizeY --var_1_3 NUMBER-NUMBER
if not (var_1_1 < var_1_3) then
--jump to 0024 (if previous if statement is false) --0024 JMP-JMP
var_1_3 = false --var_1_3 PRIMITIVE-PRIMITIVE
--jump to 0025 (if previous if statement is false) --0025 JMP-JMP
var_1_3 = true --var_1_3 PRIMITIVE-PRIMITIVE
if secondPosX < var_1_0 then
--jump to 0033 (if previous if statement is false) --0033 JMP-JMP
var_1_4 = secondPosX + secondSizeX --var_1_4 NUMBER-NUMBER
if not (var_1_0 < var_1_4) then
--jump to 0035 (if previous if statement is false) --0035 JMP-JMP
var_1_4 = false --var_1_4 PRIMITIVE-PRIMITIVE
--jump to 0036 (if previous if statement is false) --0036 JMP-JMP
var_1_4 = true --var_1_4 PRIMITIVE-PRIMITIVE
if secondPosY < var_1_1 then
--jump to 0044 (if previous if statement is false) --0044 JMP-JMP
var_1_5 = secondPosY + secondSizeY --var_1_5 NUMBER-NUMBER
if not (var_1_1 < var_1_5) then
--jump to 0046 (if previous if statement is false) --0046 JMP-JMP
until false or (previous if statement is true) --location 0044
var_1_5 = false --var_1_5 PRIMITIVE-PRIMITIVE
--jump to 0047 (if previous if statement is false) --0047 JMP-JMP
var_1_5 = true --var_1_5 PRIMITIVE-PRIMITIVE
if var_1_4 then
--jump to 0056 (if previous if statement is false) --0056 JMP-JMP
if var_1_5 then
--jump to 0056 (if previous if statement is false) --0056 JMP-JMP
secondColor = INPUT_VAR_8_
firstColor = INPUT_VAR_10_
--jump to 0069 (if previous if statement is false) --0069 JMP-JMP
if var_1_2 then
--jump to 0065 (if previous if statement is false) --0065 JMP-JMP
if var_1_3 then
--jump to 0065 (if previous if statement is false) --0065 JMP-JMP
firstColor = INPUT_VAR_10_
secondColor = INPUT_VAR_8_
--jump to 0069 (if previous if statement is false) --0069 JMP-JMP
firstColor = INPUT_VAR_10_
secondColor = INPUT_VAR_8_
return
end
function randomFunction get (INPUT_VAR_0_)
var_2_1 = nil
var_2_2 = nil
var_2_3 = nil
var_2_4 = nil
var_2_5 = nil
var_2_6 = nil
var_2_8 = INPUT_VAR_0_
var_2_7, var_2_8, var_2_9, var_2_10 = sampTextdrawGetBoxEnabledColorAndSize(var_2_8)
var_2_4 = var_2_10
var_2_3 = var_2_9
var_2_2 = var_2_8
var_2_1 = var_2_7
until false or (previous if statement is true) --location 0009
var_2_8 = var_2_3
var_2_9 = var_2_4
var_2_7, var_2_8 = convertGameScreenCoordsToWindowScreenCoo(var_2_8, var_2_9)
firstSizeY = var_2_1
firstSizeX = INPUT_VAR_0_
var_2_8 = INPUT_VAR_0_
var_2_7, var_2_8 = sampTextdrawGetPos(var_2_8)
var_2_10 = var_2_7
var_2_11 = var_2_8
var_2_9, var_2_10 = convertGameScreenCoordsToWindowScreenCoo(var_2_10, var_2_11)
firstPosY = var_2_3
firstPosX = var_2_2
var_2_10 = INPUT_VAR_0_ + 1 --var_2_10 NUMBER-NUMBER
var_2_9, var_2_10, var_2_11, var_2_12 = sampTextdrawGetBoxEnabledColorAndSize(var_2_10)
var_2_6 = var_2_12
var_2_5 = var_2_11
var_2_2 = var_2_10
var_2_1 = var_2_9
var_2_10 = var_2_5
var_2_11 = var_2_6
var_2_9, var_2_10 = convertGameScreenCoordsToWindowScreenCoo(var_2_10, var_2_11)
secondSizeY = var_2_5
secondSizeX = var_2_4
var_2_10 = INPUT_VAR_0_ + 1 --var_2_10 NUMBER-NUMBER
var_2_9, var_2_10 = sampTextdrawGetPos(var_2_10)
var_2_12 = var_2_9
var_2_13 = var_2_10
var_2_11, var_2_12 = convertGameScreenCoordsToWindowScreenCoo(var_2_12, var_2_13)
until false or (previous if statement is true) --location 0044
secondPosY = var_2_7
secondPosX = var_2_6
return
end
function randomFunction var_5_0.onShowTextDraw (INPUT_VAR_0_,INPUT_VAR_1_)
var_3_3 = convertToTextdraw("ÁÀÃÀÆÍÈÊ")
if INPUT_VAR_1_.text == var_3_3 then
--jump to 0012 (if previous if statement is false) --0012 JMP-JMP
if INPUT_VAR_0_ == 0 then
--jump to 0012 (if previous if statement is false) --0012 JMP-JMP
until false or (previous if statement is true) --location 0009
var_3_2 = true --var_3_2 PRIMITIVE-PRIMITIVE
activate = var_3_2
end
else
--location 0012--0012 LOCATION-LOCATION_
if INPUT_VAR_0_ ~= 1 then
--jump to 0018 (if previous if statement is false) --0018 JMP-JMP
if INPUT_VAR_0_ ~= 2 then
--jump to 0018 (if previous if statement is false) --0018 JMP-JMP
if INPUT_VAR_0_ == 3 then
-- maybe?
end
end
else
--location 0018--0018 LOCATION-LOCATION_
var_3_2 = false --var_3_2 PRIMITIVE-PRIMITIVE
end
activate = var_3_2
end
return
end
function randomFunction convertToTextdraw (INPUT_VAR_0_,INPUT_VAR_1_,INPUT_VAR_2_,INPUT_VAR_3_,INPUT_VAR_4_)
var_4_1 = {} --to find out the contents of this table look inside the lua file
var_4_2 = {}
var_4_3 = 1 --var_4_3 NUMBER-NUMBER
LEN unhandled at 0004
var_4_5 = 1 --var_4_5 NUMBER-NUMBER
for var_4_6 = var_4_3,INPUT_VAR_4_,var_4_5 do --location 0006, loop ends at 0020-1
var_4_8 = INPUT_VAR_0_
until false or (previous if statement is true) --location 0009
var_4_9 = var_4_6
var_4_7 = INPUT_VAR_0_.byte(var_4_8, var_4_9)
if not unknown0 then
--jump to 0017 (if previous if statement is false) --0017 JMP-JMP
var_4_9 = var_4_7
var_4_8 = string.char(var_4_9)
var_4_2[var_4_6] = var_4_8
end --location 0019, loops back to 0007-1
var_4_4 = var_4_2
return table.concat(var_4_4)
end
end --REVERSE ME
function someFunc5()
var_5_0 = require("lib.samp.events")
var_5_2 = "{cc00cc}Ar4i" --var_5_2 STRING-STRING
var_5_3 = 0 --var_5_3 NUMBER-NUMBER
var_5_4 = 0 --var_5_4 NUMBER-NUMBER
var_5_5 = 0 --var_5_5 NUMBER-NUMBER
until false or (previous if statement is true) --location 0009
var_5_6 = 0 --var_5_6 NUMBER-NUMBER
var_5_7 = 0 --var_5_7 NUMBER-NUMBER
var_5_8 = 0 --var_5_8 NUMBER-NUMBER
var_5_9 = 0 --var_5_9 NUMBER-NUMBER
"{cc00cc}[Ñêðûâàòåëü]{ffffff} "0 = 0 --"{cc00cc}[Ñêðûâàòåëü]{ffffff} "0 NUMBER-NUMBER
var_5_11 = 4281545523 --var_5_11 NUMBER-NUMBER
var_5_12 = 4279308561 --var_5_12 NUMBER-NUMBER
var_5_13 = 4281545523 --var_5_13 NUMBER-NUMBER
var_5_14 = 4281545523 --var_5_14 NUMBER-NUMBER
local randomFunction0 = function() end -- starts at test.lua:16
main = randomFunction0
local randomFunction1 = function() end -- starts at test.lua:30
checkMouse = randomFunction1
local randomFunction2 = function() end -- starts at test.lua:50
get = randomFunction2
local randomFunction3 = function() end -- starts at test.lua:66
var_5_0.onShowTextDraw = randomFunction3
local randomFunction4 = function() end -- starts at test.lua:74
convertToTextdraw = randomFunction4
return
end
Он как то задействован с позицией курсора мыши и текстдравами , иконками? Или что то наподобии. Если да , то , по возможности , больше конкретики. Заранее спасибо.
Последнее редактирование модератором: