The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: wlindley on December 01, 2014, 01:33:29 PM

Title: All industry production stuck at zero?
Post by: wlindley on December 01, 2014, 01:33:29 PM
Back to playing Standard after a long time.  I downloaded nightly (r7386) and the nightly Pak128.Britain but no matter what I do, industry production stays at zero and no goods are ever produced.  I've been at this since 2008 and yes I checked to make sure everything was connected properly... am really at a loss to what I might be doing wrong?

Save file: http://wlindley.com/simutrans/nogoodsproduced.sve
Title: Re: All industry production stuck at zero?
Post by: Yona-TYT on December 01, 2014, 03:11:31 PM
I have the same problem, I guess it is because of the patch "JIT2".  ???
Title: Re: All industry production stuck at zero?
Post by: DrSuperGood on December 01, 2014, 04:10:20 PM
The actual reason is because of incorrect maximum in-transit handling as a guess.

It works fine if you use JIT1 with some maximum in-transit amount (such as 2000%) and works fine in JIT2 mode (which I recommended). It just does not work in JIT1 mode with 0% maximum in-transit. I will see if I can get a patch for it ready.

EDIT:
Yes the issue was it did not expect 0 maximum in transit percentage in JIT0/1. The attached patch should fix that.
Title: Re: All industry production stuck at zero?
Post by: prissi on December 01, 2014, 09:32:59 PM
Thanks, incorporated.