CTD Problem

Post bug reports and ask for help with issues here.

Moderator: rickier65

mike lyons
Posts: 2
Joined: Fri May 13, 2011 7:18 pm

RE: CTD Problem

Post by mike lyons »

Thanks Eric. I found MY (not matrix) errors. I needed to totally erase net 4.0 ,restart with fresh reload (NOT REPAIR) and also repair font and redirect htu file in OST. Game works perfectly! [:D] Now I need work on my generalship. Since I own a trillion (aprox.) matrix games I was SURE it was your program. I was wrong.
User avatar
HintJ
Posts: 311
Joined: Sun Oct 10, 2010 4:11 pm

RE: CTD Problem

Post by HintJ »

I have a similar problem, I think.

I made a mission using German names (including the little dots over some of the letters--umlauts) and now the game crashes no matter what mission I try to load. It used to work, but now the whole thing is broken, even though I changed the letters to normal English.

Initially I got .xml errors. No idea.
"Tactics is knowing what to do when there is something to do. Strategy is knowing what to do when there is nothing to do."
- Savielly Tartakower
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: CTD Problem

Post by junk2drive »

Your log file should show what unit is the problem. Maybe you missed one umlaut.
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
User avatar
HintJ
Posts: 311
Joined: Sun Oct 10, 2010 4:11 pm

RE: CTD Problem

Post by HintJ »

No mission, whether I made it or not will load now. It crashes as the scenario loads. No the umlauts are all gone. In fact, the scenario editor will let me save a game w/foreign letters, but I cannot re-load it w/out getting a .xml error.
----------------------------------------------------------------------------
6/4/2011 11:00:44 PM: ******************** New Game *******************
6/4/2011 11:00:44 PM: Current Directory: C:\Matrix Games\Panzer Command Ostfront
6/4/2011 11:00:44 PM: OS Version: Microsoft Windows NT 6.0.6001 Service Pack 1
6/4/2011 11:00:44 PM: CodeBase: file:///C:/Matrix Games/Panzer Command Ostfront/PCOstfront.exe
6/4/2011 11:00:44 PM: Assembly Name: PCOstfront, Version=3.2.7.26927, Culture=neutral, PublicKeyToken=null
6/4/2011 11:00:44 PM: Managed DirectX:
6/4/2011 11:00:44 PM: Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:00:44 PM: Microsoft.DirectX.Direct3DX, Version=1.0.2911.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:00:44 PM: Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:00:44 PM: Loading Guns...
6/4/2011 11:00:44 PM: Loading Armoured Units...
6/4/2011 11:00:44 PM: Loading Infantry...
6/4/2011 11:00:44 PM: Loading Scenarios...
6/4/2011 11:00:44 PM: Unable to open scenario file 'cc3testing.xml'
6/4/2011 11:00:44 PM: System.Exception: LoadScenario(): Unable to open file 'cc3testing.xml', Error = 'Invalid character in the given encoding. Line 42, position 68.'
at GameLib.BattleEngine.Data.DataDictionary.LoadScenarios()
6/4/2011 11:00:44 PM: Error loading attribute: 'ammo', value='', node='<unit unitid='50mm M41 Mortar' unitname='1st 50mm M41 Mortar' exp='Green' number='2' max='3' model='summer' reinforcementTurn='0' reinforcementChance='1' ammo='' keyunit='false' unitfixed='false' x='580,565,726' z='558,471,733' heading='79,89,92' decal=',,'>', error = 'System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at Lib.Util.XmlUtil.GetDoubleAttribute(XmlNode node, String attributeName, Double defaultValue, CultureInfo cultureInfo)'
6/4/2011 11:00:45 PM: Loading Campaigns...
6/4/2011 11:00:45 PM: Loading Tables...
6/4/2011 11:00:45 PM: Assembly Name: Lib, Version=3.2.7.26623, Culture=neutral, PublicKeyToken=null
6/4/2011 11:00:45 PM: Graphics format: R5G6B5
6/4/2011 11:00:45 PM: DeviceIdentifier: d7b71e3e-45a8-11cf-666d-221601c2ca35
WhqlLevel: 0
Revision: 161
SubSystemId: 908660796
DeviceId: 1768
VendorId: 4318
DriverVersion: 7.15.11.7914
DeviceName: \\.\DISPLAY1
Description: NVIDIA GeForce 9200M GS
DriverName: nvd3dum.dll

6/4/2011 11:00:45 PM: Manager Adapter value: 0
6/4/2011 11:00:45 PM: Create device.

