autorenew problems

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

User avatar
Den
Engineer
Engineer
Posts: 42
Joined: 08 Dec 2003 18:40
Location: Florida USA
Contact:

autorenew problems

Post by Den »

I'm having problems with trains never autorenewing. There are plenty of depots. If I use 'cht:servint 50' they will all go get serviced, but not renew.

During normal playing they never renew and I always get the "train ## is getting old" messages and then I have to manually replace the engines. I can wait till the train is 2 or more years over it's age limit and still no autorenew. If I send it to a depot manually it will just stop there and not renew. I don't know how it's suppose to work though.

road vehicles seem to renew just fine.



TTDX Configurator 1.82
TTDpatch v2.0.1 alpha 9

current settings

forceautorenew=1
autorenew=-15
servint=905

Seems no matter what I set autorenew to in TTDX Config it always sets to -15 or -16. My current choice is "Before first warning"

Only thing I can see is that I played a majority of the game with servint set to 32000. Maybe that screwed it up.
Attachments
partial screenshot
partial screenshot
old-train.png (39.46 KiB) Viewed 2918 times
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

maybe it is stupid question but do they 'see' a depot ... is there any depot connected to network so that train can itself go to the depot ?
what are you looking at? it's a signature!
User avatar
Den
Engineer
Engineer
Posts: 42
Joined: 08 Dec 2003 18:40
Location: Florida USA
Contact:

Post by Den »

SHADOW-XIII wrote:maybe it is stupid question but do they 'see' a depot ... is there any depot connected to network so that train can itself go to the depot ?
Yes. There are plenty of depots. Usually right at the entrance or exit of a station.

Can I post a savegame in here or do I have to put it in the savegames thread with a link?

Den
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

post savegame with ttdpatch[w].cfg
what are you looking at? it's a signature!
User avatar
Den
Engineer
Engineer
Posts: 42
Joined: 08 Dec 2003 18:40
Location: Florida USA
Contact:

Post by Den »

Here's the savegame and ttdpatch.cfg
note: win2k is set to on
Attachments
den-save_and_cfg2.zip
savegame and ttdpatch.cfg
(198.35 KiB) Downloaded 128 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Interesting, it's a bug in TTDPatch. It considers the engines obsolete, and therefore won't replace them. I'm not sure how exactly this happened, though...

You can fix this by using "Cht: ResetVehicles", although this has some side effects like randomizing reliabilities and so on.

I kind of wonder if that's a general problem in the later years (with eternalgame). I'll see if I can fix the obsoleteness test to work correctly after 2070. But it would be good if someone else could confirm whether or not autorenew generally works past 2150 or so.
User avatar
Den
Engineer
Engineer
Posts: 42
Joined: 08 Dec 2003 18:40
Location: Florida USA
Contact:

Post by Den »

Cool!

I opened the train list and picked the oldest +30 year train. Made the 'cht:resetvehicles' sign and the train went right to the depot and renewed!

Thank you
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

In the artic game I was playing I went as far as 2204.
All the way from when large numbers of vehicles needed to be renewed, almost all the vehicles were renewing correctly. Every few years thoguh I would get a vehicle that didn't autorenew, the number was proportional to the vehicles in the game (i.e. the same percentage of trains and RVs). 99% of the time the vehicle had no problem finding a depot when I manually asked it to. There appeared to be no pattern as to vheicle type or model age , or a particular vheicle (although I wasn't paying that much attention to which vheicle it was).

I was using alpha 6, with auto renew set in the configuarator to "after first message". I've just started a temperate game with alpha 9vcs, and although I've only got a fraction of the vehicles and I've only got to 1971 I think the same is starting to happen.

Chris
Anything can be achieved if you don't care who gets the credit
--Author Unknown
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Well, it's supposed to happen for vehicles that are obsolete or will be soon. They can't be renewed because they can't be bought anymore.

When it happened after 2050, was it maybe a certain type of engine that had this but others worked fine?
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

I have persistent engines on so I coudl always buy a replacement.
It didn't affect all vehicle types - e.g I had about 25 Dolphin Intercity busses, and only one or two of them had this problem.

Chris
Anything can be achieved if you don't care who gets the credit
--Author Unknown
User avatar
Zimmlock
Tycoon
Tycoon
Posts: 2112
Joined: 02 Dec 2003 16:01
Location: Belgium

Post by Zimmlock »

My game is fare beond 2382 years used the year cheat sevral times to set back the year, have engine persist on, auto renew, service interval at 16000. All engines (240) are serviced and replaced in time :)
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Chris 'Awkward' McKenna wrote:I have persistent engines on so I coudl always buy a replacement.
It didn't affect all vehicle types - e.g I had about 25 Dolphin Intercity busses, and only one or two of them had this problem.
Hmm, and I'm guessing you didn't just turn on the persistent engine feature after 2050 or so? There's definitely something screwy, but I have no idea what...
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

nope, I had the autorenew deature on throughout the game.
I was using the Coleman Count from when it arrived until I finished playing.

I've attached a savegame of it. This wasn't the final one, but its the only one I can find. I haven't got the cfg settings I used, but they were basically the defaults for a6 (which I was using). autorenew was set to 'after first message' in the configuarator.

my newgrfw hasn't changed and is attached.

edit:
It has jsut happened again with alpha9vcs 1.
most of my Scania mail trucks are autorenewing with no trouble, however vehicle 85 has just come up as being "very old and urgently needing replacement". My autorenew setting is -6, and I'm using a morevehicles setting of 2.

its a temperate game and the year is 1995. It is the first time that I can remember this happening in this game. I've attached all the relevant files I hope.

