"">
本验证码与其他的黄色四位稍微有点区别,但是修改方法基本一样
图片:
具体代码:
发言("@服务")
等待(1500)
aa=NPC对话内容
s1 = string.gsub(aa,"<■/SCOLOR=0>","BB")
s1 = string.gsub(s1,"<■/SCOLOR=250>","AA")
s1 = string.gsub(s1,"<┃/SCOLOR=253>","")
s1 = string.gsub(s1,"\","")
npcsuzu={}
npcsuzu[1]={}
npcsuzu[2]={}
npcsuzu[3]={}
npcsuzu[4]={}
k1=string.find(s1,"┓/SCOLOR=253",1,true)
s1=string.sub(s1,k1+16,k1+15+32*5+13*5)
k2=1
for i=1,5 do
npcsuzu[1][i]=string.sub(s1,k2,k2+7)
k2=k2+46
end
k2=1
for i=1,5 do
npcsuzu[2][i]=string.sub(s1,k2+11,k2+18)
k2=k2+46
end
k2=1
for i=1,5 do
npcsuzu[3][i]=string.sub(s1,k2+22,k2+29)
k2=k2+46
end
k2=1
for i=1,5 do
npcsuzu[4][i]=string.sub(s1,k2+33,k2+40)
k2=k2+46
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]="AAAAAAAA"
mosuzi[0][2]="AABBBBAA"
mosuzi[0][3]="AABBBBAA"
mosuzi[0][4]="AABBBBAA"
mosuzi[0][5]="AAAAAAAA"
mosuzi[1][1]="BBAAAABB"
mosuzi[1][2]="BBAAAABB"
mosuzi[1][3]="BBAAAABB"
mosuzi[1][4]="BBAAAABB"
mosuzi[1][5]="BBAAAABB"
mosuzi[2][1]="AAAAAAAA"
mosuzi[2][2]="BBBBBBAA"
mosuzi[2][3]="BBBBAABB"
mosuzi[2][4]="BBAABBBB"
mosuzi[2][5]="AAAAAAAA"
mosuzi[3][1]="AAAAAAAA"
mosuzi[3][2]="BBBBBBAA"
mosuzi[3][3]="AAAAAAAA"
mosuzi[3][4]="BBBBBBAA"
mosuzi[3][5]="AAAAAAAA"
mosuzi[4][1]="AABBAABB"
mosuzi[4][2]="AABBAABB"
mosuzi[4][3]="AAAAAAAA"
mosuzi[4][4]="BBBBAABB"
mosuzi[4][5]="BBBBAABB"
mosuzi[5][1]="AAAAAAAA"
mosuzi[5][2]="AABBBBBB"
mosuzi[5][3]="AAAAAAAA"
mosuzi[5][4]="BBBBBBAA"
mosuzi[5][5]="AAAAAAAA"
mosuzi[6][1]="AABBBBBB"
mosuzi[6][2]="AABBBBBB"
mosuzi[6][3]="AAAAAAAA"
mosuzi[6][4]="AABBBBAA"
mosuzi[6][5]="AAAAAAAA"
mosuzi[7][1]="AAAAAAAA"
mosuzi[7][2]="BBBBBBAA"
mosuzi[7][3]="BBBBBBAA"
mosuzi[7][4]="BBBBBBAA"
mosuzi[7][5]="BBBBBBAA"
mosuzi[8][1]="AAAAAAAA"
mosuzi[8][2]="AABBBBAA"
mosuzi[8][3]="AAAAAAAA"
mosuzi[8][4]="AABBBBAA"
mosuzi[8][5]="AAAAAAAA"
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
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
desuzi[i]=i2
end
end
end
end
end
end
end
passcode=table.concat({desuzi[1],desuzi[2],desuzi[3],desuzi[4]})
findapi=匹配内容(NPC对话内容,[[(@@InPutStringd{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutIntegerd{1,3})]])
end
合成命令(api,passcode)
选择("回收装备")
等待(1500)