Two kittens2.0正式修复版.txt


function lq()
gg.alert("欢迎使用Two kittens插件2.0正式版,作者二猫QQ854257834,感谢小贞大佬提供技术支持与加密")
function unXXX(str64)
local b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
local temp={}
for i=1,64 do
temp[string.sub(b64chars,i,i)] = i
end
temp['=']=0
local str=""
for i=1,#str64,4 do
if i>#str64 then
break
end
local data = 0
local str_count=0
for j=0,3 do
local str1=string.sub(str64,i+j,i+j)
if not temp[str1] then
return
end
if temp[str1] < 1 then
data = data * 64
else
data = data * 64 + temp[str1]-1
str_count = str_count + 1
end
end
for j=16,0,-8 do
if str_count > 0 then
str=str..string.char(math.floor(data/math.pow(2,j)))
data=math.fmod(data,math.pow(2,j))
str_count = str_count - 1
end
end
end

local last = tonumber(string.byte(str, string.len(str), string.len(str)))
if last == 0 then
str = string.sub(str, 1, string.len(str) - 1)
end
ddd=str
end
lqSJ = math.random(2685355,99999999)
lqc=io.open('/storage/emulated/0/.76358561_1','r')
if lqc == nil then
lqc=io.open('/storage/emulated/0/Android/.76358561_int','w')
lqc:write(lqSJ*6-967)
lqc=io.open('/storage/emulated/0/.76358561_1','w')
lqc:write(lqSJ*6-967)
lqd = io.open('/storage/emulated/0/Android/.76358561_int','r')
lqdm = lqd:read('*a')
lqd:close()
else
abc=io.open('/storage/emulated/0/Android/.76358561_int','w')
if abc == nil then
lqdd = io.open('/storage/emulated/0/.76358561_1','r')
lqdmm = lqdd:read('*a')
lqdd:close()
lqd = io.open('/storage/emulated/0/Android/.76358561_int','w')
lqd:write(lqdmm)
lqd:close()
end
lqd = io.open('/storage/emulated/0/Android/.76358561_int','r')
lqdm = lqd:read('*a')
lqd:close()
lqdd = io.open('/storage/emulated/0/.76358561_1','r')
lqdmm = lqdd:read('*a')
lqdd:close()
yanzheng = lqdm == lqdmm
if yanzheng == true then print("") else
lqd = io.open('/storage/emulated/0/Android/.76358561_int','w')
lqd:write(lqdmm)
lqd:close()
end
lqd = io.open('/storage/emulated/0/Android/.76358561_int','r')
lqdm = lqd:read('*a')
lqd:close()
end
lqdm = (lqdm + 967)/6
lqs = io.open('/storage/emulated/0/Android/.76358561_1_dll','r')
if lqs == nil then
lqsa=gg.alert('请选择激活卡密,如果否定请退出','激活卡密','退出')
if lqsa ~= 1 then print('激活失败') os.exit()
else
lqv = gg.prompt({'请输入您的激活码:','您的专属机器码是: ' .. lqdm},{[1]='',[2]= lqdm },{[1] = 'text',[2] = 'text'})
if lqv == nil then print('运行失败') os.exit() end
if lqv[1] == '' then print('卡密不能为空') os.exit() end
unXXX(lqv[1])
local lqB = ddd
local lqC = lqdm
if lqv[1]==ddd then gg.toast('请输入正确的激活码格式') os.exit() end
pd = tonumber(lqB)
if pd ~= lqB then gg.toast('请输入正确的激活码格式') os.exit() end
lqD = pd
lqA = lqD
unXXX("MzM0OTEy")
zcj = tonumber(ddd)
if zcj ~= ddd then gg.toast('激活码错误') os.exit() end
aaa = (1*lqdm+zcj)..''
bbb = (7*lqdm+zcj)..''
ccc = (30*lqdm+zcj)..''
ddd = (5000*lqdm+zcj)..''
if lqA == aaa then
aaaa = 1
gg.alert('激活码情况: 恭喜激活天卡 谢谢使用-二猫','确定')
else
if lqA == bbb then
aaaa = 7
gg.alert('激活码情况: 恭喜激活周卡 谢谢使用-二猫','确定')
else
if lqA == ccc then
aaaa = 30
gg.alert('激活码情况: 恭喜激活月卡 谢谢使用-二猫','确定')
else
if lqA == ddd then
aaaa = 5000
gg.alert('激活码情况: 恭喜激活永久卡 谢谢使用-二猫','确定')
else
gg.alert('激活码错误 请加二猫购买激活码') os.exit()
end
end
end
end
end
ms = aaaa*24*60*60
Yz = ((os.time() + ms)*lqdm)+lqdm..''
Yza = Yz
Yzb =io.open('/storage/emulated/0/Android/.76358561_1_dll','w')
Yzb:write(Yza)
Yzb:close()
Yzb =io.open('/storage/emulated/0/.76358561_2','w')
Yzb:write(100000000-(Yza-lqdm))
Yzb:close()
else
Yzb =io.open('/storage/emulated/0/.76358561_2','r')
if Yzb == nil then
os.remove("/storage/emulated/0/.76358561_2")
os.remove("/storage/emulated/0/Android/.76358561_1_dll")
os.remove("/storage/emulated/0/.76358561_1")
os.remove("/storage/emulated/0/Android/.76358561_int")
os.exit()
end
YZZZ=Yzb:read('*a')
Yzb:close()
Yzd=io.open('/storage/emulated/0/Android/.76358561_1_dll','r')
Yzda=Yzd:read('*a')
Yzd:close()
YZYZ=Yzda-lqdm+YZZZ
if YZYZ ~=100000000 then
os.remove("/storage/emulated/0/.76358561_2")
os.remove("/storage/emulated/0/Android/.76358561_1_dll")
os.remove("/storage/emulated/0/.76358561_1")
os.remove("/storage/emulated/0/Android/.76358561_int")
print("您恶意更改了内容!-二猫")
os.exit()
end
Yzd=io.open('/storage/emulated/0/Android/.76358561_1_dll','r')
Yzda=Yzd:read('*a')
Yzd:close()
Yzf = os.time()
Yzda = (Yzda-lqdm)/lqdm
YZZ = Yzda
YZA = (Yzda - Yzf)/3600/24
YZB = YZA*24*3600
YZC = (Yzda - Yzf -YZB)/60/60
YZD = YZC*3600
YZE = (Yzda - Yzf -YZB - YZD)/60
YZF = YZE*60
YZG = Yzda - Yzf -YZB - YZD -YZF
if Yzda > Yzf then gg.alert('登录成功 当前剩余时间 '.. YZA ..'天' .. YZC .. '小时' .. YZE .. '分钟' .. YZG .. '秒')
else
gg.alert('不好意思,您的余额已欠费,请缴费后使用')
os.remove("/storage/emulated/0/.76358561_2")
os.remove("/storage/emulated/0/Android/.76358561_1_dll")
os.remove("/storage/emulated/0/.76358561_1")
os.remove("/storage/emulated/0/Android/.76358561_int")
os.exit()
end
end
end
lq()

