fauxnik / dv-rolling-stock-ownership

A Derail Valley mod that introduces a game mechanic of purchasing and managing rolling stock.
MIT License
5 stars 4 forks source link

Cargo is damaged when respawning train cars #21

Open fauxnik opened 1 year ago

fauxnik commented 1 year ago

Doesn't happen when loco is coupled because player's last loco prevents despawning.

fauxnik commented 10 months ago

If anyone has steps for reproducing this consistently, please let me know.

heizpilz commented 6 months ago

I was able to replicate this:

  1. did a shunting load job and finished it
  2. left the loaded wagon on the output track
  3. traveled with the handcar until the wagons despwan (checking the log for despwan messages)
  4. traveled back to the wagon
  5. everything respawned fine, except the cargo is shown with 0% health on the sign

Because I traveled by handcar the coupled DE2 didn't prevent the despawn (last loco set to handcar).

I didn't find any error in the log file, just the equipment record stuff and the new order generation working. Player_CargoDamage.log

Here are the two save files 00012 with the loaded wagon and 00015 with the damaged cargo. RSO_CargoDamage.zip