diff --git a/0.py b/0.py index 3533b16..1e451ac 100644 --- a/0.py +++ b/0.py @@ -75,7 +75,7 @@ def get_hwnd(self): return self._handle -def run(now = True): +def run(now=True): """自动运行调试 需提前打开任意lua文件""" myWindowMgr = WindowMgr() hwnd = myWindowMgr.find_window_wildcard(None, ".*?懒人精灵 - .*?") @@ -87,7 +87,7 @@ def run(now = True): # 设置为当前活动窗口 win32gui.SetForegroundWindow(hwnd) # 最大化窗口 - win32gui.ShowWindow(hwnd, win32con.SW_MAXIMIZE) + # win32gui.ShowWindow(hwnd, win32con.SW_MAXIMIZE) # F6 win32api.keybd_event(117, win32api.MapVirtualKey(117, 0), 0, 0) win32api.keybd_event( @@ -213,15 +213,13 @@ def upload(md5, type, force): print(response.json().get("msg")) + def statistician(): token = lc.token if token == "": print("token未配置,请配置token") exit() - url = ( - "http://ark.aegirtech.com:8080/getStatistician?token=" - + token - ) + url = "http://ark.aegirtech.com:8080/getStatistician?token=" + token response = requests.request("GET", url) info = response.json()["data"] print("============统计信息============") @@ -231,6 +229,7 @@ def statistician(): print("活跃终端数量: \t" + str(info["activeAlCount"])) print("活跃账号数量: \t" + str(info["activeAccountCount"])) + if __name__ == "__main__": try: arg = sys.argv[1] diff --git a/main.lua b/main.lua index 57918c2..a693f10 100644 --- a/main.lua +++ b/main.lua @@ -51,7 +51,7 @@ default_auto_timeout_second = 300 -- 设成1000//30时,真机同时开着B服与官服时会出现点着点着脚本就停(从基建开始做邮件) frame_milesecond = 1000 // 30 milesecond_after_click = frame_milesecond -release_date = "09.17 23:45" +release_date = "09.22 19:26" ui_submit_color = "#ff0d47a1" ui_cancel_color = "#ff1976d2" ui_warn_color = "#ff33ccff" diff --git a/path.lua b/path.lua index fd3bc50..7bfc7c6 100644 --- a/path.lua +++ b/path.lua @@ -950,9 +950,13 @@ path.fallback = { wait(function() tap("九色鹿签到返回") ssleep(.2) - tap("开包skip") + -- tap("开包skip") if not appear("面板") then tap("开包skip") end - if appear("面板", 1) then return true end + if appear("面板", 1) then + return true + else + tap("开包skip") + end end, 5) end, 端午签到返回 = function() diff --git a/point.lua b/point.lua index 4b06eea..10251dc 100644 --- a/point.lua +++ b/point.lua @@ -916,7 +916,8 @@ point = { 签到返回黄 = "1654|595|F4B800,1768|865|F4B800", 活动签到返回 = "1849|151|BEBEBE,1824|151|595959,1849|127|595959,1876|149|595959,1849|172|595959,1802|163|595959", - 九色鹿签到返回 = "1802|163|595959,1765|135|CBC9C2,1801|181|C0C0C0", + 九色鹿签到 = "1487|853|000000,1404|831|5F1613,1457|807|9B2017,1574|817|731A15,1607|847|000000,1484|836|260806", + 九色鹿签到返回 = "1801|151|595959,1802|181|BFBFBF,1802|208|595959", 国庆签到返回 = "1875|150|C1C1C1,1861|151|595959,1874|130|595959,1902|161|595959", 抽签返回 = "1804|114|BFBFBF,1848|97|595959,1879|123|595959,1820|123|595959,1851|154|595959", 正在释放神经递质 = "0|950|E7D602",