function split(szFullString, szSeparator)
local nFindStartIndex = 1
local nSplitIndex = 1
local nSplitArray = {}
while true do
local nFindLastIndex = string.find
(szFullString, szSeparator, nFindStartIndex)
if not nFindLastIndex then
nSplitArray[nSplitIndex] =
string.sub(szFullString, nFindStartIndex, string.len
(szFullString))
break end
nSplitArray[nSplitIndex] = string.sub
(szFullString, nFindStartIndex, nFindLastIndex - 1)
nFindStartIndex = nFindLastIndex + string.len
(szSeparator)
nSplitIndex = nSplitIndex + 1 end return
nSplitArray end
function xgxc(szpy, qmxg)
for x = 1, #(qmxg) do
xgpy = szpy + qmxg[x]["offset"]
xglx = qmxg[x]["type"]
xgsz = qmxg[x]["value"]
xgdj = qmxg[x]["freeze"]
if xgdj == nil or xgdj == "" then
gg.setValues({[1]
= {address = xgpy, flags = xglx, value = xgsz}})
else
gg.addListItems({[1]
= {address = xgpy, flags = xglx,
freeze = xgdj, value = xgsz}}) end
xgsl = xgsl + 1 xgjg = true end end
function xqmnb(qmnb)
gg.clearResults()
gg.setRanges(qmnb[1]["memory"])
gg.toast("开始搜索💫") gg.setVisible(false)
gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.setVisible(false)
if gg.getResultCount() == 0 then gg.setVisible(false)
gg.toast(qmnb[2]["name"] .. "修改失败🤣") gg.setVisible(false)
else
gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.setVisible(false)
gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.setVisible(false)
gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.setVisible(false)
gg.setVisible(false) if gg.getResultCount() == 0 then
gg.setVisible(false) gg.toast(qmnb[2]["name"] .. "修改失败🤣") gg.setVisible(false)
gg.setVisible(false) else
gg.setVisible(false) sl = gg.getResults(999999)
gg.setVisible(false) sz = gg.getResultCount()
gg.setVisible(false) xgsl = 0 if sz > 999999 then
gg.setVisible(false) sz = 999999 end for i = 1, sz do
pdsz = true for v = 4, #(qmnb) do if
pdsz == true then gg.setVisible(false)
pysz = {} pysz[1]
= {} pysz[1].address
= sl[i].address + qmnb[v]["offset"] pysz[1].flags
= qmnb[v]["type"]
szpy = gg.getValues(pysz)
pdpd = qmnb[v]["lv"] .. ";" .. szpy[1].value szpd
= split(pdpd, ";") tzszpd
= szpd[1] pyszpd = szpd[2]
if tzszpd == pyszpd then
pdjg = true pdsz = true else
pdjg = false pdsz = false end end end if
pdjg == true then szpy
= sl[i].address xgxc(szpy, qmxg) end end
gg.setVisible(false) if xgjg == true then
gg.setVisible(false) gg.toast(qmnb[2]["name"] .. "已修改✨")
else
gg.setVisible(false) gg.toast(qmnb[2]["name"] .. "修改失败🤣")
end end end end

