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 function Voice(Rain) gg.playMusic('https://fanyi.baidu.com/gettts?lan=zh&text='..Rain..'&spd=5&source=wise') end Voice('效胜内置总群854208016') function QKL() ZD = gg.choice({ '吐球初始化', '粘合+除雾', '吐球功能1', '吐球功能2', '视野功能', '分身菜单', '娱乐功能', '退出辅助'}, 2023,'效胜内置') if ZD==1 then L() end if ZD==2 then Q() end if ZD==3 then B() end if ZD==4 then X() end if ZD==5 then D() end if ZD==6 then G() end if ZD==7 then E() end if ZD==8 then os.exit() end FX1=-1 end function Q() ZD66 = gg.choice({ '[粘合]>🌊<测涨顺合', '[粘合]>🌊<球体粘合', '[粘合]>🌊<去雾已和谐', '[返回]>🌊<返回主页'}, 2023,'❗️效胜内置❗️') if ZD66==1 then j1() end if ZD66==2 then j2() end if ZD66==3 then j3() end if ZD66==4 then j4() end FX1=-1 end function j1() gg.clearResults() gg.setRanges(4) gg.searchNumber("0.0078125E;1F;0.58823525906F;1.68155816e-43F", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) jg=gg.getResults(100) sl=gg.getResultCount() if sl>2 then sl=2 end for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_FLOAT,freeze = true,value = 1.2}}) end gg.toast("测涨顺合开启成功") gg.clearResults() end function j2() gg.clearResults() gg.setRanges(gg.REGION_OTHER | gg.REGION_C_ALLOC) gg.searchNumber("00000800r;1.7f;9696163Fr;9A99D93Fr::41", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("17", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("3", gg.TYPE_FLOAT) gg.toast("球体粘合开启成功") gg.clearResults() end function j3() nc=gg.setRanges jc=gg.getTargetInfo().activities[1].label bm=gg.getTargetPackage() nc(32) Name="去掉迷雾" local tb1={ {"0231h",4,0}, {-1431655766,4,-12}, {-1431655766,4,-8}, {-2,16,32}, {1,16,52}, {0.00390625,16,64}, {0.00390625,16,68},} local tb2={ {#"0r"*0,16,48},} SearchWrite(tb1,tb2,dataType) end function j4() QKL() end function L() ZD9 = gg.choice({ '[吐球初始化]>🌊<初始化[针对部分用户]', '[返回]>🌊<返回主页'}, 2023,'👉进入游戏后开启吐球初始化[必开选项]👈\n👉进入游戏开启初始化后长按悬浮窗1.5\n👉🈲看教程🈲👈') if ZD9==1 then l1() end if ZD9==2 then l2() end FX1=-1 end function l1() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("0.14177720249", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber("0.14177720249", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0,-1) gg.getResults(1000) gg.editAll("0.142",gg.TYPE_FLOAT) gg.toast("吐球初始化开启成功️") end function l2() QKL() end function X() ZD8 = gg.choice({ '[吐球]>🌊<一倍吐球', '[吐球]>🌊<二倍吐球', '[吐球]>🌊<三倍吐球', '[吐球]>🌊<四倍吐球', '[吐球]>🌊<五倍吐球', '[吐球]>🌊<六倍吐球', '[吐球]>🌊<七倍吐球', '[吐球]>🌊<八倍吐球', '[吐球]>🌊<九倍吐球', '[返回]>🌊<返回主页'}, 2023,'❗️进入游戏对局内在开启吐球速度❗️\n🈲吐球四倍不弹🈲\n❗️吐球菜单一弹窗的可以看看这里❗️\n👉注意教程👈') if ZD8==1 then k1() end if ZD8==2 then k2() end if ZD8==3 then k3() end if ZD8==4 then k4() end if ZD8==5 then k5() end if ZD8==6 then k6() end if ZD8==7 then k7() end if ZD8==8 then k8() end if ZD8==9 then k9() end if ZD8==10 then k10() end FX1=-1 end function k1() gg.setSpeed("1.25") gg.toast("一倍吐球开启成功️") end function k2() gg.setSpeed("1.35") gg.toast("二倍吐球开启成功️") end function k3() gg.setSpeed("1.45") gg.toast("三倍吐球开启成功️") end function k4() gg.setSpeed("1.65") gg.toast("四倍吐球开启成功️") end function k5() gg.setSpeed("1.7") gg.toast("五倍吐球开启成功️") end function k6() gg.setSpeed("1.75") gg.toast("六倍吐球开启成功️") end function k7() gg.setSpeed("1.85") gg.toast("七倍吐球开启成功️") end function k8() gg.setSpeed("1.9") gg.toast("八倍吐球开启成功️") end function k9() gg.setSpeed("1.95") gg.toast("九倍吐球开启成功️") end function k10() QKL() end function B() ZD1 = gg.choice({ '[吐球]>🌕<稳定吐球', '[吐球]>🌴<微快吐球', '[吐球]>🌲<超快吐球', '[吐球]>🎄<杀马特吐球', '[吐球]>🌿<关闭吐球', '[吐球]>🌻<全局加速', '[返回]>🌸<返回主页'}, 2023,'👉进入游戏对局内在开启吐球速度👈\n👉不要在大厅和技战室开启👈\n👉不要长按悬浮窗,会弹窗👈\n❗️注意教程❗️') if ZD1==1 then a1() end if ZD1==2 then a2() end if ZD1==3 then a3() end if ZD1==4 then a4() end if ZD1==5 then a5() end if ZD1==6 then a6() end FX1=-1 end function a1() gg.setSpeed("1.4") gg.toast("稳定吐球开启成功️") end function a2() gg.setSpeed("1.55") gg.toast("微快吐球开启成功️") end function a3() gg.setSpeed("1.88") gg.toast("超快吐球开启成功️") end function a4() gg.setSpeed("3.0") gg.toast("杀马特吐球成功️") end function a5() gg.setSpeed("1.0") gg.toast("吐球关闭成功️") end function a6() HB=gg.prompt({"推荐数据: 0.143~0.145\n输入: 0.2 即可铁匠铺加速\n输入: 0.14177720249 即可关闭"},{[1]="0.14177720249"},{[1]="text"}) editData( { {["memory"] = 16384}, {["name"] = "全局加速"}, {["value"] = -3.1514847e24, ["type"] = 16}, {["lv"] = 6.1103515625, ["offset"] = -4, ["type"] = 16}, }, { {["value"] = HB[1], ["offset"] = 4, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function a7() QKL() end function G() ZD5 = gg.choice({ '[分身]>🌕<自定义分身', '[分身]>🌕<分身一倍', '[分身]>🌕<分身二倍', '[分身]>🌕<分身三倍', '[分身]>🌕<关闭分身', '[返回]>🌕<返回主页'}, 2023,'🎄效胜内置🎄') if ZD5==1 then g1() end if ZD5==2 then g2() end if ZD5==3 then g3() end if ZD5==4 then g4() end if ZD5==5 then g5() end if ZD5==6 then g6() end FX1=-1 end function g1() HB=gg.prompt({"推荐数据: 10~100\n输入: 10 即可关闭"},{[1]="10"},{[1]="text"}) editData( { {["memory"] = 4}, {["name"] = "自定义分身"}, {["value"] = 16, ["type"] = 16}, {["lv"] = 20,["offset"] =8, ["type"] = 16}, {["lv"] = 30,["offset"] =16, ["type"] = 16}, }, { {["value"] = HB[1],["offset"] =-8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function g2() editData( { {["memory"] = 4}, {["name"] = "分身一倍"}, {["value"] = 16, ["type"] = 16}, {["lv"] = 20,["offset"] =8, ["type"] = 16}, {["lv"] = 30,["offset"] =16, ["type"] = 16}, }, { {["value"] = 12,["offset"] =-8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function g3() editData( { {["memory"] = 4}, {["name"] = "分身二倍"}, {["value"] = 16, ["type"] = 16}, {["lv"] = 20,["offset"] =8, ["type"] = 16}, {["lv"] = 30,["offset"] =16, ["type"] = 16}, }, { {["value"] = 13,["offset"] =-8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function g4() editData( { {["memory"] = 4}, {["name"] = "分身三倍"}, {["value"] = 16, ["type"] = 16}, {["lv"] = 20,["offset"] =8, ["type"] = 16}, {["lv"] = 30,["offset"] =16, ["type"] = 16}, }, { {["value"] = 14,["offset"] =-8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function g5() editData( { {["memory"] = 4}, {["name"] = "分身关闭"}, {["value"] = 16, ["type"] = 16}, {["lv"] = 20,["offset"] =8, ["type"] = 16}, {["lv"] = 30,["offset"] =16, ["type"] = 16}, }, { {["value"] = 10,["offset"] =-8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function g6() QKL() end function D() ZD3 = gg.choice({ '[视野]>❄️<自定义视野', '[视野]>❄️<视野一倍', '[视野]>❄️<视野二倍', '[视野]>❄️<视野三倍', '[视野]>❄️<视野关闭', '[返回]><返回主页'}, 2023,'功能为视野扩大\n效胜内置') if ZD3==1 then c1() end if ZD3==2 then c2() end if ZD3==3 then c3() end if ZD3==4 then c4() end if ZD3==5 then c5() end if ZD3==6 then c6() end FX1=-1 end function c1() HB=gg.prompt({"推荐数据: 1.5~2.0\n输入: 0.6 即可关闭"},{[1]="0.6"},{[1]="text"}) editData( { {["memory"] = 32}, {["name"] = "自定义视野"}, {["value"] = 640, ["type"] = 16}, {["lv"] = 0.5,["offset"] =12, ["type"] = 16}, }, { {["value"] = HB[1],["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function c2() editData( { {["memory"] = 32}, {["name"] = "视野一倍"}, {["value"] = 640, ["type"] = 16}, {["lv"] = 0.5,["offset"] =12, ["type"] = 16}, }, { {["value"] = 1.2,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function c3() editData( { {["memory"] = 32}, {["name"] = "视野二倍"}, {["value"] = 640, ["type"] = 16}, {["lv"] = 0.5,["offset"] =12, ["type"] = 16}, }, { {["value"] = 1.3,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function c4() editData( { {["memory"] = 32}, {["name"] = "视野三倍"}, {["value"] = 640, ["type"] = 16}, {["lv"] = 0.5,["offset"] =12, ["type"] = 16}, }, { {["value"] = 1.4,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function c5() editData( { {["memory"] = 32}, {["name"] = "视野关闭"}, {["value"] = 640, ["type"] = 16}, {["lv"] = 0.5,["offset"] =12, ["type"] = 16}, }, { {["value"] = 0.6,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function c6() QKL() end function E() ZD4 = gg.choice({ '[娱乐]>❄️<名字消失', '[娱乐]>🌕<关闭名字消失', '[娱乐]>🎄<延长辅助线', '[娱乐]>🌸<关闭延长辅助线', '[娱乐]>🌻<自建房60分钟', '[娱乐]>🌿<自定义自建房时间', '[娱乐]>🌲<搜索音乐', '[娱乐]>🌴<停止音乐', '[返回]>❤️<返回主页'}, 2023,'👇功能为娱乐功能') if ZD4==1 then d1() end if ZD4==2 then d2() end if ZD4==3 then d3() end if ZD4==4 then d4() end if ZD4==5 then d5() end if ZD4==6 then d6() end if ZD4==7 then d7() end if ZD4==8 then d8() end if ZD4==9 then d9() end FX1=-1 end function d1() editData( { {["memory"] = 4}, {["name"] = "名字消失"}, {["value"] = 0.0012499999720603228, ["type"] = 16}, {["lv"] = 0.009999999776482582,["offset"] =-8, ["type"] = 16}, }, { {["value"] = 0,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function d2() editData( { {["memory"] = 4}, {["name"] = "关闭名字消失"}, {["value"] = 0.0012499999720603228, ["type"] = 16}, {["lv"] = 0.009999999776482582,["offset"] =-8, ["type"] = 16}, }, { {["value"] = 1,["offset"] =8, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function d3() editData( { {["memory"] = 4}, {["name"] = "辅助延长"}, {["value"] = 0.4000000059604645, ["type"] = 16}, {["lv"] = 0.7599999904632568,["offset"] =4, ["type"] = 16}, }, { {["value"] = 3,["offset"] =0, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function d4() editData( { {["memory"] = 4}, {["name"] = "关闭辅助延长"}, {["value"] = 3, ["type"] = 16}, {["lv"] = 0.7599999904632568,["offset"] =4, ["type"] = 16}, }, { {["value"] = 0.4000000059604645,["offset"] =0, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function d5() editData( { {["memory"] = 32}, {["name"] = "自建房60分钟"}, {["value"] = 2.80259693e-44, ["type"] = 16}, {["lv"] = 2.1019477e-44,["offset"] =-4, ["type"] = 16}, {["lv"] = 1.68155816e-44,["offset"] =-8, ["type"] = 16}, {["lv"] = 1.26116862e-44,["offset"] =-12, ["type"] = 16}, }, { {["value"] = 8.40779079e-44,["offset"] =4, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() end function d6() HB=gg.prompt({"输入多少数值 就多少时间 \n输入: 30 即可恢复"},{[1]="30"},{[1]="text"}) editData( { {["memory"] = 32}, {["name"] = "自定义自建房"}, {["value"] = 2.80259693e-44, ["type"] = 16}, {["lv"] = 2.1019477e-44,["offset"] =-4, ["type"] = 16}, {["lv"] = 1.68155816e-44,["offset"] =-8, ["type"] = 16}, {["lv"] = 1.26116862e-44,["offset"] =-12, ["type"] = 16}, }, { {["value"] = HB[1],["offset"] =4, ["type"] = 16,["freeze"] = true}, } ) gg.clearResults() 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 = {"","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 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 d7() search = gg.prompt({ "输入要搜索的歌曲\n可加上歌手名字", "设置显示数量(数字)", },g.sel,{ "text", }) if search == nil then Main6() 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 function d8() gg.toast("正在停止音乐") for i=1,100 do gg.playMusic("stop") gg.playMusic("stop") gg.playMusic("stop") end end function d9() QKL() end function A() zdnb = gg.alert("💫使用说明:\n进入游戏后开启吐球初始化,长按悬浮窗1.5\n\n\n作者:效胜","好的,我已知晓") if zdnb == 1 then QKL() end end while true do if gg.isVisible(true) then FX1 = nil gg.setVisible(false) end if FX1 == nil then QKL() end end ---[=[ ]=]-------------------------------------------------------------------------------------------------------------------