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

[Auto] Auto actions don't drop at the start of SR1. #6324

Open
Auzzy opened this issue Sep 9, 2021 · 4 comments
Open

[Auto] Auto actions don't drop at the start of SR1. #6324

Auzzy opened this issue Sep 9, 2021 · 4 comments
Labels
auto actions Problems/requests relating to auto(programmed) actions minor bug A minor bug that doesn't impact game play (erronous logging)

Comments

@Auzzy
Copy link

Auzzy commented Sep 9, 2021

Game link: https://18xx.games/game/55612?action=38

At the beginning of new rounds, auto actions normally disable. However, if you set auto-pass during the initial private auction, it does not disable at the beginning of SR1.

@magnusrk-ch
Copy link
Collaborator

Auto actions clear on round change, if the new round is the wrong kind. So if you have a stock round auto action it will clear if the round changes to operating, auction, or something else that's not stock.

In the game link above, the round was not stock, but you set a stock auto action anyway. Then the round changed to stock, which doesn't clear the action, and the auto pass started taking effect.

It doesn't seem to me that anything should be changed here. We could disallow setting auto actions for rounds that aren't currently active, but setting an auto action for an upcoming SR seems like a valid thing to do.

@magnusrk-ch
Copy link
Collaborator

I guess the question to ask is why you set an SR auto pass action if you didn't want an SR auto pass action?

@Auzzy
Copy link
Author

Auzzy commented Dec 2, 2021

In 18CO (and most games which have an auction), you may want to pass bidding unless someone outbids you. This is even more useful in 18CO, since its initial auction can be a bit long due to not ending until everyone passes in a row. So I set the auto pass action on the Auction Round. When it changed to a Stock Round, the pass that was set on the Auction Round didn't clear.

@magnusrk-ch
Copy link
Collaborator

Does that actually work? As the name says, "Auto Pass in Stock Round" is only intended for stock rounds. I don't see anything in the code that would make it work in the auction.

@scottredracecar scottredracecar added minor bug A minor bug that doesn't impact game play (erronous logging) auto actions Problems/requests relating to auto(programmed) actions and removed needs triage labels Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto actions Problems/requests relating to auto(programmed) actions minor bug A minor bug that doesn't impact game play (erronous logging)
Projects
None yet
Development

No branches or pull requests

3 participants