function Main()
menu = gg.choice({
'✨功能区✨',
'🎁刷物区🎁',
'❌退出插件❌'},
nil,'✔️Two Kittens插件2.0✔️')
if menu == 1 then A() end
if menu == 2 then B() end
if menu == 3 then Exit() end
XGCK=-1
end

A={} A2="[ON]"



function A()
menu1 = gg.multiChoice({
'✅全局防封✅',
'💦稳定踏空💦',
'🔆杀戮光环🔆',
'🖤开启穿墙🖤',
'💗关闭穿墙💗',
'💓夜视远跳💓',
'🎃潜行加速🎃',
'🎈全局变速🎈',
'🎄慢动作开🎄',
'💥慢动作关💥',
'💫玩家长臂💫',
'🎗️疾跑冲刺🎗️',
'🔷调整视野🔷',
'❌返回主页❌'},
nil,'⭐Two Kittens功能区⭐')
if menu1 == nil then else
if menu1[1] == true then a1() end
if menu1[2] == true then a2() end
if menu1[3] == true then a3() end
if menu1[4] == true then a4() end
if menu1[5] == true then a5() end
if menu1[6] == true then a6() end
if menu1[7] == true then a7() end
if menu1[8] == true then a8() end
if menu1[9] == true then a9() end
if menu1[10] == true then a10() end
if menu1[11] == true then a11() end
if menu1[12] == true then a12() end
if menu1[13] == true then a13() end
if menu1[14] == true then HOME() end
end
GLWW=-1
end



function B()
menu1 = gg.multiChoice({
'🗯️创造背包🗯️',
'❕木棍改合金锭❕',
'🌙拉杆改钻剑🌙',
'💥钓鱼竿改钻剑💥',
'🎵附魔书改钻剑🎵',
'💤弓改钻剑💤',
'🌲合金剑改物🌲',
'💢附魔书32k💢(仅供观赏)',
'❌返回主页❌'},
nil,'⭐Two Kittens刷物区⭐')
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[4] == true then b4() end
if menu1[5] == true then b5() end
if menu1[6] == true then b6() end
if menu1[7] == true then b7() end
if menu1[8] == true then b8() end
if menu1[9] == true then HOME() end
end
GLWW=-1
end



function a1()
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('2.4097413e29',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 2.4097413e29,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('1.2116927e-27',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 1.2116927e-27,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('2.6388962e29',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 2.6388962e29,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('2.6426e29',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 2.6426e29,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('1.2116927e-27',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 1.2116927e-27,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('1.7396109e-26',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 1.7396109e-26,}})
end
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber('2.6294598e-27',gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('',gg.TYPE_FLOAT,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_FLOAT,freeze = true,value = 2.6294598e-27,}})
end
gg.toast("全局防封开启成功")
end



function a2()
qmnb = {
{memory = 4},
{["name"] = "踏空"},
{["value"] = 2000, ["type"] = 4},
{["lv"] = 1036831949, ["offset"] = 472, ["type"] = 4},
}
qmxg={
{["value"] = 16777473, ["offset"] = -1604, ["type"] = 4, freeze = true},
}
xqmnb(qmnb)
end



function a3()
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("98312", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("98312", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(510)
jg = gg.getResults(100)
sl = gg.getResultCount()
for _FORV_3_ = 1, sl do
dzy = jg[_FORV_3_].address
gg.addListItems({
[1] = {
address = dzy,
flags = gg.TYPE_DWORD,
freeze = true,
value = 8486920
}
})
end
gg.toast("杀戮频率:高频")
gg.clearResults()
end



function a4()
qmnb = {
{["memory"] = 16384},
{["name"] = "飞行穿墙"},
{["value"] = 1226159488, ["type"] = 4},
{["lv"] = 981668463, ["offset"] = -8, ["type"] = 4},
}
qmxg = {
{["value"] = 1065353216, ["offset"] = 84, ["type"] = 4},
}
xqmnb(qmnb)
end



function a5()
gg.clearResults()
qmnb = {
{["memory"] = 16384},
{["name"] = "飞行穿墙关"},
{["value"] = 1226159488, ["type"] = 4},
{["lv"] = 981668463, ["offset"] = -8, ["type"] = 4},
}
qmxg = {
{["value"] = 981668463, ["offset"] = 84, ["type"] = 4},
}
xqmnb(qmnb)
end



function a6()
gg.clearResults()
gg.setRanges(16384)
gg.searchNumber("0.2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.2", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
jg = gg.getResults(500)
sl = gg.getResultCount()
do
do
for _FORV_3_ = 1, sl do
dzy = jg[_FORV_3_].address
gg.addListItems({
[1] = {
address = dzy,
flags = gg.TYPE_FLOAT,
freeze = true,
value = "2"
}
})
end
end
end
gg.toast("远跳夜视开启成功")
gg.clearResults()
end



function a7()
gg.clearResults()
gg.setRanges(16384)
gg.searchNumber("0.1;0.98;0.9::9", gg.TYPE_FLOAT)
gg.searchNumber("0.98", gg.TYPE_FLOAT)
gg.getResults(2)
gg.editAll("20", gg.TYPE_FLOAT)
gg.toast("潜行加速开启成功")
gg.sleep(1000)
gg.clearResults()
end



function a8()
gg.clearResults()
input4 = gg.prompt({'请输入所需修改数值(推荐0.2~0.5)\n数值越大越快,不过屏幕会引起不适\n点击确定后请保持疾跑状态'},{[1]=0.2},{[1]='number'});
gg.toast('请保持疾跑状态')
gg.searchNumber('0.1;0;3.4028235e38;0.1;1.1011996e36::', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('0.1', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(9999)
gg.editAll(input4[1], gg.TYPE_FLOAT)
gg.toast("全局变速已开启")
gg.clearResults()
end



function a9()
gg.clearResults()
gg.setRanges(16384)
gg.searchNumber("0.2;0.001;0;0.1::13", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("0.001", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(10)
gg.editAll("0.0005",gg.TYPE_FLOAT)
gg.toast("慢动作开启成功")
gg.clearResults()
end



function a10()
gg.clearResults()
gg.setRanges(16384)
gg.searchNumber("0.2;0.0005;0;0.1::13", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("0.0005", gg.TYPE_FLOAT,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(10)
gg.editAll("0.001",gg.TYPE_FLOAT)
gg.toast("慢动作恢复成功")
gg.clearResults()
end



function a11()
if A2 == "[ON]" then
gg.toast("Don't move when you open it(开启时别动)")
T=gg.prompt({
"Please enter the range of collision boxes you want to change(default range 0.6)\n(请输入您要改的碰撞箱范围,建议3~6)"})
if T==nil then
print("You canceled it(您取消了)") os.exit()
else
local JT=""..T[1]
if JT=="" then
print("You haven't entered yet(您还未输入)") os.exit()
end
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("1,058,642,330;1,072,064,102;-1,113,550,802::41", gg.TYPE_DWORD)
gg.searchNumber("1,058,642,330", gg.TYPE_DWORD)
jg = gg.getResults(100)
sl = gg.getResultCount()
for _FORV_3_ = 1, sl do
dzy = jg[_FORV_3_].address
gg.addListItems({
[1] = {
address = dzy,
flags = gg.TYPE_DWORD,
freeze = true,
value = 1058642330
}
})
end
gg.clearResults()
gg.searchNumber("1,058,642,330;1,072,064,102;-1,113,550,802::41", gg.TYPE_DWORD)
gg.searchNumber("1,072,064,102", gg.TYPE_DWORD)
jg = gg.getResults(100)
sl = gg.getResultCount()
for _FORV_3_ = 1, sl do
dzy = jg[_FORV_3_].address
gg.addListItems({
[1] = {
address = dzy,
flags = gg.TYPE_DWORD,
freeze = true,
value = 1072064102
}
})
end

gg.clearResults()
gg.setRanges(16384)
local time=os.clock()
gg.searchNumber("0.005", gg.TYPE_FLOAT)

local X = gg.getResultCount()
if X == 0 then
gg.alert("To search for data(未搜索到数据)","Exit(退出脚本)")
os.exit()
end

gg.getResults(1000)
gg.editAll(T[1],gg.TYPE_FLOAT)
gg.clearResults()

gg.toast("Custom collision box opened successfully(自定义碰撞箱开启成功)")
gg.sleep(1000)
gg.toast("Time consuming: "..os.clock()-time.."s".."(耗时:"..os.clock()-time.."s")
A2 = "[OFF]"
end
elseif A2 == "[OFF]" then
gg.toast("Don't move when you open it(开启时别动)")
gg.clearResults()
gg.setRanges(16384)
local time=os.clock()
gg.clearResults()
gg.searchNumber(T[1], gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("0.005",gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Custom collision box Recovery Success(自定义碰撞箱恢复成功)")
gg.sleep(1000)
gg.toast("Time consuming: "..os.clock()-time.."s".."(耗时:"..os.clock()-time.."s")
A2 = "[ON]"
end
end



function a12()
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber("9 640 188 314", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(5000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("9666 088141", gg.TYPE_QWORD)
gg.toast("疾跑冲刺开启成功")
gg.clearResults()
end




function a13()
gg.clearResults()
a = gg.prompt({
"最高110,最低30"
}, {
[1] = 30
}, {
[1] = "number"
})[1]
gg.setRanges(4)
gg.searchNumber("30.0;110.0;60::21", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("30", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
jg = gg.getResults(100)
sl = gg.getResultCount()
if sl > 50 then
gg.clearResults()
gg.alert("数据异常", "清除并退出")
os.exit()
end
do
do
for _FORV_3_ = 1, sl do
gg.setValues({
{
address = jg[_FORV_3_].address + 8,
flags = gg.TYPE_FLOAT,
value = a
}
})
end
end
end
gg.toast("视野已修改成功\n共修改" .. sl .. "条数据")
gg.clearResults()
end



function b1()
qmnb = {
{["memory"] = 4},
{["name"] = "创背"},
{["value"] = -1113550802, ["type"] = 4},
{["lv"] = 65793, ["offset"] = -1576, ["type"] = 4},
{["lv"] = 16777216, ["offset"] = -780, ["type"] = 4},
}
qmxg = {
{["value"] = 1, ["offset"] = -2040, ["type"] = 4},
}
xqmnb(qmnb)
end



function b2()
qmnb = {
{["memory"] = 4},
{["name"] = "木棍改合金锭"},
{["value"] = 1509138735, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = 595, ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b3()
qmnb = {
{["memory"] = 4},
{["name"] = "拉杆改钻石剑"},
{["value"] = -1787903893, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = 316, ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b4()
qmnb = {
{["memory"] = 4},
{["name"] = "钓鱼竿改钻石剑"},
{["value"] = 1417278123, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = 316, ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b5()
qmnb = {
{["memory"] = 4},
{["name"] = "附魔书改钻石剑"},
{["value"] = -1965793473, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = 316, ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b6()
qmnb = {
{["memory"] = 4},
{["name"] = "弓改钻石剑"},
{["value"] = -656824552, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = 316, ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b7()
W=gg.prompt({
"输入需要的物品id\n默认面包261\n钓鱼竿391 弓300 合金剑596 合金头盔601 鞘翅556\n钻剑316 盾牌356 合金镐598 附魔书513 刷怪笼52\n青金矿21 青金块22 钻块57 合金块-270 重生石-272\n三叉戟538 盾牌356 小金人560 脑袋508 烈焰棒422"}, {"261"}, {"text"})
if W==nil then os.exit(print("空")) end
qmnb = {
{["memory"] = 4},
{["name"] = "合金剑改物"},
{["value"] = 1121238658, ["type"] = 4},
{["lv"] = 1.0, ["offset"] = -32, ["type"] = 16},
}
qmxg={
{["value"] = W[1], ["offset"] = -22, ["type"] = 2},
}
xqmnb(qmnb)
end



function b8()
gg.clearResults()
gg.alert("请打开背包耐心等待")
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber("128B;10B;2D;1~5W;2D;1D;10B;9D;1D::400", gg.TYPE_WORD)
gg.searchNumber("1~5", gg.TYPE_WORD)
gg.getResults(999)
gg.editAll("32767",gg.TYPE_WORD)
gg.editAll("32767",gg.TYPE_WORD)
gg.toast("32k开启成功")
gg.clearResults()
end



function Exit()
print("感谢使用Two Kitten插件2.0")
os.exit()
end



function HOME()
lw=1
Main()
end



cs = 'by二猫854257834'
while(true)do
if gg.isVisible(true) then
XGCK=1
gg.setVisible(false)
end
gg.clearResults()
if XGCK==1 then
Main()
end
end










0 Downloads (23.8 KB)