AI trains problem after cht: track

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

AI trains problem after cht: track

Post by 3iff »

Using Nightly 1659 then 1664

When monorails came into being, I used cht: tracks 2 to convert my track to monorail. A while afterwards, I noticed that one particular AI company had its trains 'stuck'. The oscillated back and forth on the track they were on and it seemed that they were rail trains (Floss 47) on monorail track.

I've yet to go back and analyse what has happened, and might have a savegame or two from before the problem. I think that their tracks were already monorail and the cht: tracks might have had an effect on them...but I might be wrong.

Just wondering if anyone has seen this problem before. Would changing nightly version in the middle of the game have had any effect?
DeletedUser6
Transport Coordinator
Transport Coordinator
Posts: 294
Joined: 23 Jul 2007 15:13
Location: Somewhere in this page

Re: AI trains problem after cht: track

Post by DeletedUser6 »

Doubt it(!)

I think (as I have had lots of experience with OTTD) the answer is.....


no!!!!!!!!!

You see on OTTD for example: A saved game from 0.4.5 will work with 0.5.2 which will work with 0.6.7 etc.etc.

So I think your stuck forever unless you trash it cammando style and by cammando style I mean..

1. Zip it up,
2. Send it to me (i will pm you my e-mail,)
3. I will see whats wrong,
4. I will pm you whats wrong,
And you will do the rest.

OTTD master

PS: what does cht mean?
Yay! I'm back! Did you miss me?


...


I thought not.
Tyyppi
Traffic Manager
Traffic Manager
Posts: 169
Joined: 14 Aug 2004 12:33
Location: Finland

Re: AI trains problem after cht: track

Post by Tyyppi »

I don't think OTTDmaster can help with TTDPatch problem...
When in deadly danger, when beset by doubt, run in little circles, wave your arms and shout.
Never attribute to malice that which can be adequately explained by stupidity.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: AI trains problem after cht: track

Post by DaleStan »

3iff wrote:Would changing nightly version in the middle of the game have had any effect?
That shouldn't. It may, however, be that I subtly broke cht:tracks in r1469, but I can't reproduce it easily. Got a savegame?

(Or, for fun and games, send your save to OTTDMaster, and see what it can make of the problem.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Re: AI trains problem after cht: track

Post by Lakie »

OTTDmaster: If you don't use TTDpatch please don't comment in the TTDpatch problems section, you will only cause confusion.
And for clarification, you can change quite happily use newer TTDpatch versions with old saved games.

As far as I'm aware cht:tracks will only convert all of the company which does the cheats tracks on the map (or atleast that is how it works here in r1675).
It has been known the the AI to build monorail and try using normal rail vehicles on it though, or atleast I've seen it try and do it...

~ 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."
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: AI trains problem after cht: track

Post by DaleStan »

Lakie wrote:As far as I'm aware cht:tracks will only convert all of the company which does the cheats tracks on the map (or atleast that is how it works here in r1675).
That company and all parents, siblings, and subsidiaries. If the tables that track those relationships somehow got corrupted, then strange things could happen, but they should happen to both tracks and vehicles for every company, not just one or the other.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Re: AI trains problem after cht: track

Post by Lakie »

Well, with my company and a ai company:
- From no to 50% shares in a company, only my tracks are altered.
- However, with 75% owned both mine and his tracks are converted.

~ 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."
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: AI trains problem after cht: track

Post by DaleStan »

And that's as it should be, assuming the vehicles got converted too. ... :thought: ... Though maybe only if experimentalfeatures.cooperative on? (Why do you do this to yourself, Dale? Why?)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: AI trains problem after cht: track

Post by 3iff »

Thanks for all the comments, especially Dalestan...

Seems as if an AI company is converted if you own 75% of the shares, but this happens even if the Subsidiaries patch is OFF. I'm not sure if there's another setting in experimental features...just going to have a look.

If the shareholding is 0-50% (as Lakie said), then no track conversion happens. I don't mind the track conversion happening, but the train vehicles are not converted when the track is changed and that effectively kills the trains.

I have tried the same thing on some older games and the problem happens consistently...although it may be a setting that I've overlooked...will check and report back.

------

Looks like the only two settings are Subsidiares (set to OFF) and experimentalfeatures.cooperative - value 2 (set to OFF).

Until it's fixed (assuming it's a fault and not me being stupid) is to avoid owning 75% of any company with rail tracks when you convert from rail to monorail (or from something to maglev).
DeletedUser6
Transport Coordinator
Transport Coordinator
Posts: 294
Joined: 23 Jul 2007 15:13
Location: Somewhere in this page

Re: AI trains problem after cht: track

Post by DeletedUser6 »

so? im only trying to help!!!!!!
Yay! I'm back! Did you miss me?


...


I thought not.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: AI trains problem after cht: track

Post by DaleStan »

3iff wrote:Seems as if an AI company is converted if you own 75% of the shares, but this happens even if the Subsidiaries patch is OFF. I'm not sure if there's another setting in experimental features...just going to have a look.
If you have either subsidiaries or morestats(!) on, the controlling records will be updated whenever you buy or sell a share, and if you have approximately anything at all on, the controlling records will be updated on game load.
3iff wrote:If the shareholding is 0-50% (as Lakie said), then no track conversion happens. I don't mind the track conversion happening, but the train vehicles are not converted when the track is changed and that effectively kills the trains.
That is in fact, well and truly broken, but it should be fixed by tonight. I'll also disentangle things so that subsidiaries is the only switch that causes the sign cheats to effect multiple companies.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: AI trains problem after cht: track

Post by 3iff »

Thanks Dalestan.

New nightly (1682) downloaded and I'll try it tonight. Excellent service!
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Re: AI trains problem after cht: track

Post by SHADOW-XIII »

OTTDmaster wrote:so? im only trying to help!!!!!!
- no, you are not helping, you confuse people. This is TTDPatch section so unless you know how to fix it in TTDPath stay only in OTTD section. You did not help with his problem at all
- do not use bigger font in every post, it looks bad and says poorly about your netiquette
- there's no point of using multiple ! signs, one is enough.
what are you looking at? it's a signature!
User avatar
3iff
Tycoon
Tycoon
Posts: 1103
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: AI trains problem after cht: track

Post by 3iff »

Dalestan,

Just checked the fix and it works as expected. AI company tracks will only change with subsidiaries ON and when owning 75% of the shares. The trains are converted too.

Many Thanks.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 16 guests