6/4/2011 11:00:45 PM: HardwareVertexProcessing
6/4/2011 11:00:45 PM: MultiSampleQuality: 0
PresentationInterval: Immediate
FullScreenRefreshRateInHz: 60
PresentFlag: None
AutoDepthStencilFormat: D16
EnableAutoDepthStencil: True
Windowed: False
DeviceWindowHandle: 0
DeviceWindow:
SwapEffect: Discard
MultiSample: None
BackBufferCount: 1
BackBufferFormat: R5G6B5
BackBufferHeight: 768
BackBufferWidth: 1024
ForceNoMultiThreadedFlag: False

6/4/2011 11:00:45 PM: Create Flags: HardwareVertexProcessing
6/4/2011 11:00:45 PM: Device Type: Hardware
6/4/2011 11:01:01 PM: Unit Purchase - campaign:
6/4/2011 11:01:01 PM: Unit Purchase - scenario: CC3testmap
------------------------------------------------------------
Okay, I checked that line and there's nothing there foreign.

Tried to load the first tutorial mission and crashed:
-----------------------------------------------------------------
6/4/2011 11:11:55 PM: ******************** New Game *******************
6/4/2011 11:11:55 PM: Current Directory: C:\Matrix Games\Panzer Command Ostfront
6/4/2011 11:11:55 PM: OS Version: Microsoft Windows NT 6.0.6001 Service Pack 1
6/4/2011 11:11:55 PM: CodeBase: file:///C:/Matrix Games/Panzer Command Ostfront/PCOstfront.exe
6/4/2011 11:11:55 PM: Assembly Name: PCOstfront, Version=3.2.7.26927, Culture=neutral, PublicKeyToken=null
6/4/2011 11:11:55 PM: Managed DirectX:
6/4/2011 11:11:55 PM: Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:11:55 PM: Microsoft.DirectX.Direct3DX, Version=1.0.2911.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:11:55 PM: Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
6/4/2011 11:11:55 PM: Loading Guns...
6/4/2011 11:11:55 PM: Loading Armoured Units...
6/4/2011 11:11:55 PM: Loading Infantry...
6/4/2011 11:11:55 PM: Loading Scenarios...
6/4/2011 11:11:55 PM: Unable to open scenario file 'cc3testing.xml'
6/4/2011 11:11:55 PM: System.Exception: LoadScenario(): Unable to open file 'cc3testing.xml', Error = 'Invalid character in the given encoding. Line 42, position 68.'
at GameLib.BattleEngine.Data.DataDictionary.LoadScenarios()
6/4/2011 11:11:55 PM: Error loading attribute: 'ammo', value='', node='<unit unitid='50mm M41 Mortar' unitname='1st 50mm M41 Mortar' exp='Green' number='2' max='3' model='summer' reinforcementTurn='0' reinforcementChance='1' ammo='' keyunit='false' unitfixed='false' x='580,565,726' z='558,471,733' heading='79,89,92' decal=',,'>', error = 'System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at Lib.Util.XmlUtil.GetDoubleAttribute(XmlNode node, String attributeName, Double defaultValue, CultureInfo cultureInfo)'
6/4/2011 11:11:55 PM: Loading Campaigns...
6/4/2011 11:11:56 PM: Loading Tables...
6/4/2011 11:11:56 PM: Assembly Name: Lib, Version=3.2.7.26623, Culture=neutral, PublicKeyToken=null
6/4/2011 11:11:56 PM: Graphics format: R5G6B5
6/4/2011 11:11:56 PM: DeviceIdentifier: d7b71e3e-45a8-11cf-666d-221601c2ca35
WhqlLevel: 0
Revision: 161
SubSystemId: 908660796
DeviceId: 1768
VendorId: 4318
DriverVersion: 7.15.11.7914
DeviceName: \\.\DISPLAY1
Description: NVIDIA GeForce 9200M GS
DriverName: nvd3dum.dll

6/4/2011 11:11:56 PM: Manager Adapter value: 0
6/4/2011 11:11:56 PM: Create device.

6/4/2011 11:11:56 PM: HardwareVertexProcessing
6/4/2011 11:11:56 PM: MultiSampleQuality: 0
PresentationInterval: Immediate
FullScreenRefreshRateInHz: 60
PresentFlag: None
AutoDepthStencilFormat: D16
EnableAutoDepthStencil: True
Windowed: False
DeviceWindowHandle: 0
DeviceWindow:
SwapEffect: Discard
MultiSample: None
BackBufferCount: 1
BackBufferFormat: R5G6B5
BackBufferHeight: 768
BackBufferWidth: 1024
ForceNoMultiThreadedFlag: False

