0% found this document useful (0 votes)
86 views1 page

RankScript Lua

The document outlines a script for a game that allows users to modify their rank in various game modes. It distinguishes between ARM7 and ARM8 architectures to adjust memory addresses and provides functions to edit World Cup and Season ranks. The script includes a user interface for selecting options and executing rank modifications, with a warning to use it at one's own risk.

Uploaded by

santitel09
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)
86 views1 page

RankScript Lua

The document outlines a script for a game that allows users to modify their rank in various game modes. It distinguishes between ARM7 and ARM8 architectures to adjust memory addresses and provides functions to edit World Cup and Season ranks. The script includes a user interface for selecting options and executing rank modifications, with a warning to use it at one's own risk.

Uploaded by

santitel09
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/ 1

info = gg.

getTargetInfo()
Offsets = {
['ARM7'] = {[1] = {['Edits'] = {[1] = '0x14C',[2] = ''},['Name']
= 'WC Rank'},[2] = {['Edits'] = {[1] = '0xUkn',[2] = ''},['Name'] = 'Season
Rank'}},
['ARM8'] = {[1] = {['Edits'] = {[1] = '0x1C4',[2] = ''},['Name']
= 'WC Rank'},[2] = {['Edits'] = {[1] = '0x3EC',[2] = ''},['Name'] = 'Season Rank'}}
}
if info.x64 ~= true then armType = 'ARM7' pointerType = gg.TYPE_DWORD else armType
= 'ARM8' pointerType = gg.TYPE_QWORD end
function GameStatus()
gg.clearResults()
gg.searchNumber("1;1;65792;1472367388~1772367388::21", gg.TYPE_DWORD)
gg.refineNumber("65792", gg.TYPE_DWORD)
local result = gg.getResults(1)
local offsets = {ARM7 = 0x44,ARM8 = 0x68}
local FirstTPointer = {{ address = result[1].address + offsets[armType], flags =
pointerType}}
local GetValues = gg.getValues(FirstTPointer)
local getList = {{ address = GetValues[1].value, flags = pointerType}}
return gg.getValues(getList)[1].address
end
function wcRank()
local Address = GameStatus()
local GetValues = {{ address = Address + Offsets[armType][1].Edits[1], flags =
gg.TYPE_FLOAT}}
gg.loadResults(gg.getValues(GetValues))
print("edit anything in unranked cup race and complete race")
os.exit()
end
function seasonRank()
if info.x64 ~= true then gg.alert("later for 32")
else
local Address = GameStatus()
local GetValues = {{ address = Address + Offsets[armType][2].Edits[1], flags =
gg.TYPE_FLOAT}}
gg.loadResults(gg.getValues(GetValues))
print("edit anything in unranked cup race and complete race (edit 99.7 for force
boss)")
os.exit()
end
end
function Home()
generate_menu = {}
for i, v in ipairs (Offsets[armType]) do generate_menu[i] = v['Name'] end
generate_menu[#generate_menu + 1] = "Exit"
local menu = gg.choice(generate_menu,nil,'use at your own risk.')
if menu ~= nil then
if menu == 1 then wcRank() end
if menu == 2 then seasonRank() end
if menu == #generate_menu then
os.exit()
end
end
end
gg.setVisible(false)
gg.alert("Real Rank Script By MouseZX GG")
Home() while true do if gg.isVisible() then gg.setVisible(false) Home() end
gg.sleep(10) end

You might also like