ソースを参照

fix(tasks/ActivityShikigame): Update

ryland 6 ヶ月 前
親
コミット
bb931f1373

+ 69 - 0
.github/workflows/assets/tasks-i18n-2026-04-22.md

@@ -0,0 +1,69 @@
+# Tasks 子目录翻译
+
+自动生成文件 - 请勿手动修改
+
+| 目录 | 中文 |
+|------|------|
+| AbyssShadows | 狭间暗域 |
+| ActivityShikigami | 当期式神爬塔 |
+| AreaBoss | 地狱鬼王 |
+| AutoCheckinBigGod | 大神签到 |
+| BondlingFairyland | 契灵之境 |
+| CollectiveMissions | 集体任务 |
+| Component | (未找到翻译) |
+| DailyTrifles | 每日琐事 |
+| Delegation | 式神委派 |
+| DemonEncounter | 封魔之时 |
+| DemonRetreat | 首领退治 |
+| Dokan | 道馆 |
+| Duel | 斗技 |
+| DyeTrials | 灵染试炼 |
+| EternitySea | 永生之海 |
+| EvoZone | 觉醒副本 |
+| ExperienceYoukai | 经验妖怪 |
+| Exploration | 探索 |
+| FallenSun | 日轮之城 |
+| FindJade | 寻找协作任务 |
+| FloatParade | 花车巡游 |
+| FrogBoss | 对弈竞猜 |
+| GameUi | (未找到翻译) |
+| General | 通用 |
+| GlobalGame | 全局游戏设置 |
+| GoldYoukai | 金币妖怪 |
+| GoryouRealm | 御灵之境 |
+| GotoMain | (未找到翻译) |
+| GuildActivityMonitor | (未找到翻译) |
+| GuildBanquet | 寮宴会 |
+| HeroTest | 英杰试炼 |
+| Hunt | 狩猎战 |
+| Hyakkiyakou | 百鬼夜行 |
+| KekkaiActivation | 结界挂卡 |
+| KekkaiUtilize | 结界蹭卡 |
+| KittyShop | 猫咪铺子 |
+| MemoryScrolls | 绘卷 |
+| MetaDemon | 超鬼王 |
+| MysteryShop | 神秘商店 |
+| Nian | 年兽 |
+| Orochi | 八岐大蛇 |
+| OrochiMoans | 御魂悲鸣 |
+| Pets | 小猫咪 |
+| Quiz | 智力竞赛 |
+| RealmRaid | 个人突破 |
+| Restart | 重启 |
+| RichMan | 大富翁 |
+| RyouToppa | 寮突破 |
+| Script | 脚本 |
+| Secret | 秘闻之境 |
+| SixRealms | 六道之门 |
+| Sougenbi | 业原火 |
+| SoulsTidy | 御魂整理 |
+| Tako | 石距 |
+| TalismanPass | 花合战 |
+| TrueOrochi | 真·八岐大蛇 |
+| Utils | (未找到翻译) |
+| WantedQuests | 悬赏封印 |
+| WeeklyTrifles | 每周琐事 |
+
+## 来源说明
+- `module\config\i18n\zh_CN.xml` - 本仓库
+- https://raw.githubusercontent.com/runhey/OASX/master/lib/config/translation/i18n_cn.dart - 外部仓库 (OASX)

BIN
tasks/ActivityShikigami/as/as_battle_main_to_records.png


BIN
tasks/ActivityShikigami/as/as_check_battle_main.png


BIN
tasks/ActivityShikigami/as/as_shi.png


BIN
tasks/ActivityShikigami/as/as_to_battle_main.png


+ 7 - 7
tasks/ActivityShikigami/as/pages.json

