Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4510479 - 03/11/20 05:35 PM Those annoying intermittent CTD  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
They happen in game and there seems to be no pattern, and no clues as to why.
However, today I found one possible reason, and made a fix smile

Even in UAW160 the maximum value for a TMod is 999. Many previous versions had even less, 256 being common.
However, in the "Tardata.dat" file each TMod value has two bytes.
Checking a file with a utility that I made I found a TMod value which was over 4000.
Every other value was OK, except this one, but I did not know which target it was.
The two bytes were 24 (Fuel dump) and 18 (Light AAA) but combined they amounted to 4632, which would cause a CTD.
The CTD would occur when a player approaches this target with TMod 4632 because there are no graphics files for TMod 4632 and the exe cannot display it.
A player could play dozens of missions which do not CTD because the rogue target is not in the area in which they fly, but as soon as they choose one that involves the rogue target then the CTD will happen

The utility gives me the ability to edit the file, and in this case use the 24 (Fuel dump) or the 18 (Light AAA), or set it to zero (NULL) .


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
Inline advert (2nd and 3rd post)

#4510486 - 03/11/20 06:22 PM Re: Those annoying intermittent CTD [Re: MrJelly]  
Joined: Aug 2000
Posts: 7,427
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,427
A slit trench at RAF Gravesend
thumbsup

These little anomalies creep into the best edited files

Last edited by Moggy; 03/11/20 06:23 PM.
#4510487 - 03/11/20 06:41 PM Re: Those annoying intermittent CTD [Re: MrJelly]  
Joined: Sep 2004
Posts: 718
SkyHigh Offline
Member
SkyHigh  Offline
Member

Joined: Sep 2004
Posts: 718
Ireland
Great detective work.


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0