News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

cargo delivery paused on rotation

Started by Vladki, February 25, 2020, 10:41:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

This may be related to the rotation related crashes, but may be a separate issue.

In this save: https://uran.webstep.net/~vladki/simutrans/cargo-pause-rotation.sve, there is an established oil truck line in berkington, supplying the refinery from nearby oil well. Watch the production of oil well, stored cargo on the loading bay, and cargo loaded on the truck.When the oil well produces some oil, it is almost immediately transferred to the loading bay, and again immediately to the truck. But if you rotate the map, deliveries stop, and produced oil starts to accumulate in the output storage of oil well. When you rotate 4 times to get back to the original rotation, all accumulated oil is immediately loaded.

Also if you run in debug mode - save the log and look for rotate function call. Immediately after that you'll see tons of "remove stale cargo" messages.


Message: karte_t::rotate90():   called
Message: vehicle_t::remove_stale_cargo():       called
Message: vehicle_t::remove_stale_cargo():       called
Message: vehicle_t::remove_stale_cargo():       called
Message: vehicle_t::remove_stale_cargo():       called
Message: vehicle_t::remove_stale_cargo():       called
Message: vehicle_t::remove_stale_cargo():       called