Open cheweytoo opened 3 weeks ago
Hi, thanks for reporting! Could you attach the savegame?
Sort-of-reduced testcase, "Ghost Town" scenario:
"Hyper Twister 1" is the coaster triggering this issue. It goes away if I set the Price Manager option "Limit prices to" to 20.00.
I guess there's a scenario setting limiting prices to 20.00?
In the past it was ok to set the price higher than 20 GBP via plugins, it was just the vanilla UI that did not allow it. Maybe this was changed?
Caused by https://github.com/OpenRCT2/OpenRCT2/pull/22227 For everyone having the same issue: Enable a price limit of 20 €/$... (or less).
I will limit this to 20 in the next release, which is not planned yet.
Oh, good find! I was just about to do some bisecting with dev builds…
Wow, this will have serious consequences for cash flow in my bigger parks, where there are many rides with more-than-20 price potential.
Turns out the effect on park finances is not as big as I expected – at least for parks with lots of guests, where lower prices can be partially compensated by more guests going on rides: https://github.com/OpenRCT2/OpenRCT2/pull/22227#issuecomment-2211987572
I have built a new coaster with stats:
On the newest OpenRCT2 dev build (9d8d455), every time this plugin tries to set a ride price on this coaster, it fails with the following error message in the OpenRCT2 console:
ERROR[/__w/OpenRCT2/OpenRCT2/src/openrct2/actions/RideSetPriceAction.cpp:69 (Query)]: Attempting to set an invalid price for rideIndex 24
Additionally, there's a popup with "invalid parameter" in the game: