From fcacbe59f4c35184efc58768331a26be648bef64 Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Tue, 15 Oct 2024 00:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=B8=B8=E6=88=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/images/54.png | Bin 0 -> 48376 bytes assets/result.json | 95 ++++++++++++++++++++++------------- config.py | 3 +- i18n/en_US/LC_MESSAGES/ok.po | 15 ++++++ i18n/zh_CN/LC_MESSAGES/ok.po | 23 +++++++-- src/task/AutoLoginTask.py | 35 +++++++++++++ 6 files changed, 131 insertions(+), 40 deletions(-) create mode 100644 assets/images/54.png create mode 100644 src/task/AutoLoginTask.py diff --git a/assets/images/54.png b/assets/images/54.png new file mode 100644 index 0000000000000000000000000000000000000000..4d0a929891b8ca318bf767a50c22e04943e94007 GIT binary patch literal 48376 zcmeFZiC>y$+BTdn({`FR4%3=wqS%p{$wX@$p~hX?2BAwD$3~>?)1Z>LMsWi~+R3z1 zMJSURL!y#OTP<#n5;ZQ!q={k_A=IGa0*xr(1|k9i0^gnIecq?Ze1F0B{X~D_?XBQ_ zUDtUW$9bIRb$|7@v&dIpKKk;30|#Dx|2_D}2M)LZ-@bI|rDuUBuZ8440Z%SP(VrCM zXQyHEb1xNU;BXn~2Lg`pUbzIE`u*cm?-UnZ$S*wb#BbC^c!Ghm-jC11GjN!~i8{!U!k+{WBHuO4{gz`eiz zo3B1C_*eW-^1=B-z>EFQWiqzAV_61ppN67ZLVl!MWrV!@ zj~Cv3{+-{y@!1RiZme8eTRRFh6YQV1lg=J~Y5e7C+HzGHxG19`{I1-V^H7ks_e5V? z#!F9jx$Pf4##G?(+5SlUpMlsPiT@dg{WY4DpQJeHoDL}5>uiF;e7s>W?xX-!%U8k-G11~+UaE4{ zH>wE=g+hD^hf@PP0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n+i|rpI)TXW}o3?VC86Gn4TyDnDhpdZzb!=$X?Y?IGb4 znDRn&tE{_n+Ay-r~}X_%BMws6w(-s$=I z?WL>|3e~-<9(k6L2C+vgD!i~|nSS0z15aa*KVuNCp}4MQ#dcx68;pUtK?A2I8!AMi zCiAVMzS1A)?Tk22Zg`OGC{rW9<3{Q;t@*y@el`yE#`Jef%o&ME>Cr|Jn)PtP;_Ps* z30`omX8!_C=CP>A$kbzu2o_IYHacqP3&SDTBo626Gzw?vgorl2vthuJy3?>}Nn+|D zq|4X|@4(hWH|kWPaavHN`-9ikNiOX+ZD$c{6;?9X zd4xXZsp0W#gEsWwkU>vp8}db`-&{qN&eTLK8pLJfj^se{jgn~I>`5?Q z1al6bN|55WCR108YAyZaOi80!p&HDpnp+XTA2U1+9<|KtalzE!AThP1mK!-DKWkhm zh^cVv`4)72_+yFW4}N|0HA<@UZ-W~kxT;=MU4nK=EG4}1D^ZV&rg zc+;zAwFa$_q;`k*txIzanaJ?%kok?@h^E5U{&e=bEdJ5ipG{<1m#kd3E~#0-yG3e% z1R$|&8BhUG0Z_rB1^@{_Vu1i~#YG(e5`YAVheZtl5`e@40pN;@Isha92@ns98UQ2! zi3I|{6&G~?NB|Nb9u_qKNB|NG1pbe%*gD^%#9m$al3&ftH)8*6|INblvSmlZ&#(UP z)57bHm2dyb1$+c(0ByXD4G<~79Dr5+6b~RAKsbPK0O7Dm02E80SX$HqXe&S`1^P{%?vC6aq1<)!>;C{agI7fW literal 0 HcmV?d00001 diff --git a/assets/result.json b/assets/result.json index 14df0aa..2110ab1 100644 --- a/assets/result.json +++ b/assets/result.json @@ -323,6 +323,12 @@ "height": 2160, "id": 53, "file_name": "images/53.png" + }, + { + "width": 3840, + "height": 2160, + "id": 54, + "file_name": "images/54.png" } ], "categories": [ @@ -748,74 +754,78 @@ }, { "id": 105, - "name": "monthly_card" + "name": "login_account" }, { "id": 106, - "name": "multiplayer_world_mark" + "name": "monthly_card" }, { "id": 107, - "name": "pick_up_f_hcenter_vcenter" + "name": "multiplayer_world_mark" }, { "id": 108, - "name": "purple_target_distance_icon" + "name": "pick_up_f_hcenter_vcenter" }, { "id": 109, - "name": "remove_custom" + "name": "purple_target_distance_icon" }, { "id": 110, - "name": "revive_confirm_hcenter_vcenter" + "name": "remove_custom" }, { "id": 111, - "name": "set_name_0" + "name": "revive_confirm_hcenter_vcenter" }, { "id": 112, - "name": "set_name_1" + "name": "set_name_0" }, { "id": 113, - "name": "set_name_2" + "name": "set_name_1" }, { "id": 114, - "name": "set_name_3" + "name": "set_name_2" }, { "id": 115, - "name": "set_name_4" + "name": "set_name_3" }, { "id": 116, - "name": "set_name_5" + "name": "set_name_4" }, { "id": 117, - "name": "set_name_6" + "name": "set_name_5" }, { "id": 118, - "name": "set_name_7" + "name": "set_name_6" }, { "id": 119, - "name": "set_name_8" + "name": "set_name_7" }, { "id": 120, - "name": "skip_quest_confirm" + "name": "set_name_8" }, { "id": 121, - "name": "target_enemy_white" + "name": "skip_quest_confirm" }, { "id": 122, + "name": "target_enemy_white" + }, + { + "id": 123, "name": "ww" } ], @@ -1168,7 +1178,7 @@ { "id": 23, "image_id": 8, - "category_id": 110, + "category_id": 111, "segmentation": [], "bbox": [ 2887.0, @@ -1543,7 +1553,7 @@ { "id": 48, "image_id": 21, - "category_id": 109, + "category_id": 110, "segmentation": [], "bbox": [ 3083.8938053097336, @@ -1618,7 +1628,7 @@ { "id": 53, "image_id": 24, - "category_id": 108, + "category_id": 109, "segmentation": [], "bbox": [ 2090.0, @@ -1753,7 +1763,7 @@ { "id": 62, "image_id": 28, - "category_id": 105, + "category_id": 106, "segmentation": [], "bbox": [ 1555.0000000000002, @@ -1783,7 +1793,7 @@ { "id": 64, "image_id": 30, - "category_id": 107, + "category_id": 108, "segmentation": [], "bbox": [ 2440.9999999999995, @@ -1843,7 +1853,7 @@ { "id": 68, "image_id": 33, - "category_id": 121, + "category_id": 122, "segmentation": [], "bbox": [ 1688.0, @@ -1873,7 +1883,7 @@ { "id": 70, "image_id": 34, - "category_id": 106, + "category_id": 107, "segmentation": [], "bbox": [ 76.77271661865221, @@ -1888,7 +1898,7 @@ { "id": 71, "image_id": 35, - "category_id": 120, + "category_id": 121, "segmentation": [], "bbox": [ 2296.991150442478, @@ -2053,7 +2063,7 @@ { "id": 82, "image_id": 39, - "category_id": 111, + "category_id": 112, "segmentation": [], "bbox": [ 2010.731069247442, @@ -2068,7 +2078,7 @@ { "id": 83, "image_id": 39, - "category_id": 113, + "category_id": 114, "segmentation": [], "bbox": [ 2010.138498421424, @@ -2083,7 +2093,7 @@ { "id": 84, "image_id": 39, - "category_id": 114, + "category_id": 115, "segmentation": [], "bbox": [ 1475.0999455437145, @@ -2098,7 +2108,7 @@ { "id": 85, "image_id": 39, - "category_id": 119, + "category_id": 120, "segmentation": [], "bbox": [ 1742.61922198257, @@ -2113,7 +2123,7 @@ { "id": 86, "image_id": 39, - "category_id": 118, + "category_id": 119, "segmentation": [], "bbox": [ 1207.5806691048583, @@ -2128,7 +2138,7 @@ { "id": 87, "image_id": 39, - "category_id": 116, + "category_id": 117, "segmentation": [], "bbox": [ 134.87430187125648, @@ -2143,7 +2153,7 @@ { "id": 88, "image_id": 39, - "category_id": 115, + "category_id": 116, "segmentation": [], "bbox": [ 402.8245815888193, @@ -2158,7 +2168,7 @@ { "id": 89, "image_id": 39, - "category_id": 112, + "category_id": 113, "segmentation": [], "bbox": [ 2010.2654867256613, @@ -2338,7 +2348,7 @@ { "id": 101, "image_id": 50, - "category_id": 117, + "category_id": 118, "segmentation": [], "bbox": [ 1742.61922198257, @@ -2394,6 +2404,21 @@ "ignore": 0, "iscrowd": 0, "area": 24511.23815490614 + }, + { + "id": 105, + "image_id": 54, + "category_id": 105, + "segmentation": [], + "bbox": [ + 3567.136929460579, + 1187.5518672199169, + 129.95850622406957, + 103.07053941908717 + ], + "ignore": 0, + "iscrowd": 0, + "area": 13394.893338613647 } ], "info": { @@ -2402,6 +2427,6 @@ "description": "", "contributor": "Label Studio", "url": "", - "date_created": "2024-10-04 19:35:09.109616" + "date_created": "2024-10-14 23:31:11.716414" } } \ No newline at end of file diff --git a/config.py b/config.py index 76f63d0..8e961ca 100644 --- a/config.py +++ b/config.py @@ -121,6 +121,7 @@ def calculate_pc_exe_path(running_path): ["src.task.AutoPickTask", "AutoPickTask"], ["src.task.SkipDialogTask", "AutoDialogTask"], ["src.task.MultiplayerAutoCombatTask", "MultiplayerAutoCombatTask"], - ["src.task.MouseResetTask", "MouseResetTask"] + ["src.task.MouseResetTask", "MouseResetTask"], + ["src.task.AutoLoginTask", "AutoLoginTask"], ] } diff --git a/i18n/en_US/LC_MESSAGES/ok.po b/i18n/en_US/LC_MESSAGES/ok.po index 6945458..0b69a8f 100644 --- a/i18n/en_US/LC_MESSAGES/ok.po +++ b/i18n/en_US/LC_MESSAGES/ok.po @@ -560,3 +560,18 @@ msgstr "" msgid "load chars success [Encore, ShoreKeeper, Xiangliyao]" msgstr "" + +msgid "Auto Echo Data Merge" +msgstr "" + +msgid "Auto Login" +msgstr "" + +msgid "Auto Login After Game Starts" +msgstr "" + +msgid "Auto Start Game" +msgstr "" + +msgid "Auto Start Game When App Starts" +msgstr "" diff --git a/i18n/zh_CN/LC_MESSAGES/ok.po b/i18n/zh_CN/LC_MESSAGES/ok.po index 7fd884a..0c1fc60 100644 --- a/i18n/zh_CN/LC_MESSAGES/ok.po +++ b/i18n/zh_CN/LC_MESSAGES/ok.po @@ -1,4 +1,7 @@ # +msgid "" +msgstr "" + msgid "" msgstr "" "Project-Id-Version: 1.0\n" @@ -9,9 +12,6 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -msgid "" -msgstr "" - msgid "(1-6) Important, Choose which level to farm, lower levels might not produce a echo" msgstr "(1-6) 重要, 选择你对应世界等级可以产出声骸的难度, 从上到下为1-6" @@ -370,4 +370,19 @@ msgid "Data Merge Completed!" msgstr "自动合成声骸完成!" msgid "Auto combat error: Make sure you're equipping echos and turn off effect that changes the game color, (Game Gammar/Nvidia AMD Game Filter), turn off Motion Blur in game video options" -msgstr "自动战斗错误:请确认已装备声骸,关闭运动模糊,游戏为默认亮度,并关闭夜灯模式/显示器高级色彩/显卡滤镜等一切改变游戏颜色的配置." \ No newline at end of file +msgstr "自动战斗错误:请确认已装备声骸,关闭运动模糊,游戏为默认亮度,并关闭夜灯模式/显示器高级色彩/显卡滤镜等一切改变游戏颜色的配置." + +msgid "Auto Login" +msgstr "自动登录游戏" + +msgid "Auto Login After Game Starts" +msgstr "游戏启动后自动登录游戏" + +msgid "Auto Start Game" +msgstr "自动启动游戏" + +msgid "Auto Start Game When App Starts" +msgstr "APP启动后自动启动游戏" + +msgid "Auto Login Success" +msgstr "自动登录成功" \ No newline at end of file diff --git a/src/task/AutoLoginTask.py b/src/task/AutoLoginTask.py new file mode 100644 index 0000000..bad5027 --- /dev/null +++ b/src/task/AutoLoginTask.py @@ -0,0 +1,35 @@ +from qfluentwidgets import FluentIcon + +from ok.logging.Logger import get_logger +from ok.task.TriggerTask import TriggerTask +from src.task.BaseWWTask import BaseWWTask + +logger = get_logger(__name__) + + +class AutoLoginTask(BaseWWTask, TriggerTask): + + def __init__(self): + super().__init__() + self.default_config = {'_enabled': True} + self.trigger_interval = 5 + self.name = "Auto Login" + self.description = "Auto Login After Game Starts" + self.icon = FluentIcon.ACCEPT + self._logged_in = False + + def trigger(self): + if self._logged_in: + pass + elif self.in_team_and_world(): + self._logged_in = True + elif self.find_one('login_account', threshold=0.7): + self.wait_until(lambda: self.find_one('login_account', threshold=0.7) is None, + pre_action=lambda: self.click_relative(0.5, 0.9), + wait_until_check_delay=3, time_out=20) + self.wait_until(lambda: self.find_one('monthly_card', threshold=0.7) or self.in_team_and_world(), + pre_action=lambda: self.click_relative(0.5, 0.9), + wait_until_check_delay=3, time_out=60) + self.click_relative(0.5, 0.9) + self.log_info('Auto Login Success', notify=True) + self._logged_in = True