Train Refits a Source of Revenue - Negative Cost

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Train Refits a Source of Revenue - Negative Cost

Post by Flamelord »

I would like to submit a more useful bug report, but I fear I cannot. Here is what I have:

I recently noticed that sometimes when I went to refit a train, it would give me money instead of costing money. I found this rather strange, so I waited to see if it was a one-time glitch or a recurring problem. After several rather unsuccessful attempts to recreate this problem, I finally gave up. Not long after, it recurred. This is at least the third or fourth time it has happened, so I took a screenshot to show you. This happens regardless of which depot it is in, or what year it is. I believe it only happens with new locomotives, but I could be wrong.

The actions I took while accidentally creating this scenario:

-Saw a train wreck and began to assemble a new train in the depot. Before I began I paused the game.

-Went to refit the engine after adding 12 Wood Trucks. Discovered a negative cost. Refit anyway.

-Assigned orders by clicking on the train it was to replace with the "Go-To" command.

-Dragged screen to an empty portion of map, close all but the relevant windows and took a screenshot.

I'm going to attempt to recreate this reliably to gain more information, but I think that the game needs to be paused while creating the train, it needs to be late in the game, and I think it needs to be a completely new train. I'll try things out later.

Thanks in advance for your help.

The files:
Attachments
configuration.zip
The config files. Am I missing anything?
(1.95 KiB) Downloaded 39 times
TRP01.SV1
The Savegame, Slendston Transport.
(471.61 KiB) Downloaded 44 times
An image of the glitch in action.  The price is the same for all refits except Wood.  It's 0 because that's what ithe train is refit for currently.
An image of the glitch in action. The price is the same for all refits except Wood. It's 0 because that's what ithe train is refit for currently.
SCR7.png (162.26 KiB) Viewed 395 times
Additional Livery Set
Official TT-Jewel Staite FanClub
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Looks like it's bug with the new cargos.
I'd wait for next alpha relase, which should get rid of that bug
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

MeusH: Newcargos doesn't touch the refit cost calculation, so I doubt it's causing the problem. And BTW, bugs don't just magically fix themselves, so waiting for a fix without actually helping the devs finding it is rather useless :roll:
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

OK, I've checked it out.

This is simply an overflow due to an extreme amount of inflation it seems. Nothing much you can do at this point, I'm afraid. The refit should cost about that amount but as a positive number, at least according to the stats that are in your game.

I'm not sure how this extreme amount of inflation could happen though, but now that it has, it's impossible to undo without hex-editing the savegame.
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.
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

By not using the noinflation switch?

It seemed to progress naturally, the prices all went up at a reasonable rate as far as I could tell. I just started to wonder how Purno was still running that game in 3000-ish without "Government Subsidies" (read: "Cht: Money 2000000000") every year or so.

Oh, and my noinflation switch doesn't seem to work with new or old games (loaded from pre-existing file), but that may be caused by human error, I'll have to look.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

noinflation does not undo previous inflation, it just stops it in the future.
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.
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

Yes, I know. I did read that much of the switch's page in the Wiki. However, it does not seem to stop future inflation, or even prevent inflation in games started with the switch active.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

All I can say is, it works here. I just fast forwarded 16 years, and none of the prices changed with noinflation on.
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.
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

Fast Forwarded? What do you mean? The Cht: Year wouldn't change the prices, and I don't know of any game-speed modification features... You have confused me. Would you mind explaining?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

If you have the gamespeed switch on, press "e" three times and minimize the window. It'll run at about a month per second.
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.
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

actully I suggest pressing it twice, third time will use 100% of cpu (while twice uses very less) and speed diffirence is not much
what are you looking at? it's a signature!
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Speed difference depends on how fast your CPU is ;)

After pressing twice, it'll run four times as fast. The third press will make it run as fast as the CPU is capable of doing, which here is about 20x the speed if there aren't many vehicles yet and you minimize the window.
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.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 12 guests