The International Simutrans Forum

 

Author Topic: Loading wrong when loading  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Loading wrong when loading
« on: April 29, 2014, 03:49:58 PM »
With r7160 and r7178, I experience that vehicle's loading state is messed up upon loading a save game, causing them to stop waiting for the set load and just start driving. I think this is related to the version bumping, so it should be a one-off happening for each game. (At least I can't reproduce it with savegames saved with affected revisions.) Still, it might cause some havock for players when lots of vehicles start moving simultaneously. There might also be economic consequences of having many vehicles moving around without the necessary load to make a profit.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: Loading wrong when loading
« Reply #1 on: April 29, 2014, 05:39:13 PM »

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1326
Re: Loading wrong when loading
« Reply #2 on: April 30, 2014, 07:05:26 PM »
r7152 broke the 'month wait time' function completely.  max_ticks_waiting was only decreased when wait_lock==0.

Possibly better with r7180...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: Loading wrong when loading
« Reply #3 on: May 01, 2014, 09:23:53 AM »
thank you for the fix.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4601
  • Languages: EN, DE, AT
Re: Loading wrong when loading
« Reply #4 on: May 03, 2014, 11:49:47 AM »
there was still a problem with operator precedence, should be fixed in r7191