Using parameters with DB Set doubles train prices?

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
Dropzone
Traffic Manager
Traffic Manager
Posts: 178
Joined: 04 Apr 2005 21:38
Location: North Lincs., UK

Using parameters with DB Set doubles train prices?

Post by Dropzone »

I am having a rather strange problem with the DB Set. It seems that if I supply any parameters to the set (I was trying to enable random livery for tankers and steel wagons), the prices of all rail vehicles, and also rail depots, are exactly doubled. For example, if I have the line "newgrf/dbsetxlw.grf" in my newgrfw.cfg, then in the year 1950 a BR45 costs £25,000, and a rail depot £2,420. If I change the line to "newgrf/dbsetxlw.grf 6" (or any other parameter), the same BR45 will cost £50,000, and the depot will cost £4,840. Other vehicles (e.g. trucks) are NOT affected - neither are rail tracks or stations. Income from trains is also not affected. The change in prices doesn't seem to get saved in savegames - adding a parameter causes prices to be doubled even when you load a game saved without a parameter there, and vice versa.

I am using the Windows version of TTD. I have version 2.0.1 alpha 48 of the patch, and I am using DB set version 0.81. This problem happens even when the DB set is the only line in newgrfw.cfg. I have attached my ttdpatch.cfg file.
Attachments
ttdpatch.cfg
(4.26 KiB) Downloaded 52 times
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Did you read the manual?
User avatar
Dropzone
Traffic Manager
Traffic Manager
Posts: 178
Joined: 04 Apr 2005 21:38
Location: North Lincs., UK

Post by Dropzone »

Yes... and unless I'm missing something, it doesn't say anything about this happening. The only thing it mentions about changing the price of trains is:

"If used with the "hard" setting for building cost the DB set uses real historical prices, at least for the early and medium engines but not for the modern ones - an ICE-1 would cost 50 million DM."

It doesn't mention anything to do with a connection between parameters and train prices - not even in the known bugs section.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I believe the higher prices are what it should be by default. It might be a bug that you get the lower prices at all by leaving off the parameter.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
Dropzone
Traffic Manager
Traffic Manager
Posts: 178
Joined: 04 Apr 2005 21:38
Location: North Lincs., UK

Post by Dropzone »

Ah, okay - I hadn't thought about it that way round. Guess I'll leave the parameter there, then :)
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 16 guests