0% found this document useful (0 votes)
56 views2 pages

Script Nivel Basic X32-64.lua

Drag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

Script Nivel Basic X32-64.lua

Drag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

gg.

setVisible(false)
nv_cam=nil

local pr = gg.alert("arquitectura del dispositivo/device architecture",'x64','x32')


gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)

if pr == 2 then
gg.searchNumber("1000~5200;2000000000~2100000000;0;-2147483648~2094967295;-1::60",
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("1000~5200;2000000000~2100000000;0;-2147483648~2094967295::15",
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("2000000000~2100000000;0;-2147483648~2094967295::10",
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("0;-2147483648~2094967295::5", gg.TYPE_DWORD, false, gg.SIGN_EQUAL,
0, -1, 0)
gg.refineNumber("0", gg.TYPE_DWORD, false, gg.SIGN_NOT_EQUAL, 0, -1, 0)
muestra=gg.getResults(999999)
valor=(muestra[4].value)
end
if pr == 1 then
gg.searchNumber("1000~5200;500~5000Q;0;-2147483648~2094967295;0;-1;-1::57",
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("1000~5200;500~5000Q;0;-2147483648~2094967295;0::49",
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("1000~5200;500~5000Q;0;-2147483648~2094967295::13", gg.TYPE_DWORD,
false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("500~5000Q;0;-2147483648~2094967295::9", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("0;-2147483648~2094967295::5", gg.TYPE_DWORD, false, gg.SIGN_EQUAL,
0, -1, 0)
gg.refineNumber("0", gg.TYPE_DWORD, false, gg.SIGN_NOT_EQUAL, 0, -1, 0)
muestra=gg.getResults(999999)
valor=(muestra[4].value)
end
signo=1
if pr == 0 then os.exit() end
if valor<0 then signo=-1 end
reset=valor
gg.setVisible(true)
while(true) do
if gg.isVisible(true) then
menuk = 1
menuk2 = 2
gg.setVisible(false)
end
START = 1
function START()
menu = gg.choice({'🟢Añadir 1 nivel/add 1 level',
'🟢Añadir 5 niveles/add 5 levels',
'🟢Añadir 10 niveles/add 10 levels',
'➖quitar 1 nivel/remove 1 level',
'➖quitar 5 niveles/remove 5 levels',
'➖quitar 10 niveles/remove 10 levels',
'Manual subida',
'Reset Nivel',
'❎ SALIR ❎'},Last,'Script basico 2023-12 by RDOSKIP')
if menu == 1 then op=4 sg=1 prz() end
if menu == 2 then op=20 sg=1 prz() end
if menu == 3 then op=40 sg=1 prz() end
if menu == 4 then op=4 sg=0 prz() end
if menu == 5 then op=20 sg=0 prz() end
if menu == 6 then op=40 sg=0 prz() end
if menu == 7 then manual() end
if menu == 8 then reset1() end
if menu == 9 then gg.clearResults() os.exit() end
if menu == nil then noselect() end
menuk =-1
end
function prz()
if signo == -1 then
valor=valor*(-1)
end
if sg == 1 then
valor=valor+op
else
valor=valor-op
end
if signo == -1 then valor=valor*(-1) end
gg.editAll(valor, gg.TYPE_DWORD)
end

function manual()
if valor>reset then ind=" ES MAYOR A: "
elseif valor==reset then
ind=" ES IGUAL A: "
else
ind=" ES MENOR A: "
end
local input1 = gg.prompt({"NIVEL DE CAMBIO\n"..' nivel_actual---|
'..valor..' |---'..ind..'nivel base---| '..reset..' |---',"PONER","QUITAR"},
{nv_cam,nil,nil},
{'number','checkbox','checkbox'})
if input1==nil then gg.setVisible(true)
elseif input1~=nil then
nv_cam=input1[1]
op=(input1[1]*4)
if input1[2]==true then
valor=valor+op
elseif input1[3]==true then
valor=valor-op
end
gg.editAll(valor, gg.TYPE_DWORD)
end
end
function reset1()
valor=reset
gg.editAll(reset, gg.TYPE_DWORD)
end

function noselect()
gg.isVisible(true)
end
if menuk == 1 then START() end end

You might also like