News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Game crash and sheep causing giant jam

Started by Ronan, October 05, 2010, 02:38:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ronan

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 : simutrans: simline.cc:48: simline_t::~simline_t(): Assertion `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

Dwachs

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.

IgorEliezer

Quote from: Dwachs on October 05, 2010, 06:00:45 PM
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.

Dwachs

Quote from: IgorEliezer on October 05, 2010, 09:29:47 PM
Another thing, yesterday I saw a miracle: sheep were walking on the sea.
:) should be fixed in the meanwhile.
Parsley, sage, rosemary, and maggikraut.

wernieman

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

vilvoh

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

Escala Real...a blog about Simutrans in Spanish...

Spike

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

Dwachs

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.

Ronan

Thanks, that was quick!

Quote from: vilvoh on October 06, 2010, 12:19:24 PM
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?

Dwachs

Quote from: Ronan on October 06, 2010, 07:17:50 PM\
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.

Ters

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.

dekema2

I am having the same problem except when I zoom in, the game automatically shuts off.

Dwachs

Quote from: dekema2 on November 24, 2010, 07:46:33 PM
I am having the same problem except when I zoom in, the game automatically shuts off.
In your case the crash seems to be triggered by the zooming. Did you really get the same error message as the thread starter??

Which version of simutrans? Which kind of graphic pak? Operating system?

Parsley, sage, rosemary, and maggikraut.