Skip to main content
Topic: Game crash and sheep causing giant jam (Read 5073 times) previous topic - next topic

Game crash and sheep causing giant jam

I didn't find the bug tracker, so I'm posting here. I run 102.2.2 on Ubuntu 10.04 (install from the standard repositories). I've attached a save from a hands-off game which crashes reproducibly after a few game days, with always the same error displayed on the console log :
Code: [Select]
simutrans: simline.cc:48: simline_t::~simline_t(): ****ertion `count_convoys()==0' failed.

Note also that there's a sheep in (299,729) that seems to have been stuck there for years and causes a giant traffic jam involving many hundreds of vehicles. While getting so many vehicles trapped is just another example of the AI's stupidity, the frozen sheep seems a real bug.

Game file: http://simutrans-germany.com/files/upload/crash-jam.sve

Re: Game crash and sheep causing giant jam

Reply #1
Thank you for the bug report.

You can remove the sheep with the bulldozer. These stupid sheep do not find a way from the street. Bug/feature undecided.

The crash is fixed in the next nightlies (rev >= 3856)

http://simutrans-germany.com/~nightly/simutrans/en.html

Alternatively you can try to remove the remove oil business of player 6 (purple) around (793,685), selling the train might be enough. But the crash can happen again.
Parsley, sage, rosemary, and maggikraut.

Re: Game crash and sheep causing giant jam

Reply #2
These stupid sheep do not find a way from the street. Bug/feature undecided.

City limits could block sheep from walking on the urban streets.

Another thing, yesterday I saw a miracle: sheep were walking on the sea.

Re: Game crash and sheep causing giant jam

Reply #3
Another thing, yesterday I saw a miracle: sheep were walking on the sea.
:) should be fixed in the meanwhile.
Parsley, sage, rosemary, and maggikraut.

Re: Game crash and sheep causing giant jam

Reply #4
If there is a way to remove all sheeps?

Or a button, that no sheeps where generatet at start??
I hope you understand my English

Re: Game crash and sheep causing giant jam

Reply #5
I think there's an option for hiding ground objects at simuconf.tab.... :/

 

Re: Game crash and sheep causing giant jam

Reply #6
I guess you can also just delete the sheep pak file.

Re: Game crash and sheep causing giant jam

Reply #7
Yes, one can delete the sheep pak files  if one does not like them. Or use the bulldozer. They will never come back then.
Parsley, sage, rosemary, and maggikraut.

Re: Game crash and sheep causing giant jam

Reply #8
Thanks, that was quick!

I think there's an option for hiding ground objects at simuconf.tab.... :/
AFAICT, setting random_wildlife_probability to 0 disables their creation.

The issue of frozen sheep aside, what I would prefer is for moving objects to have a finite lifetime and be generated dynamically. Is there a setting for that?

Re: Game crash and sheep causing giant jam

Reply #9
\
The issue of frozen sheep aside, what I would prefer is for moving objects to have a finite lifetime and be generated dynamically. Is there a setting for that?
No (not yet).
Parsley, sage, rosemary, and maggikraut.

Re: Game crash and sheep causing giant jam

Reply #10
I have had troubles with urban sheep as well. I wish there was some AI game warden that automatically killed sheep when they enter a town. When my vehicles end up trapped behind a flock on a road outside a town, I would like some notification so I can go take them out myself. The latter will not help much for sheeps in towns, because they are a pain to bulldoze in there. I usually have to bulldoze a bunch of pedestrians and city cars before I get to the sheep, sometimes also taking out stops in the process.

Another problem with sheep is that they often spawn inside a forrest (not the industry type) and can't get out. They just walk back and forth on a single tile (or maybe two). A tree or two should not prevent a flock of sheep from entering a tile. Either change that, or prevent sheep from spawning on tiles they can't get out of.