Games crashes when programming busses

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
Mosca
Engineer
Engineer
Posts: 10
Joined: 24 Jul 2005 05:58
Location: In the Boonies in New Mexico

Games crashes when programming busses

Post by Mosca »

I am a noobie to this website and the Windows-enabled Transport Tycoon.
Although I have played many, many happy hours in the past when this was a DOS only game. I am greatful for all the work evident here, and to learn that a favorite game is not dead. :D

I have in the past 24 hours downloaded and installed the most current version of TTD for Windows and successfully(?) installed the TTDPatch (ttdpatchw.exe). My operating system is Windows 2000 with all the current service patches installed.

I have used the searches and resources available here to successfully finally turn on the sound, program my Win2k for Win95 compatibility, get a full screen application, and get the game to boot, and even play for a short time.

I have been unsuccessful in using the search engine to locate my particular flavor of game crash. Twice now after about 15 or 20 minutes of game play the game will crash while I am programming a bus or a train within the game. Since I have not gotten far enough to attempt programming aircraft or ships, I don't know if the problem is limited to only "ground" transport. I have been able to program busses a bit; but it seems that inevitably a crash soon occurs.

Does anybody have any suggestions?

Thak you all for a wonderful website!
Mosca
Engineer
Engineer
Posts: 10
Joined: 24 Jul 2005 05:58
Location: In the Boonies in New Mexico

Post by Mosca »

As a clarification:

When TTD crashes,the Windows Dialog box "Program Error" appears. The message in the dialog box reads: "TTDLOADW.OVL.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created."

I hope this helps.