@@ -2,7 +2,7 @@
   {
     "itemName": "shi",
     "imageName": "as_shi.png",
-    "roiFront": "1187,301,43,29",
+    "roiFront": "1182,379,43,29",
     "roiBack": "1164,134,83,393",
     "method": "Template matching",
     "threshold": 0.7,
@@ -38,8 +38,8 @@
   {
     "itemName": "to_battle_main",
     "imageName": "as_to_battle_main.png",
-    "roiFront": "861,229,39,176",
-    "roiBack": "752,170,238,269",
+    "roiFront": "825,309,39,176",
+    "roiBack": "737,264,238,269",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "进入主要的战斗界面"
@@ -56,8 +56,8 @@
   {
     "itemName": "check_battle_main",
     "imageName": "as_check_battle_main.png",
-    "roiFront": "845,560,39,45",
-    "roiBack": "626,477,415,203",
+    "roiFront": "27,637,62,58",
+    "roiBack": "1,510,415,203",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "description"
@@ -74,8 +74,8 @@
   {
     "itemName": "battle_main_to_records",
     "imageName": "as_battle_main_to_records.png",
-    "roiFront": "1017,572,39,42",
-    "roiBack": "976,539,146,100",
+    "roiFront": "999,557,39,42",
+    "roiBack": "966,534,140,100",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "从main进入到式神录"

+ 5 - 5
tasks/ActivityShikigami/assets.py

@@ -38,7 +38,7 @@ class ActivityShikigamiAssets:
 
 	# Image Rule Assets
 	# 进入活动 
-	I_SHI = RuleImage(roi_front=(1187,301,43,29), roi_back=(1164,134,83,393), threshold=0.7, method="Template matching", file="./tasks/ActivityShikigami/as/as_shi.png")
+	I_SHI = RuleImage(roi_front=(1182,379,43,29), roi_back=(1164,134,83,393), threshold=0.7, method="Template matching", file="./tasks/ActivityShikigami/as/as_shi.png")
 	# 左上角返回 
 	I_BACK_GREEN = RuleImage(roi_front=(27,19,34,38), roi_back=(2,1,170,75), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_back_green.png")
 	# 右上跳过按钮 
@@ -46,15 +46,15 @@ class ActivityShikigamiAssets:
 	# 红色退出 
 	I_RED_EXIT = RuleImage(roi_front=(1162,96,39,38), roi_back=(1120,49,110,135), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_red_exit.png")
 	# 进入主要的战斗界面 
-	I_TO_BATTLE_MAIN = RuleImage(roi_front=(861,229,39,176), roi_back=(752,170,238,269), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_to_battle_main.png")
+	I_TO_BATTLE_MAIN = RuleImage(roi_front=(825,309,39,176), roi_back=(737,264,238,269), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_to_battle_main.png")
 	# 点击进入boss战斗页面 
 	I_TO_BATTLE_BOSS = RuleImage(roi_front=(1076,241,37,136), roi_back=(934,209,234,327), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_to_battle_boss.png")
 	# description 
-	I_CHECK_BATTLE_MAIN = RuleImage(roi_front=(845,560,39,45), roi_back=(626,477,415,203), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_check_battle_main.png")
+	I_CHECK_BATTLE_MAIN = RuleImage(roi_front=(27,637,62,58), roi_back=(1,510,415,203), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_check_battle_main.png")
 	# description 
 	I_CHECK_BATTLE_BOSS = RuleImage(roi_front=(34,365,45,35), roi_back=(20,328,100,100), threshold=0.8, method="Template matching", file="./tasks/ActivityShikigami/as/as_check_battle_boss.png")
 	# 从main进入到式神录 
-	I_BATTLE_MAIN_TO_RECORDS = RuleImage(roi_front=(1017,572,39,42), roi_back=(976,539,146,100), threshold=0.7, method="Template matching", file="./tasks/ActivityShikigami/as/as_battle_main_to_records.png")
+	I_BATTLE_MAIN_TO_RECORDS = RuleImage(roi_front=(999,557,39,42), roi_back=(966,534,140,100), threshold=0.7, method="Template matching", file="./tasks/ActivityShikigami/as/as_battle_main_to_records.png")
 	# description 
 	I_TO_BATTLE_MAIN_2 = RuleImage(roi_front=(15,94,247,38), roi_back=(2,68,311,100), threshold=0.65, method="Template matching", file="./tasks/ActivityShikigami/as/as_to_battle_main_2.png")
 	# 确认跳过 
@@ -94,7 +94,7 @@ class ActivityShikigamiAssets:
 	# 挑战 
 	O_FIRE = RuleOcr(roi=(1124,599,96,50), area=(1123,570,106,100), mode="Single", method="Default", keyword="挑战", name="fire")
 	# 体力的数量检测 
-	O_REMAIN_AP = RuleOcr(roi=(836,25,51,30), area=(836,25,51,30), mode="DigitCounter", method="Default", keyword="", name="remain_ap")
+	O_REMAIN_AP = RuleOcr(roi=(761,25,51,30), area=(761,25,51,30), mode="DigitCounter", method="Default", keyword="", name="remain_ap")
 	# 活动体力的剩余检测 
 	O_REMAIN_PASS = RuleOcr(roi=(518,18,88,28), area=(514,12,97,38), mode="DigitCounter", method="Default", keyword="", name="remain_pass")
 	# 还有多少次购买体力的机会 

+ 2 - 2
tasks/ActivityShikigami/fire/ocr.json

@@ -10,8 +10,8 @@
   },
   {
     "itemName": "remain_ap",
-    "roiFront": "836,25,51,30",
-    "roiBack": "836,25,51,30",
+    "roiFront": "761,25,51,30",
+    "roiBack": "761,25,51,30",
     "mode": "DigitCounter",
     "method": "Default",
     "keyword": "",

+ 12 - 0
tasks/Component/CostumeRealm/assets.py

@@ -0,0 +1,12 @@
+from module.atom.image import RuleImage
+from module.atom.click import RuleClick
+from module.atom.long_click import RuleLongClick
+from module.atom.swipe import RuleSwipe
+from module.atom.ocr import RuleOcr
+from module.atom.list import RuleList
+
+# This file was automatically generated by ./dev_tools/assets_extract.py.
+# Don't modify it manually.
+class CostumeRealmAssets: 
+	pass
+

+ 2 - 2
tasks/DemonEncounter/assets.py

@@ -71,9 +71,9 @@ class DemonEncounterAssets:
 
 
 	# Image Rule Assets
-	# 红色达摩
+	# 红色达摩 
 	I_DE_RED_DHARMA = RuleImage(roi_front=(1216,215,32,33), roi_back=(1209,208,51,50), threshold=0.7, method="Template matching", file="./tasks/DemonEncounter/demon/demon_de_red_dharma.png")
-	# 点击右下角的寻找封魔
+	# 点击右下角的寻找封魔 
 	I_DE_FIND = RuleImage(roi_front=(1136,593,100,100), roi_back=(1136,593,100,100), threshold=0.8, method="Template matching", file="./tasks/DemonEncounter/demon/demon_de_find.png")
 	# 点击首领 
 	I_DE_BOSS = RuleImage(roi_front=(1001,645,45,45), roi_back=(1001,645,45,45), threshold=0.8, method="Template matching", file="./tasks/DemonEncounter/demon/demon_de_boss.png")

+ 5 - 3
tasks/GameUi/assets.py

@@ -114,11 +114,11 @@ class GameUiAssets:
 	I_TOWN_GOTO_HYAKKISEN = RuleImage(roi_front=(192,145,48,67), roi_back=(86,130,447,100), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_town_goto_hyakkisen.png")
 	# 斗技主界面左上角文字图像 
 	I_CHECK_DUEL = RuleImage(roi_front=(149,16,64,38), roi_back=(133,0,110,74), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_duel.png")
-	# description
+	# description 
 	I_CHECK_DEMON_ENCOUNTER = RuleImage(roi_front=(153,16,129,38), roi_back=(153,16,129,38), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_demon_encounter.png")
-	# 检查逢魔之时现世逢魔界面
+	# 检查逢魔之时现世逢魔界面 
 	I_CHECK_DEMON_ENCOUNTER_REALWORLD = RuleImage(roi_front=(26,658,42,43), roi_back=(2,619,100,100), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_demon_encounter_realworld.png")
-	# 逢魔之时进入现世逢魔
+	# 逢魔之时进入现世逢魔 
 	I_DEMON_ENCOUNTER_REALWORLD_GOTO = RuleImage(roi_front=(994,485,106,30), roi_back=(994,485,106,30), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_demon_encounter_realworld.png")
 	# 检查狩猎战界面 
 	I_CHECK_HUNT = RuleImage(roi_front=(575,30,46,25), roi_back=(553,1,81,68), threshold=0.7, method="Template matching", file="./tasks/GameUi/page/page_check_hunt.png")
@@ -187,6 +187,8 @@ class GameUiAssets:
 	I_DLC_CLOSE = RuleImage(roi_front=(916,147,24,25), roi_back=(916,147,24,25), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/store_dlc_close.png")
 	# 退出战斗按钮 
 	I_BACK_BATTLE = RuleImage(roi_front=(24,19,40,38), roi_back=(0,0,90,85), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_back_battle.png")
+	# 进入现世逢魔 
+	I_DEMON_ENCOUNTER_REALWORLD = RuleImage(roi_front=(994,485,106,30), roi_back=(994,485,106,30), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_demon_encounter_realworld.png")
 
 
 	# Image Rule Assets

+ 19 - 1
tasks/GameUi/page/page_img_2.json

@@ -83,11 +83,29 @@
   {
     "itemName": "check_demon_encounter",
     "imageName": "page_check_demon_encounter.png",
+    "roiFront": "153,16,129,38",
+    "roiBack": "153,16,129,38",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  },
+  {
+    "itemName": "check_demon_encounter_realworld",
+    "imageName": "page_check_demon_encounter_realworld.png",
     "roiFront": "26,658,42,43",
     "roiBack": "2,619,100,100",
     "method": "Template matching",
     "threshold": 0.8,
-    "description": "description"
+    "description": "检查逢魔之时现世逢魔界面"
+  },
+  {
+    "itemName": "demon_encounter_realworld_goto",
+    "imageName": "page_demon_encounter_realworld.png",
+    "roiFront": "994,485,106,30",
+    "roiBack": "994,485,106,30",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "逢魔之时进入现世逢魔"
   },
   {
     "itemName": "check_hunt",