Skip to content

Commit

Permalink
fix 新手池导致每日单抽失效
Browse files Browse the repository at this point in the history
  • Loading branch information
tkkcc committed Aug 17, 2022
1 parent f4bfeb2 commit bfe87ae
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dlt.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,12 +781,12 @@ def check(key="", show=True):
or not str(y["password" + str(i)]).strip()
):
continue
username = y["username" + str(i)].split("#")[0].strip()
password = y["password" + str(i)].split("#")[0].strip()[:-1]
username = y["username" + str(i)].strip()
password = y["password" + str(i)].strip()
if username in my_account:
user2device[username] = device
continue
serial = dlt.all2serial(" " + password, quiet=True)
serial = dlt.all2serial(" " + password + " ", quiet=True)
if not serial:
print("all2serial not found", password)
continue
Expand Down
6 changes: 2 additions & 4 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,9 @@ username3 password3 b

高级设置`游戏重启间隔`,不建议调整。

#### 运行一段时间后回到点确定界面
#### 运行一段时间后卡在点确定界面

高级设置`完全重启间隔`,不建议调整。

如果一直停在点确定界面,应换设备。
高级设置勾`禁用完全重启`,或更换设备。

## 日常功能

Expand Down
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ default_findcolor_confidence = 95 / 100
-- 设成1000//30时,真机同时开着B服与官服时会出现点着点着脚本就停(从基建开始做邮件)
frame_milesecond = 1000 // 30
milesecond_after_click = frame_milesecond
release_date = "08.16 1:31"
release_date = "08.17 15:01"
ui_submit_color = "#ff0d47a1"
ui_cancel_color = "#ff1976d2"
ui_warn_color = "#ff33ccff"
Expand Down
2 changes: 2 additions & 0 deletions path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ path.限时活动 = function(retry)
})
elseif findOne("面板赠送一次") and not disable_free_draw then
tap("面板干员寻访")
if not appear("赠送一次") then tap("寻访右") end
if not appear("赠送一次") then tap("寻访右") end
if not appear("赠送一次") then return end
ssleep(.5)
if not wait(function()
Expand Down
2 changes: 2 additions & 0 deletions point.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ minscale = min(hscale, wscale)
maxscale = max(hscale, wscale)

point = {
寻访右 = "1843|580|3162A5",
fullscreen = {0, 0, screen.width - 1, screen.height - 1},
后院工坊 = {174, 814},
自走车友会有 = "193|895|FF5341",
Expand Down Expand Up @@ -1265,6 +1266,7 @@ autojs提供OCR、图像匹配、速度没测过。OCR看现有明日方舟辅
--]]

center = {
寻访右 = "center_center",

车友交流2 = "center_center",
车友交流1 = "center_center",
Expand Down
2 changes: 1 addition & 1 deletion release
Submodule release updated from b1efa2 to 732793
3 changes: 3 additions & 0 deletions util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ stop = function(msg, mode, nohome, complete)
disable_log = false -- 强制开启日志
local info = table.join(qqmessage, ' ') .. ' ' .. msg
captureqqimagedeliver(info, true)
closeapp(appid)
toast(msg)
if complete then
cloud.completeTask(last_upload_img)
Expand Down Expand Up @@ -1881,6 +1882,7 @@ poweroff =

kill_game_last_time = {[oppid] = time(), [bppid] = time()}
closeapp = function(package)
if not package then return end
-- log("package",package)
-- 记录app被杀时间
kill_game_last_time[package] = time()
Expand Down Expand Up @@ -3621,6 +3623,7 @@ predebug_hook = function()

swipu_flipy = 0
swipu_flipx = 0
exit()

yg3 = "ff303030"
log(colorDiff(yg3, "ff003030"))
Expand Down

0 comments on commit bfe87ae

Please sign in to comment.