Problem with cloneing

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Problem with cloneing

Post by ISA »

Hi
When I clone a train (in this case ICE1 in dbset) then train come into the depot but it has no orders and one head (train back head/locomotive) is missing. Then it shows that one more train must be in depot (I think its that missing loco head from back) but there isn't nothing in this depot. Look picture, that invisible train in depot "stopped" and "going permission".
Picture is taken when that one headed and no orders train is outside depot!
Dunno is this problem with Patch or DbSet itself?
[Edit] Using nightly 1290
Attachments
ttdpatch.cfg
(32.54 KiB) Downloaded 112 times
TRP00.SV1
(398.83 KiB) Downloaded 130 times
clone.png
clone.png (80.78 KiB) Viewed 1714 times
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Post by Lakie »

It's caused by a restriction on the ICE 1, which says that you can't add extra engine heads to it (ICE 1).
This breaks the way clonetrain works quite badly, so I'm going to look at modifying the attach restriction code to allow being forced (bypassed) for clonetrain.

[Edit] Fixed in r1291, grf restrictions will not break clone train now.
Using the idea that the original consist is good, so the cloned consist must be good.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> It's caused by a restriction on the ICE 1, which says that you can't add extra engine heads to it (ICE 1).

In fact you can´t attach anything other than a long-distance coach. Which implies - indeed - that you cannot attach extra heads as well.

I´ve just checked my code and there are o/c some other engines with the same restriction.

I never tested those trains with the "clone train" feature myself and only today there were a couple of bug reports. :?

> Fixed in r1291 [...] Using the idea that the original consist is good, so the cloned consist must be good.

Yeah, a wise decision.

Could people please report if there are other issues left with the "clone train" feature in this thread or in my main thread?

regards
Michael
Image
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Post by ISA »

michael blunck wrote: Could people please report if there are other issues left with the "clone train" feature in this thread or in my main thread?

regards
Michael
I have only cloned ICE1. Haven't try other DMU-s and EMU-s.
Freight trains works well!
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 20 guests