Giter Site home page Giter Site logo

Comments (5)

Apricot-S avatar Apricot-S commented on August 22, 2024 1

a13da26 にてdevelopブランチでの修正をmainブランチにバックポートしました

@smly
報告のあったメッセージには対応したため、このIssueは閉じてもよろしいでしょうか?
現時点ですべての6時をまたいだときに来るメッセージに対応するのは難しいと思います

from majsoulrpa.

Apricot-S avatar Apricot-S commented on August 22, 2024

現在HomePresentationにある_discard_messages_across_datesのような処理を挟めばよいですが
対局中は無駄な処理で操作が遅れるのも問題であるため調整が必要かもしれません。

また、6時をまたいだ際のメッセージは基本的に読み捨ててよいですが、payMonthTicketだけは開運御守の演出があるか検出するために必要となります。
対局中でもpayMonthTicketがやりとりされるのか、それともホーム画面に戻ってからやりとりされるかをまず調査する必要があります。
対局中にもやりとりされる場合、HomePresentationではpayMonthTicketの有無に関係なく開運御守を検知する処理が必要かもしれません。

from majsoulrpa.

Apricot-S avatar Apricot-S commented on August 22, 2024
* `('inbound', '.lq.NotifyActivityTaskUpdate',  {'progresses': ...})`

* `('outbound', '.lq.Lobby.fetchShopInterval', ...)`

上記2つについては 1b40699 にて対応しました

他に6時をまたぐメッセージがないか確認が必要です

from majsoulrpa.

Apricot-S avatar Apricot-S commented on August 22, 2024

9c9c1c4 にて対応後、6時をまたいでもエラーとならないことを確認しました。
私の環境で6時をまたいだ際にやり取りされたメッセージを以下に記載します。
logに表示された順に記載します。

...
('inbound', '.lq.NotifyDailyTaskUpdate', {'progresses': ...
('inbound', '.lq.NotifyShopUpdate', {'shop_info': ...
('inbound', '.lq.NotifyAccountChallengeTaskUpdate', {'level': ...
('inbound', '.lq.NotifyAccountUpdate', {'update': ...
...
('outbound', '.lq.Lobby.fetchShopInterval', {}, ...
('outbound', '.lq.Lobby.fetchActivityInterval', {}, ...
...
('outbound', '.lq.Lobby.fetchShopInterval', {}, ... (注: 2回目のやり取りがされている)
('outbound', '.lq.Lobby.fetchActivityInterval', {}, ... (注: 2回目のやり取りがされている)
...

上記logでは.lq.NotifyActivityTaskUpdateはありませんでしたが、MatchPresentationで読み捨てるメッセージとしては追加しています。
開運御守があるかどうかやイベント期間中かどうかでメッセージの種類が変わると予想されるため、現時点での完全な対応は難しいかもしれません。

from majsoulrpa.

smly avatar smly commented on August 22, 2024

@Apricot-S 差分を拝見しまいた。問題なさそうです。ご対応ありがとうございます!

from majsoulrpa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.