abf56a7893720ad7d69c0843c9d4ecbf9b=function (vip)
---[=[脚本可以复制到下面]=]-------------------------------------------------------------------------------------------------------------------





meun="Main0()"

JKT={
"搜值功能["..gg.getResultCount().."]",--0
"打造功能",--1
"叠加功能",--2
"掉落功能",--3
" 获取D类",
"改图功能",--4
"货币功能",--6
"本命功能",--7
"被动功能",--8
"宠物功能",--9
"人物功能",--10
"自定功能",--11
"剑孔功能",--13
"替换功能",--14
"偷榜功能",--15
"杂货专区",--17
"退出脚本",--18
}

JKY={
"SS()",
"dzgn()",
"DJGN()",
"zdydl()",
"hqgn()",
"zdygt()",
"hqq()",
"bmdj()",
"bdmj()",
"cwqy()",
"rwq()",
"zdyzz()",
"jkgn()",
"cwdsdth()",
"tbgn()",
"zahuoqu()",
"exit()",
}


xorcc=0
xor=0
A={}
function Main0()
meun="Main0()"
local SN=gg.choice(JKT,nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
for k in pairs(JKT) do
if SN==k then
load(JKY[k])()
end
end
YW1=1
end


function SS()
  time=os.clock()
  SignatureSearch({xor~-1,"C",nil,nil,4,4},{{11,72,4}},{{false,-288,4,false,false,nil}}) 
  gg.toast("请选择物品")
  gg.sleep(1000)
  gg.searchFuzzy("0", gg.SIGN_FUZZY_NOT_EQUAL, gg.TYPE_DWORD | gg.TYPE_QWORD,0, -1)  
  gg.searchNumber("-2147483648~10000000",gg.TYPE_DWORD,false,gg.SIGN_NOT_EQUAL,0,-1)  
  gg.toast("搜索完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end


function dzgn()
meun="dzgn()"
local SN=gg.choice({
"搜值功能["..gg.getResultCount().."]",
"启动修改",--6
"录入物品<"..#A..">",--7
"恢复打造",--8
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
local cl=gg.prompt({"502000玄铁\n502001木头\n502002丝绸\n目标材料","打造需要灵魂","原本制作书","材料1","材料2","当前显示ID"},{502000,1000,502200,502000,502001},{"number","number","number","number","number","number"})
local dz=gg.getResults(1)[1].address
local a=pianyi(dz,0x138,4)[1].value
local b=pianyi(dz,0x11C,4)[1].value
x=pianyi(dz,0x5C,4)[1].value----
yhdz=pianyi(dz,0x5C,4)[1].value----
d=(b~a)
local e=tiaozhuan(d,0x15C,4)[1].address
local f=tiaozhuan(d,0x15C,8)[1].value
local u=pianyi(d,88,4)[1].address
GaiXie(u,cl[2],0)
local  zzz=tiaozhuan(d,4,4)[1].address
GaiXie(zzz,cl[3],cl[1])
if cl[4]~="" then
local  zz=tiaozhuan(d,300,4)[1].address
GaiXie(zz,cl[4],0)
end
if cl[5]~="" then
local  z=tiaozhuan(d,312,4)[1].address
GaiXie(z,cl[5],0)
end
gg.toast("修改完成点击修改器开始打造")
for i=1,#A do
onclick()
local ddz=(x~A[i])
local xz=(f~cl[6]~A[i])
es=e
zx=xz
wpe=A[i]
gaixie({{e,0,xz,8},
{e,4,ddz,4},
{e,8,ddz,4}})
gg.toast("当前修改进程"..i.."/"..#A)
end
A={}
end
if SN==3 then
local zdy=gg.prompt({"输入物品代码","存入5个法宝","存入4个传说剑","存入3个灵物","存入8个八仙法宝","存入4个物品","存入6个神道业力","存入一套冰神时装","存入一套风神时装","存入一套恶魔时装","存入一套开学季时装","存入一套毕业季时装","存入一套猛虎时装","存入孙悟空传说套","存入猪八戒传说套","存入沙僧传说套","存入唐僧传说套","存入嫦娥传说套","存入琉璃传说套","存入王子传说套"}, {nil},{"number","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox"})
if zdy[1]~="" then
table.insert(A,zdy[1])
end
if zdy[2]==true then
zb={500001,500002,500003,500004,500005}
for i=1,5 do
table.insert(A,zb[i])
end
end
if zdy[3]==true then
zb={500013,500014,500015,500016}
for i=1,4 do
table.insert(A,zb[i])
end
end
if zdy[4]==true then
zb={500603,500609}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[5]==true then
zb={500018,500019,500020,500021,500022,500023,500024,500025}
for i=1,8 do
table.insert(A,zb[i])
end
end
if zdy[6]==true then
zb={501180,509203,503340,503341}
for i=1,4 do
table.insert(A,zb[i])
end
end
if zdy[7]==true then
zb={904420,904430,904440,904450,904460,904470}
for i=1,6 do
table.insert(A,zb[i])
end
end
if zdy[8]==true then
zb={520000,501250,500405}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[9]==true then
zb={520010,501260,500408}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[10]==true then
zb={520240,501380,500415}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[11]==true then
zb={520040,501310,500411}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[12]==true then
zb={520140,501420,500419}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[13]==true then
zb={520100,501370,500418}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[14]==true then
zb={1315,1512,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[15]==true then
zb={3315,3513,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[16]==true then
zb={4322,4512,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[17]==true then
zb={2315,2512,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[18]==true then
zb={7315,7512,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[19]==true then
zb={5309,5508,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
if zdy[20]==true then
zb={6315,6512,500221}
for i=1,3 do
table.insert(A,zb[i])
end
end
dzgn()
end
if SN==4 then
local hf=gg.prompt({"当前打造显示ID","刚刚材料无消耗ID","刚刚灵魂无消耗ID","本制作书打造ID","当前制作书ID","材料1","材料2"},{nil,nil,nil,nil,nil,nil,nil},{"number","number","number","number","number","number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local b=pianyi(gg.getResults(1)[1].address,0x138,4)[1].value
yh=a~b
local e=tiaozhuan(yh,0x15C,4)[1].address
GaiXie(e,hf[1],hf[4])
local c=tiaozhuan(yh,4,4)[1].address
GaiXie(c,hf[2],hf[5])
if hf[6]~="" then
local d=tiaozhuan(yh,300,4)[1].address
GaiXie(d,0,hf[6])
end
if hf[7]~="" then
local t=tiaozhuan(yh,312,4)[1].address
GaiXie(d,0,hf[7])
end
local r=tiaozhuan(yh,88,4)[1].address
GaiXie(r,0,hf[3])
gg.toast("恢复成功")
end
if SN==5 then
Main0()
end
YW1=1
end

function DJGN()--9
local sl=gg.prompt({"原本数量","想要增加数量","想要叠加次数"},{1,nil,nil},{"number","number","number"})
sl23=sl[1]+sl[2]
begin=gg.getResults(1)[1].address
GaiXie(gg.getResults(1)[1].address + 12,sl[1],sl23)
yhdz=pianyi(gg.getResults(1)[1].address,0x5C,4)[1].value
local dz1=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local dz2=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
SignatureSearch({dz1,nil,nil,nil,4,4},{{dz2~sl[1],24,4}},{{false,24,4,false,false,nil}})
gxnn=gg.getResults(1)[1].address
gaixie({{gg.getResults(1)[1].address,0,dz2~sl23,4},
{gg.getResults(1)[1].address,8,yhdz,4},
{gg.getResults(1)[1].address,12,yhdz~sl23,4},
{gg.getResults(1)[1].address,16,32,4}})
gg.toast("已将数量"..sl[1].."改成"..sl23)
zl=sl[2]
sl1=sl[1]+zl
sl2=sl1+zl
for i=1,sl[3] do
onclick(0.01)
GaiXie(begin + 12,sl1,sl2)
local dz1=pianyi(begin,0x11C,4)[1].value
local dz2=pianyi(begin,0x54,4)[1].value
gaixie({{gxnn,0,dz2~sl2,4},
{gxnn,8,yhdz,4},
{gxnn,12,yhdz~sl2,4},
{gxnn,16,32,4}})
gg.toast("已将数量"..sl1.."改成"..sl2.."点击悬浮窗继续修改\n当前修改进程"..i.."/"..sl[3])
sl1=sl2
sl2=sl1+zl
end
end

function zdydl()
meun="zdydl()"
local SN = gg.choice({
"自定掉落",--10
"自定加速",--11
"恢复加速",--12
"返回脚本",
}, nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
time=os.clock()
local wp=gg.prompt({"目标物品ID","改怪"},{nil,nil},{"number","checkbox"})
if wp[1]~="" then
SignatureSearch({700001,nil,nil,nil,4,4},{{12,-16,4}},{{false,-8,4,false,false,nil}})
for i=1,gg.getResultCount() do
local a=tiaozhuan(gg.getResults(gg.getResultCount())[i].value,0,4)[1].address
GaiXie(a,1300,wp[1])
GaiXie(pianyi(a,12,4)[1].address,1500,wp[1])
GaiXie(pianyi(a,24,4)[1].address,2300,wp[1])
GaiXie(pianyi(a,36,4)[1].address,2500,wp[1])
GaiXie(pianyi(a,48,4)[1].address,3300,wp[1])
GaiXie(pianyi(a,60,4)[1].address,3500,wp[1])
GaiXie(pianyi(a,72,4)[1].address,4300,wp[1])
GaiXie(pianyi(a,84,4)[1].address,4500,wp[1])
GaiXie(pianyi(a,96,4)[1].address,5300,wp[1])
GaiXie(pianyi(a,108,4)[1].address,5500,wp[1])
GaiXie(pianyi(a,120,4)[1].address,6300,wp[1])
GaiXie(pianyi(a,132,4)[1].address,6500,wp[1])
GaiXie(pianyi(a,144,4)[1].address,7300,wp[1])
GaiXie(pianyi(a,156,4)[1].address,7500,wp[1])
end
end
if wp[2] then
SignatureSearch({700001,nil,nil,nil,4,4},{{12,-16,4}},{{false,-20,4,false,false,nil},{false,-164,4,false,false,nil}})
local g1=gg.getResults(4)[1].value
local g2=gg.getResults(4)[2].value
local g3=gg.getResults(4)[3].value
local g4=gg.getResults(4)[4].value
SignatureSearch({g1,0,4,nil,nil,nil,4,4},{},{{g2,0,4,false,false,nil}})
SignatureSearch({g3,nil,nil,nil,4,4},{},{{g4,0,4,false,false,nil}})
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
end
if SN==2 then
time=os.clock()
local zdy=gg.prompt({"输入加速倍数:"},{3},{"number"})
SignatureSearch({16777472,nil,nil,nil,4,4},{{96,12,4}},{{false,52,32,false,false,nil}})
gaixie({{gg.getResults(1)[1].address,0,zdy[1],16}})
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果当前倍速"..zdy[1])
end
if SN==3 then
time=os.clock()
SignatureSearch({16777472,nil,nil,nil,4,4},{{96,12,4}},{{false,52,32,false,false,nil}})
gaixie({{gg.getResults(1)[1].address,0,1,16}})
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果当前倍速[1]")
end
if SN==4 then
Main0()
end
YW1=1
end

function hqgn()
local hq=gg.prompt({"想要数值"},nil,{"number"}) gg.copyText(xor~hq[1])
end

function zdygt()--13
time=os.clock()
SignatureSearch({120,nil,nil,nil,8,4},{{124,4,8},{56,0x20,8},{60,0x24,8},{8,0x38,8},{12,0x3C,8},{56,0xE0,8},{60,0xE4,8},{24,0x110,8},{28,0x114,8}},{{false,0x174,4,false,false,nil}})
local zdy=gg.prompt({"想要地图id"},{nil},{"number"})
GaiXie(gg.getResults(1)[1].address,700001,zdy[1])
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end

function hqq()--14
time=os.clock()
SignatureSearch({-4399,"90",nil,nil,4,4},{},{{false,-364,4,false,false,nil},{false,-240,4,false,false,nil},{false,140,4,false,false,nil}})
local hb=gg.prompt({"原本灵魂","目标灵魂","原本仙气","目标仙气","原本战功","目标战功","原本数量","灵魂四百万","战功八万","仙气一百万"},{nil,nil,nil,nil,nil,nil,nil,nil,nil,nil},{"number","number","number","number","number","number","number","checkbox","checkbox","checkbox"})
local l=gg.getResults(3)[1].address
local x=gg.getResults(3)[2].address
local z=gg.getResults(3)[3].address
if hb[1]~="" then GaiXie(l,hb[1],hb[2]) end
if hb[3]~="" then GaiXie(x,hb[3],hb[4]) end
if hb[5]~="" then GaiXie(z,hb[5],hb[6]) end
if hb[8] then GaiXie(l,hb[7],4000000) end
if hb[9] then GaiXie(z,hb[7],80000) end
if hb[10] then GaiXie(x,hb[7],1000000) end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end

function bmdj()
meun="bmdj()"
local SN=gg.choice({
"本命等级",--15
"本命阶数",--16
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
time=os.clock()
local zdy=gg.prompt({"目前经验","原本等级","目标等级"},{nil,nil,nil},{"number","number","number"})
SignatureSearch({2020,nil,nil,nil,8,8},{{1852,-0xB8,8},{272,-0x100,8}},{{false,4,4,false,false,nil}})
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{},{{false,0,4,false,false,nil}})
local a=pianyi(gg.getResults(1)[1].address,0x40,4)[1].address
local c=pianyi(gg.getResults(1)[1].address,0x4C,4)[1].address
GaiXie(a,zdy[2]*zdy[2]-1+zdy[1],zdy[3]*zdy[3]-1)
GaiXie(c,zdy[2]*zdy[2]-1+zdy[1],zdy[3]*zdy[3]-1)
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==2 then
time=os.clock()
SignatureSearch({340.0,nil,nil,nil,16,4},{{320.0,4,16},{340.0,0xA0,16}},{{false,-0xB0,4,false,false,nil}})
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{},{{false,0,4,false,false,nil}})
local zdy=gg.prompt({"原本阶数","目标阶数"},{nil,nil},{"number","number"})
for i=1,gg.getResultCount() do
local t=gg.getResults(gg.getResultCount())[i].address
local a=pianyi(t,0x18C,4)[1].address
GaiXie(a,zdy[1],zdy[2])
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
end
if SN==3 then
Main0()
end
YW1=1
end

function bdmj()--17
time=os.clock()
SignatureSearch({16,nil,nil,nil,8,8},{{4044,-0xB4,8}},{{false,4,4,false,false,nil}})
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{{16,0x14,4}},{{false,0,4,false,false,nil}})
local zdy = gg.prompt({
"第一被动","第二被动","第三被动","第四被动","第五被动","第六被动","第一被动目标等级","第二被动目标等级","第三被动目标等级","第四被动目标等级","第五被动目标等级","第六被动目标等级"
},{1,1,1,1,1,1,80,80,80,80,80,80},{"number","number","number","number","number","number","number","number","number","number","number","number"})
local t1=pianyi(gg.getResults(6)[1].address,0x8,4)[1].address
local t2=pianyi(gg.getResults(6)[2].address,0x8,4)[1].address
local t3=pianyi(gg.getResults(6)[3].address,0x8,4)[1].address
local t4=pianyi(gg.getResults(6)[4].address,0x8,4)[1].address
local t5=pianyi(gg.getResults(6)[5].address,0x8,4)[1].address
local t6=pianyi(gg.getResults(6)[6].address,0x8,4)[1].address
GaiXie(t1,zdy[1],zdy[7])
GaiXie(t2,zdy[2],zdy[8])
GaiXie(t3,zdy[3],zdy[9])
GaiXie(t4,zdy[4],zdy[10])
GaiXie(t5,zdy[5],zdy[11])
GaiXie(t6,zdy[6],zdy[12])
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end

function cwdsdth()
meun="cwdsdth()"
local SN=gg.choice({
"搜值功能["..gg.getResultCount().."]",
"宠书替换",--18
"宠书替换",--19
"宠蛋替换",--20
"返回主页",
},nil,"sig遍写,远昼刃先教,宠物蛋替换需搜值第一个为505500,第二个为505521")
if SN==1 then
SS()
end
if SN==2 then
local jns=gg.prompt({"目标id"},{nil},{"number"})
SignatureSearch({-393377815,nil,nil,nil,4,4},{{-410155031,48,4}},{{false,92,4,false,false,nil}})
local dz=tiaozhuan(gg.getResults(1)[1].value,4,4)[1].address
GaiXie(dz,505500,jns[1])
gg.toast("修改成功,请点击其他地方并点击悬浮窗恢复")
onclick(0.01)
GaiXie(dz,jns[1],505500)
gg.toast("恢复成功")
end
if SN==3 then
local cws=gg.prompt({"目标id"},{nil},{"number"})
SignatureSearch({-407126552,nil,nil,nil,4,4},{{-427777560,0x30,4}},{{false,-0x34,4,false,false,nil}})
local dz=tiaozhuan(gg.getResults(1)[1].value,4,4)[1].address
GaiXie(dz,505521,cws[1])
gg.toast("修改成功,请点击其他地方并点击悬浮窗恢复")
onclick(0.01)
GaiXie(dz,cws[1],505521)
gg.toast("恢复成功")
end
if SN==4 then
local cwd=gg.prompt({"原本宠物蛋ID","替换目标ID"},{503134,nil},{"number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local b=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
yh=a~b
local c=tiaozhuan(yh,4,4)[1].address
GaiXie(c,cwd[1],cwd[2])
gg.toast("修改成功,请点击其他地方并点击悬浮窗恢复")
onclick(0.01)
GaiXie(c,cwd[2],cwd[1])
gg.toast("恢复完成")
end
if SN==5 then
Main0()
end
YW1=1
end


function rwq()
meun="rwq()"
local SN=gg.choice({
"人物等级",--23
"自动等级",
"人物经验",--24
"经验倍率",--25
"经验上限",--26
"人物锁血",--27
"人物无敌",--28
"人物秒杀",--29
"循环定怪",--30
"定怪恢复",--31
"称号秒杀",--32
"返回主页",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
local dj=gg.prompt({"原本等级","目标等级"},{nil,nil},{"number","number"})
zddj(dj[1],dj[2])
end
if SN==2 then
djgb()
end
if SN==3 then
time=os.clock()
local zdy=gg.prompt({"原来经验","目标经验"},{nil,nil},{"number","number"})
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-1152,4,false,false,nil}})
for b=1,gg.getResultCount() do
local t=gg.getResults(gg.getResultCount())[b].address
GaiXie(t,zdy[1],zdy[2])
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==4 then
time=os.clock()
local zdx=gg.prompt({"原本倍率","目标倍率"},{nil,nil},{"number","number"})
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-1140,4,false,false,nil}})
for c=1,gg.getResultCount() do
local b=gg.getResults(gg.getResultCount())[c].address
GaiXie(b,zdx[1],zdx[2])
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==5 then
time=os.clock()
local zdz=gg.prompt({"原本上限","目标上限"},{nil,nil},{"number","number"})
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-1068,4,false,false,nil}})
for d=1,gg.getResultCount() do
local c=gg.getResults(gg.getResultCount())[d].address
GaiXie(c,zdz[1],zdz[2])
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==6 then
time=os.clock()
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,0,4,false,false,nil}})
local dz = gg.getResults(1)[1].address
jieguo({{dz,-2920,4}})
local a=gg.getResults(1)
a[1].freeze = true
gg.addListItems(a)
jieguo({{dz,-2916,4}})
local b=gg.getResults(1)
b[1].freeze = true
gg.addListItems(b)
jieguo({{dz,-2912,4}})
local c=gg.getResults(1)
c[1].freeze = true
gg.addListItems(c)
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==7 then
time=os.clock()
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-3720,4,false,false,nil}})
for e=1,gg.getResultCount() do
local t = gg.getResults(gg.getResultCount())[e].address
GaiXie(t,1,10)
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==8 then
time=os.clock()
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-2504,4,false,false,nil}})
for f=1,gg.getResultCount() do
local t=gg.getResults(gg.getResultCount())[f].address
GaiXie(t,1065353216,2139081119)
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==9 then
time=os.clock()
SignatureSearch({1036831949,nil,nil,nil,4,4},{{1,8,4},{1584,4,4}},{{false,0,4,false,false,nil}})
for i=1,gg.getResultCount() do
gaixie({{gg.getResults(gg.getResultCount())[i].address,0,1169004544,4}})
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
gg.sleep(1000)
xhdg()
end
if SN==10 then
time=os.clock()
SignatureSearch({1036831949,nil,nil,nil,4,4},{{1,8,4},{1584,4,4}},{{false,0,4,false,false,nil}})
for i=1,gg.getResultCount() do
gaixie({{gg.getResults(gg.getResultCount())[i].address,0,1036831949,4}})
end
gg.toast("恢复完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==11 then
time=os.clock()
SignatureSearch({-443500314,nil,nil,nil,4,4},{{-1109088891,4,4},{12,0x74,4}},{{false,0x68,4,false,false,nil}})
if gg.getResultCount()~=0 then
GaiXie(gg.getResults(1)[1].address,200,1400000000)
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==12 then
Main0()
end
YW1=1
end

function zddj(yb,mb)
time=os.clock()
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-2908,4,false,false,nil}})
for i=1,gg.getResultCount() do
local a=gg.getResults(gg.getResultCount())[i].address
GaiXie(a,yb,mb)
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒")
end

function djgb()
local zd=gg.prompt({"输入当前等级"},{nil},{"number"})
if zd~=nil then
DJ=tonumber(zd[1])
while DJ~=90 do
local cs=onclick(0.01)
if DJ<57 then
zddj(DJ,57)
gg.toast("将"..DJ.."改至57")
DJ=57
elseif DJ>=57 and DJ<76 then
zddj(DJ,76)
gg.toast("将"..DJ.."改至76")
DJ=76
elseif DJ>=76 and DJ<88 then
GDJ=DJ+2
zddj(DJ,GDJ)
gg.toast("将"..DJ.."改至"..GDJ)
DJ=GDJ
elseif DJ>=88 and DJ<90 then
GDJ=DJ+(90-DJ)
zddj(DJ,GDJ)
gg.toast("将"..DJ.."改至"..GDJ)
DJ=GDJ
end
end
end
end

function cwqy()
meun="cwqy()"
local SN=gg.choice({
"宠物替换",--33
"宠物属性",--34
"宠物等级",--35
"宠物涅槃",--36
"宠物资质",--37
"宠物技能",--38
"返回主页",
},nil,"如果未更改完成就将宠物出战就可以了")
if SN==1 then
gg.alert("寿命和出战休息在最下面记得填")
time=os.clock()
local cw=gg.prompt({"自定义","原本宠物","目标宠物","原本宠物","圣佛","天马","白虎","玄武","青龙","朱雀","哮天犬","绵羊","严灵","严佛","寒马","冰灵","灵龟","兽丸","玲珑","青鸾","人鱼","将军猪","赤龙","翠灵","狐狸","天使","闪电","邱比特","神牛","当前宠物寿命","当前状态出战1/休息2默认出战"},{nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,100,1},{"checkbox","number","number","number","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{cw[31],0x828,4},{cw[30],0x830,4}},{{false,0x828,4,false,false,nil}})
local a=pianyi(gg.getResults(1)[1].address,-0x9B4,4)[1].value
local b=tiaozhuan(a,4,4)[1].address
if cw[1] then GaiXie(b,cw[2],cw[3]) end--1
if cw[5] then GaiXie(b,cw[4],213) end--2
if cw[6] then GaiXie(b,cw[4],217) end--3
if cw[7] then GaiXie(b,cw[4],221) end--4
if cw[8] then GaiXie(b,cw[4],225) end--5
if cw[9] then GaiXie(b,cw[4],229) end--6
if cw[10] then GaiXie(b,cw[4],233) end--7
if cw[11] then GaiXie(b,cw[4],239) end--8
if cw[12] then GaiXie(b,cw[4],246) end--9
if cw[13] then GaiXie(b,cw[4],264) end--10
if cw[14] then GaiXie(b,cw[4],269) end--11
if cw[15] then GaiXie(b,cw[4],274) end--12
if cw[16] then GaiXie(b,cw[4],279) end--13
if cw[17] then GaiXie(b,cw[4],283) end--14
if cw[18] then GaiXie(b,cw[4],288) end--15
if cw[19] then GaiXie(b,cw[4],6703) end--16
if cw[20] then GaiXie(b,cw[4],6718) end--17
if cw[21] then GaiXie(b,cw[4],6723) end--18
if cw[22] then GaiXie(b,cw[4],6727) end--19
if cw[23] then GaiXie(b,cw[4],6732) end--20
if cw[24] then GaiXie(b,cw[4],6717) end--24
if cw[25] then GaiXie(b,cw[4],6741) end--22
if cw[26] then GaiXie(b,cw[4],6745) end--23
if cw[27] then GaiXie(b,cw[4],6749) end--24
if cw[28] then GaiXie(b,cw[4],6751) end
if cw[29] then GaiXie(b,cw[4],6755) end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==2 then
gg.alert("提示用前请准备一个504002宠物洗练丹寿命和出战休息在最下面记得填")
time=os.clock()
local cwsx=gg.prompt({"悟性","原本悟性","目标悟性","灵力","原本灵力","目标灵力","根骨","原本根骨","目标根骨","当前寿命","当前状态出战1/休息2默认出战"},{nil,nil,nil,nil,nil,nil,nil,nil,nil,100,1},{"checkbox","number","number","checkbox","number","number","checkbox","number","number","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{cwsx[11],0x828,4},{cwsx[10],0x830,4}},{{false,0x828,4,false,false,nil}})
local a=pianyi(gg.getResults(1)[1].address,0x104,4)[1].address
local b=pianyi(gg.getResults(1)[1].address,0x110,4)[1].address
local c=pianyi(gg.getResults(1)[1].address,0xF8,4)[1].address
if cwsx[1] then GaiXie(a,fzd(cwsx[2]),fzd(cwsx[3])) end
if cwsx[4] then GaiXie(b,fzd(cwsx[5]),fzd(cwsx[6])) end
if cwsx[7] then GaiXie(c,fzd(cwsx[8]),fzd(cwsx[9])) end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==3 then
time=os.clock()
local dj=gg.prompt({"原本等级","目标等级","当前寿命","当前状态出战1/休息2默认出战"},{nil,nil,100,1},{"number","number","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{dj[4],0x828,4},{dj[3],0x830,4}},{{false,0x828,4,false,false,nil}})
for i=1,gg.getResultsCount() do
local t=gg.getResults(gg.getResultsCount())[i].address
local a=pianyi(t,-0x694,4)[1].address
GaiXie(a,dj[1],dj[2])
end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==4 then
gg.alert("寿命和出战休息在最下面记得填")
time=os.clock()
local cwi=gg.prompt({"孔一开","孔二开","孔三开","孔三关","孔四开","孔四关","孔五开","孔五关","孔六开","孔六关","孔七开","孔七关","当前寿命","当前状态出战1/休息2默认休息"},{504143,504143,504144,504144,504145,504145,504146,504146,504147,504147,504140,504140,100,1},{"checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{cwi[14],0x828,4},{cwi[13],0x830,4}},{{false,0x828,4,false,false,nil}})
local b=pianyi(gg.getResults(1)[1].address,0x224,4)[1].value
local y=tiaozhuan(b,0,4)[1].address
local c=pianyi(y,0xC,4)[1].address
local d=pianyi(y,0x18,4)[1].address
local e=pianyi(y,0x24,4)[1].address
local f=pianyi(y,0x30,4)[1].address
local g=pianyi(y,0x3C,4)[1].address
local l=pianyi(y,0x48,4)[1].address
if cwi[1] then GaiXie(y,1,504143) end
if cwi[2] then GaiXie(c,1,504143) end
if cwi[3] then GaiXie(d,1,504144) end
if cwi[4] then GaiXie(d,0,504144) end
if cwi[5] then GaiXie(e,1,504145) end
if cwi[6] then GaiXie(e,0,504145) end
if cwi[7] then GaiXie(f,1,504146) end
if cwi[8] then GaiXie(f,0,504146) end
if cwi[9] then GaiXie(g,1,504147) end
if cwi[10] then GaiXie(g,0,504147) end
if cwi[11] then GaiXie(l,1,504140) end
if cwi[12] then GaiXie(l,0,504140) end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==5 then
gg.alert("寿命和出战休息在最下面记得填")
time=os.clock()
local zz=gg.prompt({"生命资质","原本生命资质","目标生命资质","魔法资质","原本魔法资质","目标魔法资质","攻击资质","原本攻击资质","目标攻击资质","防御资质","当前防御资质","目标防御资质","当前寿命","当前状态出战1/休息2默认出战"},{nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,100,1},{"checkbox","number","number","checkbox","number","number","checkbox","number","number","checkbox","number","number","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{zz[14],0x828,4},{zz[13],0x830,4}},{{false,0x828,4,false,false,nil}})
local a=pianyi(gg.getResults(1)[1].address,0x98,4)[1].address
local b=pianyi(gg.getResults(1)[1].address,0xA4,4)[1].address
local c=pianyi(gg.getResults(1)[1].address,0xB0,4)[1].address
local d=pianyi(gg.getResults(1)[1].address,0xBC,4)[1].address
if zz[1] then GaiXie(a,fzd(zz[2]),fzd(zz[3])) end
if zz[4] then GaiXie(b,fzd(zz[5]),fzd(zz[6])) end
if zz[7] then GaiXie(c,fzd(zz[8]),fzd(zz[9])) end
if zz[10] then GaiXie(d,fzd(zz[11]),fzd(zz[12])) end
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果")
end
if SN==6 then
gg.alert("寿命和出战休息在最下面记得填")
local cw=gg.prompt({"原本经验","原本悟性","原本等级","当前寿命","当前状态出战1/休息2默认出战"},{nil,nil,nil,100,1},{"number","number","number","number","number"})
SignatureSearch({444,nil,nil,nil,8,4},{{cw[5],0x828,4},{cw[4],0x830,4}},{{false,0x828,4,false,false,nil}})
local a=pianyi(gg.getResults(1)[1].address,0xE0,4)[1].address
local b=pianyi(gg.getResults(1)[1].address,0x104,4)[1].address
local c=pianyi(gg.getResults(1)[1].address,-0x67C,4)[1].address
GaiXie(a,cw[1],100000000)
GaiXie(b,fzd(cw[2]),fzd(20))
GaiXie(c,cw[3],1)
gg.toast("请使用瓶子")
end
if SN==7 then
Main0()
end
YW1=1
end

function zdyzz()
meun="zdyzz()"
local SN = gg.choice({
"搜值功能["..gg.getResultCount().."]",
"自定星级",--39
"自定传承",--40
"自定品级",--41
"自定强化",--42
"自定基础",--43
"自定阶数",--44
"自定五行",--45
"自定成长",--46
"装备强穿",--47
"自定人品",--48
"人品冻结",--49
"满启灵珠",--50
"传剑一键",
"星品一键",
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
local a=gg.prompt({"原本星级","目标星级"},{nil,nil},{"number","number"})
zdyxj(a[1],a[2])
end
if SN==3 then 
local a=gg.prompt({"原本传承","目标传承"},{nil,nil},{"number","number"})
zdycc(a[1],a[2])
end
if SN==4 then 
local a=gg.prompt({"原本品级","目标品级"},{nil,nil},{"number","number"})
zdypj(a[1],a[2])
end
if SN==5 then 
local a=gg.prompt({"原本强化","目标强化"},{nil,nil},{"number","number"})
zdyqh(a[1],a[2])
end
if SN==6 then
zdyjc()
end
if SN==7 then
local a=gg.prompt({"原本阶数","目标阶数"},{nil,nil},{"number","number"})
zdyjs(a[1],a[2])
end
if SN==8 then
zdywx()
end
if SN==9 then
zdycz()
end
if SN==10 then
zbqc()
end
if SN==11 then
zdyrp()
end
if SN==12 then
djrp()
end
if SN==13 then
mqlz()
end
if SN==14 then
csyj()
end
if SN==15 then
zzyj()
end
if SN==16 then 
Main0() 
end
YW1=1
end

function zdyxj(ybxing,mbxing)
local begin=gg.getResults(1)[1].address
local dz=pianyi(begin,0x1D8,4)[1].value
local dz1=tiaozhuan(dz,0x18,4)[1].value
local dz2=tiaozhuan(dz1,0x14,4)[1].value
local dz3=tiaozhuan(dz2,0x104,4)[1].value
local dz4=tiaozhuan(dz3,0x14,4)[1].address
GaiXie(dz4,fzd(ybxing),fzd(mbxing))
jieguo({{begin,0,4}})
gg.toast("修改成功")
end

function zdycc(ybchuancheng,mbchuancheng)
local begin=gg.getResults(1)[1].address
local dz=pianyi(begin,0xD8,4)[1].address
GaiXie(dz,ybchuancheng,mbchuancheng)
jieguo({{begin,0,4}})
gg.toast("修改成功")
end

function zdypj(ybpin,mbpin)
local begin=gg.getResults(1)[1].address
local dz=pianyi(begin,0x1D4,4)[1].value
local dz1=tiaozhuan(dz,0x18,4)[1].value
local dz2=tiaozhuan(dz1,0x14,4)[1].value
local dz3=tiaozhuan(dz2,0x104,4)[1].value
local dz4=tiaozhuan(dz3,0x14,4)[1].address
GaiXie(dz4,fzd(ybpin),fzd(mbpin))
jieguo({{begin,0,4}})
gg.toast("修改成功")
end

function zdyjs(ybjieshu,mbjieshu)
local begin=gg.getResults(1)[1].address
local dz=pianyi(begin,0x180,4)[1].value
local dz1=tiaozhuan(dz,0x34,4)[1].value
local dz2=tiaozhuan(dz1,0x104,4)[1].value
local dz3=tiaozhuan(dz2,0x14,4)[1].address
GaiXie(dz3,fzd(ybjieshu),fzd(mbjieshu))
jieguo({{begin,0,4}})
gg.toast("修改成功")
end

function zdyqh(ybqianghua,mbqianghua)
local begin=gg.getResults(1)[1].address
local dz=pianyi(begin,0x188,4)[1].value
local dz1=tiaozhuan(dz,52,4)[1].value
local dz2=tiaozhuan(dz1,264,4)[1].value
local dz3=tiaozhuan(dz2,0,4)[1].value
local dz4=tiaozhuan(dz3,168,4)[1].value
local dz5=tiaozhuan(dz4,-4,4)[1].value
local dz6=tiaozhuan(dz5,20,4)[1].address
GaiXie(dz6,fzd(ybqianghua),fzd(mbqianghua))
jieguo({{begin,0,4}})
gg.toast("修改成功")
end

function csyj()
local yj=gg.prompt({"原本阶数","原本强化","八仙14+8","传说剑15+8"},{nil,nil,nil,nil},{"number","number","checkbox","checkbox"})
if yj[4] then zdyjs(yj[1],8) gg.toast("阶数修改完成") end
if yj[4] then zdyqh(yj[2],15) gg.toast("强化修改完成") end
if yj[3] then zdyjs(yj[1],8) gg.toast("阶数修改完成") end
if yj[3] then zdyqh(yj[2],14) gg.toast("强化修改完成") end
gg.toast("全部修改完成")
end

function zzyj()
local zyj=gg.prompt({"原本星级","原本品级","5+35年号","3+25月号","2+18月号","原本传承","目标传承"},{nil,nil,nil,nil,nil,nil,nil},{"number","number","checkbox","checkbox","checkbox","number","number"})
if zyj[3] then zdyxj(zyj[1],5) gg.toast("星级修改完成") end
if zyj[3] then zdypj(zyj[2],35) gg.toast("品级修改完成") end
if zyj[4] then zdyxj(zyj[1],3) gg.toast("星级修改完成") end
if zyj[4] then zdypj(zyj[2],25) gg.toast("品级修改完成") end
if zyj[5] then zdyxj(zyj[1],2) gg.toast("星级修改完成") end
if zyj[5] then zdyxj(zyj[2],18) gg.toast("品级修改完成") end
if zyj[6]~="" then zdycc(zyj[6],zyj[7]) gg.toast("传承修改完成") end
gg.toast("全部修改完成")
end

function zdyjc()
meun="zdyjc()"
local SN=gg.choice({
"搜值功能["..gg.getResultCount().."]",
"自定生命",--51
"自定魔法",--52
"自定攻击",--53
"自定防御",--54
"自定魔抗",--55
"自定幸运",--56
"自定闪避",--57
"自定暴击",--58
"自定回血",--59
"自定回蓝",--60
"自定神力",--61
"自定豁免",--62
"自定命中",--63
"自定抗暴",--64
"自定伤害",--65
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
ZDYSM() 
end
if SN==3 then
ZDYMF() 
end
if SN==4 then
ZDYGJ() 
end
if SN==5 then 
ZDYFY() 
end
if SN==6 then 
ZDYMK() 
end
if SN==7 then 
ZDYXY() 
end
if SN==8 then 
ZDYSB() 
end
if SN==9 then 
ZDYBJ() 
end
if SN==10 then 
ZDYHX() 
end
if SN==11 then 
ZDYHL() 
end
if SN==12 then
ZDYSL()
end
if SN==13 then
ZDYHM()
end
if SN==14 then
ZDYMZ()
end
if SN==15 then
ZDYKB()
end
if SN==16 then
ZDYSH()
end
if SN==17 then 
Main0() 
end
YW1=1
end

function ZDYMK()
local mk=gg.prompt({"输入当前魔抗","输入更改魔抗"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-256,4)[1].address
GaiXie(c,fzd(mk[1]),fzd(mk[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYXY()
local xy=gg.prompt({"输入当前幸运","输入更改幸运"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-232,4)[1].address
GaiXie(c,fzd(xy[1]),fzd(xy[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYSB()
local sb=gg.prompt({"输入当前闪避","输入更改闪避"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-208,4)[1].address
GaiXie(c,fzd(sb[1]),fzd(sb[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYBJ()
local bj=gg.prompt({"输入当前暴击","输入更改暴击"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-184,4)[1].address
GaiXie(c,fzd(bj[1]),fzd(bj[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYMF()
local mf=gg.prompt({"输入当前魔法","输入更改魔法"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-352,4)[1].address
GaiXie(c,fzd(mf[1]),fzd(mf[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYSM()
local sm=gg.prompt({"输入当前生命","输入更改生命"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-376,4)[1].address
GaiXie(c,fzd(sm[1]),fzd(sm[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYFY()
local fy=gg.prompt({"输入当前防御","输入更改防御"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-304,4)[1].address
GaiXie(c,fzd(fy[1]),fzd(fy[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYGJ()
local gj=gg.prompt({"输入当前攻击","输入更改攻击"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-328,4)[1].address
GaiXie(c,fzd(gj[1]),fzd(gj[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYHX()
local hx=gg.prompt({"输入当前回血","输入更改回血"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-160,4)[1].address
GaiXie(c,fzd(hx[1]),fzd(hx[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYHL()
local hl=gg.prompt({"输入当前回蓝","输入更改回蓝"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-136,4)[1].address
GaiXie(c,fzd(hl[1]),fzd(hl[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYSL()
local sl=gg.prompt({"输入当前神力","输入更改神力"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-112,4)[1].address
GaiXie(c,fzd(sl[1]),fzd(sl[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYHM()
local hm=gg.prompt({"输入当前豁免","输入更改豁免"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-88,4)[1].address
GaiXie(c,fzd(hm[1]),fzd(hm[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYMZ()
local mz=gg.prompt({"输入当前命中","输入更改命中"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-64,4)[1].address
GaiXie(c,fzd(mz[1]),fzd(mz[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYKB()
local kb=gg.prompt({"输入当前抗暴","输入更改抗暴"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-40,4)[1].address
GaiXie(c,fzd(kb[1]),fzd(kb[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function ZDYSH()
local shl=gg.prompt({"输入当前伤害率","输入更改伤害率"},{nil,nil},{"number","number"})
local t=gg.getResults(1)[1].address
local a=pianyi(t,0x154,4)[1].value
local b=tiaozhuan(a,0,4)[1].value
local c=tiaozhuan(b,-16,4)[1].address
GaiXie(c,fzd(shl[1]),fzd(shl[2]))
jieguo({{t,0,4}})
gg.toast("修改成功")
end

function zdywx()
local wx=gg.prompt({"1金,2木,3水,4火,5土\n当前五行1","目标五行1","当前五行2","目标五行2","当前五行3","目标五行3"},{nil,nil,nil,nil,nil,nil},{"number","number","number","number","number","number"})
local a=gg.getResults(1)[1].address
local b=pianyi(a,0x14C,4)[1].value
local c=tiaozhuan(b,0x8,4)[1].value
local d=tiaozhuan(c,0,4)[1].value
local e=tiaozhuan(d,0,4)[1].value
local f=tiaozhuan(e,0,4)[1].address
if wx[1]~="" then GaiXie(f + 8,fzd(wx[1]),fzd(wx[2])) end
if wx[3]~="" then GaiXie(f + 32,fzd(wx[3]),fzd(wx[4])) end
if wx[5]~="" then GaiXie(f + 56,fzd(wx[5]),fzd(wx[6])) end
jieguo({{a,0,4}})
gg.toast("修改完成")
end

function zdycz()
local cz=gg.prompt({"当前成长","目标成长"},{nil,nil},{"number","number"})
local a=gg.getResults(1)[1].address
local b=pianyi(a,0x14C,4)[1].value
local c=tiaozhuan(b,168,4)[1].value
local d=tiaozhuan(c,0,4)[1].value
local e=tiaozhuan(d,0,4)[1].value
local r=tiaozhuan(e,0x8,4)[1].address
GaiXie(r,fzd(cz[1]),fzd(cz[2]))
jieguo({{a,0,4}})
gg.toast("修改完成")
end

function zbqc()
local begin = gg.getResults(1)[1].address      
local dz=pianyi(begin,0x24,4)[1].address    
GaiXie(dz,0,1)  
gg.toast("修改完成")
end

function zdyrp()
local rp=gg.prompt({"原本人品","目标等级人品"},{nil,nil},{"number","number"})
local begin = gg.getResults(1)[1].address      
local dz=pianyi(begin,0x1F8,4)[1].address    
GaiXie(dz,fzd(rp[1]),fzd(rp[2]))
gg.toast("修改完成")
end

function djrp()
local begin = gg.getResults(1)[1].address
jieguo({{begin,0x1F8,8}})
local z1=gg.getResults(1)
z1[1].freeze = true
gg.addListItems(z1)
jieguo({{begin,0x1FC,4}})
local z2=gg.getResults(1)
z2[1].freeze = true
gg.addListItems(z2)  
jieguo({{begin,0x200,4}})
local z3=gg.getResults(1)
z3[1].freeze = true
gg.addListItems(z3) 
jieguo({{begin,0,4}})
end

function mqlz()
local qlzz=gg.prompt({"槽一原本状态","目标启灵珠","原本等级","目标等级","原本阶数","目标阶数"},{1,502160,0,30,0,30},{"number","number","number","number","number","number"})
local qlz=gg.prompt({"槽二原本状态","目标启灵珠","原本等级","目标等级","原本阶数","目标阶数"},{-1,502161,0,30,0,30},{"number","number","number","number","number","number"})
local ql=gg.prompt({"槽三原本状态","目标启灵珠","原本等级","目标等级","原本阶数","目标阶数"},{-1,502162,0,30,0,30},{"number","number","number","number","number","number"})
local q=gg.prompt({"槽四原本状态","目标启灵珠","原本等级","目标等级","原本阶数","目标阶数"},{-1,502163,0,30,0,30},{"number","number","number","number","number","number"})
a=pianyi(gg.getResults(1)[1].address,0x2B8,4)[1].value
s=tiaozhuan(a,0,4)[1].address
if qlzz[1]~="" then GaiXie(s + 4,qlzz[1],qlzz[2]) end
if qlzz[3]~="" then GaiXie(s + 16,qlzz[3],qlzz[4]) end
if qlzz[5]~="" then GaiXie(s + 28,qlzz[5],qlzz[6]) gg.toast("槽一更改完毕") end 
if qlz[1]~="" then GaiXie(s + 56,qlz[1],qlz[2]) end
if qlz[3]~="" then GaiXie(s + 68,qlz[3],qlz[4]) end
if qlz[5]~="" then GaiXie(s + 80,qlz[5],qlz[6]) gg.toast("槽二更改完毕") end 
if ql[1]~="" then GaiXie(s + 108,ql[1],ql[2]) end
if ql[3]~="" then GaiXie(s + 120,ql[3],ql[4]) end
if ql[5]~="" then GaiXie(s + 132,ql[5],ql[6]) gg.toast("槽三更改完毕") end 
if q[1]~="" then GaiXie(s + 160,q[1],q[2]) end
if q[3]~="" then GaiXie(s + 172,q[3],q[4]) end
if q[5]~="" then GaiXie(s + 184,q[5],q[6]) gg.toast("槽四更改完毕") end 
gg.toast("全部更改完毕")
end

function jkgn()
meun="jkgn()"
local SN=gg.choice({
"剑孔专用搜值["..gg.getResultCount().."]",
"获取榜值属性",
"锁剑孔显剑孔",--72
"录入壳不回购",--73
"更改壳不回购",--74
"剑孔替换优化",--75
"记录至尊数据",--76
"修改至尊剑孔",--77
"记录传说数据",--78
"修改传说剑孔",--79
"获取剑孔孔值",--80
"更改剑孔孔值",--81
"憨批返回脚本️",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
hqfb()
end
if SN==3 then
sxk()
end
if SN==4 then
lrkz()
end
if SN==5 then
gkz()
end
if SN==6 then
jk()
end
if SN==7 then
jlzzsj()
end
if SN==8 then
jkzzxz()
end
if SN==9 then
csjlsj()
end
if SN==10 then
jkcsxz()
end
if SN==11 then
hqkz()
end
if SN==12 then
ggk()
end
if SN==13 then
Main0()
end
YW1=1
end


function hqkz()
a=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,4,4)[1].value
b=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,8,4)[1].value
c=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,12,4)[1].value
d=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,16,4)[1].value
w=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,4,4)[1].address
e=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,8,4)[1].address
r=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,12,4)[1].address
t=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,16,4)[1].address
gg.toast("记录完成")
end

function ggk()
local kjj=gg.prompt({"孔一","孔二","孔三","孔四","是否普通剑孔修改","是否传说剑孔修改","是否至尊剑孔修改"},{nil,nil,nil,nil,nil,nil,nil},{"checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox"})
local qa=pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value
local o=tiaozhuan(qa,0,4)[1].address
local p=tiaozhuan(qa,0,4)[1].value
if kjj[1] then gaixie({{o,0,a,4},{w,0,p,4}}) gg.toast("孔一\n锁孔\n修改完成") end
if kjj[2] then gaixie({{o,4,b,4},{e,0,p,4}}) gg.toast("孔二\n锁孔\n修改完成") end
if kjj[3] then gaixie({{o,8,c,4},{r,0,p,4}}) gg.toast("孔三\n锁孔\n修改完成") end
if kjj[4] then gaixie({{o,12,d,4},{t,0,p,4}}) gg.toast("孔四\n锁孔\n修改完成") end
if kjj[5] then jk() end
if kjj[6] then jkcsxz() end
if kjj[7] then jkzzxz() end
gg.toast("全部修改完成")
end

SK=0
function sxk()
if SK==0 then
MI=pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value
local UI=tiaozhuan(MI,0,4)[1].address
local YI=tiaozhuan(MI,0,4)[1].value
local OI=tiaozhuan(MI,4,4)[1].value
local WI=tiaozhuan(MI,8,4)[1].value
local EI=tiaozhuan(MI,12,4)[1].value
local QI=tiaozhuan(MI,16,4)[1].value
gaixie({{UI,0,qo,4},
{UI,4,jks,4},
{UI,8,jks,4},
{UI,12,jks,4},
{UI,16,jks,4}})
gg.toast("锁孔完成")
SK=1
else
end
gaixie({{UI,0,YI,4},
{UI,4,OI,4},
{UI,8,WI,4},
{UI,12,EI,4},
{UI,16,QI,4}})
gg.toast("显孔完成")
end

function lrkz()
x=gg.getResults(1)[1].address
ab=pianyi(x,0x11C,4)[1].value
ad=pianyi(x,0x124,4)[1].value
ae=pianyi(x,0x128,4)[1].value
af=pianyi(x,0x12C,4)[1].value
ac=pianyi(x,92,4)[1].value
al=pianyi(x,96,4)[1].value
gg.toast("录取成功")
end

function gkz()
z=gg.getResults(1)[1].address
ag=pianyi(z,0x11C,4)[1].address
gaixie({{ag,0,ab,4},
{ag,8,ad,4},
{ag,12,ae,4},
{ag,16,af,4}})
ah=pianyi(z,0x11C,8)[1].value
gaixie({{ag,0x18,ah,4}})
ap=pianyi(ag,24,4)[1].value
aq=pianyi(ag,28,4)[1].value
ar=al~ap~aq
gaixie({{ag,0x20,ac,4},
{ag,0x24,ar,4},
{ag,0x28,32,4}})
gg.toast("修改成功")
end

ptqianghuaz=0
ptjichu=0
ptjich=0
function hqfb()
local qh=gg.prompt({"原本强化","目标强化"},{nil,nil},{"number","number"})
ptqianghuaz=pianyi(gg.getResults(1)[1].address,0x188,4)[1].value
ptjichu=pianyi(gg.getResults(1)[1].address,0x14C,4)[1].value
ptjich=pianyi(gg.getResults(1)[1].address,0x150,4)[1].value
jkz=pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value
jks=tiaozhuan(jkz,0,4)[1].value
zdyqh(qh[1],qh[2])
gg.toast("记录成功")
end

function jk()
local gz=gg.prompt({"孔位号","原本物品","目标物品","原本法宝品质","目标法宝品质","是否继续修改孔二"},{1,500001,nil,nil,nil,nil},{"number","number","number","number","number","checkbox"})
jkth(gz[1],gz[2],gz[3],gz[4],gz[5])
if gz[6] then
local kyi=gg.prompt({"孔位号","原本物品","目标物品","原本法宝品质","目标品质","是否继续修改孔三"},{2,500002,nil,nil,nil,nil},{"number","number","number","number","number","checkbox"})
jkth(kyi[1],kyi[2],kyi[3],kyi[4],kyi[5])
if kyi[6] then
local ker=gg.prompt({"孔位号","原本物品","目标物品","原本法宝品质","目标品质","是否继续修改孔四"},{3,500003,nil,nil,nil,nil},{"number","number","number","number","number","checkbox"})
jkth(ker[1],ker[2],ker[3],ker[4],ker[5])
if ker[6] then
local ksan=gg.prompt({"孔位号","原本物品","目标物品","原本法宝品质","目标品质","是否继续修改孔五"},{4,500004,nil,nil,nil,nil},{"number","number","number","number","number","checkbox"})
jkth(ksan[1],ksan[2],ksan[3],ksan[4],ksan[5])
if ksan[6] then
local ksi=gg.prompt({"孔位号","原本物品","目标物品","原本法宝品质","目标品质"},{5,500005,nil,nil,nil},{"number","number","number","number","number"})
jkth(ksi[1],ksi[2],ksi[3],ksi[4],ksi[5])
end
end
end
end
end

function jkth(py,ybwp,mbwp,ybpz,mbpz)
local jmz=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
local dz1=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,(py-1)*4,4)[1].value
local dz2=tiaozhuan(tiaozhuan(dz1,40,4)[1].value,8,4)[1].value~jmz
local dz3=tiaozhuan(dz2,0,4)[1].address
local dz4=tiaozhuan(pianyi(dz3,0x128,4)[1].value~jmz,4,4)[1].address
GaiXie(dz4,ybwp,mbwp)
GaiXie(dz3 + 204,ybpz,mbpz)
gaixie({{dz3,0x158,ptjichu,4},
{dz3,0x15C,ptjich,4},
{dz3,0x194,ptqianghuaz,4}})
gg.toast("修改完成")
end

function pz(ybpz,mbpz)
GaiXie(pianyi(gg.getResults(1)[1].address,0xC0,4)[1].address,ybpz,mbpz)
end

pinz=0
xingz=0
zzqianghuaz=0
zzjc=0
zzjc1=0
function jlzzsj()
local zz=gg.prompt({"原本星级","目标星级","原本品级","目标品级"},{nil,nil,nil,nil},{"number","number","number","number"})
pinz=pianyi(gg.getResults(1)[1].address,0x1D4,4)[1].value
xingz=pianyi(gg.getResults(1)[1].address,0x1D8,4)[1].value
zzqianghuaz=pianyi(gg.getResults(1)[1].address,0x188,4)[1].value
zzjc=pianyi(gg.getResults(1)[1].address,0x14C,4)[1].value
zzjc1=tiaozhuan(gg.getResults(1)[1].address,0x150,4)[1].value
zdypj(zz[3],zz[4])
zdyxj(zz[1],zz[2])
gg.toast("记录成功")
end

function jkzzxz()
local gz=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔二"},{1,500001,1316,3,nil},{"number","number","number","number","checkbox"})
jkzz(gz[1],gz[2],gz[3],gz[4])
if gz[5] then 
local ky=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔三"},{2,500002,1513,3,nil},{"number","number","number","number","checkbox"})
jkzz(ky[1],ky[2],ky[3],ky[4])
if ky[5] then 
local ke=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔四"},{3,500003,500223,3,nil},{"number","number","number","number","checkbox"})
jkzz(ke[1],ke[2],ke[3],ke[4])
if ke[5] then 
local kk=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔五"},{4,500004,nil,nil,nil},{"number","number","number","number","checkbox"})
jkzz(kk[1],kk[2],kk[3],kk[4])
if kk[5] then 
local ksi=gg.prompt({"序列","原本物品","目标物品","法宝品质"},{5,500005,nil,nil},{"number","number","number","number"})
jkzz(ksi[1],ksi[2],ksi[3],ksi[4])
end
end
end
end
end

function jkzz(py,ybwp,mbwp,ybpz)
local jmz=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
local dz1=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,(py-1)*4,4)[1].value
local dz2=tiaozhuan(tiaozhuan(dz1,40,4)[1].value,8,4)[1].value~jmz
local dz3=tiaozhuan(dz2,0,4)[1].address
local dz4=tiaozhuan(pianyi(dz3,0x128,4)[1].value~jmz,4,4)[1].address
GaiXie(dz4,ybwp,mbwp)
gaixie({{dz3,0x1E0,pinz,4},{dz3,0x1E4,xingz,4},{dz3,0x194,zzqianghuaz,4},{dz3,0x158,zzjc,4},{dz3,0x15C,zzjc1,4}})
GaiXie(dz3 + 228,0,80)
GaiXie(dz3 + 204,ybpz,8)
gg.toast("修改成功")
end



jieshuz=0
csqianghuaz=0
wenxianz=0
jichu=0
jich=0
function csjlsj()
local cs=gg.prompt({"原本阶数","目标阶数","原本强化","目标强化"},{nil,nil,nil,nil},{"number","number","number","number"})
jieshuz=pianyi(gg.getResults(1)[1].address,0x180,4)[1].value
csqianghuaz=pianyi(gg.getResults(1)[1].address,0x188,4)[1].value
wenxianz=pianyi(gg.getResults(1)[1].address,0x18C,4)[1].value
jichu=pianyi(gg.getResults(1)[1].address,0x14C,4)[1].value
jich=pianyi(gg.getResults(1)[1].address,0x150,4)[1].value
zdyjs(cs[1],cs[2])
zdyqh(cs[3],cs[4])
gg.toast("记录成功")
end

function jkcsxz()
local gz=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔二"},{1,500001,1315,3,nil},{"number","number","number","number","checkbox"})
jkcs(gz[1],gz[2],gz[3],gz[4])
if gz[5] then 
local kq=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔三"},{2,500002,1512,3,nil},{"number","number","number","number","checkbox"})
jkcs(kq[1],kq[2],kq[3],kq[4])
if kq[5] then 
local kb=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔四"},{3,500003,500221,3,nil},{"number","number","number","number","checkbox"})
jkcs(kb[1],kb[2],kb[3],kb[4])
if kb[5] then 
local kj=gg.prompt({"序列","原本物品","目标物品","法宝品质","是否继续修改孔五"},{4,500004,nil,nil,nil},{"number","number","number","number","checkbox"})
jkcs(kj[1],kj[2],kj[3],kj[4])
if kj[5] then 
local kp=gg.prompt({"序列","原本物品","目标物品","法宝品质"},{5,500005,nil,nil},{"number","number","number","number"})
jkcs(kp[1],kp[2],kp[3],kp[4])
end
end
end
end
end

function jkcs(py,ybwp,mbwp,ybpz)
local jmz=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
local dz1=tiaozhuan(pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value,(py-1)*4,4)[1].value
local dz2=tiaozhuan(tiaozhuan(dz1,40,4)[1].value,8,4)[1].value~jmz
local dz3=tiaozhuan(dz2,0,4)[1].address
local dz4=tiaozhuan(pianyi(dz3,0x128,4)[1].value~jmz,4,4)[1].address
GaiXie(dz4,ybwp,mbwp)
gaixie({{dz3,0x18C,jieshuz,4},
{dz3,0x194,csqianghuaz,4},
{dz3,0x198,wenxianz,4},
{dz3,0x158,jichu,4},
{dz3,0x15C,jich,4}})
GaiXie(dz3 + 204,ybpz,7)
gg.toast("修改成功")
end

function tbgn()
meun="tbgn()"
local SN=gg.choice({
"搜值功能["..gg.getResultCount().."]",
"获取榜值",--86
"更改榜值",--87
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
hqbz()
end
if SN==3 then
ggbz()
end
if SN==4 then
Main0()
end
YW1=1
end

num=0
function hqbz()
if num==0 then
a=gg.getResults(1)[1].address
b=pianyi(a,0x14C,4)[1].value--基础属性
q=pianyi(a,0x154,4)[1].value--基础属性
c=pianyi(a,0x180,4)[1].value--阶数
d=pianyi(a,0x184,4)[1].value--启灵珠属性
e=pianyi(a,0x188,4)[1].value--强化
f=pianyi(a,0x18C,4)[1].value--问仙
w=pianyi(a,0x190,4)[1].value--问仙
r=pianyi(a,0x194,4)[1].value--问仙
g=pianyi(a,0x2B8,4)[1].value--启灵珠
j=pianyi(a,0x2BC,4)[1].value--启灵珠
k=pianyi(a,0x2C0,4)[1].value--启灵珠
l=pianyi(a,0x1D8,4)[1].value--至尊星
m=pianyi(a,0x1D4,4)[1].value--至尊品
gg.toast("获取成功")
end
end

function ggbz()
local yw=gg.prompt({"基础属性","阶数属性","启灵珠属性","强化等级","问仙属性","全启灵珠","至尊星级","至尊品级","至尊","原本至尊传承(非自定义而是80)","业力","1是普通2是优秀3是精良4是史诗 /n业力原本品质"},{nil,nil,nil,nil,nil,nil,nil,nil,nil,nil},{"checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","checkbox","number","checkbox","number"})
local p=pianyi(gg.getResults(1)[1].address,0xD8,4)[1].address
local v=pianyi(gg.getResults(1)[1].address,0xC0,4)[1].address
if yw[1] then gaixie({{gg.getResults(1)[1].address,0x14C,b,4}}) end
if yw[1] then gaixie({{gg.getResults(1)[1].address,0x154,q,4}}) end
if yw[2] then gaixie({{gg.getResults(1)[1].address,0x180,c,4}}) end
if yw[3] then gaixie({{gg.getResults(1)[1].address,0x184,d,4}}) end
if yw[4] then gaixie({{gg.getResults(1)[1].address,0x188,e,4}}) end
if yw[5] then gaixie({{gg.getResults(1)[1].address,0x18C,f,4}}) end
if yw[5] then gaixie({{gg.getResults(1)[1].address,0x190,w,4}}) end
if yw[5] then gaixie({{gg.getResults(1)[1].address,0x194,r,4}}) end
if yw[6] then gaixie({{gg.getResults(1)[1].address,0x2B8,g,4}}) end
if yw[6] then gaixie({{gg.getResults(1)[1].address,0x2BC,j,4}}) end
if yw[6] then gaixie({{gg.getResults(1)[1].address,0x2C0,k,4}}) end
if yw[7] then gaixie({{gg.getResults(1)[1].address,0x1D8,l,4}}) end
if yw[8] then gaixie({{gg.getResults(1)[1].address,0x1D4,m,4}}) end
if yw[9] then GaiXie(p,yw[10],80) end
if yw[11] then GaiXie(v,yw[12],5) end
gg.toast("修改成功")
end

function zahuoqu()
meun="zahuoqu()"
local SN=gg.choice({
"搜值功能["..gg.getResultCount().."]",
"查手机号",--91
"一键五孔",--92
"获取指针",--93
"自定灵物",--94
"昆仑山层",--95
"获取邮件",--96
"恢复邮件",--97
"宠物格子",--98
"背包格子",--99
"粉尘经验",--100
"出售灵魂",--101
"协力等级",--102
"自定宝箱",--103
"自定高度",--104
"业力球级",--105
"叠加灵魂",--106
"自定瓶子",--107
"返回脚本",
},nil,"感谢支持\nsig提醒您搜索列表共有数值" .. gg.getResultCount() .. "个")
if SN==1 then
SS()
end
if SN==2 then
zwkj()
end
if SN==3 then
local dz=pianyi(gg.getResults(1)[1].address,0x2C4,4)[1].value
local dz1=tiaozhuan(dz,0,4)[1].address
local dz2=tiaozhuan(dz1,0,4)[1].value
gaixie({{dz1,4,dz2,4},
{dz1,8,dz2,4},
{dz1,12,dz2,4},
{dz1,16,dz2,4}})
gg.toast("修改成功")
end
if SN==4 then
local xor=pianyi(gg.getResults(1)[1].address,0x54,4)[1].value
local z=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
SignatureSearch({xor~z,nil,nil,nil,4,4},{},{{false,0,4,false,false,nil}})
gg.toast("获取完成已自动退出")
os.exit()
end
if SN==5 then
time=os.clock()
SignatureSearch({48,nil,nil,nil,8,8},{{388,-0x6C,8},{3748,0x34,8}},{{false,4,4,false,false,nil}})
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{{11,0x54,4},{5,0x5C,4}},{{false,0,4,false,false,nil}})
local zdy = gg.prompt({"当前阶数","目标阶数"}),({nil,nil}),({"number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x40,4)[1].address
GaiXie(a,zdy[1],zdy[2])
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果当前灵物阶数为:"..zdy[2])
end
if SN==6 then
time=os.clock()
local zdy=gg.prompt({"主用","备用1","备用2","备用的都要进昆仑山才能使用\n当前层数","目标层数"},{nil,nil,nil,nil,nil},{"checkbox","checkbox","checkbox","number","number"})
if zdy[1] then 
SignatureSearch({1224,nil,nil,nil,8,8},{{7340,-0x1AC,8},{7520,-0x1E0,8}},{{false,4,4,false,false,nil}})
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{},{{false,0x2D4,4,false,false,nil}})
end
if zdy[2] then
SignatureSearch({120,nil,nil,nil,4,4},{{12,-0x1C,8}},{{false,12,4,false,false,nil}})
end
if zdy[3] then
SignatureSearch({16777472,nil,nil,nil,4,4},{{8,0x68,8}},{{false,0x250,4,false,false,nil}})
end
local a=gg.getResults(1)[1].address
GaiXie(a,zdy[4],zdy[5])
gg.toast("修改完成,花费"..string.format("%.2f",os.clock()-time).."秒,剩余"..gg.getResultsCount().."个结果当前昆仑山层数从:"..zdy[4].."改为:"..zdy[5])
end
if SN==7 then
SignatureSearch({16777473,nil,nil,nil,4,4},{{65537,-36,4},{2,-68,4}},{{false,-68,4,false,false,nil}})
local yj=gg.prompt({"目标id"},{4400},{"number"})
gaixie({{gg.getResults(1)[1].address,0,yj[1],4}})
gg.toast("修改完成")
end
if SN==8 then
local hfyj=gg.prompt({"刚刚更改ID"},{4400},{"number"})
SignatureSearch({16777473,nil,nil,nil,4,4},{{65537,-36,4},{hfyj[1],-68,4}},{{false,-68,4,false,false,nil}})
gaixie({{gg.getResults(1)[1].address,0,2,4}})
gg.toast("恢复完成")
end
if SN==9 then
SignatureSearch({-4399,nil,nil,nil,4,4},{{1,48,4}},{{false,-508,4,false,false,nil}})
local gz=gg.prompt({"原本宠物格子","目标宠物格子"},{8,nil},{"number","number"})
local a=gg.getResults(1)[1].address
GaiXie(a,gz[1],gz[2])
gg.toast("修改完成")
end
if SN==10 then
SignatureSearch({-4399,nil,nil,nil,4,4},{{1,48,4}},{{false,-300,4,false,false,nil}})
local gz=gg.prompt({"原本背包格子","目标背包格子"},{72,nil},{"number","number"})
local a=gg.getResults(1)[1].address
GaiXie(a,gz[1],gz[2])
gg.toast("修改完成")
end
if SN==11 then
local jy=gg.prompt({"原本粉尘经验","目标粉尘经验"},{nil,nil},{"number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local b=pianyi(gg.getResults(1)[1].address,0x138,4)[1].value
yh=a~b
local c=tiaozhuan(yh,0x90,4)[1].address
GaiXie(c,jy[1],jy[2])
gg.toast("修改完成")
end
if SN==12 then
local cs=gg.prompt({"当前出售灵魂","目标出售灵魂"},{nil,nil},{"number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local b=pianyi(gg.getResults(1)[1].address,0x138,4)[1].value
yh=a~b
local c=tiaozhuan(yh,0x64,4)[1].address
GaiXie(c,cs[1],cs[2])
gg.toast("修改完成")
end
if SN==13 then
SignatureSearch({904,nil,nil,nil,8,-2080896},{{824,-0x70,8},{896,0x18,8}},{{false,4,4,false,false,nil}})--物品
SignatureSearch({gg.getResults(1)[1].address,nil,nil,nil,4,4},{{87,-0x88,4},{87,-0x8C,4}},{{false,0x2C,4,false,false,nil}})
local xl=gg.prompt({"原本协力等级","目标协力等级"},{nil,nil},{"number","number"})
GaiXie(gg.getResults(1)[1].address,xl[1],xl[2])
gg.toast("修改完成")
end
if SN==14 then
local zdy = gg.prompt({"目标宝箱代码","目标宝箱品质","目标宝箱图标",}, {0,6,1000109}, {"number","number","number"})
local t = gg.getResults(1)[1].address
local BX = pianyi(t,84,4)[1].address
local a = pianyi(t,180,4)[1].address
local b = pianyi(t,192,4)[1].address
local c = pianyi(t,204,4)[1].address
GaiXie(a,1000031,zdy[1])
GaiXie(b,4,zdy[2])
GaiXie(c,1000100,zdy[3])
BX1=(BX~1000031)
BX2=(xorcc~zdy[1])
BX3=(zdy[1]~BX)
readWrite({{false,BX1,0,4,nil,nil}},{{BX3,0,4,false},{xorcc,8,4,false},{BX2,12,4,false},{32,16,4,false}},4,4,"ID检测")
jieguo({{t,0,4}})
gg.toast("修改完成")
end
if SN==15 then 
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-2784,4,false,false,nil}})
local gd=gg.prompt({"目标高度"},{nil},{"number"})
for h=1,gg.getResultCount() do
gaixie({{gg.getResults(gg.getResultCount())[h].address,0,gd[1],16}})
end
gg.toast("修改完成")
end
if SN==16 then
SignatureSearch({-65301,nil,nil,nil,4,4},{{65792,-396,4}},{{false,-2692,4,false,false,nil}})
local ylq=gg.prompt({"当前业力球等级","目标业力球等级"},{nil,nil},{"number","number"})
for u=1,gg.getResultCount() do
GaiXie(gg.getResults(gg.getResultCount())[u].address,ylq[1],ylq[2])
end
gg.toast("修改完成")
end
if SN==17 then 
local lh=gg.prompt({"原本灵魂","想要增量","想要次数"},{nil,nil,nil},{"number","number","number"})
SignatureSearch({-4399,"90",nil,nil,4,4},{},{{false,-364,4,false,false,nil}})
lh1=lh[1]+lh[2]
GaiXie(gg.getResults(1)[1].address,lh[1],lh1)
gg.toast("修改完成点击悬浮窗继续修改")
zl=lh[2]
lh1=lh[1]+zl
lh2=lh1+zl
for i=1,lh[3] do
onclick()
GaiXie(gg.getResults(1)[1].address,lh1,lh2)
gg.toast("当前修改进程"..i.."/"..lh[3])
lh1=lh2
lh2=lh1+zl
end
end
if SN==18 then
local pz=gg.prompt({"原本瓶子可获得","目标瓶子可获得"},{nil,nil},{"number","number"})
local a=pianyi(gg.getResults(1)[1].address,0x11C,4)[1].value
local b=pianyi(gg.getResults(1)[1].address,0x138,4)[1].value
yh=a~b
local c=tiaozhuan(yh,128,4)[1].address
GaiXie(c,pz[1],pz[2])
gg.toast("修改完成")
end
if SN==19 then
Main0()
end
YW1=1
end


function r()
local sb=gg.alert("查询失败\n1.QQ号未泄露资料\n2.社工库不完整\n3.此工具不是百分之百能查！","重新查询","退出")
if sb== 0 then r() gg.toast ("请务必选择一个选项") end
if sb== 1 then zwkj() end
if sb== 2 then gg.setVisible(true) os.exit() end end
function zwkj()

musu=gg.prompt({"输入QQ即可查询"},{[1]=""},{"text"})
if musu== nil then gg.toast("取消选择默认初始化")
else
gg.toast("正在查询")
su=gg.makeRequest("http://new.fulimcp.cn/qb-api.php?mod=cha&qq="..musu[1]).content
sjh=su:match('mobile": "(.-)"')
if sjh==nil then r() else
su1=gg.makeRequest("https://www.ip138.com/mobile.asp?mobile="..sjh.."&action=mobile").content:match("卡号归属地(.-)邮 编")

QQ=("QQ:\n"..musu[1].."\n手机号:\n"..sjh)
QQ1=gg.alert(QQ,"复制","打印","退出")
if QQ1==0 then f() zwkj() end
if QQ1==1 then gg.copyText(QQ) gg.toast("已复制") end
if QQ1==2 then print(QQ) gg.toast(QQ) end
if QQ1==3 then os.exit(gg.setVisible(true)) end
end
end
end


function hqdl()
time=os.clock()
local allResults=gg.getResults(gg.getResultsCount())
SignatureSearch({-4399,"90",nil,nil,4,4},{},{{false,240,4,false,false,nil},{false,248,4,false,false,nil}})
if gg.getResultsCount()==0 then
exit(print("如未进入游戏请进入游戏"))
end
xor=gg.getResults(2)[1].value
xorcc=gg.getResults(2)[2].value
gg.loadResults(allResults)
end

function readWrite(Search,Get,Type,Range) 
gg.clearResults() 
gg.setRanges(Range) 
gg.setVisible(false) 
gg.isVisible(true)
if Search[1][1]~=false then
gg.searchAddress(Search[1][1],0xFFFFFFFF,Search[1][4] or Type,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) 
end 
gg.searchNumber(Search[1][2],Search[1][4] or Type,false,gg.SIGN_EQUAL,Search[1][5] or 1,Search[1][6] or -1) 
local count=gg.getResultCount() 
local result=gg.getResults(count)
gg.clearResults() 
local data={} 
local base=Search[1][3] 
if (count > 0) then 
for i,v in ipairs(result) do 
v.isUseful=true end
for k=2,#Search do
local tmp={}
local offset=Search[k][2] - base 
local num=Search[k][1]
for i,v in ipairs(result) do 
tmp[#tmp+1]={} tmp[#tmp].address=v.address+offset tmp[#tmp].flags=Search[k][3] or Type end 
tmp=gg.getValues(tmp) 
for i,v in ipairs(tmp) do
if v.flags==16 or v.flags==64 then 
values=tostring(v.value):sub(1,6) num=tostring(num):sub(1,6)
else 
values=v.value 
end
if tostring(values)~=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,t_={},{} 
local base=Search[1][3] 
for i=1,#data do 
for k,w in ipairs(Get) do
offset=w[2] - base 
if w[1]==false then
t_[#t_+1]={} t_[#t_].address=data[i]+offset t_[#t_].flags=Type th_=(th_) and th_+1 or 1 
else 
t[#t+1]={} t[#t].address=data[i]+offset t[#t].flags=w[3] or Type t[#t].value=w[1] tg_=(tg_) and tg_+1 or 1 if (w[4]==true) then 
local item={} item[#item+1]=t[#t] item[#item].freeze=w[4] gg.addListItems(item) 
end 
end 
end 
end 
gg.setValues(t)
t_=gg.getValues(t_)
gg.loadResults(t_) 
tg_,th_=nil,nil 
else
gg.toast("开启失败",false)
return false 
end 
else gg.toast("开启失败") 
return false 
end
end 

function pianyi(address,offest,flags)--偏移(地址,偏移,类型)
local k = {}
k[1]={}
k[1].address = address + tonumber(offest)
k[1].flags = flags
return gg.getValues(k)
end

function tiaozhuan(value,offest,flags)
local k={}
k[1]={}
if value < 0 then
k[1].address = tonumber(value) + 4294967296+offest
else
k[1].address = tonumber(value)
end
k[1].flags = flags
return gg.getValues(k)
end

fzd = function(num)
local T16=gg.setValues({{address=0x97A00010,value=num,flags=16}})
local T16=gg.getValues({{address=0x97A00010,flags=4}})
return T16[1].value
end

function dongjie(k)
k[1].freeze = true
gg.addListItems(k)
end

function gaixie(Table)
local k = {}
for i=1,#Table do
k[i]={}
k[i].address = Table[i][1] + Table[i][2]
k[i].value = Table[i][3]
k[i].flags = Table[i][4]
end
gg.setValues(k)
end

onclick = function()--一个变量
gg.setVisible(false)
repeat until gg.isVisible(true)
gg.setVisible(false)
end

function jieguo(Table)
local k = {}
for i=1,#Table do
k[i]={}
k[i].address = Table[i][1] + Table[i][2]
k[i].flags = Table[i][3]
end
gg.loadResults(k)
end

function GaiXie(address,ybz,mbz)--大改写(地址,原本异或,目标异或
local value1=pianyi(address,0,4)[1].value~ybz~mbz
local value2=xorcc~mbz
local k={}
k[1],k[2],k[3]={},{},{}
k[1].address = address + 0
k[1].flags = 4
k[1].value = value1
k[2].address = address + 4
k[2].flags = 4
k[2].value = value2
k[3].address = address + 8
k[3].flags = 4
k[3].value = value2
gg.setValues(k)
end

function Snumber(value,nc,flags)
gg.clearResults()
gg.setRanges(nc)
gg.searchNumber(value,flags) 
end

function Addtable(A,Y)
local w,y = {},{}
for i=1,#Y do
w[i]={}
w[i].address = A + Y[i][1]
w[i].flags = Y[i][2]
end
local begin = gg.getValues(w) 
for x=1,#Y do y[x]=begin[x].value end
return y
end

function Setvalue(Y)
local w = {}
for i=1,#Y do
w[i]={}
w[i].address = Y[i][1]
w[i].value = Y[i][2]
w[i].flags = Y[i][3]
end
gg.setValues(w)
end


--刃先撰写专属特征码函数
function SignatureSearch(FirstCode,SecondCode,Get)
gg.clearResults()
gg.setRanges(FirstCode[6]) 
gg.setVisible(false)
if FirstCode[1] then
gg.searchNumber(FirstCode[1],FirstCode[5],false,gg.SIGN_EQUAL,FirstCode[3] or 0,FirstCode[4] or -1)
end
if FirstCode[2] then
gg.searchAddress(FirstCode[2],-1,FirstCode[5],gg.SIGN_EQUAL,0,-1)
end
if gg.getResultsCount()>0 then
local results1,renxian,results2,NewResults=gg.getResults(gg.getResultsCount()),{},gg.getResults(gg.getResultsCount()),{}
gg.clearResults()
if #SecondCode>0 then
for i=1,#SecondCode do
local Results={}
if i%2==1 then
for j,result in ipairs(results1) do
Results[#Results+1]={}
Results[#Results].address=result.address+SecondCode[i][2]
Results[#Results].flags=SecondCode[i][3]
end
results2={}
else
for j,result in ipairs(results2) do
Results[#Results+1]={}
Results[#Results].address=result.address+SecondCode[i][2]
Results[#Results].flags=SecondCode[i][3]
end
results1={}
end
Results=gg.getValues(Results)
local value,code=nil,nil
for k,result2 in ipairs(Results) do
if result2.flags==16 or result2.flags==64 then
value=tostring(result2.value):sub(1,6)
code=tostring(SecondCode[i][1]):sub(1,6)
else
value=result2.value
code=SecondCode[i][1]
end
if i%2==1 then
if value==code then
results2[#results2+1]=results1[k] 
end
else
if value==code then
results1[#results1+1]=results2[k] 
end
end 
end 
end 
end
if #SecondCode%2==1 then
NewResults=results2
else
NewResults=results1
end
local changeresults,keepresults,loadresults={},{},{} 
if #NewResults>0 then
for i,result in ipairs(NewResults) do
for j,conduct in ipairs(Get) do 
if conduct[1] then
changeresults[#changeresults+1]={}
changeresults[#changeresults].value=conduct[1]
changeresults[#changeresults].address=result.address+conduct[2]
changeresults[#changeresults].flags=conduct[3]
else
loadresults[#loadresults+1]={}
loadresults[#loadresults].address=result.address+conduct[2]
loadresults[#loadresults].flags=conduct[3]
end
if conduct[4] or conduct[5] then
keepresults[#keepresults+1]={}
if conduct[1] then
keepresults[#keepresults].value=conduct[1]
else
keepresults[#keepresults].value=gg.getValues({[1]={address=result.address+conduct[2],flags=conduct[3]}})[1].value
end
keepresults[#keepresults].address=result.address+conduct[2]
keepresults[#keepresults].flags=conduct[3]
keepresults[#keepresults].freeze=conduct[5]
keepresults[#keepresults].name=conduct[6]
end 
end 
end
gg.setValues(changeresults)
gg.loadResults(loadresults)
gg.addListItems(keepresults)
else
gg.toast("特征码搜索失败")
end
else
gg.toast("特征码搜索失败")
end
end 

function exit()
print("sig永远爱你lqt")
os.exit()
end

while true do
if gg.isVisible(true) then
YW1 = nil
gg.setVisible(false)
end
if YW1 == nil then
if xorcc == 0 then
hqdl()
gg.toast("sig感谢支持")
end
load(meun)()
end
end







---[=[上面可以复制上你的脚本]=]------------------------------------------------------------------------------------------------------------------- end-- ab80fff28ac9259a245266d5b0cc5575c7
end


function md5(code)    local code = tostring(code)    local HexTable = {"0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"}    local A = 0x67452301    local B = 0xefcdab89    local C = 0x98badcfe    local D = 0x10325476    local S11 = 7    local S12 = 12    local S13 = 17    local S14 = 22                 local S21 = 5       local S22 = 9       local S23 = 14       local S24 = 20       local S31 = 4       local S32 = 11       local S33 = 16       local S34 = 23       local S41 = 6       local S42 = 10       local S43 = 15       local S44 = 21       local function F(x,y,z)         return (x & y) | ((~x) & z)       end       local function G(x,y,z)         return (x & z) | (y & (~z))       end       local function H(x,y,z)         return x ~ y ~ z       end       local function I(x,y,z)         return y ~ (x | (~z))       end       local function FF(a,b,c,d,x,s,ac)         a = a + F(b,c,d) + x + ac         a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b         return a & 0xffffffff       end       local function GG(a,b,c,d,x,s,ac)         a = a + G(b,c,d) + x + ac         a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b         return a & 0xffffffff       end       local function HH(a,b,c,d,x,s,ac)         a = a + H(b,c,d) + x + ac         a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b         return a & 0xffffffff       end       local function II(a,b,c,d,x,s,ac)         a = a + I(b,c,d) + x + ac         a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b         return a & 0xffffffff       end       local function MD5StringFill(s)         local len = s:len()         local mod512 = len * 8 % 512         local fillSize = (448 - mod512) // 8         if mod512 > 448 then           fillSize = (960 - mod512) // 8         end         local rTab = {}         local byteIndex = 1         for i = 1,len do           local index = (i - 1) // 4 + 1           rTab[index] = rTab[index] or 0           rTab[index] = rTab[index] | (s:byte(i) << (byteIndex - 1) * 8)           byteIndex = byteIndex + 1           if byteIndex == 5 then             byteIndex = 1           end         end         local b0x80 = false         local tLen = #rTab         if byteIndex ~= 1 then           rTab[tLen] = rTab[tLen] | 0x80 << (byteIndex - 1) * 8           b0x80 = true         end         for i = 1,fillSize // 4 do           if not b0x80 and i == 1 then             rTab[tLen + i] = 0x80            else             rTab[tLen + i] = 0x0           end         end         local bitLen = math.floor(len * 8)         tLen = #rTab         rTab[tLen + 1] = bitLen & 0xffffffff         rTab[tLen + 2] = bitLen >> 32         return rTab       end              function getmd5(s)         local fillTab = MD5StringFill(s)         local result = {A,B,C,D}         for i = 1,#fillTab // 16 do           local a = result[1]           local b = result[2]           local c = result[3]           local d = result[4]           local offset = (i - 1) * 16 + 1           a = FF(a, b, c, d, fillTab[offset + 0], S11, 0xd76aa478)           d = FF(d, a, b, c, fillTab[offset + 1], S12, 0xe8c7b756)           c = FF(c, d, a, b, fillTab[offset + 2], S13, 0x242070db)           b = FF(b, c, d, a, fillTab[offset + 3], S14, 0xc1bdceee)           a = FF(a, b, c, d, fillTab[offset + 4], S11, 0xf57c0faf)           d = FF(d, a, b, c, fillTab[offset + 5], S12, 0x4787c62a)           c = FF(c, d, a, b, fillTab[offset + 6], S13, 0xa8304613)           b = FF(b, c, d, a, fillTab[offset + 7], S14, 0xfd469501)           a = FF(a, b, c, d, fillTab[offset + 8], S11, 0x698098d8)           d = FF(d, a, b, c, fillTab[offset + 9], S12, 0x8b44f7af)           c = FF(c, d, a, b, fillTab[offset + 10], S13, 0xffff5bb1)           b = FF(b, c, d, a, fillTab[offset + 11], S14, 0x895cd7be)           a = FF(a, b, c, d, fillTab[offset + 12], S11, 0x6b901122)           d = FF(d, a, b, c, fillTab[offset + 13], S12, 0xfd987193)           c = FF(c, d, a, b, fillTab[offset + 14], S13, 0xa679438e)           b = FF(b, c, d, a, fillTab[offset + 15], S14, 0x49b40821)           a = GG(a, b, c, d, fillTab[offset + 1], S21, 0xf61e2562)           d = GG(d, a, b, c, fillTab[offset + 6], S22, 0xc040b340)           c = GG(c, d, a, b, fillTab[offset + 11], S23, 0x265e5a51)           b = GG(b, c, d, a, fillTab[offset + 0], S24, 0xe9b6c7aa)           a = GG(a, b, c, d, fillTab[offset + 5], S21, 0xd62f105d)           d = GG(d, a, b, c, fillTab[offset + 10], S22, 0x2441453)           c = GG(c, d, a, b, fillTab[offset + 15], S23, 0xd8a1e681)           b = GG(b, c, d, a, fillTab[offset + 4], S24, 0xe7d3fbc8)           a = GG(a, b, c, d, fillTab[offset + 9], S21, 0x21e1cde6)           d = GG(d, a, b, c, fillTab[offset + 14], S22, 0xc33707d6)           c = GG(c, d, a, b, fillTab[offset + 3], S23, 0xf4d50d87)           b = GG(b, c, d, a, fillTab[offset + 8], S24, 0x455a14ed)           a = GG(a, b, c, d, fillTab[offset + 13], S21, 0xa9e3e905)           d = GG(d, a, b, c, fillTab[offset + 2], S22, 0xfcefa3f8)           c = GG(c, d, a, b, fillTab[offset + 7], S23, 0x676f02d9)           b = GG(b, c, d, a, fillTab[offset + 12], S24, 0x8d2a4c8a)           a = HH(a, b, c, d, fillTab[offset + 5], S31, 0xfffa3942)           d = HH(d, a, b, c, fillTab[offset + 8], S32, 0x8771f681)           c = HH(c, d, a, b, fillTab[offset + 11], S33, 0x6d9d6122)           b = HH(b, c, d, a, fillTab[offset + 14], S34, 0xfde5380c)           a = HH(a, b, c, d, fillTab[offset + 1], S31, 0xa4beea44)           d = HH(d, a, b, c, fillTab[offset + 4], S32, 0x4bdecfa9)           c = HH(c, d, a, b, fillTab[offset + 7], S33, 0xf6bb4b60)           b = HH(b, c, d, a, fillTab[offset + 10], S34, 0xbebfbc70)           a = HH(a, b, c, d, fillTab[offset + 13], S31, 0x289b7ec6)           d = HH(d, a, b, c, fillTab[offset + 0], S32, 0xeaa127fa)           c = HH(c, d, a, b, fillTab[offset + 3], S33, 0xd4ef3085)           b = HH(b, c, d, a, fillTab[offset + 6], S34, 0x4881d05)           a = HH(a, b, c, d, fillTab[offset + 9], S31, 0xd9d4d039)           d = HH(d, a, b, c, fillTab[offset + 12], S32, 0xe6db99e5)           c = HH(c, d, a, b, fillTab[offset + 15], S33, 0x1fa27cf8)           b = HH(b, c, d, a, fillTab[offset + 2], S34, 0xc4ac5665)           a = II(a, b, c, d, fillTab[offset + 0], S41, 0xf4292244)           d = II(d, a, b, c, fillTab[offset + 7], S42, 0x432aff97)           c = II(c, d, a, b, fillTab[offset + 14], S43, 0xab9423a7)           b = II(b, c, d, a, fillTab[offset + 5], S44, 0xfc93a039)           a = II(a, b, c, d, fillTab[offset + 12], S41, 0x655b59c3)           d = II(d, a, b, c, fillTab[offset + 3], S42, 0x8f0ccc92)           c = II(c, d, a, b, fillTab[offset + 10], S43, 0xffeff47d)           b = II(b, c, d, a, fillTab[offset + 1], S44, 0x85845dd1)           a = II(a, b, c, d, fillTab[offset + 8], S41, 0x6fa87e4f)           d = II(d, a, b, c, fillTab[offset + 15], S42, 0xfe2ce6e0)           c = II(c, d, a, b, fillTab[offset + 6], S43, 0xa3014314)           b = II(b, c, d, a, fillTab[offset + 13], S44, 0x4e0811a1)           a = II(a, b, c, d, fillTab[offset + 4], S41, 0xf7537e82)           d = II(d, a, b, c, fillTab[offset + 11], S42, 0xbd3af235)           c = II(c, d, a, b, fillTab[offset + 2], S43, 0x2ad7d2bb)           b = II(b, c, d, a, fillTab[offset + 9], S44, 0xeb86d391)           result[1] = result[1] + a           result[2] = result[2] + b           result[3] = result[3] + c           result[4] = result[4] + d           result[1] = result[1] & 0xffffffff           result[2] = result[2] & 0xffffffff           result[3] = result[3] & 0xffffffff           result[4] = result[4] & 0xffffffff         end         local retStr = ''         for i = 1,4 do           for _ = 1,4 do             local temp = result[i] & 0x0F             local str = HexTable[temp + 1]             result[i] = result[i] >> 4             temp = result[i] & 0x0F             retStr = retStr .. HexTable[temp + 1] .. str             result[i] = result[i] >> 4           end         end         return string.lower(retStr)       end       return getmd5(code)     end
--md5加密 md5("加密内容")

ZZRc4 = {} 
ZZMathBit = {} 
function ZZMathBit.__xorBit(left, right)       return (left + right) == 1 and 1 or 0 end function ZZMathBit.__base(left, right, op)       if left < right then           left, right = right, left       end       local res = 0       local shift = 1       while left ~= 0 do           local ra = left % 2           local rb = right % 2           res = shift * op(ra,rb) + res           shift = shift * 2           left = math.modf( left / 2)           right = math.modf( right / 2)       end       return res end function ZZMathBit.xorOp(left, right)       return ZZMathBit.__base(left, right, ZZMathBit.__xorBit) end function RC4(text,key,kasi)
if kasi==false then      str = text      str=str:gsub("[%s%p]",""):upper()       local index=1       local ret=""       for index=1,str:len(),2 do         ret=ret..string.char(tonumber(str:sub(index,index+1),16))       end       text=ret     end          local function KSA(key)           local keyLen = string.len(key)           local schedule = {}           local keyByte = {}           for i = 0, 255 do               schedule[i] = i           end              for i = 1, keyLen do               keyByte[i - 1] = string.byte(key, i, i)           end              local j = 0           for i = 0, 255 do               j = (j + schedule[i] + keyByte[ i % keyLen]) % 256               schedule[i], schedule[j] = schedule[j], schedule[i]           end           return schedule       end          local function PRGA(schedule, textLen)           local i = 0           local j = 0           local k = {}           for n = 1, textLen do               i = (i + 1) % 256               j = (j + schedule[i]) % 256               schedule[i], schedule[j] = schedule[j], schedule[i]               k[n] = schedule[(schedule[i] + schedule[j]) % 256]           end           return k       end          local function output(schedule, text)           local len = string.len(text)           local c = nil           local res = {}           for i = 1, len do               c = string.byte(text, i,i)               res[i] = string.char(ZZMathBit.xorOp(schedule[i], c))           end           return table.concat(res)       end          local textLen = string.len(text)       local schedule = KSA(key)       local k = PRGA(schedule, textLen)          str=output(k, text) if kasi==true then       str = tostring(str)       local index=1       local ret=""       for index=1,str:len() do         ret=ret..string.format("%02X",str:sub(index):byte())       end       return string.lower(ret) else     return str end end 
--极简云RC42加密和解密配置     RC4("加密内容","密码",false=解密_true=加密)

function ultra(get,post)    local c=gg.makeRequest(get,nil,post).content     return c  end 
--请求

---[=[上面不要乱动]=]-------------------------------------------------------------------------------------------------------------------


function cu()
x={
"https://cute521.cn",
}

uio=gg.makeRequest(x[1]).content
if uio==nil then
gg.alert("网络错误")--提示
else

if uio=="欢迎使用！" then
oqvqo(x[1])
else
gg.alert("网络错误,可能是被攻击了！")--提示
end

end

end

---[=[  ↑检测网络  ]=]-------------------------------------------------------------------------------------------------------------------

xxxxxxx=""
function oqvqo(xxxxxxx)
local xxxxxxx_Kami=xxxxxxx.."/api.php?api=kmlogon"
--接口名称[卡密登录]

local xxxxxxx_jieba=xxxxxxx.."/api.php?api=kmunmachine"
--接口名称[卡密解绑]

local xxxxxxx_to_configure=xxxxxxx.."/api.php?api=ini"
--接口名称[应用配置]

local xxxxxxx_Notice=xxxxxxx.."/api.php?api=notice"
--接口名称[应用公告]

local xxxxxxx_RC4=true
--是否 RC4 加密[false=关 true=开] 
--选择 RC4加密-2 否则会乱码 
--打开 签名放DATA里:打开


local xxxxxxx_APPID="10825"
--APPID

local xxxxxxx_APPKEY="8wp8qqSv0mSr4V98"
--APPKEY

local xxxxxxx_RC4_key="r08n72207rR10825"
--是否 RC4 加密[key 密钥]


local xxxbanb="2.0"
--1.0

local xxxQQ=""
--作者QQ


if xxxxxxx_APPID=="" or xxxxxxx_RC4_key=="" or xxxxxxx_APPKEY=="" then
gg.alert("关键东西没填，运行啥啊？")--对话框
os.exit() 
end


FILES_DIR="/sdcard/Android/"
--卡密 设备码 路径


---[=[   ↑配置  ]=]-------------------------------------------------------------------------------------------------------------------

Notice=ultra(xxxxxxx_Notice.."&app=".. xxxxxxx_APPID,"")

No=Notice:match('"code":(.-),')
if  No ~= nil then 
No=Notice:match('"msg":"(.-)",')
if No==nil then
xxxxxxx_RC4=false--判定是否关闭
else
gg.alert("公告接口："..No)--对话框
os.exit() 
end
end

if  xxxxxxx_RC4 == true then 
Notice=RC4(Notice,xxxxxxx_RC4_key,false) 
end


Notice=Notice:match('"app_gg":"(.-)"},')--获取公告
if Notice==nil then
No=Notice:match('"code":(.-),')
if  No ~= nil then 
No=Notice:match('"msg":"(.-)",')
if No==nil then
xxxxxxx_RC4=false--判定是否关闭
else
gg.alert("公告接口："..No)--对话框
os.exit() 
end
end

else
if Notice~="" then
gg.alert(Notice,"确定")--对话框
end
end

---[=[上面是公告]=]-------------------------------------------------------------------------------------------------------------------

fanhui="无法获取"
gongxing=ultra(xxxxxxx_to_configure.."&app=".. xxxxxxx_APPID,"")


No=gongxing:match('"code":(.-),')
if  No ~= nil then 
No=gongxing:match('"msg":"(.-)",')
if No==nil then
xxxxxxx_RC4=false--判定是否关闭
else
gg.alert("应用配置接口："..No)--对话框
os.exit() 
end
end

if  xxxxxxx_RC4 == true then 
gongxing=RC4(gongxing,xxxxxxx_RC4_key,false) 
end

xxxxbanben=gongxing:match('"version":"(.-)",')--获取版本号
xxxxgxnr=gongxing:match('app_update_show":"(.-)",')--更新内容
xxxxlianjie=gongxing:match('app_update_url":"(.-)","app_update_must')--更新链接
xxcisu=gongxing:match('"api_total":"(.-)"}')--启动次数

if gongxing==nil then

No=gongxing:match('"code":(.-),')
if  No ~= nil then 
No=gongxing:match('"msg":"(.-)",')
if No==nil then
xxxxxxx_RC4=false--判定是否关闭
else
gg.alert("应用配置接口："..No)--对话框
os.exit() 
end
end

else

if xxxxbanben==xxxbanb then
gg.toast("最新版本")--提示 
else
if xxxxlianjie=="未提交URL" then
print("\n没有要更新的链接\n请联系作者:"..xxxQQ)
os.exit() 
end
bhh=gg.alert("发现新版本，请更新内容 ","开始下载","浏览器更新")--对话框

if xxxxbanben == xxxbanb then

xxxxlianjie=gg.makeRequest(xxxxlianjie).content
io.open("/storage/emulated/0/最新版本.lua","w+"):write(xxxxlianjie)--写
gg.setVisible(true)
print("---[=[ 下载成功]=]---------------\n\n[新版本]:\n"..xxxxbanben.."\n\n[更新内容]:\n"..xxxxgxnr.."\n\n[新脚本路径]:\n/storage/emulated/0/最新版本.lua\n")--打印
 elseif bhh == 2 then
gg.setVisible(true)
print("\n[新版本]:\n"..xxxxbanben.."\n\n[更新内容]:\n"..xxxxgxnr.."\n\n[更新链接]:\n"..xxxxlianjie)--打印 end
os.exit() 
end
end

end
---[=[获取更新↑]=]-------------------------------------------------------------------------------------------------------------------


function yanzzzzz(km,sbm)

key=md5("kami="..km.."&markcode="..sbm.."&t="..os.time().."&".. xxxxxxx_APPKEY)
--计算签名

Random=md5(RC4(os.time().."极简云",xxxxxxx_RC4_key,true)..xxxxxxx_APPKEY..sbm)
--随机[用来计算是否相等]

bops="kami="..km.."&markcode="..sbm.."&t="..os.time().."&sign="..key
--需要请求的数据

if  xxxxxxx_RC4 == true then
bops="data="..RC4(bops,xxxxxxx_RC4_key,true)
end-- 把请求数据用RC4加密

HUT=ultra(xxxxxxx_Kami.."&app=".. xxxxxxx_APPID,bops.."&value="..Random)
--请求数据


if HUT~=nil then
if  xxxxxxx_RC4 == true then
HUT=RC4(HUT,xxxxxxx_RC4_key,false) 
end-- 把返回的数据用RC4解密

qued=HUT:match('code":(.-),')--获取编号 200是成功
vip=HUT:match('vip":"(.-)"},')--获取 卡密时间
yanzen=HUT:match('check":"(.-)"')--获取随机值
tinme=HUT:match('time":(.-),')--获取时间搓
fanhui=HUT:match('msg":"(.-)",')--获取错误

if qued~="200" then
gg.alert(fanhui)--返回错误
io.open(FILES_DIR.."/km","w"):write("")--写
else

if (tinme-os.time())>10 or (tinme-os.time())<-10 then
gg.setVisible(false)
gg.toast("\n(▔_▔) 数据超时！")
else--时间10小于就跳转

if yanzen~=md5(tinme..xxxxxxx_APPKEY..Random) then
gg.setVisible(false)
gg.toast("\n️(▔_▔) 请不要修改数据！")
else--网络数据是否修改

gg.setVisible(false)
vip1=os.date("%Y".."年".."%m".."月".."%d".."日".."\r".."%H".."时".."%M".."分".."%S".."秒\n",vip)
io.open(FILES_DIR.."/km","w"):write(km)--写
kll=gg.alert("\n登入成功:\n\n[到期时间]\n"..vip1,"确定","返回")--提示--获取到期时间
if kll==2 then
io.open(FILES_DIR.."/lko","w"):write("false")--写
oqvqo(xxxxxxx)
end


abf56a7893720ad7d69c0843c9d4ecbf9b(vip)--
--登入成功后的动作------------------------------------------------------------------------------------------------------------------


end
end
end
else
gg.setVisible(false)
gg.toast("\n️(▔_▔) 请检查网络！")
end

end


---[=[  卡密登入↑ ]=]-------------------------------------------------------------------------------------------------------------------

function jiebang(km,sbm)
gg.setVisible(false)
key=md5("kami="..km.."&markcode="..sbm.."&t="..os.time().."&".. xxxxxxx_APPKEY)

bops="kami="..km.."&markcode="..sbm.."&t="..os.time().."&sign="..key

if  xxxxxxx_RC4 == true then
bops= "data="..RC4(bops,xxxxxxx_RC4_key,true) 
end


HUT=ultra(xxxxxxx_jieba.."&app=".. xxxxxxx_APPID,bops)

if  xxxxxxx_RC4 == true then
HUT=RC4(HUT,xxxxxxx_RC4_key,false) 
end-- xxxxxxx_Base64

qued=HUT:match('code":(.-),')
fanhui=HUT:match('msg":"(.-)",')
yanzen=HUT:match('check":"(.-)"')
tinme=HUT:match('time":(.-),')
gg.toast(fanhui)

end

---[=[  解绑卡密↑ ]=]-------------------------------------------------------------------------------------------------------------------



rq=os.date("%Y".."年".."%m".."月".."%d".."日".." ".."%H".."时".."%M".."分".."%S".."秒")
local a={}
fien={io.open(FILES_DIR.."/km","r"),io.open(FILES_DIR.."/miux","r"),io.open(FILES_DIR.."/lko","r")}

if fien[1]==nil then
io.open(FILES_DIR.."/km","w"):write("")--写
a[1]=io.open(FILES_DIR.."/km","r"):read("*a")--读
else
a[1]=io.open(FILES_DIR.."/km","r"):read("*a")--读
end--fien[1]--卡密

if fien[2]==nil then
io.open(FILES_DIR.."/miux","w"):write(md5(rq))--写
a[2]=io.open(FILES_DIR.."/miux","r"):read("*a")--读
else
a[2]=io.open(FILES_DIR.."/miux","r"):read("*a")--读
end--fien[2]--机器码

fien2=io.open(FILES_DIR.."/miux","r"):read("*a")--读
if fien2=="" then
io.open(FILES_DIR.."/miux","w"):write(md5(rq))--写
fien2=io.open(FILES_DIR.."/miux","r"):read("*a")--读
a[2]=fien2
end

if fien[3]==nil then
io.open(FILES_DIR.."/lko","w"):write("false")--写
a[3]=io.open(FILES_DIR.."/lko","r"):read("*a")--读
else
a[3]=io.open(FILES_DIR.."/lko","r"):read("*a")--读
end--fien[2]--机器码

fien3=io.open(FILES_DIR.."/lko","r"):read("*a")--读
if fien3=="" then
io.open(FILES_DIR.."/lko","w"):write("false")--写
fien3=io.open(FILES_DIR.."/lko","r"):read("*a")--读
a[3]=fien3
end

sbm=a[2]--设备码
km=a[1]--卡密

--判定自动登入
if a[3]=="true" then
a[3]=true
elseif a[3]=="false" then
a[3]=false
end



if a[3]==true then
yanzzzzz(a[1],sbm)
end


hak=gg.prompt({
'[输入: 1 开始解绑卡密]\n[输入: 2 邮箱反馈]\n现在时间:'..rq.."\n[本脚本使用："..xxcisu.." 次]\n请输入卡密：",
"[自动登入]"
},{
km,
a[3]
},{
'text',--文字
'checkbox',--多选
})--文本功能



if hak==nil then
gg.setVisible(false)
gg.toast("取消……")--提示
elseif hak[1]=="1" then---[=[ ↓解绑  ]=]-------------------------------------------------------------------------------------------------------------------

gg.toast("开始解绑卡密……")--提示
hak2=gg.prompt({
'现在时间:'..rq.."\n请输入解绑卡密："
},{
},{
'text',--文字
})--文本功能

if hak2==nil then
gg.setVisible(false)
gg.toast("取消……")--提示
else
jiebang(hak2[1],sbm)
---[=[  ↑ 输入卡密跳转解绑卡密  ]=]-------------------------------------------------------------------------------------------------------------------
end

elseif hak[1]=="2" then ---[=[  ↓ 邮箱反馈 ]=]-------------------------------------------------------------------------------------------------------------------
if xxxQQ=="" then
gg.alert("作者没有填写QQ")
else

b=gg.prompt({
"联系方式(QQ或网名,手机号等)",
"反馈内容",
"取消就是[返回主页面]",
},{
"",
"",
true
},{
'text',
'text',
'checkbox',
})

if b ==nil then
gg.setVisible(false)
gg.toast("取消……")--提示
else


if b[1] ~= "" then
if b[2] ~= "" then
bh="&name="..b[1].."&certno="..b[2]
b=gg.makeRequest(xxxxxxx.."/api/mail/api.php?address="..xxxQQ.."@qq.com"..bh)
if b.code=="200" then
gg.alert("反馈成功[谢谢你的支持]")
else
gg.alert("反馈失败")
end
else
gg.alert("空内容")
end
else
gg.alert("空联系方式")
end
end
end
---[=[ ↘你们可以自己加购卡 加群什么的  ]=]-------------------------------------------------------------------------------------------------------------------
--elseif hak[1]=="3" then 输入3 干啥干啥





else---[=[  ↓卡密登入  ]=]-------------------------------------------------------------------------------------------------------------------

if hak[2]==true then
io.open(FILES_DIR.."/lko","w"):write("true")--写
elseif hak[2]==false then
io.open(FILES_DIR.."/lko","w"):write("false")--写
end

yanzzzzz(hak[1],sbm)
---[=[  ↑ 输入卡密跳转登入卡密  ]=]-------------------------------------------------------------------------------------------------------------------
end

end


while true do
  if gg.isVisible(true) then
  cu()
  end
end
