From de5092278f795fac347f478a2420b067ac55e5b7 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Tue, 10 Dec 2024 03:12:23 +0800 Subject: [PATCH] Fix: Handle popup story (fixed #690) --- .../base/popup/POPUP_STORY_LATER.SEARCH.png | Bin 0 -> 9075 bytes assets/share/base/popup/POPUP_STORY_LATER.png | Bin 0 -> 7198 bytes tasks/base/assets/assets_base_popup.py | 10 ++++++++++ tasks/base/ui.py | 4 ++++ 4 files changed, 14 insertions(+) create mode 100644 assets/share/base/popup/POPUP_STORY_LATER.SEARCH.png create mode 100644 assets/share/base/popup/POPUP_STORY_LATER.png diff --git a/assets/share/base/popup/POPUP_STORY_LATER.SEARCH.png b/assets/share/base/popup/POPUP_STORY_LATER.SEARCH.png new file mode 100644 index 0000000000000000000000000000000000000000..3d2f1eb975f5a7b1783b29fb0a86247276f178c4 GIT binary patch literal 9075 zcmeHr`8Sk*`2K^+nk`XHsPU#INsA?f%DywoE=k!2V`nTwtC1LGi@_AeQkKZr4Mk+n zHkQFy#yS}LSjR{2&-ah`e9w8`=RD_r&Ut=#?sL6f_jO(O9cgT+b&}&82LJ#kb+px? z0C4>1mH7`F^HI7hs>^hg*gdr^eE@*-)Zd2*NJ%{d02~G`YHG&D&TwD2k2Bo!f{vQn z1y66dql?=!00Cbq~?hmdMC%HWbz+(Aqzj-Y)cs~I4uXy?I{(6n# zFcUb4Te9FHIzILp>kSW}^xsrXfpxzZ3!JodOf!U zDiZ#j3s_qjpS(Ev)2;Zvy%2=gk(~lgO~Qzs(w=3}@8kl2b35HX7`IhpXJ;rAGmf)v zw2faG4A=@Bta5Rc%&2+Cd<@_?+Bmg;N)BqfAYEZ`c#z4;jIbycocH$=qrO1v;ugg+)Xa1&wP2{ zW$)o%2#uL-J9htu2YptI(fm5>AO_MsDN}57_4M0Si^vLNut77T68c{KVoSm#|9sfZ zRnf!)_PBtPK>iz}dc!hSe4AT6a+!%airb>cAGnKLmwI=O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h!V|JBc2CPSls#^T!o@=q!SVOEL=9)+9E-96D zb`A8eCYu{3#G9sDTKCJlHtxX{dHIS6fj7ZmZ}Px2u4S!f$V#i&EGJE3<^ee4EZF0e z2~7P93{SSV@rq79s+(xFw`r6oyL)mqaM$Py-VoO9vP(D`4P@r4CY-x?|1wj>TeD0T zs4kw!DRiy9qr+8DxN^y?Xy|T_12M}$ID}`R8e2gZHm9f+>yE(5T~PFYF!q1G1WL`!hFRwrAK9zxl|FzXPkTAgvtNaeEH<7*RGYh zE6K|zVX`+u3-HuE0yU+~9piYg4f3e`%LRW;WRqkUq2f`H0emd2LR#GJoS9GO-WDzF zV5G9;X~~W1MkPXX^Cx}q4SNA(X$>4J$Gu16p{$EU8J9%A9ZBJc-U5Yzfkl}Dh4BglR1m7E^Nyz zb4fw{h9p^mGiZAk1GO3}zADT@b;+9|;Qylo?0;qbe}h1MaMR&g;A~6QQzqAN_P=H8 NXc(#&-hce!e*pRzMdttj literal 0 HcmV?d00001 diff --git a/assets/share/base/popup/POPUP_STORY_LATER.png b/assets/share/base/popup/POPUP_STORY_LATER.png new file mode 100644 index 0000000000000000000000000000000000000000..92d745482232705da3a2f14a4c6b02dbadd3119d GIT binary patch literal 7198 zcmeI1_fyl&x5qz#1yo9?3IZC$MpHzkNRb*5>7hwSLNC%2kRqZOq)C$!Kw2mP1cZbV zKn3ZcNs-599D8_dDk76AN4P3(s zGhpWcr9q%guLsUSP~kI~H*t24k>Ms0P*cej{xNjrD+Gm1-XGepBc>4#2=H#^U=Zu| z*o7=dKuS04k@PTsv=*eP4IfO)0hu~=g=L}RyWQz#09d7i`vrP^kw2g*bpvPt_W{vs ztS!^Wp*7mq4S_4Mz!aF3c%CLk7ibmLZ)FEsF9KimDqfre;sL-J9-s&Y3K@ar%_nlF zf#HIv91-5J>|h-&DIst56GALPK!vA`JSz-dXT0&EZ>od)3o0C4a2emjzsk0CD1O)tQR&XmpOtRtsY zH?Z8*waKHp545KM7R_$Th{gQ;Af0;)%@^+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VS)2~YyGc046Ly&kdU7>h)wBW{DGp*M(y?NGw* zN-f2_!l(G-zeQ0}h4A~KaJ*DZ)tviPl7&T1bUW{N(e0-{ugx+|Pmxu@qw|LxhuS?# z&_;e%$MX6ENK{<(AQF-6WNSQ59reYSR=e8U|; zD`+xkZ}HWBUX{yem31?+tV~OGqmy}?GRXs~^^rB54-ePR3kks;S5TQ58Sis5{;O{& zht`bvebi03Q|z+;*5o$7mzKH(1k{bMNF=G|q0s_h;-mZC zmX1pb#o^(&H8HiPAW&@KWzZIa{F%&59)8)~B+EueN5@SISORBi%!CjE%~L&i-$0M9 zD9s{_#iM{fmDSbNKIn&F6I&T@p=m_;ZC&Nfrtje!Cy+YYEz*Nx69YLU`D-1h9(T8ewh2QjWu?jpI$3}IU*FU0uD~&p7JfsN9Nk>s` znwpyWIr`v3bTl(lRMdwLV@K~N7cHtVCm9N!zlpT=n?3WtJvmZWM_(n@Gb-Hn@NkxG zc4OoGMun4_+K`BMiCCwYvT}Cs9}@WzFE4(BP+V-_^wPmt`In=uPELLy&*VR!GJowa if&UW%Q^z^Sd_bdKCN@y!)sKIUc%q`IT%u_C`hNhXR238e literal 0 HcmV?d00001 diff --git a/tasks/base/assets/assets_base_popup.py b/tasks/base/assets/assets_base_popup.py index 8dd647200..25641db11 100644 --- a/tasks/base/assets/assets_base_popup.py +++ b/tasks/base/assets/assets_base_popup.py @@ -116,3 +116,13 @@ POPUP_SINGLE = ButtonWrapper( button=(578, 451, 705, 489), ), ) +POPUP_STORY_LATER = ButtonWrapper( + name='POPUP_STORY_LATER', + share=Button( + file='./assets/share/base/popup/POPUP_STORY_LATER.png', + area=(392, 534, 416, 558), + search=(359, 527, 424, 565), + color=(111, 103, 91), + button=(392, 534, 416, 558), + ), +) diff --git a/tasks/base/ui.py b/tasks/base/ui.py index e355c5747..a29ac16d5 100644 --- a/tasks/base/ui.py +++ b/tasks/base/ui.py @@ -6,6 +6,7 @@ from module.logger import logger from module.ocr.ocr import Ocr from tasks.base.assets.assets_base_main_page import ROGUE_LEAVE_FOR_NOW, ROGUE_LEAVE_FOR_NOW_OE from tasks.base.assets.assets_base_page import CLOSE, MAIN_GOTO_CHARACTER, MAP_EXIT, MAP_EXIT_OE +from tasks.base.assets.assets_base_popup import POPUP_STORY_LATER from tasks.base.main_page import MainPage from tasks.base.page import Page, page_gacha, page_main from tasks.combat.assets.assets_combat_finish import COMBAT_EXIT @@ -395,6 +396,9 @@ class UI(MainPage): return True if self.appear_then_click(INFO_CLOSE, interval=5): return True + # Popup story that advice you watch it, but no, later + if self.appear_then_click(POPUP_STORY_LATER, interval=5): + return True return False