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 Online tunes
Veteran
MrJelly  Online Tunes
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,428
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,428
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
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0