The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: zook2 on February 03, 2014, 06:47:49 PM

Title: (0.9.1) Fruit Cannery upgrade
Post by: zook2 on February 03, 2014, 06:47:49 PM
A message told me that a producing fruit cannery had been upgraded to a fruit cannery (in 1892). It now consumes steel instead of wrought iron and apparently, its remaining storage of iron was changed to steel. Unfortunately, it is still linked only to an ironworks, which does not produce steel.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: jamespetts on February 03, 2014, 07:46:51 PM
Have you let the game run for a further month to see whether it will relink at the beginning of the next month?
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: zook2 on February 03, 2014, 09:13:41 PM
No luck. The ironworks is still linked.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: zook2 on February 10, 2014, 09:46:22 PM
It finally relinked, after a year or so.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: jamespetts on February 10, 2014, 10:29:19 PM
Thank you for letting me know. I shall have to look into making the relinkings quicker. This is a code issue rather than a pakset issue, however, so I am moving this thread to the appropriate forum.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: zook2 on August 15, 2014, 12:30:42 PM
This may not really be a bug, but I noticed that the cannery from my original post, while linked to a steel mill now, is still linked to the ironworks, which still produces wrought iron. This is not a gameplay problem, but an incorrect link and I wonder whether this could cause a code hiccup at some point, maybe in a different situation.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: jamespetts on August 15, 2014, 08:43:15 PM
Hmm, this may be a bug. I shall have to look into this. Thank you for your report.
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: DrSuperGood on August 16, 2014, 12:24:26 PM
It also appears such industries keep a log of all their former products. For example on the multiplayer server most Builder's Yards still have graphs for Stone and Wrought Iron despite neither being consumed for several decades.

I am guessing new products are appended to the chart system yet old ones never are removed (they leak)? I understand the graphs around the immediate time of replacement as there still may be in-transit amount however once in-transit and consumption for a good no longer used by an industry reaches 0 (the graphs are empty) then it should remove the good from the graphing system. This would appear overall neater to users and also save on some memory (and possibly save size? not sure if the graphs for un-used goods are saved).
Title: Re: (0.9.1) Fruit Cannery upgrade
Post by: jamespetts on February 18, 2017, 12:32:28 AM
I have just been looking into older bug reports to see what may still be outstanding. Has anyone been able to reproduce anything like this recently?