Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gentle-knight-13 opened this issue Aug 21, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@gentle-knight-13
Copy link
Contributor

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
Copy link
Contributor Author

Thanks for the fix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants