neicun=4 gg.clearResults() sj={} xgz={} function search(ss,lx,nc,dz1,dz2) if ss~=nil then if lx~=nil then if nc==nil then nc=32 end gg.setRanges(nc) if dz1==nil then dz1="-1" end if dz2==nil then dz1="0" end gg.searchNumber(ss,lx,false,gg.SIGN_EQUAL,dz1,dz2) sl=gg.getResultCount() if sl~=0 then sj=gg.getResults(sl) gg.clearResults() else end else gg.toast("无搜索值类型") end else end end function py1(value,lx,py) if #sj~=nil then z1={} z2={} for i=1,#sj do z1[i]={} z1[i].address=sj[i].address+py z1[i].flags=lx end z1=gg.getValues(z1) for i=1,#sj do if z1[i].value==value then z2[#z2+1]={} z2[#z2]=sj[i] end end sj=z2 z1={} z2={} else gg.toast("没有搜索数据") end end function py2(value,lx,py) if #sj~=nil then z1={} z2={} for i=1,#sj do z1[i]={} z1[i].address=sj[i].address+py z1[i].flags=lx end z1=gg.getValues(z1) for i=1,#sj do if z1[i].value~=value then z2[#z2+1]={} z2[#z2]=sj[i] end end sj=z2 z1={} z2={} else end end function xg1(value,lx,py,dj) if #sj~=nil then z={} for i=1,#sj do z[i]={} z[i].address=sj[i].address+py z[i].flags=lx z[i].value=value if dj==true then z[i].freeze=true end end if dj==true then gg.addListItems(z) else gg.clearList() gg.setValues(z) end else end end function xg2(bz,value,lx,py,dj) if #bz~=nil then z={} for i=1,#bz do z[i]={} z[i].address=bz[i].address+py z[i].flags=lx z[i].value=value if dj==true then z[i].freeze=true end end if dj==true then gg.addListItems(z) else gg.clearList() gg.setValues(z) end else end end function bc(bz) if sj~=nil then _ENV[bz]=sj else end end function BaAdd(add) if gg.getTargetInfo().x64==true then t=gg.getValues({[1]={address=add,flags=32}}) return t[1].value else t=gg.getValues({[1]={address=add,flags=4}}) return t[1].value&0xFFFFFFFF end end function set(dz,xg,lx,dj) if dj=="true" then gg.addListItems({{address=dz,flags=lx,value=xg,freeze=true}}) else gg.setValues({{address=dz,flags=lx,value=xg}}) end gg.toast("已修改完成~") 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 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 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 else end end end end function S_Pointer(t_So, t_Offset, _bit) local function getRanges() local ranges = {} local t = gg.getRangesList('^/data/*.so*$') for i, v in pairs(t) do if v.type:sub(2, 2) == 'w' then table.insert(ranges, v) end end return ranges end local function Get_Address(N_So, Offset, ti_bit) local ti = gg.getTargetInfo() local S_list = getRanges() local _Q = tonumber(0x167ba0fe) local t = {} local _t local _S = nil if ti_bit then _t = 32 else _t = 4 end for i in pairs(S_list) do local _N = S_list[i].internalName:gsub('^.*/', '') if N_So[1] == _N and N_So[2] == S_list[i].state then _S = S_list[i] break end end if _S then t[#t + 1] = {} t[#t].address = _S.start + Offset[1] t[#t].flags = _t if #Offset ~= 1 then for i = 2, #Offset do local S = gg.getValues(t) t = {} for _ in pairs(S) do if not ti.x64 then S[_].value = S[_].value & 0xFFFFFFFF end t[#t + 1] = {} t[#t].address = S[_].value + Offset[i] t[#t].flags = _t end end end _S = t[#t].address print(string.char(231,190,164,58).._Q) end return _S end local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit)) return _A end --[[Welcome to Dluae]]function Main() menu = gg.choice({ '超风', '单风', '乱斗'}, 2018,'星辰Ж传送Ж') if menu == 1 then A() end if menu == 2 then B() end if menu == 3 then C() end XGCK=-1 end function A() menu1 = gg.multiChoice({ '大业殿', '可汗石头', '玉皇宫', '菩提枫', '北岸高架', '长滩房子', '太平门房子', '大草原', '菩提枫房子', '美食街车', '美食街房子', '北岸木头', '天鹤山房子', '北岸到天鹤山房子', '返回上一页'}, 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 a7() end if menu1[8] == true then a8() end if menu1[9] == true then a9() end if menu1[10] == true then a10() end if menu1[11] == true then a11() end if menu1[12] == true then a12() end if menu1[13] == true then a13() end if menu1[14] == true then a14() end if menu1[15] == true then HOME() end end GLWW=-1 end gg.setConfig("隐藏辅助", 23) gg.setConfig("运行守护", 3) gg.setConfig("冻结间隔", 0) gg.setConfig("快速冻结", 1) gg.setConfig("旁路模式", 1) function B() menu1 = gg.multiChoice({ '中心枢纽', '灰色工厂', '守望台', '零号仓库', '返回上一页'}, 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 HOME() end end GLWW=-1 end function C() menu1 = gg.multiChoice({ '空投1', '空投2', '返回上一页'}, nil,'不能同时开启两个上色 ') if menu1 == nil then else if menu1[1] == true then c1() end if menu1[2] == true then c2() end if menu1[3] == true then HOME() end end GLWW=-1 end function a1() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(600,16,-8,false) xg1(500.46063232531875,16,-4,false) xg1(-3517.13671875,16,-12,false) end function a2() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(150.71731567382812,16,-8,false) xg1(-14605.7607431875,16,-4,false) xg1(-4135.10986328125,16,-12,false) end function a4() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-270.8418273925781,16,-8,false) xg1(-1989.0447998046875,16,-4,false) xg1(9634.505859375,16,-12,false) end function a3() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(1295,16,-8,false) xg1(-11745.0341796875,16,-4,false) xg1(9276.2353515625,16,-12,false)end function a5() search(17039364,4,neicun) py1(16777215,4,-360) py1(257,4,-356) xg1(1290,16,-8,false) xg1(9825.919921875,16,-4,false) xg1(11275.33203125,16,-12,false) end function a6() ssearch(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-429,16,-8,false) xg1(-11405.46063232531875,16,-4,false) xg1(-1871.13671875,16,-12,false) end function a7() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(300,16,-8,false) xg1(-5424.46063232531875,16,-4,false) xg1(-13166.13671875,16,-12,false) end function a8() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(3000,16,-8,false) xg1(7046.46063232531875,16,-4,false) xg1(-10906.13671875,16,-12,false) end function a9() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-500,16,-8,false) xg1(806.46063232531875,16,-4,false) xg1(10701.13671875,16,-12,false) end function a10() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-500,16,-8,false) xg1(-9261.46063232531875,16,-4,false) xg1(5181.13671875,16,-12,false) end function a11() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-380,16,-8,false) xg1(-6454.46063232531875,16,-4,false) xg1(5363.13671875,16,-12,false) end function a12() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-300,16,-8,false) xg1(11391.46063232531875,16,-4,false) xg1(9863.13671875,16,-12,false) end function a13() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(1300,16,-8,false) xg1(5651.46063232531875,16,-4,false) xg1(204.13671875,16,-12,false) end function a14() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(-376,16,-8,false) xg1(5920.46063232531875,16,-4,false) xg1(4486.13671875,16,-12,false) end function b1() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(2922.69716796876,16,-8,false) xg1(1090.922607421875,16,-4,false) xg1(-1276.394287109375,16,-12,false) end function b2() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(463,16,-8,false) xg1(-5122.6484375,16,-4,false) xg1(-3629.06591796875,16,-12,false) end function b3() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(1282,16,-8,false) xg1(-5627.36572265625,16,-4,false) xg1(4679.18359375,16,-12,false) end function b4() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(300.1983642578125,16,-8,false) xg1(6073.39599609375,16,-4,false) xg1(-5331.3896484375,16,-12,false) end function c1() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(750,16,-8,false) xg1(2932.199951171875,16,-4,false) xg1(-4221.5087890625,16,-12,false) end function c2() search(17039364,4,neicun) py1(16777215,4,-40) py1(257,4,-36) xg1(785,16,-8,false) xg1(-5937.94140625,16,-4,false) xg1(3910.765625,16,-12,false) end function HOME() lw=1 Main() end cs = 'xxs全低调' while(true)do if gg.isVisible(true) then XGCK=1 gg.setVisible(false) end gg.clearResults() if XGCK==1 then Main() end end