The International Simutrans Forum

 

Author Topic: r1986 - Some convoy of old games jump out before and cause dead-lock  (Read 4338 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
simutrans r1986 GDI

When I load the savegame which was saved in v100.0, some convoy jump out before and cause dead-lock.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #1 on: September 01, 2008, 06:10:30 AM »
Another one.

By the way, some wagons keep wrong position after loading.
But I can't make a test case yet.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #2 on: September 01, 2008, 08:24:06 PM »
Well, now the laoding routine will not touch convois, thus their length will be wrong until reaching a station.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #3 on: September 02, 2008, 03:42:48 AM »
Thank you.

Well, now the laoding routine will not touch convois, thus their length will be wrong until reaching a station.

Does this mean that their length will be corrected when reaching a station ?

It was true, if the station was terminal and the direction of vehicle was changed.
But if the station was through station, its length was never changed when reaching a station.

I attached a new test game which was saved in v100.0.
This has two problems.
- The long convoy will not collect their length when reaching a station.
- The short convoy, which is not short but is short because there is a signal front of depot, will not correct their number of wagons when reaching a station.

Is this an another problem ?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #4 on: September 02, 2008, 08:41:04 AM »
Yes, this is true, but nevertheless difficult to fix consitently. I will think about this though.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #5 on: September 03, 2008, 06:14:32 AM »
Tested in r1990. The last problem seems to be solved. Thank you.

EDIT: When I load the game in r1990, many overtaking train problem happenes.
So, this fix maght be not good.



And the other problem happened.

If I save the game when convoi is on diagonal track, spaces between wagons will be broken.
« Last Edit: September 03, 2008, 08:03:34 AM by z9999 »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #6 on: September 03, 2008, 08:26:22 AM »
Reservations were not restored, and the position fix was also done during saving. Check with nightly please.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #7 on: September 03, 2008, 11:42:42 AM »
Thank you. Tested in r1991.

Reservation problem is solved.
But saving problem is still there.

In r1991, when I click "save" button, spaces between wagons wasn't broken. (Good)
But when I load this saved game, spaces between wagons was broken. (Bad)

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #8 on: September 03, 2008, 06:24:09 PM »
It's working well in r1992. Thank you.

One problem is, as yoshi wrote in another topic, if I set "diagonal_multiplier=512", the vehilce movement on diagonal tracks is not smooth. (Like a billiard)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #9 on: September 03, 2008, 08:18:38 PM »
Because the correct value was 1024 ...

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: r1986 - Some convoy of old games jump out before and cause dead-lock
« Reply #10 on: September 04, 2008, 05:26:39 AM »
Thank you. All problems was solved in r1994.