NateScarlet / auto-derby

🐎🖥《赛马娘》(ウマ娘: Pretty Derby)辅助脚本
MIT License
464 stars 107 forks source link

Random race track and distance races are not selected correctly #351

Closed gentle-knight-13 closed 2 years ago

gentle-knight-13 commented 2 years ago

Description

With the update below, some races now have randomized racetracks and distances, even in the same race. https://umamusume.jp/news/detail.php?id=896

Even with the same race name, the racetracks and distance are randomized, so the score changes depending on the distance aptitude and status, and it keeps looping trying to select a race that doesn't exist.

screenshot:

debug log:

INFO  [2022-08-21 18:37:46]:auto_derby.jobs.nurturing:152: score:   158.91  Race<川崎 dart 2100m G1 JBCクラシック>;11.38 by Item<蹄鉄ハンマー・極#52>;
INFO  [2022-08-21 18:37:46]:auto_derby.jobs.nurturing:152: score:   140.16  Race<大井 dart 2000m G1 JBCクラシック>;8.75 by Item<蹄鉄ハンマー・極#52>;
INFO  [2022-08-21 18:37:46]:auto_derby.jobs.nurturing:152: score:   140.16  Race<船橋 dart 1800m G1 JBCクラシック>;8.75 by Item<蹄鉄ハンマー・極#52>;
INFO  [2022-08-21 18:37:46]:auto_derby.jobs.nurturing:152: score:   140.16  Race<盛岡 dart 2000m G1 JBCクラシック>;8.75 by Item<蹄鉄ハンマー・極#52>;

display race: 船橋 dart 1800m G1 JBCクラシック

auto-derby expected race:

score:  158.91  Race<川崎 dart 2100m G1 JBCクラシック>;11.38 by Item<蹄鉄ハンマー・極#52>;
gentle-knight-13 commented 2 years ago

Thanks for the fix 👍