The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: danielrubens on April 23, 2014, 07:39:37 PM

Title: Signal ''NO CITY CARS''
Post by: danielrubens on April 23, 2014, 07:39:37 PM
This signal no works for me, it doesn't allows bus to going on, but allows cars to pass  ???
(http://japanese.simutrans.com/index.php?plugin=ref&page=Addon128%2FRoadTools%201&src=no_city_car_smple.png)

I got from http://japanese.simutrans.com/index.php?Addon128%2FRoadTools%201


My version
112.0
Pak 128 2.2
Title: Re: Signal ''NO CITY CARS''
Post by: Ters on April 23, 2014, 08:26:00 PM
Quote from: danielrubens on April 23, 2014, 07:39:37 PM
it doesn't allows bus to going on, but allows cars to pass

Is that what it is supposed to do, or what it is actually doing?
Title: Re: Signal ''NO CITY CARS''
Post by: danielrubens on April 23, 2014, 08:37:18 PM
Quote from: Ters on April 23, 2014, 08:26:00 PM
Is that what it is supposed to do, or what it is actually doing?

It is supposed to doesn't allow city cars on roads, but allow only trucks and buses.
But the opposite happens.
Title: Re: Signal ''NO CITY CARS''
Post by: Combuijs on April 23, 2014, 09:05:23 PM
If it is what I think it is it should only allow your busses and trucks from your own company and keep city cars out.

It is a roadsign with flag is_private = 1

See http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=de_SignaleDef (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=de_SignaleDef)

Do you have the source .dat file available?
Title: Re: Signal ''NO CITY CARS''
Post by: danielrubens on April 23, 2014, 09:54:46 PM
Quote from: Combuijs on April 23, 2014, 09:05:23 PM
If it is what I think it is it should only allow your busses and trucks from your own company and keep city cars out.

It is a roadsign with flag is_private = 1

See http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=de_SignaleDef (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=de_SignaleDef)

Do you have the source .dat file available?

Title: Re: Signal ''NO CITY CARS''
Post by: Combuijs on April 24, 2014, 11:27:43 AM
The flag is there, so that is not the problem. Strange, especially since behaviour seems to be the other way round
Title: Re: Signal ''NO CITY CARS''
Post by: Leartin on April 24, 2014, 11:37:24 AM
Wouldn't that happen if you build it with the public hand instead of the player?
Title: Re: Signal ''NO CITY CARS''
Post by: Combuijs on April 24, 2014, 03:14:34 PM
Quote from: Leartin on April 24, 2014, 11:37:24 AM
Wouldn't that happen if you build it with the public hand instead of the player?

Hmm, interesting notion. It would indeed explain the turning away the players buses and trucks (they are not public). And if city cars have the public player as an owner they are allowed. On the other hand, city cars might have no owner at all, which is different from the public player. Good call anyway!
Title: Re: Signal ''NO CITY CARS''
Post by: danielrubens on May 06, 2014, 07:44:06 AM
You're right Leartin, thanks.