News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

r5065 Factories demands neither pax nor mail.

Started by Train-catcher, December 30, 2011, 04:54:25 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Train-catcher

Here there is. Factories stopped demand any pax/mail in either savegames or new maps.
I,ve enabled a "factory_enforce_demand" and set "factory_arrival_periods" to 4 and started a new game. The result of these steps is on the screenshot.




P.S. I usually use a cyrillic charset (cyrillic names) and a Russian translation. And when I've switched a language to English, cyrillic name becomes unreadable (see the screenshot). Is this a bug too?

Václav

To no passengers and post demand: it is strange but not bug-like. Mostly if any town is very small, no passengers and post may be needed. But that no one of those three towns give passengers and post is very strange.

So for this case I have to have one minor addictional question: is this similar for all factories you have in that game?

To conflict between English and Russian alphabets: it is right because game does not use UTF-8 fonts - but fonts special for each alphabet - and so font for English language does not know letters of Russian language.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

If the factory does not demand workers in the beginning, it might be correct. What pak exactly?

VS

Ahhh... looks like the parameters did have different meaning, then. I added the following:

*_demand = 0
*_boost = <number>

So, demand is what causes boost? I thought it was needed for actually producing...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Václav

#4
... I have this situation in current game too (and I play with 5052) - with few factories. Some ones (mostly source factories) show zero ?demand - and some show any number. So, I think that it may not be bug - but case of wrong translation or so.

-->
But it is quite strange - because at first one factory showed demand of people and post ... and few whiles ago this demand ended.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

TurfIt

#5
Quote from: Train-catcher on December 30, 2011, 04:54:25 PM
P.S. I usually use a cyrillic charset (cyrillic names) and a Russian translation. And when I've switched a language to English, cyrillic name becomes unreadable (see the screenshot). Is this a bug too?
Some strings are only passed through the translator upon opening of the dialog. Changing the language with dialog open results in what you got. Close/Reopen the dialog should fix it.
Edit: didn't read close enough. names.. First reply is correct, english (latin) font can't display those characters.

Quote from: VS on December 31, 2011, 07:50:15 AM
Ahhh... looks like the parameters did have different meaning, then. I added the following:

*_demand = 0
*_boost = <number>

So, demand is what causes boost? I thought it was needed for actually producing...
Current pak128 svn source does indeed have all *_demand=0. Which does exactly as stated, 0 demand.
See Topic: Relation of factories and passengers/mail reworked
The _demand settings replace the pax_level setting for proportioning the distribution of the generated passengers. i.e. Leave out the _demand settings (or set = 65535) and it falls back to the old pax_level routine for compatability with old paks. If _demand is specified, then pax_level is ignored in the new algorithm.

Value is the total number of passengers per 18bit month that will be sent to the factory from all attached cities. (Not strictly true as there is some oversupply, but a good enough explanation for pak creation purposes...). Delivering enough passengers to meet the demand is what causes full boost. If a player only delivers 1/2 the demand, then only 1/2 the boost is in effect. Even with 0 passenger supply, the factory will still produce at its base production rate. Boost is always an increase to that.

---
This is more a pak issue than code... although the code could check for 0 demands and not display the linked cities. But that would probably spawn even more bug reports...

Train-catcher

Ok, thanks for all explanations!
Now, we are waiting for pak developers adding new modifiers to industries)
Happy new year all)

VS


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!