The game is an AUTOSAVE (for Shires Transport) as I forgot about this topic until after I had repleced the offending vehicle. Just wait about a month and half (the save is sometime in October, the message comes up in mid-late November). Ignore all the messages about lost trains as I'd just cleared a blockage (as an asside, any help redesigning the interchanges either side of Cumberland South station would be appreciated!)

the newgrfw.cfg is applicable to both games, so isn't duplicated. The ttdpatch.cfg is for Shires transport only.

The rar contains the two savegames. TRP00.SV1 should be Freezland Transport, and TRP01.SV1 shoudl be the AUTOSAVE for Shires Transport.

edit 2:
I'm now in the 2020s in my Shires Transport game. I've had two more autorenew problems, the first with a TGV train in circa 2009. Finding a depot shouldn't have been a problem as it passes at least three on its route. The second was a Volvo 5000 bus, again finding a depot shouldn't have been a problem as there is one right next to at least one of its order stations.

I can't say conclusively, but I am wondering whether this only affects vehicles with a high number. Certainly all the road vehicles I've had trouble with have had a vehicle number >80, and I think the train did as well, but I'm not 100% about this.
Attachments
newgrfw.cfg
applicable to both savegames
(594 Bytes) Downloaded 91 times
autorenew.rar
Both savegames: 00 is Freezeland, 01 is Shires
(416.16 KiB) Downloaded 95 times
ttdpatch.cfg
config for Shires Transport only. Alpha 9 vcs1
(2.29 KiB) Downloaded 123 times
Anything can be achieved if you don't care who gets the credit
--Author Unknown
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

Chris 'Awkward' McKenna wrote:
I can't say conclusively, but I am wondering whether this only affects vehicles with a high number. Certainly all the road vehicles I've had trouble with have had a vehicle number >80, and I think the train did as well, but I'm not 100% about this.
bang goes that theory.
2025 and vehicle 25, a Vovo FH16 gets very old and urgently needs replacing.

Appart from the TGV, its all been in the long vheicles set, so far in this game (shires Transport). No planes or ships have had problems (yet).

Chris
Anything can be achieved if you don't care who gets the credit
--Author Unknown
User avatar
Zooz
Transport Coordinator
Transport Coordinator
Posts: 287
Joined: 12 Sep 2002 14:20
Location: Een, Drenthe, The Netherlands
Contact:

Post by Zooz »

I have exactly the same problem. Half of my RV's won't autorenew. They are Ploddyphut MkI buses (ttdalter). Cht: Resetvehicles doesn't work here. I dunno about trains, ships or aircraft since its only 1956 and i don't have any old ones yet. It affects vehicles with low and high numbers. Autorenew and everything has been on throughout the game. I'm using alpha 9. I have persistent engines on. So, it's not just the longvehicles set vehicles.
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

I've encountered two autorenew problems in my current game (dos, 2.0 beta 5) with autorenew set to -6 months after getting very old.

one was rv 85 a reynard mail lorry in circa 2001
the other was an Uhl iron ore lorry in circa 1994

both of these are obviously part of the original TTD vechiles set, and both were well within their period of availability. Neither had any problems finding a depot when I sent them there manually.

Chris
Anything can be achieved if you don't care who gets the credit
--Author Unknown
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I'd like to see that savegame too. If it happens with TTD's original vehicles (and you haven't used TTDAlter on them), I should be able to get an idea why this is happening at least.
Chris 'Awkward' McKenna
Tycoon
Tycoon
Posts: 1050
Joined: 26 Oct 2003 18:32
Location: Somerset, UK
Contact:

Post by Chris 'Awkward' McKenna »

It also happened with the park royal double-decker bus in 2020, rv86 - almost every problem I have is with a vehicle numbered in the mid 80s, whatever it is (I don't have htat many planes so I don't know if it affects them or not).

I also think it was going to happen to a BR250 engine, which was goign round a large loop of track, heading for the depot when it was on the half of the track furthest away from the depot, but when it got near the depot it reverted to heading to a waypoint station. It foudn the depot no problem when I manually sent it there.
I noticed it when it was about 8 months old, and only by chance because I misclicked when trying to select the engine above it in the vehicle list.

I'll get you the save game and config when I work out how to get stuff on and off that computer. However I haven't got a separate savegame aroudn when it happens and I've mucked it up slightly tryign to use the debugger to cure a blockage - two mail vans were occupying exactly the same space in the lorry station entrance, and no amount of sending to depot or deleteing orders or skipping orders or stopping and starting or turning them around was making the slightest bit of difference. (I was trying o send them both to the depot to upgrade them). Somethign I did in the debugger worked to get rid of them, but I am left with several toyland vehicle descriptions (wich carry temperate cargo) though. Unfortunately I didn't notice this until I'd overwritten teh save game :(

edit: the autorenew probs were before I tried to use the debugger.

Chris
Anything can be achieved if you don't care who gets the credit
--Author Unknown
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

If you can fix it by building a depot just ahead of the train, then it's not the problem I'm looking for, it's just stupid pathfinding of trains and giving up on depots too easily. However if it doesn't go to a depot even when passing several on its route, then it sounds like this bug.
BobXP
Tycoon
Tycoon
Posts: 2720
Joined: 04 May 2003 11:00
Location: Torquay, England
Contact:

Post by BobXP »

Which reminds me, I hate it when some trains in a ro-ro see a depot behind it, leave the station, then try to get back to the station again! Is it possible to make it so that if there is a depot right next to the train and the train is over x years old, to make the train renew? :idea:
<!-- End Of Post !-->
Image
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 6 guests