That's the eternal problem with tile -939: its image (without a city) does
not correspond to its functionality (which includes a city).
I probably have regenerated tiles/Tiles.xml and 1830/Tiles.xml at some
point; doing that will inevitably overwrite any customizations.
However, now that we can separate tile image and tile description for
preprinted tiles too, a persistent solution is finally at hand.
The 'Goderich' tiles that exist in 1856, 18EU and 1830 Coalfields have been
redefined as tile -903 in Map.xml, but the picture shown will remain to be
-939.
The tile description XML of -903 applies to this case, if supplemented with
the run-through attribute in Map.xml.
Tile -939 has been removed from Tiles.xml and TileSet.xml of these games, as
it is no longer needed there.
Arne's test case now shows a D-train route of $820, including both Chicago
and the Gulf, which is what he expected.
I could also test 18EU, but I don't have a good test case for 1856.
Erik.
> -----Original Message-----
> From: Stefan Frey [mailto:ste...@we...]
> Sent: Sunday, March 25, 2012 1:09 PM
> To: rai...@li...
> Subject: Re: [Rails-devel] Fwd: Bug in 1830 Coalfields
>
> Arne:
> thanks for catching this bug.
>
> Actually that was an easy one to identify as this bug has been fixed (at
least
> once) before but returned into the code again.
>
> This is the Goderich (-939) tile missing the station tag in Tiles.xml.
> The last commit to this Tiles.xml by Erik reverted the correct defintion
again. I
> could have fixed this manually now, but as I know that Erik has an (semi-
> automated) creation process of Tiles.xml I would prefer him to look what
had
> this bug return again.
>
> Stefan
>
>
> On 03/24/2012 12:55 PM, Arne Östlund wrote:
> > 1830 Coalfield with the run through through Chicago and Gulf does not
> > count right. I think Rails counts them as $0 for revenue. In the
> > example file attached B&O runs for $730. But with a manual count B&O
> > can gain
> > $820 running through both Gulf and Chicago, The route shown ought to
> > be
> > $790 not $730. I.e. The Gulf is not counted by Rails. The same is true
> > for Chicago.
> >
> > Regards,
> > Arne Östlund
> >
> >
> >
> > ----------------------------------------------------------------------
> > --------
> > This SF email is sponsosred by:
> > Try Windows Azure free for 90 days Click Here
> > http://p.sf.net/sfu/sfd2d-msazure
> >
> >
> >
> > _______________________________________________
> > Rails-devel mailing list
> > Rai...@li...
> > https://lists.sourceforge.net/lists/listinfo/rails-devel
>
>
>
----------------------------------------------------------------------------
--
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-
> msazure _______________________________________________
> Rails-devel mailing list
> Rai...@li...
> https://lists.sourceforge.net/lists/listinfo/rails-devel
|