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"] xgdj = qmxg[x]["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 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) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end function edit(orig,ret)_om=orig[1].memory or orig[1][1]_ov=orig[3].value or orig[3][1]_on=orig[2].name or orig[2][1]gg.clearResults()gg.setRanges(_om)gg.searchNumber(_ov,orig[3].type or orig[3][2])sz=gg.getResultCount()if sz<1 then gg.toast(_on.."开启失败")else sl=gg.getResults(720)for i=1,sz do ist=true for v=4,#orig do if ist==true and sl[i].value==_ov then cd={{}}cd[1].address=sl[i].address+(orig[v].offset or orig[v][2])cd[1].flags=orig[v].type or orig[v][3]szpy=gg.getValues(cd)cdlv=orig[v].lv or orig[v][1]cdv=szpy[1].value if cdlv==cdv then pdjg=true ist=true else pdjg=false ist=false end end end if pdjg==true then szpy=sl[i].address for x=1,#(ret)do xgpy=szpy+(ret[x].offset or ret[x][2])xglx=ret[x].type or ret[x][3]xgsz=ret[x].value or ret[x][1]xgdj=ret[x].freeze or ret[x][4]xgsj={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xgsj[1].freeze=xgdj gg.addListItems(xgsj)else gg.setValues(xgsj)end end xgjg=true end end if xgjg==true then gg.toast(_on.."开启成功")else gg.toast(_on.."开启失败")end end 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) gg.toast("已修改"..#t.."条数据") gg.addListItems(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"] xgdj = qmxg[x]["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 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) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end AA="模板作者:鹿凛" 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("", false) return false end else gg.toast("") 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"] .. "\n❌开启失败❌") 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"] .. "\n❌开启失败❌") 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"] .. "\n📥开启成功,共修改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "\n❌开启失败❌") end end end end function Fxs(Search,Get,Type,Range,Name) gg.clearResults() gg.setRanges(Range) gg.setVisible(false) if Search[1][1]~=false then gg.searchAddress(Search[1][1],0xFFFFFFFF,Search[1][4] or Type,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) end gg.searchNumber(Search[1][2],Search[1][4] or Type,false,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) local count=gg.getResultCount() local result=gg.getResults(count) gg.clearResults() local data={} local base=Search[1][3] 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=Search[k][3] or Type end tmp=gg.getValues(tmp) for i,v in ipairs(tmp) do if v.flags==16 or v.flags==64 then values=tostring(v.value):sub(1,6) num=tostring(num):sub(1,6) else values=v.value end if tostring(values)~=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,t_={},{} local base=Search[1][3] for i=1,#data do for k,w in ipairs(Get) do offset=w[2] - base if w[1]==false then t_[#t_+1]={} t_[#t_].address=data[i]+offset t_[#t_].flags=Type th_=(th_) and th_+1 or 1 else t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=w[3] or Type t[#t].value=w[1] tg_=(tg_) and tg_+1 or 1 if (w[4]==true) then local item={} item[#item+1]=t[#t] item[#item].freeze=w[4] gg.addListItems(item) end end end end tg=(tg_) and "\n📥修改"..tg_.."数据📥" or "" th=(th_) and "" or "" gg.setValues(t) t_=gg.getValues(t_) gg.loadResults(t_) gg.toast("\n"..Name..tg) tg_,th_=nil,nil else gg.toast("❌搜索不到❌",false) return false end else gg.toast("❌开启失败") return false end end function STF(Nc,Type,Search,Write) gg.clearResults() gg.setRanges(Nc) 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 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) gg.sleep(400) gg.toast("\n✔"..Name.."\n✔修改"..#t.."数据") else gg.toast("\n✘"..Name.."\n✘搜索不到") return false end else gg.toast("\n✘"..Name.."\n✘搜索不到") return false end end function Hewang(Nc,Type,Search,Write) gg.clearResults() gg.setRanges(Nc) 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("\n️检测"..#data.."闪电.Pro") 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) gg.sleep(400) gg.toast("闪电.Pro"..Name.."By 秋封:修改"..#t.."数据") else gg.toast("\n"..Name.."\n") return false end else gg.toast("\n"..Name.."\n") return false end end function js(address,flags,value) local hw={} hw[1]={} hw[1].address=address hw[1].flags=flags hw[1].value=value gg.setValues(hw) end function baseAdd(t) local py = gg.getRangesList(t["1"])[1].start + t["2"] gg.setValues({ { address = py, flags = t["3"], value = t["4"] }})end PT = (os.date("%Y年%m月%d日%H时%M分%S秒")) function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end --基址 local time=os.clock() local PACKAGE=(gg.getTargetInfo(gg.getTargetPackage()).packageName);--包名获取 local PID=gg.getTargetInfo().activities[1].label--名称获取 if PACKAGE == "com.tencent.iglitece" then so=gg.getRangesList('libUE4.so')[1].start else gg.alert("❌当前进程错误!") end function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end local time=os.clock()--脚本已运行的配置 function a() function Alie(Search, Write,Neicun,Mingcg,Shuzhiliang) gg.clearResults() gg.setRanges(Neicun) gg.setVisible(false) gg.searchNumber(Search[1][1], Search[1][3]) 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 = Search[k][3] 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(Mingcg.."搜索到"..#data.."条数据") local t = {} local base = Search[1][2] if Shuzhiliang == "" and Shuzhiliang > 0 and Shuzhiliang < #data then Shuzhiliang=Shuzhiliang else Shuzhiliang=#data end for i=1, Shuzhiliang do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = w[3] t[#t].value = w[1] if (w[4] == true) then local item = {} item[#item+1] = t[#t] item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast(Mingcg.."已修改"..#t.."条数据") gg.addListItems(t) else gg.toast(Mingcg.."开启失败", false) return false end else gg.toast("搜索失败") return false end end qmnb = {{["memory"] = 32},{["name"] = "落杀 ғᴋ"},{["value"] = 4787326405013667840, ["type"] = 32},{["lv"] = 4776067405941047296, ["offset"] = 4, ["type"] = 32},{["lv"] = 4611686019539402752, ["offset"] = 8, ["type"] = 32},}qmxg = {{["value"] = 70, ["offset"] = 0, ["type"] = 16},}xqmnb(qmnb) gg["toast"]("龟〆落杀") Name = "开" local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744149883614555, 0}} local Sz2 = {{-1296744153870237696, 0}} Hewang(Nc, Lx, Sz1, Sz2) Name = "开" local Nc = 16392 local Lx = 32 local Sz1 = {{-1505254313802431360, 0}} local Sz2 = {{-1505254313804431360, 0}} Hewang(Nc, Lx, Sz1, Sz2) Name = "开" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408728725571, 0}} local Sz2 = {{-1328550408577467023, 0}} Hewang(Nc, Lx, Sz1, Sz2) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4525216907414147695", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("4525216907473673257", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1328550408728725571", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("-1328550408576460390", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1228926273201366461", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(699) gg.editAll("-1228926273126264269", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1296744149883614555", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(699) gg.editAll("-1296744149264269342", gg.TYPE_QWORD) Fxs({{false,-998965248,0,4,nil,nil},{1101004800,232,4}},{{0.055,236,16,false}},4,32,"加速") Fxs({{false,-309327247,0,4,nil,nil},{-308340220,4,4}},{{0.285,-4,16,false}},4,16384,"加速") Fxs({{false,1198153728,0,4,nil,nil},{1,20,4},{1,24,4}},{{1.01,100,16,false}},4,32,"加速") Fxs({{false,-1088801054,0,4,nil,nil}},{{9,-8,16,false}},4,16384,"加速") end function b() Name = "" local Nc = 16392 local Lx = 32 local Sz1 = {{-1296744153870237696, 0}} local Sz2 = {{-1296744149883614555, 0}} Hewang(Nc, Lx, Sz1, Sz2) Name = "" local Nc = 16392 local Lx = 32 local Sz1 = {{-1505254313804431360, 0}} local Sz2 = {{-1505254313802431360, 0}} Hewang(Nc, Lx, Sz1, Sz2) Name = "" local Nc = 16392 local Lx = 32 local Sz1 = {{-1328550408577467023, 0}} local Sz2 = {{-1328550408728725571, 0}} Hewang(Nc, Lx, Sz1, Sz2) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,525,216,907,473,673,257", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(30) gg.editAll("4,525,216,907,414,147,695", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1,328,550,408,576,460,390", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(10) gg.editAll("-1,328,550,408,728,725,571", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1228926273126264269", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(699) gg.editAll("-1228926273201366461", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(16384) gg.searchNumber("-1296744149264269342", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(699) gg.editAll("-1296744149883614555", gg.TYPE_QWORD) Fxs({{false,268464131,0,4,nil,nil},{290914307,4,4}},{{-6.15262313e27,24,16,false}},4,16384,"关闭") Fxs({{false,-998965248,0,4,nil,nil},{1101004800,232,4}},{{0.0005,236,16,false}},4,32,"关闭") Fxs({{false,-309327247,0,4,nil,nil},{-308340220,4,4}},{{9.99999997e-7,-4,16,false}},4,16384,"关闭") Fxs({{false,1198153728,0,4,nil,nil},{1,20,4},{1,24,4}},{{1.0,100,16,false}},4,32,"关闭") Fxs({{false,-1088801054,0,4,nil,nil}},{{10.90734863281,-8,16,false}},4,16384,"关闭") end function c() function A(Search,Get,Type,Range,Name) gg.clearResults() gg.setRanges(Range) gg.setVisible(false) if Search[1][1]~=false then gg.searchAddress(Search[1][1],0xFFFFFFFF,Search[1][4] or Type,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) end gg.searchNumber(Search[1][2],Search[1][4] or Type,false,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) local count=gg.getResultCount() local result=gg.getResults(count) gg.clearResults() local data={} local base=Search[1][3] 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=Search[k][3] or Type end tmp=gg.getValues(tmp) for i,v in ipairs(tmp) do if v.flags==16 or v.flags==64 then values=tostring(v.value):sub(1,6) num=tostring(num):sub(1,6) else values=v.value end if tostring(values)~=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,t_={},{} local base=Search[1][3] for i=1,#data do for k,w in ipairs(Get) do offset=w[2] - base if w[1]==false then t_[#t_+1]={} t_[#t_].address=data[i]+offset t_[#t_].flags=Type th_=(th_) and th_+1 or 1 else t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=w[3] or Type t[#t].value=w[1] tg_=(tg_) and tg_+1 or 1 if (w[4]==true) then local item={} item[#item+1]=t[#t] item[#item].freeze=w[4] gg.addListItems(item) end end end end tg=(tg_) and "\n修改"..tg_.."数据" or "" th=(th_) and "" or "" gg.setValues(t) t_=gg.getValues(t_) gg.loadResults(t_) gg.toast("\n"..Name..tg) tg_,th_=nil,nil else gg.toast("搜索不到",false) return false end else gg.toast("搜索不到") return false end end A({{false,-1228926273201366461,0,32,nil,nil}},{{-1228926273126264269,0,32,false}},32,16384,"锁帧") A({{false,-6.15264497e27,0,16,nil,nil}},{{0,0,16,false}},16,16384,"定点防拉") A({{false,-6.1526231e27,0,16,nil,nil}},{{0,0,16,false}},16,16384,"-36c1灵魂") A({{false,-1287719427143988736,0,32,nil,nil}},{{-1296744153870237696,0,32,false}},32,16384,"斜坡防拉") A({{false,268464131,0,4,nil,nil},{290914307,4,4}},{{0,24,16,false}},4,16384,"强制防拉") A({{false,-1359975840,0,4,nil,nil}},{{-1228926273201366,-12,32,false}},4,16384,"强制防拉") end function d() gg.setRanges(16384) gg.searchNumber("-1246359368843322828", nil, nil, nil, nil, nil) gg.getResults(50000) gg.editAll("-1246359372829818880", gg.TYPE_QWORD) gg.setRanges(16384) gg.searchNumber("-1883348103111828940", nil, nil, nil, nil, nil) gg.getResults(50000) gg.editAll("-1883348107098324992", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("30D;10D;0F~1F;257D;3D::40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.08600000292", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0.4", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("30D;10D;0.0~1.0F;257D;3D::40", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.10000000149", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0.4", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_C_DATA) gg.searchNumber('-3.693674e20;-1.2382424e28;-8.5076384e22::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL) gg.searchNumber('-1.2382424e28', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL) gg.getResults(2) gg.editAll('0', gg.TYPE_FLOAT) gg.clearResults() end function e() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("4138667321167981973", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) sfsss1 = gg.getResults(1401) gg.editAll("4848124999984742400", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("-4767057191653227520", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-4767057191653227520", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-4767057191653227520", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1) sfsss2 = gg.getResults(1401) gg.editAll("-4767057191527907328", gg.TYPE_QWORD) gg.clearResults() end function f() gg.clearResults() gg.setRanges(32) local dataType = 4 local search = {{1119156320,0},{1105199104,12},} local modify = {{1123024896,12},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 4 local search = {{1091779028,0},{1103626240,28},{1106509824,32},} local modify = {{1123024896,28},{1123024896,32},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{69.5,0},{33,-4},{35,-8},} local modify = {{180.0,0},{180.0,-4},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{9.20161819458,0},{0,12},{0,16},} local modify = {{180.0,24},{180.0,28},{180.0,32},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{-88.66608428955,0},{16,4},{26,8},} local modify = {{-640.0,8},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{16,0},{26,4},} local modify = {{-430.0,0},{-430.0,4},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{45,0},{30,-4},{15,-8},} local modify = {{-430.0,0},{-430.0,-4},{-430.0,-8},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{8,0},{15,4},} local modify = {{-430.0,0},{-430.0,4},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{18,0},{27.25,4},} local modify = {{-430.0,0},{-430.0,4},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{27.13222122192,0},{15,4},{5,-4},{39,20},{27,116},{38,132},} local modify = {{-640.0,4},{-640.0,116},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 4 local search = {{3266401545,0},{1104150528,8},{1104150528,392},} local modify = {{1127481344,8},{1127481344,392},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{-88.73961639404,0},{18,4},{90.48510742188,4},} local modify = {{180.0,4},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(16384) local dataType = 16 local search = {{-4.5469254e26,0},{0.0001,36},{0.10000000149,40},} local modify = {{42.0,36},{43.0,40},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(16384) local dataType = 16 local search = {{-7.89353e27,0},{0.0001,48},{9.9999999e-9,52},} local modify = {{15.0,48},{512.0,56},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(16384) local dataType = 16 local search = {{-2097191.0,0},{-8.3232286e22,140},} local modify = {{0,140},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{90.48510742188,0},{28.0,12},} local modify = {{180.0,12},} SearchWrite(search,modify,dataType) gg.toast("全身范围") gg.clearResults() gg.setRanges(32) local dataType = 16 local search = {{0.00009203507,0},{30.5,24},} local modify = {{240.0,20},{240.0,24},} SearchWrite(search,modify,dataType) gg.toast("绝对真伤") gg.clearResults() gg.setRanges(16384) local dataType = 16 local search = {{-1.2130705e23,0},{-1.9813088e28,4},} local modify = {{-2.7859696e28,8},} SearchWrite(search,modify,dataType) gg.clearResults() gg.setRanges(16384)--加伤 local dataType = 16 local search = {{-1.8589446e26,0},{-1.5474144e26,-4},} local modify = {{0,-4},} SearchWrite(search,modify,dataType) gg.toast("xa小加强") gg.clearResults() gg.setRanges(16384) local dataType = 16 local search = {{-1.5474144e26,-4},{-1.8598529e26,0},} local modify = {{0,-4},} SearchWrite(search,modify,dataType) gg.toast("杀神子弹") gg.clearResults() gg.setRanges(16384) gg.searchNumber("-9.2861054e22;-1.5474144e26::", 16, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("-1.5474144e26", 16, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("0", 16) gg.toast("范围") end function g() gg.setRanges(16384) local dataType = 4--持枪自瞄 local tb1 = {{-352321640,0},{-309327309,4},{-476053504,8},} local tb2 = {{-476053503,8}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 4--开火自瞄 local tb1 = {{-285787648,0},{-286131696,8},{-290108736,12},} local tb2 = {{0,8}} SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 4--开镜自瞄 local tb1 = {{-301258224,0},{167772309,-8},} local tb2 = {{0,0}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 16--磁性自瞄 local tb1 = {{64.50088500977,0},} local tb2 = {{0,0}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 4--自瞄范围 local tb1 = {{-309478912,0},{-289924415,-4},} local tb2 = {{0,0},{0,-4},}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 4--锁头自瞄 local tb1 = {{1324382787,0},{-305325242,-4},} local tb2 = {{0,0}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 4--加载频率 local tb1 = {{-308925904,0},{-308471291,4},{2046820354,44},} local tb2 = {{2046820353,44}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 16--超强圈圈 local tb1 = {{5.533321713993693E-21,0},{2.6253290925755273E-27,52},} local tb2 = {{0,52}}SearchWrite(tb1, tb2, dataType) gg.setRanges(16384) local dataType = 16--自瞄加强 local tb1 = {{2015175168.0,0},} local tb2 = {{0,0},}SearchWrite(tb1, tb2, dataType) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("2015175168", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1) gg.getResults(10) gg.editAll("0",gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("0.0001;1478828288::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("0.0001", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(50) gg.editAll("180", gg.TYPE_FLOAT) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('-9.90656152e27;-443,481,612;-481,296,384:9',gg.TYPE_AUTO,false,gg.SIGN_EQUAL,0,-1) gg.searchNumber('-9.90656152e27',gg.TYPE_AUTO,false,gg.SIGN_EQUAL,0,-1) gg.getResults(99) gg.editAll('-9.90662763e27',gg.TYPE_FLOAT) qmnb = { {["memory"] = NaiCi_11}, {["name"] = "内存自瞄"}, {["value"] = 3.5, ["type"] = NaiCi_24}, {["lv"] = 2.20000004768, ["offset"] = -44, ["type"] = NaiCi_24}, {["lv"] = 0.5, ["offset"] = 20, ["type"] = NaiCi_24}, {["lv"] = 0.10000000149, ["offset"] = 24, ["type"] = NaiCi_24}, {["lv"] = 0.5, ["offset"] = 28, ["type"] = NaiCi_24}, {["lv"] = 0.80000001192, ["offset"] = 32, ["type"] = NaiCi_24}, {["lv"] = 0.80000001192, ["offset"] = 36, ["type"] = NaiCi_24}, {["lv"] = 200, ["offset"] = 52, ["type"] = NaiCi_24}, {["lv"] = 20, ["offset"] = 56, ["type"] = NaiCi_24}, {["lv"] = 100, ["offset"] = 60, ["type"] = NaiCi_24}, } qmxg = { {["value"] = 99999, ["offset"] = 4, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 8, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 12, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 16, ["type"] = NaiCi_24}, } local tb1 = {{ ("360"), ("-12")}, { ("0.0001"), ("0")}, { ("1478828288"), ("84")}, } local tb2 = {{ ("99999"), ("0")}, } local dataType = 16 SearchWrite(tb1,tb2, dataType) local dataType = 16 local tb1 = {{3.5, 3296},{1, 3300},{1, 3304},{1, 3308},{1, 3312},{0.5, 3316},{0.5, 3324},{200, 3348},{20, 3352},{20, 3364}} local tb2 = {{999999999, 3296},{999999999, 3300},{999999999, 3304},{999999999, 3308},{999999999, 3312},{999999999, 3316},{999999999, 3324},{999999999, 3348},{999999999, 3352},{999999999, 3364}} SearchWrite(tb1, tb2, dataType) local dataType = 16 local tb1 = {{-5.4561862e27, 0}, {-3.6893502e20, -8}, {-5.9075698e21, -4}, } local tb2 = {{0, 0}, } SearchWrite(tb1, tb2, dataType) local tb1 = {{ ("360"), ("-12")}, { ("0.0001"), ("0")}, { ("14788282:88"), ("84")}, } local tb2 = {{ ("99999"), ("0")}, } local dataType = 16 SearchWrite(tb1,tb2, dataType) local dataType = 16 local tb1 = {{3.5, 3296},{1, 3300},{1, 3304},{1, 3308},{1, 3312},{0.5, 3316},{0.5, 3324},{200, 3348},{20, 3352},{20, 3364}} local tb2 = {{999999999, 3296},{999999999, 3300},{999999999, 3304},{999999999, 3308},{999999999, 3312},{999999999, 3316},{999999999, 3324},{999999999, 3348},{999999999, 3352},{999999999, 3364}} SearchWrite(tb1, tb2, dataType) Name="距离" local dataType = 32 local tb1 = {{-2044634016379303408, 0}, } local tb2 = {{-1292522027172757503, -12}, } SearchWrite(tb1, tb2, dataType) Name="趴锁" local dataType = 32 local tb1 = {{-1905867063313810928, 0}, } local tb2 = {{-1324327739884306431, -12}, } SearchWrite(tb1, tb2, dataType) qmnb = { {["memory"] = NaiCi_11}, {["name"] = "全屏自瞄"}, {["value"] = 3.5, ["type"] = NaiCi_24}, {["lv"] = 2.20000004768, ["offset"] = -44, ["type"] = NaiCi_24}, {["lv"] = 0.5, ["offset"] = 20, ["type"] = NaiCi_24}, {["lv"] = 0.10000000149, ["offset"] = 24, ["type"] = NaiCi_24}, {["lv"] = 0.5, ["offset"] = 28, ["type"] = NaiCi_24}, {["lv"] = 0.80000001192, ["offset"] = 32, ["type"] = NaiCi_24}, {["lv"] = 0.80000001192, ["offset"] = 36, ["type"] = NaiCi_24}, {["lv"] = 200, ["offset"] = 52, ["type"] = NaiCi_24}, {["lv"] = 20, ["offset"] = 56, ["type"] = NaiCi_24}, {["lv"] = 100, ["offset"] = 60, ["type"] = NaiCi_24}, } qmxg = { {["value"] = 99999, ["offset"] = 4, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 8, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 12, ["type"] = NaiCi_24}, {["value"] = 99999, ["offset"] = 16, ["type"] = NaiCi_24}, } gg.setRanges(16384) gg.setVisible(false) gg.searchNumber("360.0;0.00100000005;-9.38575022e22", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("360.0;0.00100000005", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-1.4235595e-27;200.70928955078", gg. TYPE_FLOAT) gg.toast("超广角开启成功") gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-299365883", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) revert = gg.getResults(200, nil, nil, nil, nil, nil, nil, nil, nil) gg.editAll("0", gg.TYPE_DWORD) gg.processResume() Name = "全枪无后" local Nc = 16392 local Lx = 16 local Sz1 = {{-1.1368873507541788E-13, 0},{-2.78698202667584E28, -8}} local Sz2 = {{0, -8}} STF(Nc, Lx, Sz1, Sz2) Name = "倍镜防抖" local Nc = 16392 local Lx = 4 local Sz1 = {{-308340221, 0},{514853441, 8},{-300938736, 12}} local Sz2 = {{0, 12}} STF(Nc, Lx, Sz1, Sz2) Name = "准心聚点" local Nc = 16392 local Lx = 4 local Sz1 = {{-308311547, 0},{-300938736, 16}} local Sz2 = {{1120403456, 16}} STF(Nc, Lx, Sz1, Sz2) end function Exit() print("落之杀") os.exit() end function Main() FW = gg.choice({ "开启加速", "关启加速", "防拉回1", "防拉回2", "路飞开启", "伤害范围", "基础一套", "退出脚本", }, nil, "落之杀") if FW==1 then a() end if FW==2 then b() end if FW==3 then c() end if FW==4 then d() end if FW==5 then e() end if FW==6 then f() end if FW==7 then g() end if FW==8 then Exit() end XGCK=1 end while true do if gg.isVisible(true) then XGCK = nil gg.setVisible(false) end if XGCK == nil then Main() end end