Skip to content

Commit bfe87ae

Browse files
committed
fix 新手池导致每日单抽失效
1 parent f4bfeb2 commit bfe87ae

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

dlt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,12 +781,12 @@ def check(key="", show=True):
781781
or not str(y["password" + str(i)]).strip()
782782
):
783783
continue
784-
username = y["username" + str(i)].split("#")[0].strip()
785-
password = y["password" + str(i)].split("#")[0].strip()[:-1]
784+
username = y["username" + str(i)].strip()
785+
password = y["password" + str(i)].strip()
786786
if username in my_account:
787787
user2device[username] = device
788788
continue
789-
serial = dlt.all2serial(" " + password, quiet=True)
789+
serial = dlt.all2serial(" " + password + " ", quiet=True)
790790
if not serial:
791791
print("all2serial not found", password)
792792
continue

docs/guide.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,9 @@ username3 password3 b
190190

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

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

195-
高级设置`完全重启间隔`,不建议调整。
196-
197-
如果一直停在点确定界面,应换设备。
195+
高级设置勾`禁用完全重启`,或更换设备。
198196

199197
## 日常功能
200198

main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ default_findcolor_confidence = 95 / 100
5050
-- 设成1000//30时,真机同时开着B服与官服时会出现点着点着脚本就停(从基建开始做邮件)
5151
frame_milesecond = 1000 // 30
5252
milesecond_after_click = frame_milesecond
53-
release_date = "08.16 1:31"
53+
release_date = "08.17 15:01"
5454
ui_submit_color = "#ff0d47a1"
5555
ui_cancel_color = "#ff1976d2"
5656
ui_warn_color = "#ff33ccff"

path.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,8 @@ path.限时活动 = function(retry)
670670
})
671671
elseif findOne("面板赠送一次") and not disable_free_draw then
672672
tap("面板干员寻访")
673+
if not appear("赠送一次") then tap("寻访右") end
674+
if not appear("赠送一次") then tap("寻访右") end
673675
if not appear("赠送一次") then return end
674676
ssleep(.5)
675677
if not wait(function()

point.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ minscale = min(hscale, wscale)
2020
maxscale = max(hscale, wscale)
2121

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

12671268
center = {
1269+
寻访右 = "center_center",
12681270

12691271
车友交流2 = "center_center",
12701272
车友交流1 = "center_center",

release

Submodule release updated from b1efa22 to 7327931

util.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ stop = function(msg, mode, nohome, complete)
771771
disable_log = false -- 强制开启日志
772772
local info = table.join(qqmessage, ' ') .. ' ' .. msg
773773
captureqqimagedeliver(info, true)
774+
closeapp(appid)
774775
toast(msg)
775776
if complete then
776777
cloud.completeTask(last_upload_img)
@@ -1881,6 +1882,7 @@ poweroff =
18811882

18821883
kill_game_last_time = {[oppid] = time(), [bppid] = time()}
18831884
closeapp = function(package)
1885+
if not package then return end
18841886
-- log("package",package)
18851887
-- 记录app被杀时间
18861888
kill_game_last_time[package] = time()
@@ -3621,6 +3623,7 @@ predebug_hook = function()
36213623

36223624
swipu_flipy = 0
36233625
swipu_flipx = 0
3626+
exit()
36243627

36253628
yg3 = "ff303030"
36263629
log(colorDiff(yg3, "ff003030"))

0 commit comments

Comments
 (0)