凡尘超凡先锋lua脚本开源代码


function setvalue(addr, value, flag, freeze) gg.setValues({{address = addr, flags = flag,value=value}}) end
function readAdd(addr) return gg.getValues({{address = addr, flags = 32}})[1].value end
function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then gg.toast("搜索到"..#data.."条数据") local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) else gg.toast("not found", false) return false end else gg.toast("Not Found") return false end end
function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["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[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") print(qmnb[2]["name"] .. "开启失败") end end end end
function SearchWrite(tb1, tb2, dataType, Name)
local lt1={}
local lt2={}
local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType }
table.insert(lt1,1,mm1)
for i=2 , #tb1 do
local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}
table.insert(lt1,i,mm2)
end
for i=1 , #tb2 do
if tb2[i][2]~=nil then
local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}
table.insert(lt2,i,mm3)
else
local mm3={["修改"] = false,["偏移"] = tb2[i][1]}
table.insert(lt2,i,mm3)
end
end
LongTao(lt1, lt2 )
end
function LongTao(Search, Write)
gg.clearResults()
gg.setVisible(false)
lx=Search[1]["类型"]
gg.searchNumber(Search[1]["主特征码"], lx)
local count = gg.getResultCount()
local result = gg.getResults(count)
gg.clearResults()
local data = {}
if (count > 0) then
gg.toast("共搜索 "..count.." 条数据")
for i, v in ipairs(result) do
v.isUseful = true
end
for k=2, #Search do
local tmp = {}
local num = Search[k]["副特征码"]
if Search[k]["类型"]~= nil then
lx =Search[k]["类型"]
else
lx = Search[1]["类型"]
end
for i, v in ipairs(result) do
tmp[#tmp+1] = {}
tmp[#tmp].address = v.address + Search[k]["偏移"]
tmp[#tmp].flags = lx
end
tmp = gg.getValues(tmp)
for i, v in ipairs(tmp) do
if ( tostring(v.value) ~= tostring(num) ) then
result[i].isUseful = false
end
end
end
for i, v in ipairs(result) do
if (v.isUseful) then
data[#data+1] = v.address
end
end
if (#data > 0) then
local t = {}
for i=1, #data do
for k, w in ipairs(Write) do
if w["类型"] ~= nil then
lx = w["类型"]
else
lx = Search[1]["类型"]
end
t[#t+1] = {}
t[#t].address = data[i] + w["偏移"]
t[#t].flags = lx
if (w["修改"]~=nil) and (w["修改"]~=false) then
t[#t].value = w["修改"]
gg.setValues(t)
if (w["冻结"] == true) then
local item = {}
item[#item+1] = t[#t]
item[#item].freeze = w["冻结"]
gg.addListItems(item)
end
end
end
end
gg.loadResults(t)
gg.toast("共偏移 "..#t.." 条数据")
else
gg.toast("未搜到数据!")
return false
end
else
gg.toast("未搜到数据!")
return false
end
end

 

----------------以下是功能------
function Main()
menu = gg.choice({
"枪械功能",
"人物功能",
"透视功能",
"退出"},
2021,"2022")
if menu == 1 then A() end
if menu == 2 then B() end
if menu == 3 then M() end
if menu == 4 then Exit() end
XGCK=-1
end

state={} state.a="[开启]" state.b="[开启]" state.c="[开启]" state.d="[开启]" state.e="[开启]" state.f="[开启]"

function A()
menu1 = gg.multiChoice({
"枪械射速",
"32位不刮痧范围",
"64位不刮痧范围",
"子弹秒换",
"延迟无后",
"枪械聚点",
"返回主页"},
nil,"部分机型无效没有关系大部分都能用")
if menu1 == nil then else
if menu1[1] == true then a1() end
if menu1[2] == true then a2() end
if menu1[3] == true then a3() end
if menu1[4] == true then a4() end
if menu1[5] == true then a5() end
if menu1[6] == true then a6() end
if menu1[7] == true then HOME() end
end
GLWW=-1
end

function B()
menu1 = gg.multiChoice({
"人物穿墙"..state.b,
"人物加速"..state.c,
"人物遁地"..state.d,
"人物滑翔"..state.e,
"人物高跳"..state.f,
"别点封号不负责",
"返回主页.提示一下这边有封号风险"},
nil,"部分机型无效没有关系大部分都能用")
if menu1 == nil then else
if menu1[1] == true then b1() end
if menu1[2] == true then b2() end
if menu1[3] == true then b3() end
if menu1[4] == true then b4() end
if menu1[5] == true then b5() end
if menu1[6] == true then b6() end
if menu1[7] == true then HOME() end
end
GLWW=-1
end

function M()
menu1 = gg.multiChoice({
"透视防闪",
"人物天线",
"835偏移透视",
"845透视上色",
"855透视上色",
"865透视上色",
"660骁龙基通",
"VOMS色透视",
"710透视上色",
"865透明上色",
"骁龙透视上色",
"麒麟透视上色",
"通用人物绿色",
"返回主页这边主要是透视上色功能都OK"},
nil,"透视都是畅玩画质没有自己处理器的可以试试别的处理器")
if menu1 == nil then else
if menu1[1] == true then m1() end
if menu1[2] == true then m2() end
if menu1[3] == true then m3() end
if menu1[4] == true then m4() end
if menu1[5] == true then m5() end
if menu1[6] == true then m6() end
if menu1[7] == true then m7() end
if menu1[8] == true then m8() end
if menu1[9] == true then m9() end
if menu1[10] == true then m10() end
if menu1[11] == true then m11() end
if menu1[12] == true then m12() end
if menu1[13] == true then m13() end
if menu1[14] == true then HOME() end
end
GLWW=-1
end

function m1()
qmnb = {
{["memory"] = 4},
{["name"] = "防闪"},
{["value"] = -1.75, ["type"] = 16},
{["lv"] = 1.875, ["offset"] = -96, ["type"] = 16},
{["lv"] = 1.401298464324817E-45, ["offset"] = -84, ["type"] = 16},
{["lv"] = 1.75, ["offset"] = -72, ["type"] = 16},
{["lv"] = 1.9375, ["offset"] = -24, ["type"] = 16},
}
qmxg = {
{["value"] = 18.98023033142, ["offset"] = -96, ["type"] = 16},

}
xqmnb(qmnb)
end

function m2()
gg.clearResults()
gg.setRanges(37)
gg.searchNumber("1.65189313889", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("-66", gg.TYPE_FLOAT)
gg.toast("人物天线[2]循环开启中")
m2()
end

function m3()
qmnb = {
{["memory"] = 1048576},
{["name"] = "马赛克"},
{["value"] = -4.67159277e-40, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 96, ["type"] = 16},
}
qmxg = {
{["value"] = 5444, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)

qmnb = {
{["memory"] = 1048576},
{["name"] = "透明化"},
{["value"] = -2.02838513e-39;2.0, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 144, ["type"] = 16},
}
qmxg = {
{["value"] = 5444, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)

qmnb = {
{["memory"] = 1048576},--内存
{["name"] = "透明化"},
{["value"] = 7.62866884e-42;2.0, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 144, ["type"] = 16},
}
qmxg = {
{["value"] = 5444, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end

function m4()
gg.clearResults()
gg.setRanges(1048576)
gg.searchNumber("5.3905149e-41;4.75926e21;-4.2038954e-45;5.0359623e21;1.4012985e-45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-4.2038954e-45", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("5444", gg.TYPE_FLOAT)
gg.toast("偏移马赛克")
gg.clearResults()
gg.setRanges(1048576)
gg.searchNumber("2.2970084e-41;6.50000286102;-2.0283851e-39;4.7788715e21;7.9691844e-42", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-2.0283851e-39", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("5444", gg.TYPE_FLOAT)
gg.toast("偏移透明化")
gg.clearResults()
gg.setRanges(1048576)
gg.searchNumber("1,194,328,072;2,053;-1,593,833,724;856,132;1,661,276,167", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-1,593,833,724", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("0", gg.TYPE_DWORD)
gg.toast("绿色")
gg.clearResults()
end

function m5()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("1619D;2F;-1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("120", gg.TYPE_FLOAT)
gg.clearResults()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("2D;24,576.0078125F;2F;", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("120", gg.TYPE_FLOAT)
gg.toast("855透视开启成功")
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("65,545D;196,617D;131,079", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("196617", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("7", gg.TYPE_DWORD)
gg.toast("绿色")
end

function m6()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("1.56918523e-39;4.75926898e21;4.75925997e21;2.0", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("40",gg.TYPE_FLOAT)
gg.toast("第一步成功")
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("1.12050248e-19;1.39125304e-19;1.39125485e-19;1.66236988e-19;1.66236872e-19;3.76158192e-37;2.0", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("40",gg.TYPE_FLOAT)
gg.toast("透视开启成功")
end

function m7()
qmnb = {
{["memory"] = 1048576},
{["name"] = "马赛克身体"},
{["value"] = 2.37548875809, ["type"] = 16},
{["lv"] = 3.75048947334, ["offset"] = -40, ["type"] = 16},
{["lv"] = 2.25048851967, ["offset"] = -8, ["type"] = 16},
{["lv"] = 2, ["offset"] = 196, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = 196, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "身体透明化"},
{["value"] = 0.00999999978, ["type"] = 16},
{["lv"] = 2, ["offset"] = -96, ["type"] = 16},
{["lv"] = 0.0000331, ["offset"] = -88, ["type"] = 16},
{["lv"] = 0.000021, ["offset"] = -80, ["type"] = 16},
{["lv"] = 0.0000135, ["offset"] = -72, ["type"] = 16},
{["lv"] = 0.0000058, ["offset"] = -64, ["type"] = 16},
{["lv"] = 0.0000541, ["offset"] = -56, ["type"] = 16},
{["lv"] = 0.0000345, ["offset"] = -48, ["type"] = 16},
{["lv"] = 0.0000268, ["offset"] = -40, ["type"] = 16},
{["lv"] = 0.000001986, ["offset"] = -32, ["type"] = 16},
{["lv"] = 1, ["offset"] = -8, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = -96, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "头脚马赛克"},
{["value"] = 2.37548875809, ["type"] = 16},
{["lv"] = 3.75048947334, ["offset"] = -40, ["type"] = 16},
{["lv"] = 2.25048851967, ["offset"] = -8, ["type"] = 16},
{["lv"] = 2, ["offset"] = 196, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = 196, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "头脚透明化"},
{["value"] = 3.8770840168, ["type"] = 16},
{["lv"] = 2, ["offset"] = -396, ["type"] = 16},
{["lv"] = 0.0000331, ["offset"] = -388, ["type"] = 16},
{["lv"] = 0.000021, ["offset"] = -380, ["type"] = 16},
{["lv"] = 0.0000135, ["offset"] = -372, ["type"] = 16},
{["lv"] = 0.0000058, ["offset"] = -364, ["type"] = 16},
{["lv"] = 0.0000541, ["offset"] = -356, ["type"] = 16},
{["lv"] = 0.0000345, ["offset"] = -348, ["type"] = 16},
{["lv"] = 0.0000268, ["offset"] = -340, ["type"] = 16},
{["lv"] = 0.000001986, ["offset"] = -332, ["type"] = 16},
{["lv"] = 0.00999999978, ["offset"] = -300, ["type"] = 16},
{["lv"] = 3.75000357628, ["offset"] = -8, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = -396, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "头脚透明化"},
{["value"] = 3.8770840168, ["type"] = 16},
{["lv"] = 2, ["offset"] = -396, ["type"] = 16},
{["lv"] = 0.0000331, ["offset"] = -388, ["type"] = 16},
{["lv"] = 0.000021, ["offset"] = -380, ["type"] = 16},
{["lv"] = 0.0000135, ["offset"] = -372, ["type"] = 16},
{["lv"] = 0.0000058, ["offset"] = -364, ["type"] = 16},
{["lv"] = 0.0000541, ["offset"] = -356, ["type"] = 16},
{["lv"] = 0.0000345, ["offset"] = -348, ["type"] = 16},
{["lv"] = 0.0000268, ["offset"] = -340, ["type"] = 16},
{["lv"] = 0.000001986, ["offset"] = -332, ["type"] = 16},
{["lv"] = 0.00999999978, ["offset"] = -300, ["type"] = 16},
{["lv"] = 3.75000357628, ["offset"] = -8, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = -396, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "身体白色"},
{["value"] = 2.50999999046, ["type"] = 16},
{["lv"] = 1, ["offset"] = -48, ["type"] = 16},
{["lv"] = 0.00100000005, ["offset"] = -40, ["type"] = 16},
{["lv"] = 0.08001708984, ["offset"] = -36, ["type"] = 16},
{["lv"] = 0.31830984354, ["offset"] = -32, ["type"] = 16},
{["lv"] = 3.14159297943, ["offset"] = -20, ["type"] = 16},
{["lv"] = 0.6376953125, ["offset"] = -8, ["type"] = 16},
{["lv"] = 2.146484375, ["offset"] = -4, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = -48, ["type"] = 16},

}
xqmnb(qmnb)
qmnb = {
{["memory"] = 1048576},
{["name"] = "头脚绿"},
{["value"] = 0.08001708984, ["type"] = 16},
{["lv"] = 0.00100000005, ["offset"] = -4, ["type"] = 16},
{["lv"] = 0.31830984354, ["offset"] = 4, ["type"] = 16},
{["lv"] = 0.00001, ["offset"] = 12, ["type"] = 16},
{["lv"] = 3.14159297943, ["offset"] = 16, ["type"] = 16},
{["lv"] = 0.6376953125, ["offset"] = 28, ["type"] = 16},
{["lv"] = 2.146484375, ["offset"] = 32, ["type"] = 16},
{["lv"] = 2.50999999046, ["offset"] = 36, ["type"] = 16},
{["lv"] = 0.02999999933, ["offset"] = 40, ["type"] = 16},
{["lv"] = 2.43000006676, ["offset"] = 44, ["type"] = 16},
{["lv"] = 0.58999997377, ["offset"] = 48, ["type"] = 16},
{["lv"] = 0.1400000006, ["offset"] = 52, ["type"] = 16},
}
qmxg = {
{["value"] = 120, ["offset"] = 0, ["type"] = 16},

}
xqmnb(qmnb)
end

function m8()
gg.clearResults()
gg.setRanges(1048576)
gg.searchNumber("2.0;1.66230242e-19;7.17464814e-43", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(150)
gg.editAll("80", gg.TYPE_FLOAT)
gg.clearResults()
gg.setRanges(1048576)
gg.searchNumber("1.66289786e-19;3.76158192e-37;2.0;9.99999997e-7", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(150)
gg.editAll("80", gg.TYPE_FLOAT)
gg.toast("vmos透视开启成功")
end

function m9()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("2.015625;3.75;2.24207754e-44;2.26870221e-42;2.0:137", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(30)
gg.editAll("120", gg.TYPE_FLOAT)
gg.toast("710透明化开启成功")
end

function m10()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("2.22386066e-42;3.76158192e-37;2.0:145", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(30)
gg.editAll("60", gg.TYPE_FLOAT)
gg.toast("865透明化开启成功")
end
function m11()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("3.75000333786F;4.7592656e21F;2.0F;0.0001F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("40", gg.TYPE_FLOAT)
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("1.39125536e-19F;1.39125446e-19F;1.39125368e-19F;1.39125304e-19F;2.0F;0.0001F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("40", gg.TYPE_FLOAT)
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("2.24207754e-44F;2.271 50481e-42F;2.27150481e-42F;2.0F;0.0001F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("40", gg.TYPE_FLOAT)
gg.toast("骁龙透视开启成功")
end

function m12()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("-1.9101785e-38;-2.0283851e-39;4.8526584e21;7.1054274e-15;3.37548828125:17", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-2.0283851e-39", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("5444", gg.TYPE_FLOAT)
gg.toast("麒麟通用透视开启成功")
end
function m13()
gg.clearResults()
gg.setRanges(gg.REGION_VIDEO)
gg.searchNumber("1.3912521e-19F;1.3552544e-19F;1.3912525e-19F;-4.3377372e-19F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("1.3912521e-19F;1.3552544e-19F;1.3912525e-19F;-4.3377372e-19F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(99)
gg.editAll("0", gg.TYPE_FLOAT)
gg.toast("绿色")
end
function a1()
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('0.1E;1.0E;0.75E;0.05E;0.01E;0.2E:337',gg.TYPE_DOUBLE,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('0.1',gg.TYPE_DOUBLE,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(100)
gg.editAll('4',gg.TYPE_DOUBLE)
gg.toast("枪械速射开启成功")
end

function a2()
qmnb = {
{memory = 4},
{
name = "身体范围"
},
{value = 0.08, type = 16},
{
lv = 0,
offset = -4,
type = 4
},
{
lv = 0,
offset = -12,
type = 4
}
}
qmxg = {
{
value = 1.7,
offset = 0,
type = 16
}
}
xqmnb(qmnb)
end

function a3()
qmnb = {
{memory = 4},
{
name = "头部范围"
},
{value = 0.14, type = 16},
{
lv = 62,
offset = -1,
type = 1
}
}
qmxg = {
{
value = 0.4,
offset = 0,
type = 16
}
}
xqmnb(qmnb)
qmnb = {
{memory = 4},
{
name = "身体范围"
},
{value = 0.08, type = 16},
{
lv = 0,
offset = -4,
type = 4
},
{
lv = 0,
offset = -12,
type = 4
}
}
qmxg = {
{
value = 1.7,
offset = 0,
type = 16
}
}
xqmnb(qmnb)
end

function a4()
qmnb = {
{["memory"] = 4},
{["name"] = "子弹秒换开启"},
{["value"] = 1.4499999284744263, ["type"] = 16},
{["lv"] = 2.375, ["offset"] = -72, ["type"] = 16},
{["lv"] = 2.125, ["offset"] = -48, ["type"] = 16},
{["lv"] = 1.75, ["offset"] = -24, ["type"] = 16},
}
qmxg={
{["value"] = 2.5625, ["offset"] = 0, ["type"] = 16, ["freeze"] = false},
}
xqmnb(qmnb)
end

function a5()
qmnb = {
{["memory"] = 4},
{["name"] = "延迟无后开启"},
{["value"] = -1.5881868392106856E-23, ["type"] = 16},
{["lv"] = 1.9375, ["offset"] = -44, ["type"] = 16},
{["lv"] = 1.75, ["offset"] = -20, ["type"] = 16},
{["lv"] = 1.4499999284744263, ["offset"] = 4, ["type"] = 16},
{["lv"] = -1.5881868392106856E-23, ["offset"] = 24, ["type"] = 16},
{["lv"] = 1.4499999284744263, ["offset"] = 28, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] = 16},
{["value"] = 0, ["offset"] = 4, ["type"] = 16},
{["value"] = 0, ["offset"] = 24, ["type"] = 16},
{["value"] = 0, ["offset"] = 28, ["type"] = 16},
}
xqmnb(qmnb)
end

function a6()
qmnb = {
{["memory"] = 4},
{["name"] = "枪械聚点开启"},
{["value"] = 1.875, ["type"] = 16},
{["lv"] = 1.401298464324817E-45, ["offset"] = 12, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 24, ["type"] = 16},
{["lv"] = 1.75, ["offset"] = 72, ["type"] = 16},
{["lv"] = 0.8139999508857727, ["offset"] = 120, ["type"] = 16},
}
qmxg = {
{["value"] = 1, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
end

function b1()
if state.b=="[开启]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物穿墙开启"},
{["value"] = 0.7071068286895752, ["type"] = 16},
{["lv"] = 0.7071068286895752, ["offset"] = 4, ["type"] = 16},
{["lv"] = 0.6216099858283997, ["offset"] = 20, ["type"] = 16},
{["lv"] = 0.009999999776482582, ["offset"] = 24, ["type"] = 16},
{["lv"] = 0.8888888955116272, ["offset"] = 188, ["type"] = 16},
{["lv"] = 0.10000000149011612, ["offset"] = 228, ["type"] = 16},
{["lv"] = 0.25, ["offset"] = 232, ["type"] = 16},
{["lv"] = 0.8999999761581421, ["offset"] = 236, ["type"] = 16},
}
qmxg = {
{["value"] = -0.005, ["offset"] = 220, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
state.b="[关闭]"
elseif state.b=="[关闭]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物穿墙关闭"},
{["value"] = 0.7071068286895752, ["type"] = 16},
{["lv"] = 0.7071068286895752, ["offset"] = 4, ["type"] = 16},
{["lv"] = 0.6216099858283997, ["offset"] = 20, ["type"] = 16},
{["lv"] = 0.009999999776482582, ["offset"] = 24, ["type"] = 16},
{["lv"] = 0.8888888955116272, ["offset"] = 188, ["type"] = 16},
{["lv"] = 0.10000000149011612, ["offset"] = 228, ["type"] = 16},
{["lv"] = 0.25, ["offset"] = 232, ["type"] = 16},
{["lv"] = 0.8999999761581421, ["offset"] = 236, ["type"] = 16},
}
qmxg = {
{["value"] = 0.4, ["offset"] = 220, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
state.b="[开启]"
end
end

function b2()
if state.c=="[开启]" then
qmnb = {
{["memory"] = 16384},
{["name"] = "人物加速开启"},
{["value"] = 0.533554432, ["type"] = 64},
{["lv"] = 1.0E-6, ["offset"] = 8, ["type"] = 64},
{["lv"] = 0.001, ["offset"] = 16, ["type"] = 64},
{["lv"] = 1.0E-9, ["offset"] = 24, ["type"] = 64},
}
qmxg={
{["value"] = 0.539, ["offset"] = 0, ["type"] = 64, ["freeze"] = false},
}
xqmnb(qmnb)
gg.clearResults()
state.c="[关闭]"
elseif state.c=="[关闭]" then
qmnb = {
{["memory"] = 16384},
{["name"] = "人物加速关闭"},
{["value"] = 0.539, ["type"] = 64},
{["lv"] = 1.0E-6, ["offset"] = 8, ["type"] = 64},
{["lv"] = 0.001, ["offset"] = 16, ["type"] = 64},
{["lv"] = 1.0E-9, ["offset"] = 24, ["type"] = 64},
}
qmxg={
{["value"] = 0.533554432, ["offset"] = 0, ["type"] = 64, ["freeze"] = false},
}
xqmnb(qmnb)
gg.clearResults()
state.c="[开启]"
end
end

function b3()
if state.d=="[开启]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物遁地开启"},
{["value"] = 3.207297995686531E-4, ["type"] = 64},
{["lv"] = 0.7071068286895752, ["offset"] = 4, ["type"] = 16},
{["lv"] = 0.7071068286895752, ["offset"] = 8, ["type"] = 16},
{["lv"] = 0.0078125, ["offset"] = 12, ["type"] = 64},
{["lv"] = 1.0, ["offset"] = 16, ["type"] = 16},
{["lv"] = 1.1875975178554654E-4, ["offset"] = 20, ["type"] = 64},
{["lv"] = 0.6216099858283997, ["offset"] = 24, ["type"] = 16},
{["lv"] = 0.009999999776482582, ["offset"] = 28, ["type"] = 16},
{["lv"] = 0.0078125, ["offset"] = 44, ["type"] = 64},
{["lv"] = 1.0, ["offset"] = 48, ["type"] = 16},
}
qmxg = {
{["value"] = 8, ["offset"] = 16, ["type"] = 16,["freeze"] = true},
}
xqmnb(qmnb)
gg.clearResults()
state.d="[关闭]"
elseif state.d=="[关闭]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物遁地关闭"},
{["value"] = 3.207297995686531E-4, ["type"] = 64},
{["lv"] = 131072.0, ["offset"] = 12, ["type"] = 64},
}
qmxg = {
{["value"] = 1, ["offset"] = 16, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
state.d="[开启]"
end
end

function b4()
if state.e=="[开启]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物滑翔开启成功"},
{["value"] = 0.30000001192092896, ["type"] = 16},
{["lv"] = 50.0, ["offset"] = -8, ["type"] = 16},
{["lv"] = 0.20000000298023224, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 12, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
gg.toast("人物滑翔开启成功")
gg.clearResults()
state.e="[关闭]"
elseif state.e=="[关闭]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物滑翔关闭成功"},
{["value"] = 12, ["type"] = 16},
{["lv"] = 50.0, ["offset"] = -8, ["type"] = 16},
{["lv"] = 0.20000000298023224, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 0.30000001192092896, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
gg.toast("人物滑翔关闭成功")
gg.clearResults()
state.e="[开启]"
end
end

function b5()
if state.f=="[开启]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物高跳开启"},
{["value"] = 4.5, ["type"] = 16},
{["lv"] = 0.30000001192092896, ["offset"] = 148, ["type"] = 16},
{["lv"] = 0.20000000298023224, ["offset"] = 156, ["type"] = 16},
}
qmxg={
{["value"] = 11, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
state.f="[关闭]"
elseif state.f=="[关闭]" then
qmnb = {
{["memory"] = 4},
{["name"] = "人物高跳关闭"},
{["value"] = 11, ["type"] = 16},
{["lv"] = 0.30000001192092896, ["offset"] = 148, ["type"] = 16},
{["lv"] = 0.20000000298023224, ["offset"] = 156, ["type"] = 16},
}
qmxg={
{["value"] = 4.5, ["offset"] = 0, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
state.f="[开启]"
end
end

function b6()
gg.clearResults()
gg.setRanges(16)
gg.searchNumber("257D;26,512W;0.0078125E;1F;16,256W;0.0078125E;16,256W", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("1.2", gg.TYPE_FLOAT)
gg.toast("变大开启成功")
end

 

function Exit()
print("自用")
os.exit()
end

 

function HOME()
lw=1
Main()
end

 

cs = "凡尘"
while(true)do
if gg.isVisible(true) then
XGCK=1
gg.setVisible(false)
end
gg.clearResults()
if XGCK==1 then
Main()
end
end

 

标签

发表评论

评论列表(1)