The International Simutrans Forum

 

Author Topic: 120.1.3 Factory supplied with all necessary supplies but production is zero  (Read 2688 times)

0 Members and 1 Guest are viewing this topic.

Offline xiaopeng

  • *
  • Posts: 7
  • Languages: EN, CH
Originally posted in the French forum, as I am using some of the addons from the SNFOS site: http://forum.simutrans.com/index.php?topic=13782.msg151139#msg151139

The problem is with a French industry addon--the perfume factory. As the screenshot shows, it is supplied with chemicals, glass, and flowers, but production is zero. Gauthier suggested I repost here as there might be a bug in the game itself.

Details: I'm running 120.1.3 on a Windows 10 laptop. Pak128 with a variety of French and other addons.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
There was some underflow issue when the new production model JIT2 was patched in. What production model do you use?

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1323
I don't believe zero output storage is supported...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Ups, I missed this obvious. Yes, minimum output must be 11 in the default JIT

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2618
  • Languages: EN
The factory is producing perfectly. It is correctly stopping when its output is full as intended.

What makes no sense is a factory with 0 output storage. There is no room for it to put any product.

Should loading the pakset of such an impossible factory assert an exception? Or should it try to auto correct to some default value (eg 100 storage)?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5454
  • Languages: EN, NO
I'd say that compiling said pak should fail. It is so trivial to check that there is no reason to delay it. If the faulty pak can be expected to circulate for some time to come, doing something at loading time might be an extra feature.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
I am with Ters, makeobj should fail (or set a default storage and warn).

Offline gwalch

  • Devotee
  • *
  • Posts: 995
Ok guys, i've found the mistake ; the parameter [OutputCapacity] was missing into dat file. But makeobj didn't fail at any time (log file was empty).
The new pak file (with correct parameters) is available on SNFOS website.