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

Explore Lua

The document contains a Lua script function named LPP3 that presents a menu for selecting various environments such as 'Countryside', 'Forest', and 'City'. Based on the user's selection, it sets specific parameters and calls another function, oZ, which manipulates game memory values using the Game Guardian tool. The script includes multiple conditional statements for different environment choices and performs memory searches and edits to achieve desired effects in the game.

Uploaded by

mdarsadali453
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)
26 views2 pages

Explore Lua

The document contains a Lua script function named LPP3 that presents a menu for selecting various environments such as 'Countryside', 'Forest', and 'City'. Based on the user's selection, it sets specific parameters and calls another function, oZ, which manipulates game memory values using the Game Guardian tool. The script includes multiple conditional statements for different environment choices and performs memory searches and edits to achieve desired effects in the game.

Uploaded by

mdarsadali453
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

function LPP3()

menuhj = gg.choice( {
"Countryside",
"Forest",
"City",
"Mine",
"Winter",
"Desert Valley",
"Mountain",
"Rustbucket Reef",
"Beach",
"Backwater Bog",
"Racer glacier",
"Patchwork Plant",
"Switchback Savanna",
"Overspill Fun Rig",
"Canyon Arena",
"Cuptown",
"Sky Rock Outpost",
"Forest Trials",
"Intense City",
"Raging Winter",
"Exit"} , 0, "By Dragon😎😎")
if menuhj == nil then else
if menuhj == 1 then AK="Q 1C 'countryside_01' 00 00 00 00 00 00 00 00 00 01
00 00 00 01 00 00 00" AF=28 oZ() end
if menuhj == 2 then AK="Q 0C 'forest' 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 01 00 00 00 01 00 00 00" AF=12 oZ() end
if menuhj == 3 then AK="Q 08 'city' 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 01 00 00 00 01 00 00 00" AF=8 oZ() end
if menuhj == 4 then AK="Q 0A 'mines' 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 01 00 00 00 01 00 00 00" AF=10 oZ() end
if menuhj == 5 then AK="Q 12 'winter_01' 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 01 00 00 00" AF=18 oZ() end
if menuhj == 6 then AK="Q 0E 'route66' 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 00 01 00 00 00" AF=14 oZ() end
if menuhj == 7 then AK="Q 16 'mountain_01' 00 00 00 00 00 00 00 00 00 00 00
00 01 00 00 00 01 00 00 00" AF=22 oZ() end
if menuhj == 8 then AK='Q 14 75 6E 64 65 72 77 61 74 65 "r" 00 00 00 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 00 00' AF=20 oZ() end
if menuhj == 9 then AK='Q 0A 62 65 61 63 "h" 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 00 00' AF=10 oZ() end
if menuhj == 10 then AK="Q 16 'trailerpark' 00 00 00 00 00 00 00 00 00 00
00 00 01 00 00 00 01 00 00 00" AF=22 oZ() end
if menuhj == 11 then AK="Q 0E 'glacier' 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 00 01 00 00 00" AF=14 oZ() end
if menuhj == 12 then AK="Q 10 'workshop' 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 00 01 00 00 00" AF=16 oZ() end
if menuhj == 13 then AK="Q 0E 'savanna' 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 00 01 00 00 00" AF=14 oZ() end
if menuhj == 14 then AK="Q '$amusement_distance' 00 00 00 00 00 01 00 00 00
01 00 00 00" AF=36 oZ() end
if menuhj == 15 then AK="Q 1C 'arena_distance' 00 00 00 00 00 00 00 00 00
01 00 00 00 01 00 00 00" AF=28 oZ() end
if menuhj == 16 then AK="Q ' cuptown_distance' 00 00 00 00 00 00 00 01 00
00 00 01 00 00 00" AF=32 oZ() end
if menuhj == 17 then AK="Q 10 'moonbase' 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 01 00 00 00 01 00 00 00" AF=16 oZ() end
if menuhj == 18 then AK="Q 1A 'forest_trials' 00 00 00 00 00 00 00 00 00 00
01 00 00 00 01 00 00 00" AF=26 oZ() end
if menuhj == 19 then AK="Q 12 'hard_city' 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 01 00 00 00" AF=18 oZ() end
if menuhj == 20 then AK="Q 16 'hard_winter' 00 00 00 00 00 00 00 00 00 00
00 00 01 00 00 00 01 00 00 00" AF=22 oZ() end
if menuhj == 21 then end
end
end

function oZ()
gg.setRanges(4)
gg.clearResults()
gg.clearList()
gg.setVisible(false)
gg.searchNumber(""..AK.."", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.setVisible(false)
jg=gg.getResults(1000)
GH=jg[1].address-168
dzy=jg[1].address+60
gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_FLOAT,freeze =
true,value = 999999999}})
gg.clearResults()
gg.clearList()
gg.searchNumber("100;11D;0.5;0D::21", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(1000)
k=gg.getValues({{address = jg[1].address-28, flags = gg.TYPE_QWORD, value = 0}})
gg.clearResults()
gg.searchNumber(""..k[1].value.."", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(1000)
gg.editAll(""..GH.."", gg.TYPE_QWORD)
gg.clearResults()
end

LPP3()

You might also like