--全程采用指针,基址,so写法,联合搜索 local json = json local file = file --过rl变量库 local fmdm="501击飞1 502击飞2 503击飞3 504击飞4 505击飞5 601锐利1 602锐利2 603锐利3 604锐利4 605锐利5 701人类猎手1 702人类猎手2 703人类猎手3 704人类猎手4 705人类猎手5 801动物猎手1 802动物猎手2 803动物猎手3 804动物猎手4 805动物猎手5 901魔物猎手1 902魔物猎手2 903魔物猎手3 904魔物猎手4 905魔物猎手5 1001点燃1 1002点燃2 1003点燃3 1004点燃4 1005点燃5 1101击退1 1102击退2 1103击退3 1104击退4 1105击退5 1201狩猎幸运1 1202狩猎幸运2 1203狩猎幸运3 1301强力射击1 1302强力射击2 1303强力射击3 1304强力射击4 1305强力射击5 1401无限射击1 1402无限射击2 1403无限射击3 1404无限射击4 1405无限射击5 1501耐久1 1502耐久2 1503耐久3 1504耐久4 1505耐久5 1601近战抗性1 1602近战抗性2 1603近战抗性3 1604近战抗性4 1605近战抗性5 1701远程抗性1 1702远程抗性2 1703远程抗性3 1704远程抗性4 1705远程抗性5 1801爆炸抗性1 1802爆炸抗性2 1803爆炸抗性3 1804爆炸抗性4 1805爆炸抗性5 1901燃烧抗性1 1902燃烧抗性2 1903燃烧抗性3 1904燃烧抗性4 1905燃烧抗性5 2001毒素抗性1 2002毒素抗性2 2003毒素抗性3 2004毒素抗性4 2002毒素抗性5 2101混乱抗性1 2102混乱抗性2 2103混乱抗性3 2104混乱抗性4 2105混乱抗性5 2201反击1 2202反击2 2203反击3 2204反击4 2205反击5 2301击退抗性1 2302击退抗性2 2303击退抗性3 2304击退抗性4 2305击退抗性5 2401精准采集1 3201速度1 2502速度2 2503速度3 2504速度4 2505速度5 2601幸运挖掘1 2602幸运挖掘2 2603幸运挖掘3 2701爆炸射击1 2801龙之缓落1 2901野人猎手1 2902野人猎手2 2903野人猎手3 2904野人猎手4 2905野人猎手5 3001速降(护腿)1 3002速降(护腿)2 3003速降(护腿)3 3004速降(护腿)4 3005速降(护腿)5 3101爬墙(鞋子)1 3102爬墙(鞋子)2 3103爬墙(鞋子)3 3104爬墙(鞋子)4 3105爬墙(鞋子)5" --附魔代码-- lde,mnsj={},{Dj="0.01",dv={},lz="/sdcard/.zbb",r={}} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults function lde.qb()table.remove(bc,#bc)table.remove(bc,#bc)end function bv(a,b) if not b then b=","end if not tostring(a):find(b)then return{a}end local tab={}local i=0 while true do j=string.find(a,b,i+1) if not j then table.insert(tab,a:sub(i+1,#a)) break end table.insert(tab,a:sub(i+1,j-1)) i=j end return tab end function so(a,b,c) local csn=gg.getRanges() gg.setVisible(false) lde.srg(a[3]) lde.crs() lde.sbr(a[2],a[4]) local js=gg.getResultCount() local count=lde.gre(js) lde.crs() if #count~=0 then local lode,lope,lobe={},{},{} for p=1,#b do lode[p]={} for i=1,#count do lode[p][i]={} lode[p][i].address=count[i].address+b[p][2] if not b[p][3]then b[p][3]=a[4]end lode[p][i].flags=b[p][3]end lode[p]=gg.getValues(lode[p]) db=bv(b[p][1],"~") if not db[2]then db[2]=db[1]end for i=1,#lode[p] do if tonumber(lode[p][i].value)>=tonumber(db[1]) and tonumber(lode[p][i].value)<=tonumber(db[2]) then lope[#lope+1]={} lope[#lope]=count[i] end end if #lope==0 then lde.srg(csn)if p>11 then p=11 end return "开启失败" end count=lope lope={}end for i=1,#c do for n=1,#count do lope[#lope+1]={} lope[#lope].address=count[n].address+c[i][2] if not c[i][3]then c[i][3]=a[4]end lope[#lope].flags=c[i][3] if c[i][1] then lope[#lope].value=c[i][1] else lope[#lope].value=gg.getValues(lope)[#lope].value end if c[i][4] then lobe[#lobe+1]={} lobe[#lobe]=lope[#lope] table.remove(lope,#lope) end if c[i][4]==1 then lobe[#lobe].freeze=true elseif c[i][4]==2 then lobe[#lobe].freeze=false end if c[i][5] then lobe[#lobe].name=c[i][5] end end end gg.setValues(lope) gg.addListItems(lobe) lde.srg(csn) return a[1].."开启成功" else lde.srg(csn) return a[1].."开启失败!!!" end end function xe(name,offset,i) local re=gg.getRangesList(name) local x64=gg.getTargetInfo().x64 local va={[true]=32,[false]=4} if re[i or 1] then local addr=re[i or 1].start+offset[1] for i=2,#offset do addr=gg.getValues({{address=addr,flags=va[x64]}}) if not x64 then addr[1].value=addr[1].value&0xFFFFFFFF end addr=addr[1].value+offset[i] end return addr end end function gg.edits(addr,Table,name) local Table1={{},{}} for k,v in ipairs(Table) do local value={address=addr+v[3],value=v[1],flags=v[2],freeze=v[4]} if v[4] then Table1[2][#Table1[2]+1]=value else Table1[1][#Table1[1]+1]=value end end gg.addListItems(Table1[2]) gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end function readValue(read) local bf={} for i,v in ipairs(read) do bf[i]={address=v[1],flags=v[2]} end bf=gg.getValues(bf) for i=1,#bf do bf[i]=bf[i].value end return bf end function gg.edits(addr,Table,name) local Table1 = {{}, {}} for k, v in ipairs(Table) do local value={address=addr+v[3],value=v[1],flags=v[2],freeze=v[4]}if v[4] then Table1[2][#Table1[2]+1]=value else Table1[1][#Table1[1]+1]=value end end gg.addListItems(Table1[2])gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end local sod,so_bss,xdd='libAppPlayJNI.so','libAppPlayJNI.so:bss',gg.getRangesList("libAppPlayJNI.so:bss") function gg.Hjkl(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) end function hqmz(a) local b='' for i=1,999 do local c=gg.getValues({{address=a+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end function ntrp(add,se,flags) gg.setValues({{address=add,flags=flags or 16,value=se}}) end function nty(addr,flags) add=gg.getValues({{address=addr,flags=flags or 32}})[1].value return add end function Get_Text(add) local b='' for i=1,999 do local c=gg.getValues({{address=add+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end function Get_Addr(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].address end function Get_Value(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].value end function Search(read,Memory) gg.clearResults() gg.setVisible(false) gg.setRanges(Memory) gg.searchNumber(read[1],read[2]) if gg.getResultCount()==0 then gg.toast("开启失败") return false end end function doAction(method) load(method .. "()")() end function remove(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) 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 local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end --so,xe,nerp,指针,get配置-- 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 --基址-- 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 --JF编辑 F=gg.alert("🍥是否开启过检测🍥", "🍁️开🍁️", "️🍁️不开🍁️️️") if F ~= 1 and F ~= 2 then gg.toast("你未选择开关默认取消") gg.toast("你未选择{开 关}") else end if F==1 then local t = {"libtersafe2.so:bss", "Cb"} local tt = {0x788} local ttt = S_Pointer(t, tt, true) gg.setValues({ {address = ttt, flags = 4, value = 0}, {address = ttt+4, flags = 4, value = 0} }) gg.toast("防检测开启成功") elseif F==2 then end --过迷你世界闪退-- local lhc for i,v in ipairs(gg.getListItems())do if v.value==1701593942 then tp=1 break end end if tp then else so({"获取迷你号",1701593942,4,4},{{774993416,0xFC}},{{nil,0,4,2}}) end local tf for i,v in ipairs(gg.getListItems())do if v.value==1701593942 then mkl=gg.getValues({{address=v.address+0x174,flags=v.flags}}) mnh=mkl[1].value tf=1 break end end if tf then if mnh==0 then Mcn=io.open("/sdcard/ID文件.txt", "rb") if Mcn == nil then a="暂未获取迷你号" else a=io.open("/sdcard/ID文件.txt","r"):read("*a") end else io.open("/sdcard/ID文件.txt","w"):write(mnh):close() a = io.open("/sdcard/ID文件.txt","r"):read("*a") end else Mcn=io.open("/sdcard/ID文件.txt", "rb") if Mcn == nil then a="暂未获取迷你号" else a=io.open("/sdcard/ID文件.txt","r"):read("*a")end end --获取迷你号-- bqt={"🛡","🧸","🍓","🍒","💮","🌠","🌀","️️️️🎋️","🍍","🧊","🍥","🍋","🏅","🎃",} --表情-- local bx=os.date("%Y年%m月%d日%H时%M分%S秒") --时间 function HOME() function Main() local sjbq=bqt[math.random(1,#bqt)] SN = gg.choice({ sjbq.."𒅒开 始 炸 图️️️️️️𒅒"..sjbq,--1 sjbq.."𒅒️️偏 移 写 法𒅒"..sjbq,--2 sjbq.."𒅒️️脚 本 工 具𒅒"..sjbq,--3 sjbq.."𒅒️️娱 乐 功 能𒅒"..sjbq,--4 },2018,os.date("")) if SN==1 then Main1() end if SN==2 then HOME2() end if SN==3 then Main3() end if SN==4 then Main4() end FX1=0 end while true do if gg.isVisible(true) then FX1 = nil gg.setVisible(false) end if FX1 == nil then Main() end end end --首页 function Main1() local list = { "🌠搜 索 功 能🌠", "💠添 加 物 品💠",--1 "💠创 造 背 包💠",--2 "💠房 间 人 数💠",--3 "💠添 加 坐 骑💠",--4 "💠玩 家 大 小💠",--5 "💠彩 蛋 强 化💠",--6 "💠秒 挖 方 块💠",--7 "💠无 限 物 品💠",--8 "💠一 格 附 魔💠",--9 "💠华 丽 变 身💠",--10 "💠坐 骑 属 性💠",--11 "💠嫦 娥 奔 月💠",--12 "💠人 物 浮 空💠",--13 "💠人 物 属 性💠",--14 "💠坐 标 传 送💠",--15 "💠地 图 模 式💠",--16 "💠香瓜自定义💠",--17 "💠人 物 特 效💠",--18 "💠修 改 宠 物💠",--19 "💠空 格 连 跳💠",--20 "💠强 大 如 我💠",--21 "💠人 物 穿 墙💠",--22 "💠人 物 加 速💠",--23 "💠秒 吃 食 物💠",--24 "💠解锁全物品💠",--25 "💠伪 装 房 主💠",--26 "💠手持物代码💠",--27 "💠剑 秒 蓄 力💠",--28 "💠观 战 模 式💠",--29 "💠无 限 耐 久💠",--30 "💠枪无后连发💠",--31 "💠滑 铲 距 离💠",--32 "💠背 视 远 攻💠",--33 "💠摇 杆 模 式💠",--34 "💠喷漆改物品💠",--35 "💠篮 足 模 式💠",--36 "💠人 物 重 力💠",--37 "💠奖励杯星星💠",--38 "💠一 秒 换 弹💠",--39 "💠三 角 透 视💠",--40 "💠编 辑 按 钮💠",--41 "💠金稿秒蓄力💠",--42 "💠联机改创造💠",--43 "💠开发者界面💠",--44 "💠修 改 分 数💠",--45 "💠人 物 动 作💠",--46 "💠商 人 取 物💠",--47 "🌠返 回 主 页🌠"} local name = {"a1","a2","a3","a4","a5","a6","a7","a8","a9","a10","a11","a12","a13","a14","a15","a16","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","HOME"} local UI = gg.choice(list, nil, "🧊当前迷你号:「"..a.."」\nQQ官群797451669🧊") if UI then if UI == 1 then local prompt = gg.prompt({ "请输入关键词进行搜索" }, { "" }, { "text" }) if prompt then local str = prompt[1] local t = {} local t1 = {} for i = 2, #list - 1 do if string.find(list[i], str) then table.insert(t, list[i]) table.insert(t1, name[i - 1]) end end if #t == 0 then gg.alert("无搜索结果") else local c = gg.choice(t, nil, "关键词:[".. str .. "],共搜索到" .. #t .. "条结果") if c then _G[t1[c]]() end end end else _G[name[UI - 1]]() end end end function a1() local wp=gg.prompt({"物品代码[代码要大于300]","物品数量[1;200]"},{[1]="",[2]="64"},{[1]="number",[2]="number"}) if not wp then return end if wp then so({"物品",wp[1],4,4},{{"1~64",-0x1D4,4},{"200~500",-0x1D8,4}},{{nil,0,4,2}}) for i,v in ipairs(gg.getListItems())do if v.value==wp[1] then tt=v.address sj1=gg.getValues({{address=v.address+0x344,flags=4}}) end end if sj1 then gg.toast(so({"添加物品",1007,4,4},{{1000,-0x700},{1001,-0x600},{1002,-0x500},{1003,-0x400},{1004,-0x300},{1005,-0x200},{1006,-0x100}},{{945804460~wp[2],4,4},{2000,8,4},{tt,0x78,32},{sj1[1].value,0x7C,4}})) else gg.toast("该物品添加失败") end end end function a2() gg.toast(so({"创造背包",281510439550976,4,32},{{16777216,0x1C0,4}},{{16777472,0x1C0,4}})) end function a3() local Aa3=gg.prompt({"输入1~40人房间人数,开启此功能后点击开6人房间"},{"22"},{"number"}) if not Aa3 then return end if Aa3 then gg.toast(so({"大房间",1078198272,4,4},{{1077805056,-0x10},{1077149696,-0x20},{1076101120,-0x30},{1075052544,-0x50}},{{Aa3[1],-0x44,64}})) end end function a4() local o=gg.prompt({"输入坐骑码化石龙3432 机灵飞鼠3435 瑞祥麒麟3438 陆行鸟3441 ️大白象3444 ️超能海豹3447 舞狮猫猫3456 星河天马3459 桃香扇缘3462 深渊咆哮3471 皎月仙宫3480 冰雪传说3485 缤纷幻想3487 福运哞哞3489 浮游山海3492 镜花水月3497 ️鹿王本身4503 ️精灵南瓜车4507 ️竹蜻蜓4510 曦光绘梦️4515 ️裂空机甲4518 ️星河机甲4521 环海诺诺4526 尼东若若4529 ️虚空龙祖4533 ️繁花夜明4537"},{[1]=3513},{[1]="number"}) if not o then return end gg.toast(so({"坐骑",4842495500454461440,4,32},{{1127481344,4,4},{1106247680,0x1C,4},{1065353216,-0x8,4},{"16777216~16777472",-0x3C,4}},{{o[1],0x128,4,1},{16777472,-0x3C,4,1}})) end function a5() c= gg.prompt({"[1-1000]输入你要改的"},{[1]=2},{[1]="number"})[1] if not c then return end gg.toast(so({"修改人物大小",16777473,4,32},{{-1,-0x4,4}},{{c,0x148,16}})) end function a6() local b = gg.prompt({"『输入子弹代码』12299擎天柱炮弹12300星星弹15509燃烧激光15510冰冻激光15511爆炸激光15512岩石海啸15513冰球15518特效炸弹15519岩浆弹15520混乱球_15521_15051燃烧箭15052燃烧雪球15053泡泡球15056熔岩弹15057混乱弹15058炸弹15059冰锥[不可放置方块]15060熔岩球15062冰锥15064冰炸弹15065火炸弹15066冰雪弹15067紫球15068紫箭"},{[1]=12299},{[1]="number"}) if not b then return end gg.toast(so({"彩弹枪强化",434259848432382,4,32},{{1,-0xC,4}},{{b[1],-0x8,4}})) end function a7() F = gg.alert("秒挖方块","开启","️关闭️️") if F== 1 then gg.toast(so({"秒挖",1133903872,16384,4},{{50.0,4,16},{-70.0,-8,16},{100.0,8,16}},{{0,-4,16}})) elseif F == 2 then gg.toast(so({"秒挖",1133903872,16384,4},{{50.0,4,16},{-70.0,-8,16},{100.0,8,16}},{{0.3,-4,16}})) end end function a8() while true do gg.sleep(100) gg.toast("🔰功 能 指 南🔰\n📝[开启:需要将快捷栏第一格清空]\n📝[使用:房主无限制,别人房间需要长按入箱再拿出即可]\n📝[恢复:需要第一格有俩百物品]\n❗不按指南来会失败单点修改器继续") if gg.isVisible(true) then gg.setVisible(false) gg.toast(so({"物品复刻",945804460,4,4},{{1000,-4,4},{-1,4,4}},{{945804564,0,4,1}})) while true do if gg.isVisible(true) then gg.setVisible(false) gg.clearResults() Main() end end end end end function a9() local fm1 = gg.prompt({"请输入附魔代码"..fmdm},{[1]=2505},{[1]="number"}) gg.clearResults() local fm2 = gg.prompt({"请输入附魔代码"..fmdm},{[1]=2603},{[1]="number"}) gg.clearResults() local fm3 = gg.prompt({"请输入附魔代码"..fmdm},{[1]=2401},{[1]="number"}) gg.clearResults() local fm4 = gg.prompt({"请输入附魔代码"..fmdm},{[1]=1505},{[1]="number"}) gg.clearResults() local fm5 = gg.prompt({"请输入附魔代码"..fmdm},{[1]=1105},{[1]="number"}) if not fm1 then return end if not fm2 then return end if not fm3 then return end if not fm4 then return end if not fm5 then return end gg.toast(so({"自定义附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{fm1[1],12,4,1},{fm2[1],16,4,1},{fm3[1],20,4,1},{fm4[1],24,4,1},{fm5[1],28,4,1}})) end function a10() local vip= gg.prompt({"输入你拥有的一个皮肤号:24叶小龙90冲云霄106迷小酷107狼少年108天仙子雅109天仙子颂110红玫瑰少女111橘子112绣球花少年查李斯113泡泡114朝露繁花115冰公主116红桃117白光莹118灰姑娘克里斯丁119灵公主120小龙人麒休121妙妙122白天鹅123时稀123时希 124洁莉125快客小窝126野人 127黑天鹅128青蛙王子130白雪公主131汉森132格雷特136哈鲁 138春雨139青夏140秋果141小蓝 142童梦仙踪143凌美琪144凌美雪145游乐王子 146璎落147雷光 148凛冬 149珍奇女孩150苹果嘉儿女孩151阿拉灯152匹诺曹153塔莎154殷小敏 155施巧灵156彩俐公主158络特159瑶月仙子160玉团儿161号手妮塔162鼓手尼普 163龙响无双164拾玖 165糖心小熊166星月小梦 167星团公主玻璃169莺初171空候172倪羽儿173谢知礼174开斯特 175奥利维亚178极兽特工沃夫•银179灵公主180龙空空 181火鸡专家托克 182贝瑞 184莎莎186云裳187元祥儿188颜廷怀189舞狮游龙190蜜多多191沈一弦192云胭193苍鸿196米兰达197帝皇侠198虎心玉199虎啸丰200艾利菲201泰森202芙洛丝"},{[1]=34},{[1]="number"}) if not vip then return end gg.toast(so({"勋章",808465457,4,4},{{2,216,4},{0,-20,4},{0,-24,4},{0,-28,4}},{{vip[1],-84,4}})) end function a11() o2=gg.choice({"化石龙","小飞鼠","麒麟","陆行鸟","白象","海豹","喵喵","天马","桃香善缘","深渊咆哮","皎月仙宫","冰雪传说","小绵羊","勇敢牛牛","浮游山海","镜月水花","鹿王本身","竹蜻蜓","南瓜车","天鹅","黑色灰机","粉色灰机","环海洛洛","泥东诺诺","虚空龙主","繁花夜明","星月魔毯","千机隼"}, 2018,"选择要修改的坐骑") if o2==1 then ax="3431~3432" zqjn() end if o2==2 then ax="3434~3435" zqjn() end if o2==3 then ax="3437~3438" zqjn() end if o2==4 then ax="3440~3441" zqjn() end if o2==5 then ax="3443~3444" zqjn() end if o2==6 then ax="3446~3447" zqjn() end if o2==7 then ax="3455~3456" zqjn() end if o2==8 then ax="3458~3459" zqjn() end if o2==9 then ax="3461~3462" zqjn() end if o2==10 then ax="3470~3471" zqjn() end if o2==11 then ax="3479~3480" zqjn() end if o2==12 then ax="3484~3485" zqjn() end if o2==13 then ax="3486~3487" zqjn() end if o2==14 then ax="3488~3489" zqjn() end if o2==15 then ax="3491~3492" zqjn() end if o2==16 then ax="3496~3497" zqjn() end if o2==17 then ax="4501~4503" zqjn() end if o2==18 then ax="4506~4507" zqjn() end if o2==19 then ax="4509~4510" zqjn() end if o2==20 then ax="4513~4515" zqjn() end if o2==21 then ax="4517~4518" zqjn() end if o2==22 then ax="4520~4521" zqjn() end if o2==23 then ax="4525~4526" zqjn() end if o2==24 then ax="4528~4529" zqjn() end if o2==25 then ax="4532~4533" zqjn() end if o2==26 then ax="4536~4537" zqjn() end if o2==27 then ax="4540~4541" zqjn() end if o2==28 then ax="4544~4545" zqjn() end end function zqjn() local av=gg.prompt({"坐骑血量","坐骑速度","坐骑跳跃","技能1","技能2","技能3","技能代码→2冲刺-3踏水-4超跳-5滑翔-6炎走-7疾冲-9双骑-10蹦跃-11顽强-12浮游-13潜游-14激流-15汽车人冲击-16霸天虎导弹_17黄蜂突刺-18飞扑-19威摄-20漂浮-21飞行-23能量盾-24单骑_25空中警报-26红色闪电_27聚变激光-28炎狱火-29幽冥火-30振翅-31展翼-32恶龙咆-33迅捷之翼-34骨刺横扫-35星光-36月生-37时间警告-38双骑-39踏雪行-40嘟嘟车冲啊-41五谷丰登-42四人同行-43星河穿梭-44鲸之浮岛-47飞花-48惊鸿-49叶舞-50日轮-51神光-52魔法烟花-53华丽烟花-54冲锋-55冲击-56悬空-57贴地飞行-58离地飞行-59浮光金羽-60天鹅湖-61曦光飞行-62超能光波-63毁灭射线-64神圣光波-65净化射线-66凌云-67破空-68时空跳跃-69旋风-70魔法泡泡-71风之翼-72魔法水流-73神奇眼泪-74红芒-75金光-76蓝辉-77落英-78蝶绕-79飞花-80扬帆-81初级召唤-82中级召唤-83高级召唤-84神隐-85化灵-86紫电-87狂风-88扶摇"},{"2000","2000","300","7","68","84"},{"number"}) if not av then return end gg.toast(so({"坐骑属性",ax,4,4},{{ax,4},{"200~999999",0x18},{"200~999999",0x14},{"200~999999",0x20},{"200~999999",0x1C},{"0~100",0x54},{"0~100",0x58},{"0~100",0x5C},{"1~5",0x44}},{{av[1],0x18,4},{av[1],0x14,4},{av[2],0x20,4},{av[2],0x1C,4},{av[3],0x38,4},{av[3],0x34,4},{av[4],0x54,4},{av[5],0x58,4},{av[6],0x5C,4}})) end function a12() gg.clearResults() gg.setRanges(16384) gg.searchNumber("25,955;8", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("8", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) jg = gg.getResults(100) sl = gg.getResultCount() if 100 < sl then sl = 100 end for _FORV_3_ = 1, sl do dzy = jg[_FORV_3_].address gg.addListItems({ [1] = { address = dzy, flags = gg.TYPE_FLOAT, freeze = true, value = -99 } }) end gg.toast("开启成功,KGHLXPIOSFFFG__SDGV制作") gg.clearResults() end function a13() F=gg.alert("🔰人物浮空🔰", "️🍁开🍁️️", "️🍁关🍁") if F== 1 then gg.toast(so({"人物浮空",4.0,16384,16},{{8.0,-4,16}},{{0,-4,16}})) gg.alert"跳起来试试" elseif F== 2 then gg.toast(so({"人物浮空",4.0,16384,16},{{0,-4,16}},{{8.0,-4,16}})) end end function a14() s1={} s3={} so({("第一步"),72058702139490303,4,32},{{"10000~2000000000",0x4C,4},{"10000~2000000000",0x47C,4},{16777473,4,4},{"0~3",0x20C,4},{999,0x5C0,4}},{{nil,0,32,2}}) for i,v in ipairs(gg.getListItems()) do if v.value== 72058702139490303 then mnh=gg.getValues({{address=v.address+0x4C,flags=4}})[1].value mnmz=gg.getValues({{address=v.address+0x3B5,flags=1}})[1].address s1[mnh]=hqmz(mnmz).."["..mnh.."]" s3[#s3+1]=mnh end end local s2=gg.choice(s1,2018,"检测到当前房间有"..#s3.."人") for i,v in ipairs(gg.getListItems())do if v.value==72058702139490303 then gd=gg.getValues({{address=v.address+0x4C,flags=4}})[1].value if gd==s2 then as1=nty(nty(v.address+0x24)+0x240,16) as2=nty(nty(v.address+0x24)+0x30C,16) as3=nty(nty(v.address+0x24)+0x310,16) local ah=gg.prompt({"人物血量","星星数","近战攻击","远程攻击"},{as1,"0",as2,as3},{"number"}) if not ah then return end if ah then if ah[1]==""..as1 then else ntrp(nty(v.address+0x24)+0x244,ah[1],16) ntrp(nty(v.address+0x24)+0x240,ah[1],16) end if ah[2]=="0" then else ntrp(nty(v.address+0x24)+0x41C,945804460~ah[2].."00",4) end if ah[3]==""..as2 then else ntrp(nty(v.address+0x24)+0x30C,ah[3],16) end if ah[4]==""..as3 then else ntrp(nty(v.address+0x24)+0x310,ah[4],16) end end end end end gg.Hjkl(72058702139490303) end function a15() local X=gg.prompt({"Y轴(竖)️","X轴(横)","高度"}) if not X then gg.alert("请全部填写",false) return nil end if X[1]~="" and X[2]~="" then if X[3]~="" then X[1] = X[1].."00" X[2] = X[2].."00" X[3] = X[3].."00" gg.toast(so({"传送",944892805240,4,32},{{220,4,4},{180,-8,4}},{{X[1],12,4},{X[2],20,4},{X[3],16,4}})) end end end function a16() F=gg.alert("🔰请选择🔰", "️🍁自己房间🍁️️", "️🍁联机房间🍁","🍁️️云服房间🍁️️") if F== 1 then i57= gg.choice({ "🧊💎改为编辑模式💎🧊", "🧊💎改为玩法模式💎🧊", "🧊💎改为冒险模式💎🧊", "🧊💎改为创造模式💎🧊", "🧊💎改为极限模式💎🧊",},i2,os.date("[相信自己驱散黑暗]")) if i57==1 then i95=4 end if i57==2 then i95=5 end if i57==3 then i95=0 end if i57==4 then i95=1 end if i57==5 then i95=3 end gg.toast(so({"修改模式",a,4,4},{{a,20,4}},{{i95,16,4}})) elseif F== 2 then gg.setRanges(4) local dataType = 4 local tb1 = {{11014, 0},{11522, -4},} local tb2 = {{ 16 }, } SearchWrite(tb1, tb2, dataType) sl=gg.getResultCount() if sl<1 then return end local nmb=gg.getResults(1) sl=gg.getValues(nmb) D=sl[1].value i57= gg.choice({ "🧊💎改为编辑模式💎🧊", "🧊💎改为玩法模式💎🧊", "🧊💎改为冒险模式💎🧊", "🧊💎改为创造模式💎🧊", "🧊💎改为极限模式💎🧊",},i2,os.date("[相信自己驱散黑暗]")) if i57==1 then i95=4 end if i57==2 then i95=5 end if i57==3 then i95=0 end if i57==4 then i95=1 end if i57==5 then i95=3 end gg.toast(so({"修改模式",D,4,4},{{D,20,4}},{{i95,16,4}})) elseif F== 3 then i57= gg.choice({ "🧊💎改为编辑模式💎🧊", "🧊💎改为玩法模式💎🧊", "🧊💎改为冒险模式💎🧊", "🧊💎改为创造模式💎🧊", "🧊💎改为极限模式💎🧊",},i2,os.date("[相信自己驱散黑暗]")) if i57==1 then i95=4 end if i57==2 then i95=5 end if i57==3 then i95=0 end if i57==4 then i95=1 end if i57==5 then i95=3 end local t = {"libAppPlayJNI.so:bss", "Cb"} local tt = {0xFB770, 0xD0, 0x70} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = i95}}) end end function a17() local XG = gg.prompt({"输入方块代码"} ,{[1]=27},{[1]="number"})[1] if not XG then return end gg.toast(so({"填充方块修改",42949672960230,4,32},{{230,0x10,4},{10000,4,4}},{{XG,-0x60,4}})) end function a18() maqw = gg.choice({ ' 🧊🍥紫色月亮🍥🧊',--1 ' 🧊🍥金色特效🍥🧊',--2 ' 🧊🍥绿色特效🍥🧊',--3 ' 🧊🍥彩虹拖尾🍥🧊 ',--4 ' 🧊🍥️蓝色特效🍥🧊',--5 ' 🧊🍥花小楼特效🍥🧊',--6 ' 🧊🍥冰公主特效🍥🧊',--7 ' 🧊🍥初暮特效🍥🧊',--8 ' 🧊🍥️恢 复 特 效🍥🧊',--9 ' 🧊🎡返 回 主 页🎡🧊', },2018,os.date('🍡苏洽nb🍡')) if maqw==1 then Q1=12 QQ1() end if maqw==2 then Q1=11 QQ1() end if maqw==3 then Q1=14 QQ1() end if maqw==4 then Q1=15 QQ1() end if maqw==5 then Q1=16 QQ1() end if maqw==6 then Q1=17 QQ1() end if maqw==7 then Q1=18 QQ1() end if maqw==8 then Q1=19 QQ1() end if maqw==9 then Q1=-1 QQ1() end if maqw==10 then HOME() end XGCK=-1 end function QQ1() gg.toast(so({"修改人物特效",1117126656,4,4},{{1065353216,-0x10},{20,0x8}},{{Q1,0x7C,4,1}})) end function a19() local b = gg.prompt({"请输入宠物代码10001-小泡沫.10002-泡泡团子.10003-四泡团.10004-小孩子.10005-的叶团子.10006-豪华团.10007-小石子.10008-岩石团.10009-巨岩团.10010-小火量.10011-暖暖团.10012-报火团.10013-小HT.10014-跳跳蛙.10015-忍忍娃.10016-小免机.10017-免叫.10018-玉免机.10019-迷你注.10020-旺旺.10021-旺旺警长.10022-小龙蛋10023-黑龙重10024-黑龙糕10025-小菲鹏.10026-球糟鹏10027-全羽鹅网.10028-小灵球.10029-幽酬球.10030-重灵王球.10031-小黑猫.10032-焦炭猫.10033-黑飘远.10034-小球节.10035-球球豹.10036-球豹王子.10037-小擦报.10038-奏乐猴.10039-梵音猴.10040-小孔雀.10041-雏孔雀.10042-丰羽孔雀"},{[1]=3512},{[1]="number"}) if not b then return end gg.toast(so({"宠物",10001,4,4},{{1,4,4}},{{b[1],8,4,1}})) end function a20() gg.toast(so({"空格连跳",944892805240,4,32},{{1065353216,0xC8,4},{220,0x4,4},{120,0x8,4},{180,-0x8,4},{1086324736,0x15C,4},{1073741824,0x160,4},{1082130432,0x158,4}},{{335007449089,0x80,32,1}})) end function a21() gg.toast(so({"强大如我",1080360960,4,4},{{0,-20,4}},{{500,-20,64}})) end function a22() gg.toast(so({"穿墙",944892805240,4,32},{{120,8,4},{220,4,4}},{{-9999,-8,4,1}})) end function a23() AA3 = gg.prompt({"输入加数倍数"},{[1]=10},{[1]="number"})[1] if not AA3 then return end gg.toast(so({"速度",4812096202965778432,4,32},{{1065353216,0xD8,4}},{{AA3,0x84,16},{AA3,0x7C,16}})) end function a24() c = gg.prompt({"请进入要秒吃的食物代码 香溢水果拼盘-12557 水果拼盘-12501 牛排-12517 饺子-12567 年糕-12568 小麦面包-12502 方西瓜-12508 烤鸡全家桶-12543 香溢西瓜汁-12556 香溢野萝卜-12555 香溢烤鸡-12558 香溢牛肉堡-12559 牛肉堡-12544 香溢麦包-12550 长条麦包-12540 疾跑烤鸡-12499 泡泡糖12576 熟猪肉-12523 烤鱼-12521 烤鸡腿-12519 美味蛋糕-830 香溢南瓜派-12552 香溢饼干-12553 浓缩奶糖-12549 萝卜-236 野果12500 瓶装糖浆-11326 牛奶-12509 瓶蜂蜜-12511"} ,{[1]=12557},{[1]="number"}) if not c then return end gg.toast(so({"秒吃",c[1],4,4},{{30,4,4},{c[1],-4,4}},{{-9999,4,4}})) end function a25() gg.toast(so({"图鉴解锁",10000,4,4},{{10000,0x400,4}},{{0,-4,4,1}})) end function a26() local ahk=gg.prompt({"输入单机0联机2房主3"},nil,{"number"}) if not ahk then return end if ahk then for i,v in ipairs(gg.getListItems())do if v.value==11522 then tuy=1 gg.addListItems({{address=v.address+0x24,flags=4,freeze=true,value=ahk[1]}}) end end if not tuy then gg.toast(so({"伪单机",11522,4,4},{{11014,4}},{{ahk[1],0x24,4,1},{nil,0,4,2}})) end end end function a27() local dataType = 4 local tb1 = {{1117126656, 0},{256, -0x24},{65793, -0x6C},} local tb2 = {{ -0x74 }, } SearchWrite(tb1, tb2, dataType) sln=gg.getResultCount() if sln<1 then return end local nmb=gg.getResults(1) sl=gg.getValues(nmb) wp=sl[1].value gg.alert("🍀当前手持物品信息🍀\n物品代码:"..wp.."") end function a28() F = gg.alert("请选择{开 关}","开","️关️️") if F== 1 then gg.toast(so({"能量剑强化",12005,4,4},{{12005,-4,4},{12005,-12,4},{101133,0x140,4},{5.0,0x4C,16},{1,0x138,4}},{{0,0x4C,16},{0,0x138,4}})) elseif F == 2 then gg.toast(so({"能量剑强化",12005,4,4},{{12005,-4,4},{12005,-12,4},{101133,0x140,4},{0.0,0x4C,16},{0,0x138,4}},{{5.0,0x4C,16},{1,0x138,4}})) end end function a29() gg.toast(so({"观战",1121452032,4,4},{{1118568448,-4,4},{16777216,-64,4},{1065353216,-12,4},{65536,-88,4}},{{16777472,-64,4,1}})) end function a30() gg.toast(so({"第一格无限耐久",945804461,4,4},{{1000,-4,4}},{{20000,4,4,true}})) end function a31() gg.toast(so({("全枪防抖连发"),15003,4,2,2},{{("15000~15009"),-136}},{{1,-4},{0,-66},{0,-56,16},{0,-40},{1,-28},{0,-52,16},{32000,-0x3e}})) end function a32() mn1=gg.prompt({"『自定义距离』"},{'9999'},{"number"})[1] if not mn1 then return end gg.toast(so({"滑铲距离",-998965248,4,4},{{1053609165,-4,4}},{{mn1,-8,4,1}})) end function a33() gg.toast(so({"远程攻击背视角",4911738344744222720,16384,32},{{1143603200,4,4}},{{-1,-4,16,1}})) end function a34() gg.toast(so({"摇杆模式",1137180672,16384,4},{{-200.0,4,16},{-300.0,8,16}},{{9999,0,16}})) end function a35() WJ = gg.prompt({"输入道具代码,12239恢复"} ,{[1]=15056},{[1]="number"})[1] if not WJ then return end gg.toast(so({"喷漆罐改物品",12240,4,4},{{200,0x228,4},{2,8,4}},{{WJ,-0x400,4,1}})) end function a36() xxx = gg.prompt({"输入代码,1足球,3篮球"} ,{[1]=15056},{[1]="number"})[1] if not xxx then return end gg.toast(so({"人物模式",a,4,4},{{a,-0x430,4}},{{xxx,-0x270,4}})) end function a37() zl = gg.prompt({"输入重力,8恢复"} ,{[1]=15056},{[1]="number"})[1] if not zl then return end gg.toast(so({"重力修改",4.0,16384,16},{{8.0,-4,16}},{{zl,-4,16}})) end function a38() gg.alert("开启后点击奖励杯,点其他,点钻石稿,点领取奖励,奖励杯用改地图模式改成冒险就行了") gg.toast(so({"星星",1085,4,4},{{2,16,32},{0,20,32}},{{1,20,4,1}})) end function a39() gg.toast(so({"一秒换弹",15003,4,4},{{15004,-136,4}},{{0,-24,16}})) end function a40() gg.toast("请选择开关") F=gg.alert("🍥请选择{开 关}🍥", "🍁️开🍁️", "️🍁️关🍁️️️") if F ~= 1 and F ~= 2 then gg.toast("你未选择开关默认取消") gg.toast("你未选择{开 关}") else end if F==1 then gg.toast(so({"透视",196608,16384,4},{{65538,8,4}},{{1,16,4}})) elseif F==2 then gg.toast(so({"透视",196608,16384,4},{{65538,8,4}},{{65536,16,4}})) end end function a41() F = gg.alert("先进入编辑地图一次","开","关") if F== 1 then gg.toast(so({"地图编辑按钮",-4294815744,4,32},{{256,12,4}},{{16777472,40,4,1},{16777216,0x628,4,1}})) elseif F == 2 then gg.toast(so({"地图编辑按钮",-4294815744,4,32},{{256,12,4}},{{16777216,40,4,false},{16777472,0x628,4,false}})) end end function a42() gg.toast(so({("金稿秒蓄"),1060320051,4,4},{{65538,-4,4}},{{0.1,0xC,16}})) end function a43() gg.setRanges(4) local dataType = 4 local tb1 = {{11014, 0},{11522, -4},} local tb2 = {{ 16 }, } SearchWrite(tb1, tb2, dataType) sl=gg.getResultCount() if sl<1 then return end local nmb=gg.getResults(1) sl=gg.getValues(nmb) D=sl[1].value gg.setRanges(4) local tb1 = {{D, 0}, {5, 0x10},} local tb2 = {{4,0x10,true}} local dataType = 4 SearchWrite(tb1, tb2, dataType) gg.toast("玩法改编辑") gg.clearResults() end function a44() F = gg.alert("开发者界面-现在自己房间开启过一次","开启","️关闭️️") if F== 1 then gg.toast(so({"开发者界面","16777216~16777472",4,4},{{92,0x8,4},{2296,0xC,4}},{{16777472,0x0,4}})) elseif F == 2 then gg.toast(so({"开发者界面","16777216~16777472",4,4},{{92,0x8,4},{2296,0xC,4}},{{16777216,0x0,4}})) end end function a45() xx= gg.choice({ "🧊红队🧊", "🧊蓝队🧊", "🧊绿队️🧊", "🧊黄队🧊", "🧊橙队🧊", "🧊紫队🧊", "𒅒🎡返回主页🎡𒅒",},2018,os.date("️")) if xx==1 then fs1() end if xx==2 then fs2() end if xx==3 then fs3() end if xx==4 then fs4() end if xx==5 then fs5() end if xx==6 then fs6() end if xx==7 then Main1() end XGCK=-1 end function fs1() mn1=gg.prompt({"『当前红队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的红队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -120},{-1, -984} } local tb2 = {{mn2, -120 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function fs2() mn1=gg.prompt({"『当前蓝队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的蓝队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -104},{-1, -984} } local tb2 = {{mn2, -104 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function fs3() mn1=gg.prompt({"『当前绿队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的绿队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -88},{-1, -984} } local tb2 = {{mn2, -88 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function fs4() mn1=gg.prompt({"『当前黄队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的黄队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -72},{-1, -984} } local tb2 = {{mn2, -72 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function fs5() mn1=gg.prompt({"『当前橙队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的橙队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -56},{-1, -984} } local tb2 = {{mn2, -56 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function fs6() mn1=gg.prompt({"『当前紫队分数』"},{'0'},{"number"})[1] gg.clearResults() mn2=gg.prompt({"『请输入修改后的紫队分数』"},{'520'},{"number"})[1] if not mn1 then return end if not mn2 then return end gg.setRanges(4) local dataType = 4 local tb1 = {{600, 0}, {mn1, -40},{-1, -984} } local tb2 = {{mn2, -40 }, } SearchWrite(tb1, tb2, dataType) gg.toast("修改成功") gg.clearResults() end function a46() QWEE2 = gg.choice({ ' 🧊🍥欢呼功作🍥🧊',--9 ' 🧊🍥飘浮动作🍥🧊',--10 ' 🧊🍥[1]跳舞动作🍥🧊',--11 ' 🧊🍥抱坐动作🍥🧊',--12 ' 🧊🍥睡觉动作🍥🧊',--13 ' 🧊🍥摸空气动作️🍥🧊',--14 ' 🧊🍥[2]跳舞动作🍥🧊',--15 ' 🧊🍥死亡动作️🍥🧊',--16 ' 🧊🍥原地游泳️🍥🧊',--18 ' 🧊🍥️原地踏步️🍥🧊',--19 ' 🧊🍥️原地定坐️🍥🧊',--20 ' 🧊🍥️摆手臂动作️🍥🧊',--21 ' 🧊🍥️展开手臂动作️🍥🧊',--22 ' 🧊🍥️滑铲动作🍥🧊',--23 ' 🧊🍥️倒地动作🍥🧊',--23 ' 🧊🍥️恢 复 动 作🍥🧊',--24 ' 🧊🎡返 回 主 页🎡🧊', },2018,os.date('🍡定制可用🍡')) if QWEE2==1 then Q3=21 QQQ3() end if QWEE2==2 then Q3=34 QQQ3() end if QWEE2==3 then Q3=15 QQQ3() end if QWEE2==4 then Q3=54 QQQ3() end if QWEE2==5 then Q3=9 QQQ3() end if QWEE2==6 then Q3=52 QQQ3() end if QWEE2==7 then Q3=96 QQQ3() end if QWEE2==8 then Q3=3 QQQ3() end if QWEE2==9 then Q3=11 QQQ3() end if QWEE2==10 then Q3=1 QQQ3() end if QWEE2==11 then Q3=35 QQQ3() end if QWEE2==12 then Q3=64 QQQ3() end if QWEE2==13 then Q3=67 QQQ3() end if QWEE2==14 then Q3=20 QQQ3() end if QWEE2==15 then Q3=22 QQQ3() end if QWEE2==16 then Q3=-1 QQQ3() end if QWEE2==17 then HOME() end XGCK=-1 end function QQQ3() gg.toast(so({"人物动作",a,4,4},{{16777473,-72,4}},{{Q3,-76,4}})) end function a47() gg.alert"请先在自己房间内打开过一次心愿商人界面,并且为了获取星星,已经帮你改成冒险模式,打开奖励杯并点击左边的其他再点击钻头,点领取就可以刷星星" gg.toast(so({"星星",1085,4,4},{{2,16,32},{0,20,32}},{{1,20,4,1}})) local t = {"libAppPlayJNI.so:bss", "Cb"} local tt = {0xFB770, 0xD0, 0x70} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = 0}}) gg.alert"取星星,然后再点悬浮窗" while true do if gg.isVisible(true) then gg.setVisible(false) gg.toast(so({"心愿商店开",52428800,4,4},{{800,0x4,4},{16777216,0x28,4}},{{16777472,0x28,4}})) gg.alert"取完物再点悬浮窗" while true do if gg.isVisible(true) then gg.setVisible(false) gg.toast(so({"心愿商店关",52428800,4,4},{{800,0x4,4},{16777472,0x28,4}},{{16777216,0x28,4}})) local t = {"libAppPlayJNI.so:bss", "Cb"} local tt = {0xFB770, 0xD0, 0x70} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = 5}}) while true do if gg.isVisible(true) then gg.setVisible(false) HOME() end end end end end end end --炸图 function HOME2() gg.alert"点sx按钮开启工具" local soxfpzdm=([[ lde,mnsj={},{Dj="0.01",dv={},lz="/sdcard/.zbb",r={}} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults function lde.qb()table.remove(bc,#bc)table.remove(bc,#bc)end function bv(a,b) if not b then b=","end if not tostring(a):find(b)then return{a}end local tab={}local i=0 while true do j=string.find(a,b,i+1) if not j then table.insert(tab,a:sub(i+1,#a)) break end table.insert(tab,a:sub(i+1,j-1)) i=j end return tab end function so(a,b,c) local csn=gg.getRanges() gg.setVisible(false) lde.srg(a[3]) lde.crs() lde.sbr(a[2],a[4]) local js=gg.getResultCount() local count=lde.gre(js) lde.crs() if #count~=0 then local lode,lope,lobe={},{},{} for p=1,#b do lode[p]={} for i=1,#count do lode[p][i]={} lode[p][i].address=count[i].address+b[p][2] if not b[p][3]then b[p][3]=a[4]end lode[p][i].flags=b[p][3]end lode[p]=gg.getValues(lode[p]) db=bv(b[p][1],"~") if not db[2]then db[2]=db[1]end for i=1,#lode[p] do if tonumber(lode[p][i].value)>=tonumber(db[1]) and tonumber(lode[p][i].value)<=tonumber(db[2]) then lope[#lope+1]={} lope[#lope]=count[i] end end if #lope==0 then lde.srg(csn)if p>11 then p=11 end return "开启失败" end count=lope lope={}end for i=1,#c do for n=1,#count do lope[#lope+1]={} lope[#lope].address=count[n].address+c[i][2] if not c[i][3]then c[i][3]=a[4]end lope[#lope].flags=c[i][3] if c[i][1] then lope[#lope].value=c[i][1] else lope[#lope].value=gg.getValues(lope)[#lope].value end if c[i][4] then lobe[#lobe+1]={} lobe[#lobe]=lope[#lope] table.remove(lope,#lope) end if c[i][4]==1 then lobe[#lobe].freeze=true elseif c[i][4]==2 then lobe[#lobe].freeze=false end if c[i][5] then lobe[#lobe].name=c[i][5] end end end gg.setValues(lope) gg.addListItems(lobe) lde.srg(csn) return a[1].."开启成功" else lde.srg(csn) return a[1].."开启失败!!!" end end function xe(name,offset,i) local re=gg.getRangesList(name) local x64=gg.getTargetInfo().x64 local va={[true]=32,[false]=4} if re[i or 1] then local addr=re[i or 1].start+offset[1] for i=2,#offset do addr=gg.getValues({{address=addr,flags=va[x64]}}) if not x64 then addr[1].value=addr[1].value&0xFFFFFFFF end addr=addr[1].value+offset[i] end return addr end end function gg.edits(addr,Table,name) local Table1={{},{}} for k,v in ipairs(Table) do local value={address=addr+v[3],value=v[1],flags=v[2],freeze=v[4]} if v[4] then Table1[2][#Table1[2]+1]=value else Table1[1][#Table1[1]+1]=value end end gg.addListItems(Table1[2]) gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end function readValue(read) local bf={} for i,v in ipairs(read) do bf[i]={address=v[1],flags=v[2]} end bf=gg.getValues(bf) for i=1,#bf do bf[i]=bf[i].value end return bf end function gg.edits(addr,Table,name) local Table1 = {{}, {}} for k, v in ipairs(Table) do local value={address=addr+v[3],value=v[1],flags=v[2],freeze=v[4]}if v[4] then Table1[2][#Table1[2]+1]=value else Table1[1][#Table1[1]+1]=value end end gg.addListItems(Table1[2])gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end local sod,so_bss,xdd='libAppPlayJNI.so','libAppPlayJNI.so:bss',gg.getRangesList("libAppPlayJNI.so:bss") function gg.Hjkl(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) end function hqmz(a) local b='' for i=1,999 do local c=gg.getValues({{address=a+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end function ntrp(add,se,flags) gg.setValues({{address=add,flags=flags or 16,value=se}}) end function nty(addr,flags) add=gg.getValues({{address=addr,flags=flags or 32}})[1].value return add end function Get_Text(add) local b='' for i=1,999 do local c=gg.getValues({{address=add+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end function Get_Addr(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].address end function Get_Value(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].value end function Search(read,Memory) gg.clearResults() gg.setVisible(false) gg.setRanges(Memory) gg.searchNumber(read[1],read[2]) if gg.getResultCount()==0 then gg.toast("开启失败") return false end end function doAction(method) load(method .. "()")() end function remove(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) end ]]) function Main2() jb=gg.choice({ "🛠️对比工具🛠️",--1 "🛠️内存类型🛠️",--2 "🛠️模板填入<有两个附特征>🛠️",--3 "🌠返回主页🌠️",--4 }, nil, "𒅒🍋先找好要改的值,跳转地址,排列并复制所有不是0的值,重启游戏,重复以上操作,用对比工具输入两次对比的数值,获取不变值。接着保存起来,复制特征,复制偏移(有偏移按钮,点偏移量,最后冒号后面的数字就是偏移),接着按照so写法复制就行了,如果附特征码在主特征码上面要把偏移写成负数的🍋𒅒") if jb == nil then else if jb==1 then b1() end if jb==2 then b2() end if jb==3 then b3() end if jb==4 then HOME() end end FX1=-1 end function b1() print("对比完成:") A = gg.prompt({"对比数据[1]","对比数据[2]","每对(数组/特征码)请用“;”分开,如:\n1;2;3;4"},{[1]="",[2]=""},{[1]="text",[2]="text",[3]="checkbox"}) if not A then A={"无","无"} end A[1],A[2],c,x,C='"'..(string.gsub((string.gsub(A[1],',','')),';','","'))..'"','"'..(string.gsub((string.gsub(A[2],',','')),';','","'))..'"',1,1,"" load('B={'..A[2]..'}'..' A={'..A[1]..'}')() while B[c]~=nil do if A[x]==B[c] then C=C..B[c]..";" B[c]="匹配成功"..B[c] A[x]="匹配成功"..A[x] end x=x+1 if A[x]==nil then c,x=c+1,1 end end gg.alert(C) gg.copyText(C) end function b2() gg.alert([[ ----------------------内存------------------------- gg.REGION_ANONYMOUS = 32 --A内存 gg.REGION_ASHMEM = 524288 --As内存 gg.REGION_BAD = 131072 --B内存 gg.REGION_CODE_APP = 16384 --Xa内存 gg.REGION_CODE_SYS = 32768 --Xs内存 gg.REGION_C_ALLOC = 4 --Ca内存 gg.REGION_C_BSS = 16 --Cb内存 gg.REGION_C_DATA = 8 --Cd内存 gg.REGION_C_HEAP = 1 --Ch内存 gg.REGION_JAVA = 65536 --J内存 gg.REGION_JAVA_HEAP = 2 --Jh内存 gg.REGION_OTHER = -2080896 --O内存 gg.REGION_PPSSPP = 262144 --Ps内存 gg.REGION_STACK = 64 --S内存 gg.REGION_VIDEO = 1048576 --V内存 262207 --Jh+Ch+Ca+Cd+Cb+PS+A内存 -1032320 --V+O内存 gg.setRanges(内存1 | 内存2 | 内存3 | 内存4) --多个内存范围示例 ------------------类型--------------------- gg.TYPE_AUTO = 127 --全部类型 gg.TYPE_BYTE = 1 --B类型 gg.TYPE_DOUBLE = 64 --E类 gg.TYPE_DWORD = 4 --D类 gg.TYPE_FLOAT = 16 --F类 gg.TYPE_QWORD = 32 --Q类 gg.TYPE_WORD = 2 --W类 gg.TYPE_XOR = 8 --X类 gg.TYPE_AUTO= 无 --全类型 -------------文本----------------- : --文本UTF-8 ; --文本UTF-16LE h --HEX Q --HEX+8 HEX+16 ]]) end function b3() --gg.toast(so({"名称",主特征,内存,类型},{{附特征,偏移,类型},{附特征,偏移,类型}},{{修改值,偏移,类型}})) local crcr1="gg.toast(so({" local crcr2="," local crcr3="},{{" local crcr4="},{" local crcr5="}},{{" local crcr6="}}))" bcdz = gg.prompt({"输入你要把文件保存的地址"},{[1]="/storage/emulated/0/文件名称.lua"},{[1]="text"})[1] if not bcdz then return end csq1 = io.open(""..bcdz.."", "rb") if csq1 == nil then else csq1 = io.open(""..bcdz.."","r"):read("*a") end csq2 = gg.prompt({"输入功能名称,必须加冒号"},{[1]=([["名称"]])},{[1]="text"})[1] if not csq2 then return end csq3 = gg.prompt({"输入主特征"},{[1]=([[主特征]])},{[1]="text"})[1] if not csq3 then return end csq4 = gg.prompt({"输入内存代码"},{[1]=([[内存代码]])},{[1]="text"})[1] if not csq4 then return end csq11 = gg.prompt({"输入类型代码"},{[1]=([[类型代码]])},{[1]="text"})[1] if not csq11 then return end csq5 = gg.prompt({"输入附特征1"},{[1]=([[附特征1]])},{[1]="text"})[1] if not csq5 then return end csq6 = gg.prompt({"输入附特征1与主特征之间的偏移"},{[1]=([[偏移]])},{[1]="text"})[1] if not csq6 then return end csq7 = gg.prompt({"输入附特征2"},{[1]=([[附特征2]])},{[1]="text"})[1] if not csq7 then return end csq8 = gg.prompt({"输入附特征2与主特征之间的偏移"},{[1]=([[偏移]])},{[1]="text"})[1] if not csq8 then return end csq9 = gg.prompt({"输入修改值"},{[1]=([[修改值]])},{[1]="text"})[1] if not csq9 then return end csq10 = gg.prompt({"输入修改值与主特征之间的偏移"},{[1]=([[偏移]])},{[1]="text"})[1] if not csq10 then return end csq12 = gg.prompt({"true/false"},{[1]=([[自己填]])},{[1]="text"})[1] if not csq12 then return end io.open(""..bcdz.."","w"):write(soxfpzdm,crcr1,csq2,crcr2,csq3,crcr2,csq4,crcr2,csq11,crcr4,csq5,crcr2,csq6,crcr2,csq11,crcr4,csq7,crcr2,csq8,crcr2,csq11,crcr5,csq9,crcr2,csq10,crcr2,csq11,crcr2,csq12,crcr6):close() gg.alert("文件保存于"..bcdz..",输入成功") end while true do gg.showUiButton() if gg.isClickedUiButton() == true then Main2() end end end --偏移写法 function Main3() menu3 = gg.multiChoice({ '🛡转码解密', '🛡外链转码', '🛡返回主页'}, nil,("脚本工具")) if menu3 == nil then else if menu3[1] == true then c1() end if menu3[2] == true then c2() end if menu3[3] == true then HOME() end end FX=0 end function c1() sdf=gg.prompt({"运算值"},{[1]=0},{"number"})[1] if not sdf then return end function pezf(pez) io.open("/storage/emulated/0/tencent/QQ_Images/.配置.dll","w"):write(pez):close() return loadfile("/storage/emulated/0/tencent/QQ_Images/.配置.dll")() end pez=[[function MS(code) code=code:gsub(" ","") a={} for i=1,#code,2 do ii=string.char(tonumber(code:sub(i,i+1), 16)-YSSDSZ) table.insert(a,ii) end return print(table.concat(a,"")) end]] Znz=gg.prompt({"解密脚本"},{"/sdcard/tencent/QQfile_recv/1.lua"},{"file"}) pez=pez:gsub("YSSDSZ",sdf) pezf(pez) loadfile(Znz[1])() end function c2() Tab_text={"输入网址","保存路径","设置文件名"};Tab_code={"外链","/storage/emulated/0/苏洽/","test"..string.char(math.random(70,90))..string.char(math.random(70,90))..".lua"};Tab_Tag={"text","path","text"} Accept =gg.prompt(Tab_text,Tab_code,Tab_Tag) if not Accept then return nil end local net = gg.makeRequest(Accept[1]).content if net == nil then return gg.alert("操作取消了网络无法访问") end if net then local Success = io.open(Accept[2]..Accept[3],"w"):write(net):close() if Success then gg.alert("解析成功 路径在"..Accept[2]..Accept[3]) local Carryout = gg.alert("是否直接运行?","是","否") if Carryout==1 then load(net)() else return nil end end else return gg.alert("解析失败 请检查网址是否正确 www | http | https") end end --脚本工具 function Main4() SY1 = gg.choice({ "🧊天 气 查 询🧊", --1 "🧊播 放 音 乐🧊", --2 "🍡返 回 主 页🍡",--3 }, nil, "我这一次终究还是来的太迟,不该出现再插上一点说辞") if SY1 == 1 then d1() end if SY1 == 2 then d2() end if SY1 == 3 then HOME() end GLWW=-1 end function d1() file=io.open("/storage/emulated/0/.MyCity","r") if file~=nil then con=file:read("*a") dz=con:match("%&(.-)%&") city=con:match("@(.-)@") file:close() else city=gg.prompt({"输入城市"},{""},{"text"})[1] local function Enc(Mzsh) return Mzsh:gsub(".", function(jia) return string.format("%%%02X", (string.byte(jia)) % 256) end):gsub(" ", "+") end dz=string.match(gg.makeRequest("http://toy1.weather.com.cn/search?cityname="..Enc(city).."&callback=success_jsonpCallback&_=1532937966722").content,"ref\":\"(.-)~") if dz==nil then gg.alert("输入错误城市,请重新输入") os.exit() else f=io.open("/storage/emulated/0/.MyCity","w"):write("@"..city.."@\n&"..dz.."&"):close() end end function split(s, p) local rt = {} string.gsub(s,"[^" .. p .. "]+",function(w) table.insert(rt, w) end ) return rt end function x(x) local i=0 for w in string.gmatch(x,"active") do i=i+1 end local t=string.rep("⭐",i) return t end tq=gg.makeRequest("http://www.weather.com.cn/weather1d/"..dz..".shtml").content d=string.gsub(string.gsub(string.gsub(string.gsub(string.match(tq,"var hour3data={\"1d\":%[(.-)]"),"\",\"","$$"),"\"",""),",...,",","),",(%d+)%$","") b=split(d,"$") tab={"

(.-)

","(.-)","\n\n","
(.-)
"} shzs=gg.makeRequest("http://www.weather.com.cn/weather1dn/"..dz..".shtml").content tq1=string.match(shzs,"生活助手(.-)") c={} for i=1,4 do c[i]={} for w in string.gmatch(tq1,tab[i]) do if i==1 then if string.find(w,"em") then w="健臻·血糖" end end table.insert(c[i],w) end end ts={} for v=1,6 do ts[v]={} for i=1,4 do table.insert(ts[v],c[i][v]) end end mm="" for i=1,6 do mm=mm..ts[i][1]..":"..ts[i][2].."\n指数:"..x(ts[i][3]).."\n温馨提示:"..ts[i][4].."\n\n" end gg.alert("当前城市:"..city.."\n"..table.concat(b,"\n").."\n-----------\n".."生活助手:\n"..mm) end local g = {} g.file = gg.getFile() g.sel = nil gqlb={"请先搜索歌曲",} idb={"1010"} SN,gc=1,nil g.config = gg.getFile():gsub("%lua$", "").."cfg" function bei() g.data = loadfile(g.config) if g.data ~= nil then g.sel = g.data() g.data = nil end if g.sel == nil then g.sel = {"【FREE】lucky","10"} end end bei() ------ --搜索歌曲 function start(name,sl) fw=gg.makeRequest("http://music.163.com/api/search/get?s="..name.."&type=1&offset=0&total=true&limit="..sl) return fw end ----- --歌词 --播放音乐 function play(id,name) gg.toast("正在播放音乐:"..name,true) gg.playMusic("http://music.163.com/song/media/outer/url?id="..id..".mp3") end --停止播放 function stop() gg.toast("正在停止音乐") for i=1,100 do gg.playMusic("stop") gg.playMusic("stop") gg.playMusic("stop") end end ---- function Play(gqlb,idb) SN = gg.choice(gqlb,nil,ts) if SN == nil then XGCK =-1 else sn=gg.choice({"播放"},nil,"歌曲:"..gqlb[SN]) if sn == nil then end if sn == 1 then play(idb[SN],gqlb[SN]) end XGCK=-1 end end function zjson(jsonr) local str = jsonr -- 匹配Json Key的正则表达式 local pattern = "\"[%w]+\":" string.gsub(str, pattern, function(v) if string.find(str, v) then str = string.gsub(str, v, string.gsub(v, "\"", "")) end end) str = string.gsub(str, ":", "=") str = string.gsub(str, "%[", "{") str = string.gsub(str, "%]", "}") local data = "return " .. str local res = load(data)() return res end function json(con) res=zjson(con) zd=res.result.songCount pd=go3-zd if pd <= 0 then else go3=zd end ts="《"..go1.."》找到"..zd.."首歌曲,当前显示"..go3.."首" gqlb={} idb={} for i=1,go3 do gqlb[i]=res.result.songs[i].name idb[i]=res.result.songs[i].id end --print(idb) end function YY998() Obtain=gg.makeRequest("https://api.uomg.com/api/rand.music?sort=热歌榜&format=json").content muchen=Obtain:match('url":"(.-)","picurl') gg.playMusic(muchen) end --主页 function d2() SN = gg.choice({ "༺ཌༀ⛦🔥搜 索 歌 曲🔥⛦ༀད༻", "༺ཌༀ⛦🔥搜 索 列 表🔥⛦ༀད༻", "༺ཌༀ⛦🔥播 放 热 歌🔥⛦ༀད༻", "️༺ཌༀ⛦🔥停 止 播 放🔥⛦ༀད༻", "️༺ཌༀ⛦⚡️返 回 主 页⚡️️⛦ༀད༻", },2018,os.date("༺ཌༀ⛦ 当前时间%Y年%m月%d日%H时%M分%S秒 ⛦ༀད༻")) if SN==1 then s1() end if SN==2 then Play(gqlb,idb) end if SN==3 then YY998() end if SN==4 then stop() end if SN==5 then HOME() end FX1=0 end --- function s1() search = gg.prompt({ "输入要搜索的歌曲\n可加上歌手名字", "设置显示数量(数字)", },g.sel,{ "text", }) if not search then return end gg.saveVariable(search,g.config) bei() go1=search[1] go3=search[2] jg=start(go1,go3) if jg.code == 200 then fh=jg.content fh=json(fh) --print(fh) Play(gqlb,idb) else function inspect() gg.alert("访问网络异常,错误代码:\n\n"..jg.code) end if not pcall(inspect) then print("网络异常,请先连接上网络") os.exit() end end XGCK=-1 end --娱乐功能 HOME()