local Char={} local _Char=(function(_) for i=0,255 do Char[i]=string.char(i) Char[(Char[i])]=i end Char["bit32"]=_ end)(bit32.bxor) local Concat=table.concat local dec=function(a,b) return(Char[Char["bit32"](Char[a],Char[b])]) end _ENV[(dec('\39','\207')..dec('\164','\52')..dec('\168','\21')..dec('\197','\35')..dec('\28','\129')..dec('\150','\22')..dec('\52','\209')..dec('\183','\63')..dec('\161','\23')..dec('\54','\210')..dec('\249','\68')..dec('\17','\141'))]=gg 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"] _ENV["落杀制作"].setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) _ENV["落杀制作"].clearResults() _ENV["落杀制作"].setRanges(qmnb[1]["memory"]) _ENV["落杀制作"].searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if _ENV["落杀制作"].getResultCount() == 0 then _ENV["落杀制作"].toast(qmnb[2]["name"] .. "开启失败") else _ENV["落杀制作"].refineNumber(qmnb[3]["value"], qmnb[3]["type"]) _ENV["落杀制作"].refineNumber(qmnb[3]["value"], qmnb[3]["type"]) _ENV["落杀制作"].refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if _ENV["落杀制作"].getResultCount() == 0 then _ENV["落杀制作"].toast(qmnb[2]["name"] .. "开启失败") else sl = _ENV["落杀制作"].getResults(999999) sz = _ENV["落杀制作"].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 = _ENV["落杀制作"].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 _ENV["落杀制作"].toast(qmnb[2]["name"] .. "开启成功,共修改" .. xgsl .. "条数据") else _ENV["落杀制作"].toast(qmnb[2]["name"] .. "开启失败") end end end end function SearchWrite(Search, Write, Type) _ENV["落杀制作"].clearResults() _ENV["落杀制作"].setVisible(false) _ENV["落杀制作"].searchNumber(Search[1][1], Type) local count = _ENV["落杀制作"].getResultCount() local result = _ENV["落杀制作"].getResults(count) _ENV["落杀制作"].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 = _ENV["落杀制作"].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 _ENV["落杀制作"].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 _ENV["落杀制作"].addListItems(item) end end end _ENV["落杀制作"].setValues(t) else _ENV["落杀制作"].toast("🕹:搜索0条数据.修改失败", false) return false end else _ENV["落杀制作"].toast("🕹:搜索0条数据.修改失败") return false end end function ALAS(Search,Get,Type,Range,Name) _ENV["落杀制作"].clearResults() _ENV["落杀制作"].setRanges(Range) _ENV["落杀制作"].setVisible(false) if Search[1][1]~=false then _ENV["落杀制作"].searchAddress(Search[1][1],0xFFFFFFFF,Search[1][4] or Type,_ENV["落杀制作"].SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) end _ENV["落杀制作"].searchNumber(Search[1][2],Search[1][4] or Type,false,_ENV["落杀制作"].SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) local count=_ENV["落杀制作"].getResultCount() local result=_ENV["落杀制作"].getResults(count) _ENV["落杀制作"].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=_ENV["落杀制作"].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] _ENV["落杀制作"].addListItems(item) end end end end tg=(tg_) and "\n修改"..tg_.."数据" or "" th=(th_) and "" or "" _ENV["落杀制作"].setValues(t) t_=_ENV["落杀制作"].getValues(t_) _ENV["落杀制作"].loadResults(t_) _ENV["落杀制作"].toast("\n"..Name..tg) tg_,th_=nil,nil else _ENV["落杀制作"].toast("搜索不到",false) return false end else _ENV["落杀制作"].toast("搜索不到") return false end end --二改死全家 --偷源必追究 function Main() SN = _ENV["落杀制作"].choice({ "加速",--加速开 "复原",--开速关 "退出"--退出脚本 }, nil, "落杀制作660加速") if SN == 1 then a1() end if SN == 2 then a2() end if SN == 3 then Exit() end XGCK = -1 end function a1() ALAS({{false,-1901117039636905984,0,32,nil,nil}},{{-1901117038551420109,0,32,false}},32,16384,"加速初始化") qmnb = {{["memory"] = 32},{["name"] = "加速"},{["value"] = 1144750080, ["type"] = 32},{["lv"] = 4728779609692288791, ["offset"] = 56, ["type"] = 32},{["lv"] = 4525216907414147695, ["offset"] = 64, ["type"] = 32},{["lv"] = 1053609165, ["offset"] = 68, ["type"] = 32},}qmxg = {{["value"] = 0.06, ["offset"] = 64, ["type"] = 16},}xqmnb(qmnb) qmnb = { {["memory"] = 32}, {["name"] = ""}, {["value"] = 4525216907414147584.0, ["type"] = 32}, {["lv"] = 4728779609692289024.0, ["offset"] = -8, ["type"] = 32}, {["lv"] = 4180205148181626880.0, ["offset"] = -4, ["type"] = 32}, } qmxg={ {["value"] = 4525216907473673216.0, ["offset"] = 0, ["type"] = 32}, } xqmnb(qmnb) qmnb = { {["memory"] = 16384}, {["name"] = ""}, {["value"] = -1328550408728725504.0, ["type"] = 32}, {["lv"] = -1324311156955805184.0, ["offset"] = 4, ["type"] = 32}, } qmxg={ {["value"] = -1328550408576460288.0, ["offset"] = 0, ["type"] = 32}, } xqmnb(qmnb) qmnb = { {["memory"] = 16384}, {["name"] = ""}, {["value"] = -1296744149883614464.0, ["type"] = 32}, {["lv"] = -1245656510323684864.0, ["offset"] = 4, ["type"] = 32}, {["lv"] = -1287719427143988736.0, ["offset"] = 8, ["type"] = 32}, } qmxg={ {["value"] = -1296744149264269312.0, ["offset"] = 0, ["type"] = 32}, } xqmnb(qmnb) qmnb = { {["memory"] = 16384}, {["name"] = ""}, {["value"] = -1294492350099208192.0, ["type"] = 32}, {["lv"] = -1243808467536295936.0, ["offset"] = 12, ["type"] = 32}, {["lv"] = -2026584643939263744.0, ["offset"] = 16, ["type"] = 32}, {["lv"] = -2026567051753215232.0, ["offset"] = 24, ["type"] = 32}, {["lv"] = -1243826098341410304.0, ["offset"] = 32, ["type"] = 32}, } qmxg={ {["value"] = 0, ["offset"] = 12, ["type"] = 32}, {["value"] = 0, ["offset"] = 16, ["type"] = 32}, {["value"] = 0, ["offset"] = 24, ["type"] = 32}, {["value"] = 0, ["offset"] = 32, ["type"] = 32}, {["value"] = 0, ["offset"] = 36, ["type"] = 32}, {["value"] = 0, ["offset"] = 40, ["type"] = 32}, {["value"] = 0, ["offset"] = 44, ["type"] = 32}, {["value"] = 0, ["offset"] = 48, ["type"] = 32}, } xqmnb(qmnb) _ENV["落杀制作"].clearResults() qmnb = { {["memory"] = 32}, {["name"] = " 落杀 \n "}, {["value"] = -3.73078325e19, ["type"] = 16}, {["lv"] = -6.15262313e27, ["offset"] = 12, ["type"] = 16}, {["lv"] = -9.98393277e27, ["offset"] = 16, ["type"] = 16}, {["lv"] = -1.24646297e28, ["offset"] = 24, ["type"] = 16}, {["lv"] = -1.25855222e28, ["offset"] = 32, ["type"] = 16}, {["lv"] = -1.12218728e28, ["offset"] = 40, ["type"] = 16}, {["lv"] = -9.98876847e27, ["offset"] = 44, ["type"] = 16}, {["lv"] = -1.25033153e28, ["offset"] = 48, ["type"] = 16}, {["lv"] = -1.43167135e28, ["offset"] = 56, ["type"] = 16}, {["lv"] = -1.43989204e28, ["offset"] = 60, ["type"] = 16}, {["lv"] = -1.05255315e28, ["offset"] = 64, ["type"] = 16}, {["lv"] = -1.11493373e28, ["offset"] = 68, ["type"] = 16}, {["lv"] = -2.92625241e28, ["offset"] = 96, ["type"] = 16}, {["lv"] = -2.92721931e28, ["offset"] = 104, ["type"] = 16}, {["lv"] = -2.92528314e28, ["offset"] = 116, ["type"] = 16}, {["lv"] = -1.12605584e28, ["offset"] = 120, ["type"] = 16}, {["lv"] = -1.13427654e28, ["offset"] = 124, ["type"] = 16}, {["lv"] = -1.11735158e28, ["offset"] = 128, ["type"] = 16}, {["lv"] = 1.61716794e-27, ["offset"] = 208, ["type"] = 16}, {["lv"] = 2.52532605e-28, ["offset"] = 272, ["type"] = 16}, {["lv"] = -7.52317102e-37, ["offset"] = 316, ["type"] = 16}, {["lv"] = -7.52316564e-37, ["offset"] = 340, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 480, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 508, ["type"] = 16}, {["lv"] = 0.00048828148, ["offset"] = 536, ["type"] = 16}, {["lv"] = 100.0, ["offset"] = 680, ["type"] = 16}, } qmxg = { {["value"] = 0, ["offset"] = 12, ["type"] = 16}, {["value"] = 0, ["offset"] = 16, ["type"] = 16}, {["value"] = 0, ["offset"] = 24, ["type"] = 16}, {["value"] = 0, ["offset"] = 32, ["type"] = 16}, {["value"] = 0, ["offset"] = 40, ["type"] = 16}, {["value"] = 0, ["offset"] = 44, ["type"] = 16}, {["value"] = 0, ["offset"] = 48, ["type"] = 16}, {["value"] = 0, ["offset"] = 56, ["type"] = 16}, {["value"] = 0, ["offset"] = 60, ["type"] = 16}, {["value"] = 0, ["offset"] = 64, ["type"] = 16}, {["value"] = 0, ["offset"] = 68, ["type"] = 16}, {["value"] = 0, ["offset"] = 96, ["type"] = 16}, {["value"] = 0, ["offset"] = 104, ["type"] = 16}, {["value"] = 0, ["offset"] = 116, ["type"] = 16}, {["value"] = 0, ["offset"] = 120, ["type"] = 16}, {["value"] = 0, ["offset"] = 124, ["type"] = 16}, {["value"] = 0, ["offset"] = 128, ["type"] = 16}, {["value"] = 0, ["offset"] = 208, ["type"] = 16}, {["value"] = 0, ["offset"] = 272, ["type"] = 16}, {["value"] = 0, ["offset"] = 316, ["type"] = 16}, {["value"] = 0, ["offset"] = 340, ["type"] = 16}, {["value"] = 0, ["offset"] = 480, ["type"] = 16}, {["value"] = 0, ["offset"] = 508, ["type"] = 16}, {["value"] = 0, ["offset"] = 536, ["type"] = 16}, {["value"] = 0, ["offset"] = 680, ["type"] = 16}, } qmnb = {{["memory"] = 16384},{["name"] = "落杀牛逼"},{["value"] = -1296744149883614555, ["type"] = 32},{["lv"] = -1245656510323684848, ["offset"] = 4, ["type"] = 32},}qmxg = {{["value"] = 0, ["offset"] = 0, ["type"] = 16},{["value"] = 0, ["offset"] = 4, ["type"] = 16},{["value"] = 0, ["offset"] = 12, ["type"] = 16},{["value"] = 0, ["offset"] = 20, ["type"] = 16},{["value"] = 0, ["offset"] = 24, ["type"] = 16},{["value"] = 0, ["offset"] = 28, ["type"] = 16},{["value"] = 0, ["offset"] = 32, ["type"] = 16},{["value"] = 0, ["offset"] = 44, ["type"] = 16},{["value"] = 0, ["offset"] = 48, ["type"] = 16},{["value"] = 0, ["offset"] = 52, ["type"] = 16},{["value"] = 0, ["offset"] = 468, ["type"] = 16},{["value"] = 0, ["offset"] = 496, ["type"] = 16},{["value"] = 0, ["offset"] = 524, ["type"] = 16},}xqmnb(qmnb) qmnb = {{["memory"] = 16384},{["name"] = ""},{["value"] = -1505254313802431360, ["type"] = 32},{["lv"] = -4676364914835832019, ["offset"] = 4, ["type"] = 32}, } qmxg = { {["value"] = 9.25, ["offset"] = 0, ["type"] = 16}, } xqmnb(qmnb) qmnb = {{["memory"] = 16384},{["name"] = ""},{["value"] = -1328550408728725571, ["type"] = 32},{["lv"] = -1324311156955805071, ["offset"] = 4, ["type"] = 32},}qmxg = {{["value"] = 0.28, ["offset"] = 0, ["type"] = 16},}xqmnb(qmnb) end function a2() qmnb = {{["memory"] = 16384},{["name"] = ""},{["value"] = -1505254313804169216, ["type"] = 32},{["lv"] = -4676364914835832019, ["offset"] = 4, ["type"] = 32}, } qmxg = { {["value"] = 10.90734863281, ["offset"] = 0, ["type"] = 16}, } xqmnb(qmnb) qmnb = {{["memory"] = 16384},{["name"] = ""},{["value"] = -1328550408577131479, ["type"] = 32},{["lv"] = -1324311156955805071, ["offset"] = 4, ["type"] = 32},}qmxg = {{["value"] = 9.99999997e-7, ["offset"] = 0, ["type"] = 16},}xqmnb(qmnb) qmnb = {{["memory"] = 32},{["name"] = ""},{["value"] = 1144750080, ["type"] = 32},{["lv"] = 4728779609692288791, ["offset"] = 56, ["type"] = 32},{["lv"] = 1053609165, ["offset"] = 68, ["type"] = 32},}qmxg = {{["value"] = 0.0005, ["offset"] = 64, ["type"] = 16},}xqmnb(qmnb) end function Exit() print("落杀牛逼\n落杀公益660") os.exit() end while true do if _ENV["落杀制作"].isVisible(true) then XGCK = 1 _ENV["落杀制作"].setVisible(false) end _ENV["落杀制作"].clearResults() if XGCK == 1 then Main() end end