简单辅助B版过拉到防脱机验证地图然后直接拼图挂机代码解析

2019-11-17 17:11:31

简单挂官网 >> 简单辅助过验证码脚本,简单挂验证码大全 >> 正文

之前简单辅助给大家分享过很多关于拼图的挂机脚本,只不过哪些大多都是当前打怪地图随机出或者回收随机出,现在给大家分享一个拉到防脱机地图拼图脚本。这个防脱机验证是直接传送进脱机地图,然后不需要对话npc就出来一个拼图对话框让你操作,让我们一起来看下传奇简单辅助是如何应对这种防脱机。

简单辅助B版过拉到防脱机验证地图然后直接拼图挂机代码解析

验证码如上图所示,咋一看跟随机的验证一样,只不过在写法上稍微会有点区别,让我们一起来看下代码:

触发器(在指定地图("验证房间"))->跳转(拼图)
<拼图>
关闭触发器()
等待(1500)
/<
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if lastmsg==str then return end
if str:find("拼图",1,true) then
print(234)
  gz={}
  suzi={}
  ::A::
   aa=获取NPC对话内容()
   aa=aa:gsub("%-","")
   aa=aa:gsub("Img:2061:","Img:1:")
   aa=aa:gsub("Img:661:","Img:1:")
  for i=1,5 do
   gz[i]=aa:match([[<(Img:%d+:%d+:%d+:%d+/@拼图格子%d)]])
   if gz[i]~=nil then
    aa=aa:gsub(gz[i],"",1)
   end
  end
 
    for i=1,4 do
     pp=gz[i]:match([[Img:(%d+:)]])
     suzi[i]=pp:sub(string.len(pp)-1,string.len(pp)-1)
    end
  yzbh=table.concat{suzi[1],suzi[2],suzi[3],suzi[4]}
  --------------------------------------------------------
  if gz[1]:find("Img:1:",1,true) then
    for i=1,5 do
    pp=gz[i]:match([[Img:(%d+:)]])
    k1=pp:sub(#pp-1,#pp-1)
     if k1=="5" or k1=="0" then
     passcod=gz[i]
     end
    end
  passcode=passcod:match([[(@拼图格子%d)]])
  选择(passcode)
  goto A
  等待(1500)
  end
  --------------------------------------------------------
  if gz[2]:find("Img:1:",1,true) then
    for i=1,5 do
    pp=gz[i]:match([[Img:(%d+:)]])
    k1=pp:sub(#pp-1,#pp-1)
     if k1=="6" or k1=="1"  then
     passcod=gz[i]
     end
    end
  passcode=passcod:match([[(@拼图格子%d)]])
  选择(passcode)
  等待(1500)
  goto A
  end
  --------------------------------------------------------
  if gz[3]:find("Img:1:",1,true) then
    for i=1,5 do
    pp=gz[i]:match([[Img:(%d+:)]])
    k1=pp:sub(#pp-1,#pp-1)
     if k1=="7" or k1=="2"  then
     passcod=gz[i]
     end
    end
  passcode=passcod:match([[(@拼图格子%d)]])
  选择(passcode)
  等待(1500)
  goto A
  end
 
  --------------------------------------------------------
  if gz[4]:find("Img:1:",1,true) then
    for i=1,5 do
    pp=gz[i]:match([[Img:(%d+:)]])
    k1=pp:sub(#pp-1,#pp-1)
     if k1=="8" or k1=="3"  then
     passcod=gz[i]
     end
    end
  passcode=passcod:match([[(@拼图格子%d)]])
  选择(passcode)
  等待(1500)
  goto A
  end
  ---------------------------------------------------------------
  if gz[5]:find("Img:1:",1,true) then
  if  yzbh=="5678" or yzbh=="0123"  then
  选择("@拼图完成") 
  等待(1500)
  else
  选择("@拼图格子4")
  等待(1000)
  选择("@拼图格子3")
  等待(1000)
  选择("@拼图格子2")
  等待(1000)
  选择("@拼图格子1")
  等待(1000)
  goto A
  end
  end
end
lastmsg=str
end
过验证()
/>
开启触发器()
跳转(脚本开始)

代码比较长,算是一个完整的防脱机地图过验证代码,如果你玩的单职业传奇版本刚好有这样的验证可以直接套用下。在这里简单辅助在强调一下,拼图验证有很多种,不要盲目的去用脚本代码,有不明白的地方多跟客服去沟通。

有事您扫一扫


在线取卡


9:00 ~ 24:00