雨落科技八卦版.lua.txt

--雨落科技
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 end end end end

function editData(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启失败")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功")else gg.toast(qmnbn.."开启失败")end end end

-- JF Script编辑器
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD


function Main()
some = gg.choice({
"加速右移",
"跳八卦-双倍掉率",
"叠buff-不建议层数过多",
"退出辅助"
}, some, "雨落科技免费版,嘎嘎跳八卦,嘎嘎掉浮尘")

if some==1 then mchu1() end
if some==2 then mchu4() end
if some==2 then buff1() end
if some==3 then gg.setVisible(true) os.exit() end

FX1=false
end

--------------------------------------------八卦秒通
function mchu4()
qmnb = {
{["memory"] = 4},
{["name"] = "速通"},
{["value"] = 1008730112, ["type"] = 4},
{["lv"] = -120, ["offset"] = -108, ["type"] = 4},
}
qmxg = {
{["value"] = 999999999, ["offset"] = -108, ["type"] = 4},
}
qmnb = {
{["memory"] = 4},
{["name"] = "速通"},
{["value"] = 1076931242, ["type"] = 4},
{["lv"] = -1431655765, ["offset"] = -4, ["type"] = 4},
{["lv"] = 1076931242, ["offset"] = -8, ["type"] = 4},
}
qmxg = {
{["value"] = 999999999, ["offset"] = -4, ["type"] = 64},
}
xqmnb(qmnb)
end
slh=1

--------------------------------------秒出第一步
function mchu1()
qmnb = {
{["memory"] = -1032320},
{["name"] = "秒出"},
{["value"] = 10000, ["type"] = 4},
{["lv"] = 1, ["offset"] = -48, ["type"] = 4},
}
qmxg = {
{["value"] = 285, ["offset"] = -48, ["type"] = 4},
}
xqmnb(qmnb)
gg.toast("开启成功")
end

---------------------------------------叠buff
function buff1()
close1()
editData(
{
{["memory"] = gg.REGION_C_ALLOC},
{["name"] = "雨落属性"},
{["value"] = 1083359232, ["type"] = D},
{["lv"] = 999491,["offset"] =4, ["type"] = D},
{["lv"] = -127,["offset"] =40, ["type"] = D},
{["lv"] = -120,["offset"] =120, ["type"] = D},
},
{
{["value"] = 999999999,["offset"] =120, ["type"] = D,["freeze"] = false},
}
)
gg.toast("开启成功")
gg.clearResults()
end

------------------------------------------清理叠buff
function close1()
editData(
{
{["memory"] = gg.REGION_C_ALLOC},
{["name"] = "属性恢复"},
{["value"] = 1083359232, ["type"] = D},
{["lv"] = 999491,["offset"] =4, ["type"] = D},
{["lv"] = -127,["offset"] =40, ["type"] = D},
{["lv"] = 999999999,["offset"] =120, ["type"] = D},
},
{
{["value"] = -120,["offset"] =120, ["type"] = D,["freeze"] = false},
}
)
gg.clearResults()
end


while true do
if gg.isVisible(true) then
FX1 = true
gg.setVisible(false)
end
if FX1 == true then
Main()
end
end

function maine()
while true do
if gg.isVisible(true) then
XGCK = 1
gg.setVisible(false)
end
gg.clearResults()
if XGCK == 1 then
main()
end
end
end
maine()

0 Downloads (5.7 KB)