Hi,
one of my colleagues stumbled over this maybe-bug:
Playing "Giant Ice Asteroid" and then clicking the button to choose a location results in an Input Error. After reloading the page the first ocean tile is placed. After choosing the location for the second ocean tile there is another Input Error (one of that generic errors that sometimes occur) and after reloading the second ocean tile is placed, but the card is still in the hand and playable. You can see it on this screenshot:
https://abload.de/img/4343434ffjqy.png
You can see that 9 ocean tiles are placed and that the card is still in the hand.
Steps to reproduce:
As another bug was filed today on an older commit was this also on the same version as #248 ?
Yes, indeed. I had no time to update my server yet.
@dabewi is it still actual?
Hi.
Currently I'm not home and can't restart my server ( will be able to do that on saturday). In the meantime the Giant Ice Asteroid was played without any errors in another game (but on the same server). So I think if it is a bug than it has to do with the order in which you click the "select space" buttons.
The colleague who encountered the bug clicked on the bottom button first and not on the upper one. The colleague who didn't encounter the bug clicked on the upper button first.
Also, the Ice Asteroid (not the giant, the regular one) which also placed two ocean tiles doesn't have two "Select space" buttons visible at the same time but allows to only place the two ocean tiles one after another.
Ok, thank you for clarification. We will try to reproduce and fix this incorrect behavior
Hi,
I can take care of this.
Now we have multiple interrupt mechanism, I plan to move all the SelectSpace (including oceans) that require a player input to be handled when resolving the card to a single point interrupt that will be resolved after the card is played.
This should make cards like GiantIceAsteroid much easier to handle, as well as all temperature increase (because they could trigger a free ocean).
Moving everything to the interrupts queue should be fine and make things easier to track and process.
I've pushed some changes in oceans-rework branch.
Can you please test it ?
(for testing purpose, Giant Ice Asteroid is always available in starting hand)
Fixed and merged
Most helpful comment
Hi,
I can take care of this.
Now we have multiple interrupt mechanism, I plan to move all the SelectSpace (including oceans) that require a player input to be handled when resolving the card to a single point interrupt that will be resolved after the card is played.
This should make cards like GiantIceAsteroid much easier to handle, as well as all temperature increase (because they could trigger a free ocean).