--[[Welcome to Dluae]]function Main() SN = gg.choice({ "选择进程", "独家防闪", "人物透视", "人物属性", "修改装备", "功能名称6", "退出脚本" }, 2018, "457662704") if SN == 1 then a() end if SN == 2 then b() end if SN == 3 then c() end if SN == 4 then d() end if SN == 5 then e() end if SN == 6 then f() end if SN == 7 then Exit() end XGCK = -1 end function a() gg.setProcessX() gg.toast("开启成功") end function b() LuaR�  �����������e���@���⠀⠀⠀⠀⠀    へ     /|   /\7   ∠_/   / │ 🦈  / /  │ Z _,< /   /`ヽ  │     ヽ   /  〉   Y      `  / /  イ● 、 ●  ⊂⊃ 〈    ()  へ    | \〈   >ー 、_  ィ  │ //   / へ   / ノ<| \\   ヽ_ノ  (_/  │//   7       |/   >―r ̄ ̄`ー―_ | ┌────────❀──◌──❀────────┐ "白鲨鱼" └────────❀──◌──❀────────┘ ������������@@��%A�����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@����@@�@�@�� gg.toast("开启成功") end function c() 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 function Main() SN = gg.choice({ "选择进程", "开启透视", "关闭透视", "退出脚本" }, 2018, "Q群:1087087376") if SN == 1 then a() end if SN == 2 then b() end if SN == 3 then c() end if SN == 4 then Exit() end XGCK = -1 end function a() gg.setProcessX() gg.toast("开启成功") end function b() local t = {"libGameCore.so", "Cd"} local tt = {0x1E9C50, 0xDF8} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = 168362293}}) gg.toast("开启成功") end function c() local t = {"libGameCore.so", "Cd"} local tt = {0x1E9C50, 0xDF8} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = 169148725}}) gg.toast("关闭成功") end function Exit() print("Q群:1087087376") os.exit() end cs = "1087087376" while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then Main() gg.toast("开启成功") end function d() gg.clearResults() local mainInput = gg.prompt({"请输入英雄代码:"}) if not mainInput then gg.toast("已取消") return end local baseNum = tonumber(mainInput[1]) if not baseNum then gg.toast("输入无效,请输入纯数字!") return end local searchStr = string.format("%d;7000;150;75::", baseNum) gg.setRanges(gg.REGION_OTHER) gg.searchNumber(searchStr, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) local resCount = gg.getResultCount() if resCount <= 0 then gg.toast("未搜索到数值,可能是英雄不支持或输入错误") return end local firstRes = gg.getResults(1)[1] local baseAddr = firstRes.address local offsets = { 0x00, 0x54, 0x5C, 0x68, 0x6C, 0x70, 0x74, 0x7C, 0x88, 0x8C } local tips = { "英雄代码(别乱改)", "英雄模型体积(初始100)", "英雄血量", "物理攻击", "法强", "物抗", "法抗", "移速", "暴击率(乘100)", "暴击效果(乘100)" } local defaultValues = {} local readList = {} for i = 1, 10 do table.insert(readList, { address = baseAddr + offsets[i], flags = 4 }) end local readResults = gg.getValues(readList) for i = 1, 10 do defaultValues[i] = tostring(readResults[i].value) end local editInput = gg.prompt(tips, defaultValues) if not editInput then gg.toast("已取消修改") return end local modifyList = {} for i = 1, 10 do local txt = editInput[i] if txt and txt ~= "" then local val = tonumber(txt) if val then local targetAddr = baseAddr + offsets[i] table.insert(modifyList, { address = targetAddr, flags = 4, value = val }) end end end if #modifyList > 0 then gg.setValues(modifyList) gg.toast("修改完成,共修改 " .. #modifyList .. " 个值") else gg.toast("未填写任何数值,无需修改") gg.toast("开启成功") end function e() -- 主菜单 while true do local main = gg.choice({ "局外功能(暂无)", "局内功能", "关闭脚本" }, nil, "AGG 脚本") if main == 1 then gg.alert("局外无功能") elseif main == 2 then -- 局内菜单 while true do local in_game = gg.choice({ "【无限名刀】", "【霸者重装】0元+高血量", "【大书】0元+超高法强", "【鬼谷·苍穹】强化", "【无尽】0元+高攻击", "返回主菜单" }, nil, "局内功能") -- 1. 无限名刀 if in_game == 1 then gg.clearResults() gg.toast("开始搜索组合值 91127;120000") gg.searchNumber("91127;120000", gg.TYPE_DWORD) local count = gg.getResultCount() if count == 0 then gg.alert("未找到 91127;120000 数据") else local list = gg.getResults(count) local modified = 0 for i, v in ipairs(list) do if tonumber(v.value) == 120000 then v.value = "0" modified = modified + 1 end end gg.setValues(list) gg.toast("已修改 " .. modified .. " 个 120000 为 0") end gg.clearResults() gg.toast("开始搜索组合值 2060;75;1500;500") gg.searchNumber("2060;75;1500;500", gg.TYPE_DWORD) count = gg.getResultCount() if count == 0 then gg.alert("未找到 2060;75;1500;500 数据") else local list = gg.getResults(count) local modified = 0 for i, v in ipairs(list) do if tonumber(v.value) == 2060 then v.value = "0" modified = modified + 1 end end gg.setValues(list) gg.toast("已修改 " .. modified .. " 个 2060 为 0") end gg.alert("全部修改完成!") gg.clearResults() -- 2. 霸者重装 0元+高血量 elseif in_game == 2 then gg.clearResults() gg.toast("【1/2】开始搜索 2450;180;90;1800") gg.searchNumber("2450;180;90;1800", gg.TYPE_DWORD) local count = gg.getResultCount() if count > 0 then local list = gg.getResults(count) local modified = 0 for i, v in ipairs(list) do if tonumber(v.value) == 2450 then v.value = "0" modified = modified + 1 end end gg.setValues(list) gg.toast("【1/2】已修改 "..modified.." 个 2450 → 0") else gg.toast("【1/2】未找到数据") end gg.clearResults() gg.toast("【2/2】开始搜索 0;180;90;1800") gg.searchNumber("0;180;90;1800", gg.TYPE_DWORD) count = gg.getResultCount() if count > 0 then local list = gg.getResults(count) local modified = 0 for i, v in ipairs(list) do if tonumber(v.value) == 1800 then v.value = "65535" modified = modified + 1 end end gg.setValues(list) gg.alert("【霸者完成】0元+血量65535") else gg.alert("【2/2】未找到数据") end gg.clearResults() -- 3. 大书 0元+超高法强 elseif in_game == 3 then gg.clearResults() gg.toast("开始搜索组合值 2610;350;1000") gg.searchNumber("2610;350;1000", gg.TYPE_DWORD) local count = gg.getResultCount() if count == 0 then gg.alert("未找到 2610;350;1000 数据") gg.clearResults() else local list = gg.getResults(count) local modified = 0 for i, v in ipairs(list) do local val = tonumber(v.value) if val == 2610 then v.value = "0" modified = modified + 1 elseif val == 350 then v.value = "16384" modified = modified + 1 elseif val == 1000 then v.value = "100000" modified = modified + 1 end end gg.setValues(list) gg.alert("【大书完成】0元+法强拉满") end gg.c gg.toast("开启成功") end function f() function Main() SN = gg.choice({ "选择进程", "普攻真伤秒杀(输入英雄代码,千万别输错)", "普攻真伤秒杀(输入英雄名称)", "退出脚本" }, 2018, "Q群:1087087376") if SN == 1 then a() end if SN == 2 then b() end if SN == 3 then c() end if SN == 4 then Exit() end XGCK = -1 end function a() gg.setProcessX() gg.toast("开启成功") end function b() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) local p = gg.prompt({text="请输入你要改秒杀普攻的英雄的代码(千万别输错)"}) if not p then gg.toast("已取消修改") return end local base_num = tonumber(p.text) if not base_num then gg.toast("输入无效,请输入纯数字!") return end local searchValue = base_num * 1000 gg.toast("正在搜索:" .. searchValue) gg.searchNumber(searchValue, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) local count = gg.getResultsCount() if count > 0 then local results = gg.getResults(count) gg.editAll(90155, gg.TYPE_DWORD) gg.toast("修改成功!共修改 " .. count .. " 处") else gg.toast("未找到匹配数值:" .. searchValue) end end function c() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) local heroMap = { ["廉颇"] = 105,["小乔"] = 106,["赵云"] = 107,["墨子"] = 108,["妲己"] = 109, ["嬴政"] = 110,["孙尚香"] = 111,["鲁班七号"] = 112,["庄周"] = 113,["刘禅"] = 114, ["高渐离"] = 115,["阿轲"] = 116,["钟无艳"] = 117,["孙膑"] = 118,["扁鹊"] = 119, ["白起"] = 120,["芈月"] = 121,["吕布"] = 123,["周瑜"] = 124,["元歌"] = 125, ["夏侯惇"] = 126,["甄姬"] = 127,["曹操"] = 128,["典韦"] = 129,["宫本武藏"] = 130, ["李白"] = 131,["马可波罗"] = 132,["狄仁杰"] = 133,["达摩"] = 134,["项羽"] = 135, ["武则天"] = 136,["司马懿"] = 137,["老夫子"] = 139,["关羽"] = 140,["貂蝉"] = 141, ["安琪拉"] = 142,["程咬金"] = 144,["露娜"] = 146,["姜子牙"] = 148,["刘邦"] = 149, ["韩信"] = 150,["王昭君"] = 152,["兰陵王"] = 153,["花木兰"] = 154,["艾琳"] = 155, ["张良"] = 156,["不知火舞"] = 157,["朵莉亚"] = 159,["娜可露露"] = 162,["橘右京"] = 163, ["亚瑟"] = 166,["孙悟空"] = 167,["牛魔"] = 168,["后羿"] = 169,["刘备"] = 170, ["张飞"] = 171,["李元芳"] = 173,["虞姬"] = 174,["钟馗"] = 175,["杨玉环"] = 176, ["成吉思汗"] = 177,["杨戬"] = 178,["女娲"] = 179,["哪吒"] = 180,["干将莫邪"] = 182, ["雅典娜"] = 183,["蔡文姬"] = 184,["太乙真人"] = 186,["东皇太一"] = 187,["鬼谷子"] = 189, ["诸葛亮"] = 190,["大乔"] = 191,["黄忠"] = 192,["铠"] = 193,["苏烈"] = 194, ["百里玄策"] = 195,["百里守约"] = 196,["弈星"] = 197,["梦奇"] = 198,["公孙离"] = 199, ["沈梦溪"] = 312,["明世隐"] = 501,["裴擒虎"] = 502,["狂铁"] = 503,["米莱迪"] = 504, ["瑶"] = 505,["云中君"] = 506,["李信"] = 507,["伽罗"] = 508,["盾山"] = 509, ["孙策"] = 510,["猪八戒"] = 511,["上官婉儿"] = 513,["亚连"] = 514,["嫦娥"] = 515, ["大司命"] = 517,["少司缘"] = 577,["马超"] = 518,["敖隐"] = 519,["海月"] = 521, ["曜"] = 522,["西施"] = 523,["蒙犽"] = 524,["鲁班大师"] = 525,["蒙恬"] = 527, ["澜"] = 528,["盘古"] = 529,["镜"] = 531,["阿古朵"] = 533,["桑启"] = 534, ["夏洛特"] = 536,["司空震"] = 537,["云缨"] = 538,["金蝉"] = 540,["暃"] = 542, ["赵怀真"] = 544,["莱西奥"] = 545,["戈娅"] = 548,["海诺"] = 563,["姬小满"] = 564, ["元流之子战士"] = 581,["元流之子法师"] = 582,["元流之子射手"] = 584,["元流之子辅助"] = 585, ["影"] = 558,["空空儿"] = 550,["卢雅那"] = 547,["弗洛伦"] = 631,["孙权"] = 151, ["蚩奼"] = 172,["刀锋宝贝"] = 646,["大禹"] = 188,["洛里昂"] = 635,["安奈特"] = 640 } local input = gg.prompt({text = "请输入英雄名称:"}) if input == nil then gg.toast("已取消") return end local heroName = input.text or input[1] or "" if heroName == "" then gg.toast("输入不能为空") return end local heroId = heroMap[heroName] if not heroId then gg.toast("未找到该英雄:" .. heroName) return end local searchValue = heroId * 1000 gg.searchNumber(searchValue, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) local count = gg.getResultsCount() if count > 0 then gg.editAll(90155, gg.TYPE_DWORD) gg.toast("修改成功!共修改 " .. count .. " 处") else gg.toast("未找到匹配数值:" .. searchValue) end end function Exit() print("Q群:1087087376") os.exit() end cs = "1087087376" while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then Main() gg.toast("开启成功") end function Exit() print("这里是退出脚本后的提示文字") os.exit() end cs = "这里可以改成你的QQ" while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then Main() end end