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

Crash during game - cargo.StoredCount() #5897

Closed
DorpsGek opened this issue Feb 5, 2014 · 6 comments
Closed

Crash during game - cargo.StoredCount() #5897

DorpsGek opened this issue Feb 5, 2014 · 6 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 5, 2014

Hungerford opened the ticket and wrote:

Game crashes with message "Assertion failed at line 1592 of ..\src\economy.cpp: v->cargo_cap >= v->cargo.StoredCount()". Wasn't doing anything in particular at that time - I was just scrolling the map.

Attachments

Reported version: 1.4.0-beta3
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5897
@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

fonsinchen wrote:

Do you have a savegame from some time before the crash? The last autosave maybe?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897#comment13019

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

Hungerford wrote:

These are the last four autosaves.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897#comment13020

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

fonsinchen wrote:

Train 19 enters the depot on February 22nd and leaves it with less capacity, but still the same amount of cargo on its mail wagon. Thus the mail wagon is overloaded. The next time it tries to load the assert is triggered.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897#comment13021

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

Hungerford wrote:

So it's a bug then?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897#comment13022

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

fonsinchen wrote:

It's a but in openttd and another one in the newgrf. OpenTTD either shouldn't allow changing of capacity there or it should also truncate the cargo. The newgrf shouldn't make the cargo capacity dependent on current speed or similarly silly things.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897#comment13023

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 8, 2014

frosch closed the ticket.

Reason for closing: Fixed

in r26317


This comment was imported from FlySpray: https://bugs.openttd.org/task/5897

@DorpsGek DorpsGek closed this as completed Feb 8, 2014
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant