你的位置: > 新手帮助 > 脚本编写 > 正文
脚本编写

输入图片上的字母和数字(6位)

发布时间:2014-01-17 10:19



温馨提示:老好人辅助验证均为官方客服自主编写,禁止其他辅助盗版本验证
本验证均加有防伪代码,一经发现必追究其法律责任!

输入图片上的字母和数字:


--去除所有提示框要勾上,他有一些陷阱错误,导致正确答案也提示错误
对话NPC坐标(323,340)
等待(2000)
aa=NPC对话内容
k1=string.find(aa,"<Img:",1,true)
s1=string.sub(aa,k1,k1+96)
s1=string.gsub(s1,"-","A")
 
 
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
a1=匹配内容(s1,[[(0:A\d{1,3}:7)]])
s1=string.gsub(s1,a1,"")
s1=string.gsub(s1,"<Img","")
s1=string.gsub(s1,">","")
s1=string.gsub(s1,"<","")
s1=string.gsub(s1,":",",")
 
s1=string.gsub(s1,",66,","0")
s1=string.gsub(s1,",67,","1")
s1=string.gsub(s1,",68,","2")
s1=string.gsub(s1,",69,","3")
s1=string.gsub(s1,",70,","4")
s1=string.gsub(s1,",71,","5")
s1=string.gsub(s1,",72,","6")
s1=string.gsub(s1,",73,","7")
s1=string.gsub(s1,",74,","8")
s1=string.gsub(s1,",75,","9")
s1=string.gsub(s1,",76,","a")
s1=string.gsub(s1,",77,","b")
s1=string.gsub(s1,",78,","c")
s1=string.gsub(s1,",79,","d")
s1=string.gsub(s1,",80,","e")
s1=string.gsub(s1,",81,","f")
s1=string.gsub(s1,",82,","g")
s1=string.gsub(s1,",83,","h")
s1=string.gsub(s1,",84,","i")
s1=string.gsub(s1,",85,","j")
s1=string.gsub(s1,",86,","k")
s1=string.gsub(s1,",87,","l")
s1=string.gsub(s1,",88,","m")
s1=string.gsub(s1,",89,","n")
s1=string.gsub(s1,",90,","o")
s1=string.gsub(s1,",91,","p")
s1=string.gsub(s1,",92,","q")
s1=string.gsub(s1,",93,","r")
s1=string.gsub(s1,",94,","s")
s1=string.gsub(s1,",95,","t")
s1=string.gsub(s1,",96,","u")
s1=string.gsub(s1,",97,","v")
s1=string.gsub(s1,",98,","w")
s1=string.gsub(s1,",99,","x")
s1=string.gsub(s1,",100,","y")
s1=string.gsub(s1,",101,","z")
 
passcode=s1
 
if passcode~="m529fs" and passcode~="1i6sgr" 
   and passcode~="x9pn23" then
 
findapi=匹配内容(NPC对话内容,[[(@@InPutString\d{1,3})]])
if findapi~=nil then
api=findapi
else
api=匹配内容(NPC对话内容,[[(@@InPutInteger\d{1,3})]])
end
合成命令(api,passcode)
 
end
 
 
 
输出信息(s1)