打和平精英帮助记得使用时间

本文介绍了如何通过Lua脚本来有效管理在玩和平精英时的时间,提高游戏效率与自我管控。
摘要由CSDN通过智能技术生成
  gg.setVisible(false)    do  gg.toast("当前环境检测中!")  A=os.time()  gg.sleep(1000)      B=os.time()  C=B-A  if C == 1 then  gg.toast("当前使用环境正常!")  else  os.exit(gg.alert("检测到当前环境存在破解行为!"))  while  C ~= 1 do  print("使用环境异常!")  end  end  end  function jie64(jiemib64)    local b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'    local temp={
   }    for i=1,64 do        temp[string.sub(b64chars,i,i)] = i    end    temp['=']=0    local str=''    for i=1,#jiemib64,4 do        if i>#jiemib64 then            break        end        local data = 0        local str_count=0        for j=0,3 do            local str1=string.sub(jiemib64,i+j,i+j)            if not temp[str1] then                return            end            if temp[str1] < 1 then                data = data * 64            else                data = data * 64 + temp[str1]-1                str_count = str_count + 1            end        end        for j=16,0,-8 do            if str_count > 0 then                str=str..string.char(math.floor(data/math.pow(2,j)))             data=math.fmod(data,math.pow(2,j))                str_count = str_count - 1            end        end    end    local last = tonumber(string.byte(str, string.len(str), string.len(str)))    if last == 0 then        str = string.sub(str, 1, string.len(str) - 1)    end    return str end     function jia64(jiamib64)    local b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'    local s64 = ''    local str = jiamib64    while #str > 0 do        local bytes_num = 0        local buf = 0         for byte_cnt=1,3 do            buf = (buf * 256)            if #str > 0 then                buf = buf + string.byte(str, 1, 1)                str = string.sub(str, 2)                bytes_num = bytes_num + 1            end        end         for group_cnt=1,(bytes_num+1) do            local b64char = math.fmod(math.floor(buf/262144), 64) + 1            s64 = s64 .. string.sub(b64chars, b64char, b64char)            buf = buf * 64        end         for fill_cnt=1,(3-bytes_num) do            s64 = s64 .. '='        end    end    return s64 end        function pdlx(n)     if type(n)=="number" then        return "yes"    else        return    "no"    end end     function jia4(HcX)      HcX=""..string.lower(HcX)      shuzu={
   }    for i=1,string.len(HcX) do    shuzu[i]=string.sub(HcX,i,i)    end   HcXjm={
   }   for k,v in ipairs(shuzu) do       if v == "1" then       HcXjm[k]=""       elseif v == "2" then       HcXjm[k]=""       elseif v == "3" then       HcXjm[k]=""       elseif v == "4" then     HcXjm[k]=""       elseif v == "5" then       HcXjm[k]=""       elseif v == "6" then       HcXjm[k]=""       elseif v == "7" then       HcXjm[k]=""      elseif v == "8" then       HcXjm[k]=""       elseif v == "9" then      HcXjm[k]=""       elseif v == "0" then       HcXjm[k]=""       end    end    HcXjiami=string.upper(table.concat(HcXjm))    return ""..HcXjiami    end          function jie4(HcXjiemi)    HcXjiemi=""..HcXjiemi    shuzujie={
   }    for i= 1,#HcXjiemi,4 do    if i >= 4 then    k=i-1+4   nnn=k/4  else  G=1   k=4   nnn=1    end   shuzujie[nnn]=string.sub(HcXjiemi,i,k)    end    HcXjiem={
   }    for k,v in ipairs(shuzujie) do      if v == "" then       HcXjiem[k]="1"       elseif v == "" then       HcXjiem[k]="2"       elseif v == "" then       HcXjiem[k]="3"      elseif v == "" then      HcXjiem[k]="4"       elseif v == "" then       HcXjiem[k]="5"       elseif v == "" then       HcXjiem[k]="6"       elseif v == "" then       HcXjiem[k]="7"       elseif v == "" then       HcXjiem[k]="8"      elseif v == "" then       HcXjiem[k]="9"      elseif v == "" then       HcXjiem[k]="0"       end     end  HcXjiemi=table.concat(HcXjiem)   return ""..HcXjiemi   end           function isH4(HcXjiemi)   zql=#HcXjiemi   OK=zql/4    HcXjiemi=""..HcXjiemi    shuzujie={
   }    for i= 1,#HcXjiemi,4 do    if i >= 4 then   k=i-1+4   nnn=k/4   else  G=1   k=4    nnn=1    end    shuzujie[nnn]=string.sub(HcXjiemi,i,k)    end    HcXjiem={
   }     MAX=0   for k,v in ipairs(shuzujie) do       if v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       elseif v == "" then       MAX=MAX+1       end      end    if MAX ==  OK then    return  true     else    return false   end   end    function kami()    HcXkmxt = gg.prompt({
       "输入卡密:",    "?获取卡密"  }, {
      [1] = max,   [2] = false      }, {
       [1] = "text",    [2] = "checkbox"  })  if HcXkmxt==nil then  while true do  os.exit(print("你选择了退出"))  end  while true do  end  end  if HcXkmxt[2] == true then  while true do   gg.copyText("2510573782")    os.exit(print("购卡联系方式复制成功!"))    end    while true do    end  end    file=io.output(gg.getFile()..".lua")   io.write(HcXkmxt[1])    io.close()    mimi=HcXkmxt[1]      end       do       file= io.open(gg.getFile()..".lua","r")       if  file == nil then      kami()     else    file = io.open(gg.getFile()..".lua", "r")      max=file:read("*a")     file:close()      kami()     end     end    yaoshi=1314520    mimi1=jie64(mimi)      mimi2=tonumber(mimi1)     pdlxs=pdlx(mimi2)      if mimi1 == nil then     gg.alert("请输入有效值?","")     os.exit(print("请输入有效值?"))    while true do    end    end    if pdlxs == "no" then   gg.alert("非有效值?","")   os.exit(print("非有效值?"))  while true do   end   else   mimi2=mimi1-yaoshi   shijian1=""..os.time()   shijian2=jia64(shijian1)   shijian=jie64(shijian2)   kmcg=0   end   wangzhi="http://www.iyuji.cn/iyuji/s/Y2lnQ2FPTm5ETlVLR3poN3JacUlSdz09/1594567766512210"    xinxi=gg.makeRequest(wangzhi).content     for i= 1,100000000 do      xlh1=xinxi:match(i.."【序列号】(.-)【序列号】")     xianshi1=xinxi:match(i.."【限时】(.-)【限时】")     if xlh1 == nil then     break   elseif xianshi1 == nil then     break     end     H4jm=isH4(xlh1)       H4jm1=isH4(xianshi1)     if H4jm  ==  false then    xlh=jie64(xlh1)     xianshi=jie64(xianshi1)    else    xlh=jie4(xlh1)   xianshi=jie4(xianshi1)   end     if  mimi2 ==  xlh then    kmcg1=kmcg+1     SS=tonumber(xianshi)-tonumber(shijian)    TT=SS/86400     yonghuxh=i     end     end    if SS == nil then    gg.toast("卡密错误!")   os.exit(print("卡密错误"))   while true do    end    end    if SS <= 0 then    gg.toast("卡密到期!")   os.exit(print("卡密到期!"))     while true do   end    end    if kmcg1 ~= 0 then     gg.toast("登陆成功!\n剩余使用时间:"..SS.."秒")     else     gg.toast("卡密错误!")     os.exit(print("卡密错误"))     while true do     end     end     function chaxun()   gg.alert("用户序号:"..yonghuxh.."\n剩余使用时间:"..SS.."秒\n".."剩余使用时间:"..TT.."天")   end   gg.setVisible(true)      
--调用chaxun()即可查询剩余使用时间,以及用户信息
function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type)local count = gg.getResultCount()local result = gg.getResults(count)gg.clearResults()local data = {
   } local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {
   }local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {
   } tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

灵舒敲代码

我的公v是cxyy1106,欢

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值