-- 水印自动随机 | 防闪 | 范围 | 后壳范围 | 进程选择(简化恢复) -- 云验证 loadYunLua("httpByQn0RTmbpsGdcPcXyFHiZ+j9yFx3DxxScvAF7365IpTfJLgFcN4Pn8VMus73gs8PM18XMTsy67BZQw4Yu/nwBqd7IqW4mFwB+LgZc231DRrMCS5ZcAV75KHsTZqWAaT+MpsJdI1WfSOyGA3RWRFjtVdH1/0VO37qwFk1iE4oUPaWzkRK3458mQTSMBaCRAa82gdYfoz8aHuncsVC0NA13Q9NW8J7yQtoDttOroha1oPkKLWcMqzDMzbEl/gtHlmAAPpns2vlZg") do if type(gettlyz) ~= 'function' then gg.alert("运行异常,请重试") os.exit() else local info = { name = "挽少范围", appid = "11687", appkey = "D4HII4BtNiHTtTlt", rc4_key = "gUKUZAnE9Aq11687", version = "1.0", url_kawang = "", mi = true } local ret = gettlyz(info) if ret then ret.start() end end end -- 水印控制 local showWatermark = true local watermarkColor = "#00FFFF" local watermarkInitialized = false local autoRandomColor = false local autoTimer = 0 -- 安全绘制水印 function drawWatermark() if not showWatermark then return end if not watermarkInitialized then local ok = pcall(function() draw.remove() draw.setSize(45) draw.setStyle("填充") draw.setColor(watermarkColor) draw.text("挽少范围", 340, 180) draw.text("神秘代码@CSFWNB", 340, 230) end) if ok then watermarkInitialized = true end else pcall(function() draw.remove() draw.setColor(watermarkColor) draw.text("挽少范围", 340, 180) draw.text("神秘代码@CSFWNB", 340, 230) end) end end -- 欢迎语音 local DM = "欢迎使用挽少国体范围 已适配4点2点3挽少牛逼 ," gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") gg.alert("欢迎使用挽少范围") -- ==================== 功能函数 ==================== -- 自用范围 function 自用范围() gg.clearResults() gg.searchNumber('69.5', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, gg.A_MEMORY_START, gg.A_MEMORY_END) gg.getResults(9999) gg.editAll('600', gg.TYPE_FLOAT) gg.clearResults() print('OK了') end -- 后壳范围(新增) function 后壳范围() gg.clearResults() gg.searchNumber('15.75', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, gg.A_MEMORY_START, gg.A_MEMORY_END) gg.getResults(9999) gg.editAll('102', gg.TYPE_FLOAT) gg.clearResults() gg.toast('后壳范围已开启') end -- 防闪 function 防闪() local items, count = {}, 0 local liblist = { {"libUE4.so", { {0x7E0, 4096, 4}, {0x808, 4096, 4}, {0xCA4, 4096, 4}, {0xCCC, 4096, 4} }}, {"libanogs.so", { {0x300, 4096, 4}, {0x3F8, 4096, 4}, {0x430, 4096, 4}, {0x550, 4096, 4}, {0x5D8, 4096, 4}, {0x45E0, 4096, 4}, {0x4610, 4096, 4}, {0x463C, 4096, 4} }} } for i = 1, #liblist do local r = gg.getRangesList(liblist[i][1] .. ":bss")[1] if r then local base = r.start for j = 1, #liblist[i][2] do count = count + 1 items[count] = { address = base + liblist[i][2][j][1], flags = liblist[i][2][j][3], value = liblist[i][2][j][2] } end end end if count > 0 then gg.setValues(items) gg.toast("防闪开启成功") else gg.toast("未找到游戏进程,请先选择进程") end end -- 去水印 function 去水印() if watermarkInitialized then pcall(draw.remove) end showWatermark = false autoRandomColor = false gg.toast("水印已去除,自动随机已关闭") end -- 自动随机水印开关 function 切换自动随机水印() if autoRandomColor then autoRandomColor = false autoTimer = 0 gg.toast("自动随机水印已关闭") else autoRandomColor = true autoTimer = 0 showWatermark = true gg.toast("自动随机水印已开启,每 300ms 变化颜色") end end -- 选择游戏进程(恢复最简单调用) function 选择进程() gg.setProcessX() gg.toast("请选择游戏进程") end -- 退出 function 退出() print("886") os.exit() end -- ==================== 主菜单 ==================== function Main() local SN = gg.choice({ "自用范围", "后壳范围", "防闪", "去水印", "自动随机水印(开关)", "选择游戏进程", "退出" }, nil, "挽少") if SN == 1 then 自用范围() elseif SN == 2 then 后壳范围() elseif SN == 3 then 防闪() elseif SN == 4 then 去水印() elseif SN == 5 then 切换自动随机水印() elseif SN == 6 then 选择进程() elseif SN == 7 then 退出() end XGCK = -1 end cs = "挽少" XGCK = -1 -- ==================== 主循环 ==================== while true do if gg.isVisible(true) then XGCK = 1 gg.setVisible(false) end gg.clearResults() if XGCK == 1 then drawWatermark() Main() end -- 自动随机水印 if autoRandomColor and showWatermark and watermarkInitialized then autoTimer = autoTimer + 1 if autoTimer >= 6 then watermarkColor = string.format("#%06X", math.random(0, 0xFFFFFF)) drawWatermark() autoTimer = 0 end end gg.sleep(50) end