0% found this document useful (0 votes)
74 views5 pages

Mobile Legends

The document contains Lua code that defines functions for modifying game values. It includes functions to split strings, write values to memory addresses, search for and modify values matching a target, and present a menu to choose which value to modify. The code allows expanding the visual field, repairing the visual field, or enabling x-ray vision by searching for and modifying specific memory addresses and values.

Uploaded by

Ananx Grafin
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)
74 views5 pages

Mobile Legends

The document contains Lua code that defines functions for modifying game values. It includes functions to split strings, write values to memory addresses, search for and modify values matching a target, and present a menu to choose which value to modify. The code allows expanding the visual field, repairing the visual field, or enabling x-ray vision by searching for and modifying specific memory addresses and values.

Uploaded by

Ananx Grafin
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/ 5

--By Only SSTool

function split(A0_0, A1_1)


local L2_2, L3_3, L4_4
L2_2 = 1
L3_3 = 1
L4_4 = {}
while true do
if not string.find(A0_0, A1_1, L2_2) then
L4_4[L3_3] = string.sub(A0_0, L2_2, string.len(nil))
break
end
L4_4[L3_3] = string.sub(A0_0, L2_2, string.find(A0_0, A1_1, L2_2) - 1)
L2_2 = string.find(A0_0, A1_1, L2_2) + string.len(A1_1)
L3_3 = L3_3 + 1
end
return L4_4
end
function xgxc(A0_5, A1_6)
local L2_7, L3_8, L4_9, L5_10
L2_7 = 1
L3_8 = #A1_6
for _FORV_5_ = 1, #A1_6 do
xgpy = A0_5 + A1_6[_FORV_5_].offset
xglx = A1_6[_FORV_5_].type
xgsz = A1_6[_FORV_5_].value
xgdj = A1_6[_FORV_5_].freeze
if xgdj == nil or xgdj == "" then
gg.setValues({
[1] = {
address = xgpy,
flags = xglx,
value = xgsz
}
})
else
gg.addListItems({
[1] = {
address = xgpy,
flags = xglx,
freeze = xgdj,
value = xgsz
}
})
end
xgsl = xgsl + 1
xgjg = true
end
end
function xyk(A0_11)
gg.clearResults()
gg.setRanges(A0_11[1].memory)
gg.searchNumber(A0_11[3].value, A0_11[3].type)
if gg.getResultCount() == 0 then
gg.toast(A0_11[2].name .. "开启失败")
else
gg.refineNumber(A0_11[3].value, A0_11[3].type)
gg.refineNumber(A0_11[3].value, A0_11[3].type)
gg.refineNumber(A0_11[3].value, A0_11[3].type)
if gg.getResultCount() == 0 then
gg.toast(A0_11[2].name .. "开启失败")
else
sl = gg.getResults(999999)
sz = gg.getResultCount()
xgsl = 0
if 999999 < sz then
sz = 999999
end
for _FORV_4_ = 1, sz do
pdsz = true
for _FORV_8_ = 4, #A0_11 do
if pdsz == true then
pysz = pdsz
pysz[1] = nil
pysz[1].address = sl[_FORV_4_].address + A0_11[_FORV_8_].offset
pysz[1].flags = A0_11[_FORV_8_].type
szpy = gg.getValues(pysz)
pdpd = A0_11[_FORV_8_].lv .. ";" .. szpy[1].value
szpd = split(pdpd, ";")
tzszpd = szpd[1]
pyszpd = szpd[2]
if tzszpd == pyszpd then
pdjg = true
pdsz = true
else
pdjg = false
pdsz = false
end
end
end
if pdjg == true then
szpy = sl[_FORV_4_].address
xgxc(szpy, ykx)
end
end
if xgjg == true then
gg.toast(A0_11[2].name .. "开启成功,共修改" .. xgsl .. "条数据")
else
gg.toast(A0_11[2].name .. "开启失败")
end
end
end
end
function A()
Z = gg.multiChoice({
"Expansion of visual field",
"Extended visual field repair(Expansion of field of vision opens incorrect
use)",
"xray",
"退出"
})
if Z == nil then
else
if Z[1] == true then
a()
end
if Z[2] == true then
b()
end
if Z[3] == true then
c()
end
if Z[4] == true then
d()
end
end
B = -1
end
function a()
yk = {
{memory = 32},
{name = ""},
{value = 40, type = 16},
{
lv = 8,
offset = 4,
type = 4
}
}
ykx = {
{
value = 15,
offset = 8,
type = 16,
freeze = true
},
{
value = 15,
offset = 16,
type = 16,
freeze = true
},
{
value = -20,
offset = 12,
type = 16,
freeze = true
}
}
xyk(yk)
end
function b()
yk = {
{memory = 32},
{name = ""},
{value = 40, type = 16},
{
lv = 8,
offset = 4,
type = 4
}
}
ykx = {
{
value = -15,
offset = 8,
type = 16,
freeze = true
},
{
value = -15,
offset = 16,
type = 16,
freeze = true
},
{
value = -20,
offset = 12,
type = 16,
freeze = true
}
}
xyk(yk)
end
function c()
yk = {
{memory = 32},
{name = ""},
{value = 2.53125, type = 16},
{
lv = 2.3693558E-38,
offset = 4,
type = 16
},
{
lv = 256,
offset = 44,
type = 4
}
}
ykx = {
{
value = 1,
offset = 24,
type = 4,
freeze = true
}
}
xyk(yk)
end
function d()
os.exit()
end
while true do
if gg.isVisible(true) then
B = 1
gg.setVisible(false)
end
if B == 1 then
A()
end
end

--We are the tender love in the world.


--By Only SSTool

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy