七星辅助过四位彩色大数字验证码
代码:
aa=NPC对话内容
s1 = string.gsub(aa,"/SCOLOR=","")
s1 = string.gsub(s1,"<","")
s1 = string.gsub(s1,">","")
for i=0,9 do
s1=string.gsub(s1,i,"")
end
npcsuzu={}
npcsuzu[1]={}
npcsuzu[2]={}
npcsuzu[3]={}
npcsuzu[4]={}
k1=string.find(s1,"请点击输入上面数字中",1,true)
k2=k1-158
for i=1,5 do
npcsuzu[1][i]=string.sub(s1,k2,k2+5)
输出信息(npcsuzu[1][i])
k2=k2+31
end
k2=k1-158
for i=1,5 do
npcsuzu[2][i]=string.sub(s1,k2+8,k2+13)
k2=k2+31
输出信息(npcsuzu[2][i])
end
k2=k1-158
for i=1,5 do
npcsuzu[3][i]=string.sub(s1,k2+16,k2+21)
k2=k2+31
输出信息(npcsuzu[3][i])
end
k2=k1-158
for i=1,5 do
npcsuzu[4][i]=string.sub(s1,k2+24,k2+29)
k2=k2+31
输出信息(npcsuzu[4][i])
end
mosuzi={}
mosuzi[0]={}
mosuzi[1]={}
mosuzi[2]={}
mosuzi[3]={}
mosuzi[4]={}
mosuzi[5]={}
mosuzi[5]={}
mosuzi[6]={}
mosuzi[7]={}
mosuzi[8]={}
mosuzi[9]={}
mosuzi[0][1]="■■■"
mosuzi[0][2]="■ ■"
mosuzi[0][3]="■ ■"
mosuzi[0][4]="■ ■"
mosuzi[0][5]="■■■"
mosuzi[1][1]=" ■ "
mosuzi[1][2]=" ■ "
mosuzi[1][3]=" ■ "
mosuzi[1][4]=" ■ "
mosuzi[1][5]=" ■ "
mosuzi[2][1]="■■■"
mosuzi[2][2]=" ■"
mosuzi[2][3]="■■■"
mosuzi[2][4]="■ "
mosuzi[2][5]="■■■"
mosuzi[3][1]="■■■"
mosuzi[3][2]=" ■"
mosuzi[3][3]="■■■"
mosuzi[3][4]=" ■"
mosuzi[3][5]="■■■"
mosuzi[4][1]="■ ■"
mosuzi[4][2]="■ ■"
mosuzi[4][3]="■■■"
mosuzi[4][4]=" ■"
mosuzi[4][5]=" ■"
mosuzi[5][1]="■■■"
mosuzi[5][2]="■ "
mosuzi[5][3]="■■■"
mosuzi[5][4]=" ■"
mosuzi[5][5]="■■■"
mosuzi[6][1]="■■■"
mosuzi[6][2]="■ "
mosuzi[6][3]="■■■"
mosuzi[6][4]="■ ■"
mosuzi[6][5]="■■■"
mosuzi[7][1]="■■■"
mosuzi[7][2]=" ■"
mosuzi[7][3]=" ■"
mosuzi[7][4]=" ■"
mosuzi[7][5]=" ■"
mosuzi[8][1]="■■■"
mosuzi[8][2]="■ ■"
mosuzi[8][3]="■■■"
mosuzi[8][4]="■ ■"
mosuzi[8][5]="■■■"
mosuzi[9][1]="■■■"
mosuzi[9][2]="■ ■"
mosuzi[9][3]="■■■"
mosuzi[9][4]=" ■"
mosuzi[9][5]="■■■"
desuzi={}
for i=1,4 do
for i2=0,9 do
-- 输出信息(suzi[i][i2])
if npcsuzu[i][1]== mosuzi[i2][1] then
if npcsuzu[i][2]== mosuzi[i2][2] then
if npcsuzu[i][3]== mosuzi[i2][3] then
if npcsuzu[i][4]== mosuzi[i2][4] then
if npcsuzu[i][5]== mosuzi[i2][5] then
--输出信息("发现数字位数=")
--输出信息(i)
--输出信息("发现数字值=")
--输出信息(i2)
desuzi[i]=i2
end
end
end
end
end
end
end
passcode=table.concat({desuzi[1],desuzi[2],desuzi[3],desuzi[4]})
输出信息(passcode)
合成命令("@@InPutString23",passcode)
最后修改时间: 2020年06月01日00:00