Isolating a CTD
Posted: Wed Mar 28, 2007 9:06 pm
I have suffered the normal number of CTDs while working on a scenario - always thought I could trace it back to a missing or mislinked, Good, Inventory, TrainCar, etc...
Today I had a CTD well into a run of the scenario which led me to believe it was not one of the usual suspects. This was right after the startup of a saved game so I was able to recreate the CTD (ad nauseum).
It always occured at the same time - so by eliminating trains one at a time I was able to isolate a single train that was "causing" the problem - and this was a train that had been delivering this Good to the same location for 'years' - but all of a sudden - as soon as it started to unload - CTD. The quick solution was to scrap the train and immediately remake it - same engine, same goods, same depots - and no CTD.
This made me suspect what I had heard here before - I have been using an adjusted TurnsPerMonth value in order to be as historically accurate as possible - a time frame that only ran about 45 years - not enough time to get everything done at the normal time function. So I had been using 75 TPM. I deleted the TPM line from the XML and bent the historical time line - and guess what? first time I ran through the scenario from start to finish without one CTD.
Bottom line is I'm convinced the TPM was the cause of my problems.
-willie g
Today I had a CTD well into a run of the scenario which led me to believe it was not one of the usual suspects. This was right after the startup of a saved game so I was able to recreate the CTD (ad nauseum).
It always occured at the same time - so by eliminating trains one at a time I was able to isolate a single train that was "causing" the problem - and this was a train that had been delivering this Good to the same location for 'years' - but all of a sudden - as soon as it started to unload - CTD. The quick solution was to scrap the train and immediately remake it - same engine, same goods, same depots - and no CTD.
This made me suspect what I had heard here before - I have been using an adjusted TurnsPerMonth value in order to be as historically accurate as possible - a time frame that only ran about 45 years - not enough time to get everything done at the normal time function. So I had been using 75 TPM. I deleted the TPM line from the XML and bent the historical time line - and guess what? first time I ran through the scenario from start to finish without one CTD.
Bottom line is I'm convinced the TPM was the cause of my problems.
-willie g