string.toMusic('欢迎使用天泽ACE全防') draw.setSize(50) draw.setStyle("描边") draw3 = require("draw3") draw.text("HRZZNB", 315, 350) draw.text("天泽ACE全防-自用版", 280, 300) draw.setColor("#FF00F0") draw.setSize(45) draw.setStyle('描边并填充') function Main() menu = gg.choice({ '选择游戏进程', '防封专区', '功能专区', '退出脚本'}, 2018,'作者自用版本') if menu == 1 then A() end if menu == 2 then B() end if menu == 3 then C() end if menu == 4 then Exit() end XGCK=-1 end function A() gg.setProcessX() string.toMusic('选择游戏进程') end function B() string.toMusic('防封专区') menu1 = gg.multiChoice({ '1-大厅', '2-大厅', '3-出生岛', '返回上一页'}, 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[11] == true then HOME() end end GLWW=-1 end function C() string.toMusic('功能专区') menu1 = gg.multiChoice({ '不拉回加速(开)龟速', '不拉会加速(关)龟速', '人物加速拉回(开启)', '人物加速拉回(关闭)', '返回上一页'}, nil,'功能根据自己情况开启TG:@HRZZNB') if menu1 == nil then else if menu1[1] == true then c1() end if menu1[2] == true then c2() end if menu1[3] == true then c3() end if menu1[4] == true then c4() end if menu1[5] == true then c5() end if menu1[6] == true then c6() end if menu1[7] == true then c7() end if menu1[8] == true then c8() end if menu1[9] == true then c9() end if menu1[10] == true then c10() end if menu1[11] == true then HOME() end end GLWW=-1 end function b1() string.toMusic('请等待提示开启成功') gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('-1,727,774,334',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = -1,727,774,334,}}) end gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,919,905,797;-2,113,904,268;1,634,863,104;1,633,880,068',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,919,905,797;-2,113,904,268;1,634,863,104;1,633,880,068,}}) end gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,632,662,377;1,869,483,520',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,632,662,377;1,869,483,520,}}) end gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,088,946,497;-2,103,902,206',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,088,946,497;-2,103,902,206,}}) end draw.setSize(50) draw.setStyle("描边并填充") draw3 = require("draw3") draw.text("第一套开启成功", 250, 1900) draw.setColor("#FF00F0") string.toMusic('开启成功') gg.toast("开启成功") end function b2() string.toMusic('等待提示开启成功') gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,918,960,896;1,075,380,608;100,729,345',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,918,960,896;1,075,380,608;100,729,345,}}) end gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,762,067,456;1,919,905,797;1,634,496,628',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,762,067,456;1,919,905,797;1,634,496,628,}}) end draw.setSize(50) draw.setStyle("描边并填充") draw3 = require("draw3") draw.text("第二套开启成功", 250, 1900) draw.setColor("#FF00F0") string.toMusic('开启成功') gg.toast("开启成功") end function b3() gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('-2,088,562,032;-1,073,666,044;-2,147,417,520;-2,147,090,112;-2,146,958,814',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = -2,088,562,032;-1,073,666,044;-2,147,417,520;-2,147,090,112;-2,146,958,814,}}) end gg.clearResults() gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber('1,073,750,032;-2,147,418,102;1,075,839,200',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.searchNumber('',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1) gg.getResults(100) jg=gg.getResults(100) sl=gg.getResultCount() for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 1,073,750,032;-2,147,418,102;1,075,839,200,}}) end draw.setSize(50) draw.setStyle("描边并填充") draw3 = require("draw3") draw.text("第三套开启成功", 250, 1900) draw.setColor("#FF00F0") gg.toast("开启成功") end function c1() 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 while true do gg.sleep(300) local t = {"libUE4.so:bss", "Cb"} local tt = {0x91B578,0xB8,0x88,0x30,0x3438,0x41EC} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = 1.35}}) end end function c2() 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 while true do gg.sleep(300) local t = {"libUE4.so:bss", "Cb"} local tt = {0x91B578,0xB8,0x88,0x30,0x3438,0x41EC} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = 1}}) end gg.toast("开启成功") end function c3() 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 while true do gg.sleep(300) local t = {"libUE4.so:bss", "Cb"} local tt = {0x91B578,0xB8,0x88,0x30,0x3438,0x41EC} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = 2}}) end gg.toast("开启成功") end function c4() 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 while true do gg.sleep(300) local t = {"libUE4.so:bss", "Cb"} local tt = {0x91B578,0xB8,0x88,0x30,0x3438,0x41EC} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = 1}}) end gg.toast("开启成功") end function Exit() print("这里是退出脚本后的提示文字") os.exit() end function HOME() lw=1 Main() 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 --[[Welcome to Dluae]]