按键精灵吧 关注:500,025贴子:1,023,407
  • 20回复贴,共1

再次求教大漠插件后台延迟怎么解决?

只看楼主收藏回复

设定是每2秒运行一次,但是一段时间后这个时间会变短或者变长,怎么解决?


IP属地:广西1楼2017-08-12 18:55回复
    用按键没必要用大漠里的延迟


    IP属地:云南来自Android客户端2楼2017-08-12 23:30
    收起回复
      广告
      立即查看
      参照物判断


      IP属地:广东来自Android客户端3楼2017-08-13 00:38
      收起回复
        问题没解决,顶一下


        IP属地:广西来自Android客户端4楼2017-08-14 18:26
        回复
          设置了等待时间,会变化?不科学


          来自Android客户端5楼2017-08-14 18:32
          收起回复
            Call Register_dm
            Sub Register_dm
            basepath = "C:\script\dm_basepath"
            PathArr = split(basepath, "\")
            For i = o To UBound(PathArr)
            If i = 0 Then
            FatherPath = PathArr(0)
            Else
            FatherPath = FatherPath & "\" & PathArr(i)
            Call Plugin.File.CreateFolder(FatherPath)
            Delay 100
            End If
            Next
            PutAttachment basepath,"*.*"
            Set ws=createobject("Wscript.Shell")
            ws.run "regsvr32 atl.dll /s"
            Set ws=nothing
            PutAttachment ".", "dm.dll"
            PutAttachment ".\Plugin", "RegDll.dll"
            Call Plugin.RegDll.Reg(".\dm.dll")
            Delay 100
            Set dm = createobject("dm.dmsoft")
            ver = dm.Ver()
            If ver <> "3.1233" then
            Set dm = nothing
            Set ws=createobject("Wscript.Shell")
            ws.run "regsvr32 .\dm.dll /s"
            Set ws=nothing
            Delay 100
            Set dm = createobject("dm.dmsoft")
            Delay 100
            ver = dm.Ver()
            End If
            End Sub
            delay 2000
            dm_ret = dm.BindWindow(263878,"dx","dx","dx",0)
            xue = dm.GetColor(1097,90)
            If xue = "8d001f" Then
            dm.keypress 70
            Else
            dm.keypress 9
            End If
            F = dm.GetColor(984,909)
            If xue = "8d001f" and F <>"eff1f3" Then
            delay 2000
            While 1
            dm.keydown 81
            delay 1200
            dm.keydown 102
            delay 1000
            dm.keyup 81
            delay 200
            dm.keyup 102
            delay 1800
            xue = dm.GetColor(1097,90)
            If xue = "8d001f" Then
            Else
            dm.keypress 9
            End If
            dm.keypress 90
            delay 600
            xue = dm.GetColor(1097,90)
            If xue = "8d001f" Then
            Else
            dm.keypress 9
            End If
            dm.keypress 70
            delay 2200
            xue = dm.GetColor(1097,90)
            If xue = "8d001f" Then
            Else
            dm.keypress 9
            End If
            Wend
            End If
            这是代码,配置随后发上


            IP属地:广西6楼2017-08-15 18:57
            回复
              这是游戏要求配置,我用的最低配置


              IP属地:广西8楼2017-08-15 19:04
              收起回复
                +1


                IP属地:广西来自Android客户端9楼2017-08-16 11:48
                回复