Skip to content

Commit

Permalink
fix: 九色鹿领取
Browse files Browse the repository at this point in the history
  • Loading branch information
DazeCake committed Sep 27, 2023
1 parent 9c53746 commit 8486373
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
11 changes: 5 additions & 6 deletions 0.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ".*?懒人精灵 - .*?")
Expand All @@ -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(
Expand Down Expand Up @@ -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("============统计信息============")
Expand All @@ -231,6 +229,7 @@ def statistician():
print("活跃终端数量: \t" + str(info["activeAlCount"]))
print("活跃账号数量: \t" + str(info["activeAccountCount"]))


if __name__ == "__main__":
try:
arg = sys.argv[1]
Expand Down
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 6 additions & 2 deletions path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 2 additions & 1 deletion point.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8486373

Please sign in to comment.