Thanks again.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Post your config files and a crashlog (CRASH###.TXT, in the TTD directory)

And "latest" is not a version number: Do you have 2.0r1? 2.0.1a55? 2.0.1a55vcs2? (latest stable, latest official, and latest experimental, respectively.)
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
Mosca
Engineer
Engineer
Posts: 10
Joined: 24 Jul 2005 05:58
Location: In the Boonies in New Mexico

Post by Mosca »

Thank you, DaleStan.

The TTD Patch Version is 2.0 Rev 1, for Windows.

I am not certain where the crash log is. I see nothing obvious to me in the C:\MPS\TTWin95\ folder (created by the setup.exe file), or in the ttd-win folder on my desktop that was created when the ttd-win.zip was extracted.
Do you have any suggestions where I should look?

Here is a copy of ttdpatch.cfg:

"TTDPatch Configuration File, automatically created by TTDPatch -W filename.
//
// Format for the switches is:
// switchname = switchvalue
//
// The "=" can be omitted, as can the spaces. Case is ignored.
//
// For yes/no [y/n] switches, the value can be one of:
// yes, y, on, 1, no, n, off, 0
// If the value is omitted, a yes/no switch defaults to yes.
//
// For the switches with a value option [v], the range is given in the
// description, as is the default if the value is omitted. The switch can
// be turned off by giving it one of the 'off' values.
//
// Comments are all lines starting with any non-alphabetical character.
//


// `ships' (-b) increases the maximum number of ships. Range 1..240. Default 240.
ships 240

// `curves' (-c) makes trains faster in wide curves. Bitcoded two-digit value. Default 13.
curves 13

// `spread' (-e) makes it possible to have stations more spread out. Range 1..255. Default 20.
spread 20

// `trainrefit' (-f) makes it possible to refit train engines.
trainrefit on

// `generalfixes' (-g) fixes various little things, see the docs for more info on what exactly it does.
generalfixes on

// `servint' (-i) allow to change the initial service interval for new engines. Range 1..32000. Default 16000.
servint 16000

// `keepsmallairport' (-k) keeps small airports around forever.
keepsmallairport on

// `largestations' (-l) allows to add more platforms or make a station longer, up to 4x7 or 7x5.
largestations on

// `mountains' (-m) makes trains faster on mountains. Bitcoded two-digit value. Default 13.
mountains 13

// `nonstop' (-n) makes the "Non-stop" switch behave differently.
nonstop on

// `reducedsave' (-o) reduces the number of vehicles in the running game when saving. Range 1..(morevehicles-1).
reducedsave off

// `planes' (-p) increases the maximum number of planes. Range 1..240. Default 240.
planes 240

// `loadtime' (-q) enables a different calculation for load/unload times.
loadtime on

// `roadvehs' (-r) increases the maximum number of road vehicles. Range 1..240. Default 240.
roadvehs 240

// `signcheats' (-s) enables the sign cheats.
signcheats on

// `trains' (-t) increases the maximum number of trains. Range 1..240. Default 240.
trains 240

// `verbose' (-v) shows a summary of the switches before starting TTD.
verbose off

// `presignals' (-w) allows the use of 'pre-signals' to improve station handling.
presignals on

// `morevehicles' (-x) increases the total number of vehicles to value*850. Range 1..40. Default 1.
morevehicles 1

// `mammothtrains' (-z) allows mammoth trains with up to 126 cars.
mammothtrains on

// `aiboost' (-A) increases the AI recursion by this amount.
aiboost 0

// `longbridges' (-B) allows bridges of up to 127 squares length.
longbridges on

// `extradynamite' (-D) allows more things to be removed with dynamite.
extradynamite on

// `fullloadany' (-F) makes a train leave a station if any type of cargo is full.
fullloadany on

// With `selectgoods' (-G) goods arrive only after the service has been inaugurated.
selectgoods on

// `noinflation' (-I) turns off all inflation, both for cost and revenue.
noinflation on

// `moreairports' (-J) allows building more airports than the normal two per city.
moreairports on

// `debtmax' (-L) enables borrowing/repaying the maximum amount by pressing Ctrl.
debtmax on

// `multihead' (-M) allows an arbitrary number of engines on a train. Buy extra engines with 'Ctrl'.
multihead on

// `officefood' (-O) makes office towers accept food (tropic/arctic scenarios).
officefood on

// `enginespersist' (-P) keeps engines around for as long as they are in use.
enginespersist on

// `rvqueueing' (-R) makes road vehicles queue up in front of a station, not turn around.
rvqueueing on

// `lowmemory' (-Z) allows TTDPatch to run with 2.5MB of memory, but reduces the max. value for the extended vehicle array to 2.
lowmemory off

// `win2k' (-2) makes the Windows version of TTD compatible with Windows 2000/XP.
win2k on

// `autorenew' (-Xa) renews engines when serviced this number of months after they get very old. Range -128..127. Default -6.
autorenew -6

// `bribe' (-Xb) adds a `bribe' option to the local authority menu.
bribe on

// `planecrashcontrol' (-Xc) allows you to control when planes are allowed to crash. Bitcoded value, default 1.
planecrashcontrol 1

// `diskmenu' (-Xm) adds a load option to the disk menu, and a load game (or save game with Ctrl) to the scenario editor.
diskmenu on

// `cheatscost' (-Xo) makes sign cheats cost money when used.
cheatscost on

// `forcerebuildovl' (-Xr) makes TTDPatch rebuild TTDLOAD.OVL or TTDLOADW.OVL every time it is started.
forcerebuildovl off

// `showspeed' (-Xs) shows the current speed for all vehicles in the status bar of their window.
showspeed on

// `extpresignals' (-Xw) allows to cycle between normal, pre-signals, exits and combined signals with 'Ctrl'.
extpresignals on

// `cdpath' (no command line switch) sets the CD path.
cdpath "

Thanks again for your help
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

If it's only certain stations that do it, try Cht: ClearGhosts.
If that doesn't do the trick, see if the bug is also in alpha 55. If so, post a savegame and crashlog.

The crashlog should be in the same folder as the TTDPatch executable. (In your case, C:\MPS\TTWin95\) You'll probably have more than one: CRASH000.TXT, CRASH001.TXT, ... Post the one with the highest number.
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
Mosca
Engineer
Engineer
Posts: 10
Joined: 24 Jul 2005 05:58
Location: In the Boonies in New Mexico

Post by Mosca »

Thanks again, DaleStan.

I am still unable to locate error logs in the indicated folder (C:\MPS\TTWin95\) either with ERROR in the prefix or .TXT as a suffix. I am, however, attaching a saved game file if needed.

You have linked to a cheat code ClearGhosts; but I am such a noob that I don't know how to bring up a command line for such in the game.

Also, I have downloaded the Alpha55; and I notice that there are two files after unzipping: mkpttxt.exe and ttdpatchw.exe(which bears the identical name of the patch I already executed within my C:\MPS\TTWin95\ folder and still remains there). I have yet to execute either of the Alpha55 files both because of this naming overlap, as well as the absence of a readme file indicating set up proceedures.

Any wisdom you care to share on any of these topics will be greatly appreciated.

Thank you so much for your help and patience.
Attachments
TRT00.SV1
SAVED GAME
(172.15 KiB) Downloaded 59 times
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

There be no busses in that save game. To duplicate the problem, we need a game with at least the station already built.

To install a new version of TTDPatch, just copy the new executables (ttdpatch[w].exe and mkpttxt.exe) over the old ones (if they exist). If it doesn't start, delete ttdloadw.ovl and try again. If it still doesn't start, delete ttdpttxt.txt and ttdpttxt.dat, run mkpttxt, and try again.

You will probably want to update your config file too; it appears from the config you posted that you already know how to do that.

To use the sign cheats, you place a sign (in the the tree menu).
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
Mosca
Engineer
Engineer
Posts: 10
Joined: 24 Jul 2005 05:58
Location: In the Boonies in New Mexico

I think the bug is fixed

Post by Mosca »

Thank you very much, DaleStan.

The Clear Ghosts cheat seemed to have no effect.

However, the alpha 55 seems to have done the trick! :D

I have since discovered the service interval problem, and fixed it by setting the options to no breakdowns as discovered in a search. Opinion: I wish that service intervals were simply adjustable as they were in the DOS game. But I am so greatful to have the game back again that this seems a fussy complaint.

Thanks again, DaleStan.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: I think the bug is fixed

Post by DaleStan »

Mosca wrote:I wish that service intervals were simply adjustable as they were in the DOS game.
Turn servint off.
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
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post by Rob »

You also can use this cheat to change the service intervals.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 8 guests