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

Freeze at tile laying step of operating round(1830) #513

Open
alexsaintgill opened this issue Jan 6, 2023 · 9 comments
Open

Freeze at tile laying step of operating round(1830) #513

alexsaintgill opened this issue Jan 6, 2023 · 9 comments

Comments

@alexsaintgill
Copy link

alexsaintgill commented Jan 6, 2023

Hi,

Thanks for your hard work in creating this wonderful program.

I have run this program twice so far for 1830, it is so amazing to help the game play.

However, I experience the program became idle in both trials that even since a 5-trains is bought and a brown tile is laid, the game stopped at the following operating round(5th operating round, in both cases).

When that happened I saw a railroad company was activated for its turn to lay down a track tile, but none of map tiles were reacting for a new or update tile. Skip was also not available, therefore, I got stuck at that moment.

Hopefully, this issue can be fixed so this wonderful program become 'more' towards flawless.

Thanks

@alexsaintgill alexsaintgill changed the title Freeze at tile laying step of operating round Freeze at tile laying step of operating round(1830) Jan 6, 2023
@erik-vos
Copy link
Contributor

erik-vos commented Jan 6, 2023

Hi Alex,
Do you have a saved file that shows the problem?

@alexsaintgill
Copy link
Author

alexsaintgill commented Jan 6, 2023 via email

@alexsaintgill
Copy link
Author

alexsaintgill commented Jan 6, 2023 via email

@erik-vos
Copy link
Contributor

erik-vos commented Jan 6, 2023

The saved file does not show up. GitHub accepts only a limited set of file types. I would suggest to put it into a .zip file.

@alexsaintgill
Copy link
Author

alexsaintgill commented Jan 7, 2023 via email

@erik-vos
Copy link
Contributor

erik-vos commented Jan 7, 2023

Strange, the file still does not appear. Not sure what could go wrong. Could you please send it by email to ***@***?

What you are seeing must be caused by a run-time error somewhere. I tried to reproduce it with one of my old saved files, but did not see anything going wrong, either with the latest release 2.5.0 or with my newer development code. Which Rails version are you using?

@erik-vos
Copy link
Contributor

erik-vos commented Jan 9, 2023

Got the file now, thanks.

There seems to be a problem with handling the upgrades of multi-city tiles, in this case the brown Erie home tile. I suspect an error has crept in while fixing a similar problem in 1837. This is hard stuff, so it may take a bit of time.

@erik-vos
Copy link
Contributor

It turns out that the brown tile lay on hex E11 (the Erie home hex) was illegal. The preceding tile 59 had exits to NW and SW for its two cities, but the new tile 64 now connects these two edges from one city. This has confused the program's housekeeping of stops and connections such that a run-time error occurred.

Of course, Rails should not have allowed this tile orientation, and in the past it worked fine, so there is a real bug behind this issue.

I have mailed Alex a slightly shortened game file, up to just before the error, to continue the game from there if he wants so.

@alexsaintgill
Copy link
Author

alexsaintgill commented Jan 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants