0% found this document useful (0 votes)
477 views4 pages

VIP 1 Lua

This Lua script contains functions for modifying a mobile game to accelerate breeding times, move habitats and buildings, increase dragon breeding odds, and resend a dragon. The main menu allows selecting these options, which call additional functions to find and edit specific memory addresses/values to apply the changes.

Uploaded by

Nicolas Urueña
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)
477 views4 pages

VIP 1 Lua

This Lua script contains functions for modifying a mobile game to accelerate breeding times, move habitats and buildings, increase dragon breeding odds, and resend a dragon. The main menu allows selecting these options, which call additional functions to find and edit specific memory addresses/values to apply the changes.

Uploaded by

Nicolas Urueña
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/ 4

while(true) do

if gg.isVisible(true) then
menuk = 1
menuk2 = 2
gg.setVisible(false)
end

START = 1
function START()
menu = gg.choice({'Acelerar cruces y eclosiones 🔀',
'Mover habitats y edificios 🏠',
'Ventaja de cruces %99 📈',
'Reenviar dragon 👥',
'❎ SALIR ❎'},Last,'Creador: NICK GAMES')
if menu == 1 then code1() end
if menu == 2 then code2() end
if menu == 3 then code3() end
if menu == 4 then code4() end
if menu == 5 then os.exit() end
if menu == nil then noselect() end
menuk =-1
end
function code1()
menu1 = gg.choice({

'1. Acelerar cruces y eclosiones 🕛',

' REGRESAR ',


}
,nil,
'Acelerar cruces y eclosiones: ')

if menu1 == 1 then AC_30() end


if menu1 == 2 then AC_3() end
if menu1 == 3 then AC_6() end
if menu1 == 4 then AC_12()end
if menu1 == 5 then START()end
if menu1 == nil then noselect() end
end

function AC_30()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg. searchNumber("1;4;1800;1;4;1800::800", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("1800;1800", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg. getResults(1000)
gg.editAll("1000000", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
end

function AC_3()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg. searchNumber("1;4;10800;1;4;10800::800", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("10800;10800", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1,
0)
gg. getResults(1000)
gg.editAll("1000000", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
end

function AC_6()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg. searchNumber("1;4;21600;1;4;21600::600", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("21600;21600", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1,
0)
gg. getResults(1000)
gg.editAll("1000000", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
end

function AC_12()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg. searchNumber("1;4;43200;1;4;43200::200", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("43200;43200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1,
0)
gg. getResults(1000)
gg.editAll("1000000", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
end

function code2()
menu2 = gg.choice({

'1. Mover habitats y edificios (OPCION 1) ',


'2. Mover habitats y edificios (OPCION 2) ',
' REGRESAR ',
}
,nil,
'Activa una opcion y luego elige una habitat para poder moverla a tu gusto
')

if menu2 == 1 then MAP1() end


if menu2 == 2 then MAP2()end
if menu2 == 3 then START()end
if menu2 == nil then noselect() end
end

function MAP1()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg.searchNumber("1117126656;1086324736::9", gg.TYPE_DWORD, false,
gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1086324736", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(1000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.clearResults()
end

function MAP2()
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg.searchNumber("1086324736", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("1086324736", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(5000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.clearResults()
end

function code3()
gg.alert("Al menos uno de los dos dragones debe tener una ventaja")
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg.searchNumber("39;1~10;0;1::15", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0,
-1, 0)
gg.refineNumber("39;1~10::5", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1,
0)
gg.refineNumber("1~10", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.getResults(500)
gg.editAll("9999", gg.TYPE_DWORD)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
end

function code4()
gg.alert("DEBES TENER UN DRAGON FUEGO AL MENOS")
gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS)
gg.searchNumber("1;1020;420", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1,
0)
gg.refineNumber("1020", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
local numero = gg.prompt({"por favor, ingresar el ID del dragon que desea
reenviar, LOS ID LO PUEDES ENCONTRAR EN LA PAGINA DE DITLEP
https://www.ditlep.com/code)"}, {[1] = 0}, {[1] = "number"})
if numero == nil then
print("No se ingresó ningún número")
return
end
local resultados = gg.getResults(20)
for i, v in ipairs(resultados) do
v.value = numero[1]
resultados[i] = v
end
gg.setValues(resultados)
gg.refineNumber("999998", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.clearResults()
gg.alert("Si desea reenviar otro dragon, reinicie el juego 🔄")
end

function noselect()
gg.isVisible(true)
gg.toast('DISFRUTALO')
end

if menuk == 1 then START() end end

You might also like