runhey / OnmyojiAutoScript

Onmyoji Auto Script | 阴阳师脚本
https://runhey.github.io/OnmyojiAutoScript-website/
GNU General Public License v3.0
1.87k stars 187 forks source link

误点到阴阳师,直接卡死 #468

Closed ljxun closed 2 months ago

ljxun commented 2 months ago

在提问之前...

描述你的问题

误点到阴阳师,直接卡死

如何复现

  1. 前往 '...'
  2. 点击 '....'
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs

No response

截图

2024-09-26_15-58-06-129756 log.txt

还有别的吗?

No response

ljxun commented 2 months ago

这种情况oasx会直接黄色卡死,怎么解决或者重启一下也可以

runhey commented 2 months ago

无解,等着重启吧

runhey commented 2 months ago

这样启动找不到page

runhey commented 2 months ago

在一个其他别的页面启动就好了

ljxun commented 2 months ago

不是,他这个是启游戏做任务误点了啊

---原始邮件--- 发件人: @.> 发送时间: 2024年9月26日(周四) 晚上10:02 收件人: @.>; 抄送: @.**@.>; 主题: Re: [runhey/OnmyojiAutoScript] 误点到阴阳师,直接卡死 (Issue #468)

在一个其他别的页面启动就好了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ljxun commented 2 months ago

无解,等着重启吧

这错误没法重启啊,oasx直接黄的了 卡死了

ljxun commented 2 months ago

在一个其他别的页面启动就好了

都是脚本自己做任务启动点,遇到这bug 好几次了

runhey commented 2 months ago

image

runhey commented 2 months ago

你是不是传错了日志 都没有点击

ljxun commented 2 months ago

你是不是传错了日志 都没有点击

我是在log error看到的,我再找找那时间段总日志?这报错就是截取出来的

ljxun commented 2 months ago

2024-09-26 15:57:23.693 | script.py:0350 | INFO | module_path: D:\OnmyojiAutoScript\run\tasks\Restart\script_task.py, module_name: script_task
2024-09-26 15:57:23.703 | logger.py:0276 | INFO | <<< APP RESTART >>>
2024-09-26 15:57:23.705 | app_control.py:0039 | INFO | App stop: com.netease.onmyoji.wyzymnqsd_cps
2024-09-26 15:57:23.715 | app_control.py:0029 | INFO | App start: com.netease.onmyoji.wyzymnqsd_cps
2024-09-26 15:57:23.891 | logger.py:0276 | INFO | <<< APP LOGIN >>>
2024-09-26 15:57:23.893 | device.py:0113 | INFO | Add stuck record: LOGIN_CHECK
2024-09-26 15:57:23.916 | logger.py:0284 | INFO | [Device Orientation] 1 (HOME key on the right)
2024-09-26 15:57:33.937 | logger.py:0284 | INFO | [Device Orientation] 1 (HOME key on the right)
2024-09-26 15:57:38.169 | logger.py:0284 | INFO | [LOGIN_ENTER_GAME 0.029s] [进入游戏]
2024-09-26 15:57:38.171 | control.py:0074 | INFO | Click ( 671, 612) @ LOGIN_ENTER_GAME
2024-09-26 15:57:40.853 | logger.py:0284 | INFO | [LOGIN_ENTER_GAME 0.004s] [进入游戏]
2024-09-26 15:57:40.855 | control.py:0074 | INFO | Click ( 642, 594) @ LOGIN_ENTER_GAME
2024-09-26 15:57:44.168 | logger.py:0284 | INFO | [Device Orientation] 1 (HOME key on the right)
2024-09-26 15:57:49.273 | control.py:0074 | INFO | Click (1185, 645) @ LOGIN_LOGIN_SCROOLL_CLOSE
2024-09-26 15:57:49.324 | login.py:0038 | INFO | Open scroll
2024-09-26 15:57:49.575 | login.py:0048 | INFO | Login success
2024-09-26 15:57:49.872 | login.py:0048 | INFO | Login success
2024-09-26 15:57:50.173 | login.py:0048 | INFO | Login success
2024-09-26 15:57:50.474 | login.py:0042 | INFO | Login to main confirm
2024-09-26 15:57:50.475 | logger.py:0276 | INFO | <<< HARVEST >>>
2024-09-26 15:57:51.086 | control.py:0074 | INFO | Click ( 756, 501) @ HARVEST_HARVEST_JADE
2024-09-26 15:57:51.982 | control.py:0074 | INFO | Click (1043, 206) @ UI_UI_REWARD
2024-09-26 15:57:52.288 | control.py:0074 | INFO | Click ( 735, 492) @ HARVEST_HARVEST_JADE
2024-09-26 15:57:55.639 | login.py:0219 | INFO | No more reward
2024-09-26 15:57:55.649 | config.py:0367 | INFO | Delay task restart to 2024-09-27 09:05:00 (success=True, server_update=True)
2024-09-26 15:57:55.657 | logger.py:0284 | INFO | [restart.scheduler.next_run] 2024-09-27 09:05:00
2024-09-26 15:57:55.658 | script.py:0440 | INFO | Scheduler: Start task KekkaiActivation
════════════════════════════════════════════════════════════════════════════════ ─────────────────────────────── KEKKAIACTIVATION ─────────────────────────────── ════════════════════════════════════════════════════════════════════════════════ 2024-09-26 15:57:55.894 | script.py:0350 | INFO | module_path: D:\OnmyojiAutoScript\run\tasks\KekkaiActivation\script_task.py, module_name:
script_task
2024-09-26 15:57:55.902 | game_ui.py:0096 | INFO | UI get current page
2024-09-26 15:57:55.972 | logger.py:0284 | INFO | [Package_name] com.netease.onmyoji.wyzymnqsd_cps
2024-09-26 15:57:55.981 | logger.py:0284 | INFO | [Device Orientation] 1 (HOME key on the right)
2024-09-26 15:58:06.130 | game_ui.py:0153 | WARNING | Unknown ui page
2024-09-26 15:58:06.131 | logger.py:0284 | INFO | [EMULATORSCREENSHOT_METHOD] ScreenshotMethod.NEMU_IPC
2024-09-26 15:58:06.132 | logger.py:0284 | INFO | [EMULATOR
CONTROL_METHOD] ControlMethod.MINITOUCH
2024-09-26 15:58:06.132 | game_ui.py:0156 | WARNING | Starting from current page is not supported
2024-09-26 15:58:06.133 | game_ui.py:0157 | WARNING | Supported page: ['page_main', 'page_summon', 'page_exploration', 'page_town',
'page_awake_zones', 'page_soul_zones', 'page_realm_raid', 'page_goryou_realm', 'page_delegation', 'page_secret_zones', 'page_area_boss', 'page_heian_kitan',
'page_six_gates', 'page_bondling_fairyland', 'page_kekkai_toppa', 'page_duel', 'page_demon_encounter', 'page_hunt', 'page_draft_duel', 'page_hyakkisen',
'page_shikigami_records', 'page_onmyodo', 'page_friends', 'page_daily', 'page_mall', 'page_guild', 'page_team', 'page_collection']
2024-09-26 15:58:06.135 | game_ui.py:0158 | WARNING | Supported page: Any page with a "HOME" button on the upper-right
2024-09-26 15:58:06.137 | game_ui.py:0159 | CRITICAL | Please switch to a supported page before starting oas
2024-09-26 15:58:06.137 | script.py:0377 | INFO | Game server may be under maintenance or network may be broken, check server status now
2024-09-26 15:58:06.138 | script.py:0379 | CRITICAL | Game page unknown
2024-09-26 15:58:06.140 | script.py:0096 | WARNING | Saving error: ./log/error/1727337486140
2024-09-26 15:58:06.424 | config.py:0387 | INFO | Notifier: MI
2024-09-26 15:58:06.634 | notify.py:0101 | INFO | Push notify success
2024-09-26 15:58:06.636 | script_process.py:0139 | INFO | Script mi process exit
2024-09-26 15:58:06.637 | logger.py:0318 | ERROR | Error: 1

runhey commented 2 months ago

你看看这个时间之前的就可以了

runhey commented 2 months ago

2024-09-26 15:57:51.086 | control.py:0074 | INFO | Click ( 756, 501) @ HARVEST_HARVEST_JADE 2024-09-26 15:57:51.982 | control.py:0074 | INFO | Click (1043, 206) @ UI_UI_REWARD 2024-09-26 15:57:52.288 | control.py:0074 | INFO | Click ( 735, 492) @ HARVEST_HARVEST_JADE

ljxun commented 2 months ago

2024-09-26 15:57:51.086 | control.py:0074 | INFO | Click ( 756, 501) @ HARVEST_HARVEST_JADE 2024-09-26 15:57:51.982 | control.py:0074 | INFO | Click (1043, 206) @ UI_UI_REWARD 2024-09-26 15:57:52.288 | control.py:0074 | INFO | Click ( 735, 492) @ HARVEST_HARVEST_JADE 2024-09-26 15:57:55.639 | login.py:0219 | INFO | No more reward

是点击勾玉 吧

ljxun commented 2 months ago

优化下范围?还是更好的办法

runhey commented 2 months ago

点了两次了

ljxun commented 2 months ago

点了两次了

对 这种怎么避免变黄 卡死 , 卡主重启也行,别卡死

runhey commented 2 months ago

简单

runhey commented 2 months ago

我看看

runhey commented 2 months ago

image

runhey commented 2 months ago

提高这个的值,来一个pr吧

ljxun commented 2 months ago

这个不是在一秒内找勾玉吗,找到才点击,不太懂值变高的效用啊

runhey commented 2 months ago

interval 是间隔,点击的间隔,防止频繁点击

ljxun commented 2 months ago

意思就是一秒检测一次吗?

runhey commented 2 months ago

你可以这么理解