6/4/2011 11:11:56 PM: Create Flags: HardwareVertexProcessing
6/4/2011 11:11:56 PM: Device Type: Hardware
6/4/2011 11:12:08 PM: Unit Purchase - campaign:
6/4/2011 11:12:08 PM: Unit Purchase - scenario: Tutorial
-----------------------------------------------------------------
By the way, that character was replaced, nothing weird now, but the game won't play unless I completely remove that scenario.

Crazy. Just as a warning, don't use German letters!
"Tactics is knowing what to do when there is something to do. Strategy is knowing what to do when there is nothing to do."
- Savielly Tartakower
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: CTD Problem

Post by junk2drive »

Find this unit

6/4/2011 11:11:55 PM: Error loading attribute: 'ammo', value='', node='<unit unitid='50mm M41 Mortar' unitname='1st 50mm M41 Mortar' exp='Green' number='2' max='3' model='summer' reinforcementTurn='0' reinforcementChance='1' ammo='' keyunit='false' unitfixed='false' x='580,565,726' z='558,471,733' heading='79,89,92' decal=',,'>', error = 'System.FormatException: Input string was not in a correct format.
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

It seems that after working with Map Maker loading any scenario for play causes a CTD (while it is loading maps). I reinstalled the game, problem solved, but after making some map work again, CTDs reappeared. Any ideas?

Can't see any errors in the log, but the last line is always:

12.6.2011 16:55:27: Current Token: 8d1a2330dcc1fdbfa4b3d858e81243d2
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: CTD Problem

Post by junk2drive »

Find the folder for your new map in the Media folder. Move it out of the game folders temporarily. Try the game again.

Assuming you are not using USA English localization, it could be that map maker is using letters or characters that are causing this? Just guessing.
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

ORIGINAL: junk2drive

Find the folder for your new map in the Media folder. Move it out of the game folders temporarily. Try the game again.

Assuming you are not using USA English localization, it could be that map maker is using letters or characters that are causing this? Just guessing.

Now it crashed while loading interface.

Three new lines in the log:

6/12/2011 6:39:27 PM: Window3d: Test cooperative level:
6/12/2011 6:39:27 PM: Graphics format: R5G6B5
6/12/2011 6:39:27 PM: Trying reset
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

To be more exact: I had moved my map folder as per instructions.
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

I think I'll try reinstalling .Net 4 next.
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

ORIGINAL: Keke

I think I'll try reinstalling .Net 4 next.

Didn't help. Meh.
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

ORIGINAL: mike lyons

I needed to totally erase net 4.0 ,restart with fresh reload (NOT REPAIR) and also repair font and redirect htu file in OST. Game works perfectly! [:D]

Could someone translate the words in bold, so I could try it out? Thanks.
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

I wish some kind soul would have pointed me to this thread: tm.asp?m=2811477 [;)]
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
User avatar
junk2drive
Posts: 12856
Joined: Thu Jun 27, 2002 7:27 am
Location: Arizona West Coast

RE: CTD Problem

Post by junk2drive »

Sorry I didn't think about it since it has been there a while. Glad it fixed your problem.

Can you make a map now?
Conflict of Heroes "Most games are like checkers or chess and some have dice and cards involved too. This game plays like checkers but you think like chess and the dice and cards can change everything in real time."
User avatar
Mad Russian
Posts: 13255
Joined: Sat Mar 15, 2008 9:29 pm
Location: Texas

RE: CTD Problem

Post by Mad Russian »

ORIGINAL: Keke

I wish some kind soul would have pointed me to this thread: tm.asp?m=2811477 [;)]


Did that fix your problem?

Good Hunting.

MR
The most expensive thing in the world is free time.

Founder of HSG scenario design group for Combat Mission.
Panzer Command Ostfront Development Team.
Flashpoint Campaigns: Red Storm Development Team.
User avatar
JJKettunen
Posts: 2289
Joined: Tue Mar 12, 2002 6:00 pm
Location: Finland

RE: CTD Problem

Post by JJKettunen »

Yes, hotfix solved the problem, and I can make maps now without messing the game. [:)]
Jyri Kettunen

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn
dogancan
Posts: 193
Joined: Tue Sep 25, 2007 5:11 pm
Location: Ankara - Turkey

RE: CTD Problem

Post by dogancan »

Just want to mention that beta patch solved by problem about regional/language settings. Thx for that.
This is Great War, everybody dies!
rickier65
Posts: 14253
Joined: Thu Apr 20, 2000 8:00 am

RE: CTD Problem

Post by rickier65 »

ORIGINAL: dogancan

Just want to mention that beta patch solved by problem about regional/language settings. Thx for that.

Excellent! thanks for verifying that!

thanks
Rick
Post Reply

Return to “Tech Support”