当前位置:首页>验证码大全

七星辅助过随机四位组成大数字验证码

发布时间:2016年06月01日17:24

 七星辅助过4位数字

 

以下代码请家长到定时执行,时间为8000MS

 

function 随机验证码()


    kk=NPC对话内容

    k1=string.find(kk,"聊天框内输入",1,true)

    if k1~=nil then


    mosuzi={}

    mosuzi[0]="AABBBBBBAABBAAAAAABBBBAAAAAABBBBAAAAAABBBBAAAAAABBBBAAAAAABBBBAAAAAABBAABBBBBBAA"

    mosuzi[1]="AAAABBAAAAAABBBBAAAAAAAABBAAAAAAAABBAAAAAAAABBAAAAAAAABBAAAAAAAABBAAAAAABBBBBBAA"

    mosuzi[2]="AABBBBBBAABBAAAAAABBBBAAAAAABBAAAAAABBAAAAAABBAAAAAABBAAAAAABBAAAAAAAABBBBBBBBBB"

    mosuzi[3]="AABBBBBBAABBAAAAAABBAAAAAAAABBAAAABBBBAAAAAAAAAABBAAAAAAAABBBBAAAAAABBAABBBBBBAA"

    mosuzi[4]="AAAAAABBAAAAAABBBBAAAABBAABBAAAABBAABBAABBAAAABBAAAABBBBBBBBAAAAAABBAAAAAAAABBBB"

    mosuzi[5]="BBBBBBBBBBBBAAAAAAAABBAAAAAAAABBBBBBBBAAAAAAAAAABBAAAAAAAABBBBAAAAAABBAABBBBBBAA"

    mosuzi[6]="AABBBBBBAABBAAAABBAABBAAAAAAAABBBBBBBBAABBAAAAAABBBBAAAAAABBBBAAAAAABBAABBBBBBAA"

    mosuzi[7]="BBBBBBBBBBBBAAAABBAAAAAAAABBAAAAAABBAAAAAAAABBAAAAAAAABBAAAAAAAABBAAAAAAAABBAAAA"

    mosuzi[8]="AABBBBBBAABBAAAAAABBBBAAAAAABBAABBBBBBAABBAAAAAABBBBAAAAAABBBBAAAAAABBAABBBBBBAA"

    mosuzi[9]="AABBBBBBAABBAAAAAABBBBAAAAAABBBBAAAAAABBAABBBBBBBBAAAAAAAABBAABBAAAABBAABBBBBBAA"


   astring1={}

   for i=1,400 do

   astring1[i]=匹配内容(kk,[[(d{1})]])

   if astring1[i]~=nil then

   kk=string.gsub(kk,astring1[i],"B",1)

   --输出信息(astring1[i])

   end

   end


   kk=string.gsub(kk,"","AA")


   --输出信息(kk)


  as1={}

  for i=1,8 do

  bstr=匹配内容(kk,[[([A-B]{10,48})]])

  if bstr~=nil then

  as1[i]=bstr

  kk=string.gsub(kk,bstr,"",1)

  --输出信息(as1[i])

  end

  end



  for i=1,8 do

  bb="BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"

  as1[i]=table.concat{as1[i],bb}

  --输出信息(as1[i])

  end


  as3={}

  for i=1,8 do

  as1[i]=匹配内容(as1[i],[[([A-B]{48})]])

  if as1[i]~=nil then

  as3[i]=as1[i]

  --输出信息(as3[i])

  end

  end


  pass1=table.concat{as3[1],as3[2],as3[3],as3[4],as3[5],as3[6],as3[7],as3[8]}

  --输出信息(pass1)



  suziab={}


  k2=1

  for i=1,8 do

  suziab[i]=string.sub(pass1,k2,k2+9)

  --输出信息(suziab[i])

  k2=k2+48

  end


  passab={}

  passab[1]=table.concat{suziab[1],suziab[2],suziab[3],suziab[4],suziab[5],suziab[6],suziab[7],suziab[8]}

  --输出信息(passab[1])


  k2=13


  for i=1,8 do

  suziab[i]=string.sub(pass1,k2,k2+9)

  --输出信息(suziab[i])

  k2=k2+48

  end


  passab[2]=table.concat{suziab[1],suziab[2],suziab[3],suziab[4],suziab[5],suziab[6],suziab[7],suziab[8]}

  --输出信息(passab[2])


  k2=25

 

  for i=1,8 do

  suziab[i]=string.sub(pass1,k2,k2+9)

  --输出信息(suziab[i])

  k2=k2+48

  end


  passab[3]=table.concat{suziab[1],suziab[2],suziab[3],suziab[4],suziab[5],suziab[6],suziab[7],suziab[8]}

  --输出信息(passab[3])


  k2=37


  for i=1,8 do

  suziab[i]=string.sub(pass1,k2,k2+9)

  --输出信息(suziab[i])

  k2=k2+48

  end


  passab[4]=table.concat{suziab[1],suziab[2],suziab[3],suziab[4],suziab[5],suziab[6],suziab[7],suziab[8]}

  --输出信息(passab[4])



desuzi={}

for i1=1,4 do

for i2=0,9 do

if passab[i1]==mosuzi[i2] then

  --输出信息(i2)

  desuzi[i1]=i2

end

end

end


pass5=table.concat{desuzi[1],desuzi[2],desuzi[3],desuzi[4]}

passcode=pass5

输出信息(passcode)

发言(passcode)

等待(1000)

end

end



    随机验证码()




 

最后修改时间: 2020年10月15日00:00