Matrix Games Forums

New Screenshots for Pike & ShotDeal of the Week Command: Modern Air/Naval Operations WOTYCommand: Modern Air/Naval Operations WOTY is now available!Frontline : The Longest Day Announced and in Beta!Command gets Wargame of the Year EditionDeal of the Week: Pandora SeriesPandora: Eclipse of Nashira is now availableDistant Worlds Gets another updateHell is Approaching Deal of the Week Battle Academy
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Can't make Random Campaigns!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Tech Support >> Can't make Random Campaigns! Page: [1]
Login
Message << Older Topic   Newer Topic >>
Can't make Random Campaigns! - 7/15/2012 1:19:14 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
So...I'm in a trouble.
It seems I can't generate random campaign, I always get an error!

I have latest NET.Framework 4 and Internet Explorer 9. Running Windows 7 64bit.

Also files like PzCRCg are opened by Microsoft HTML Application.

What should I do?




Attachment (1)
Post #: 1
RE: Can't make Random Campaigns! - 7/15/2012 6:52:14 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online
Narko,

ca you generate a random battle? Let's make sure that works then we can see if we can try to duplicate your problem.

Thanks
rick

(in reply to Narko)
Post #: 2
RE: Can't make Random Campaigns! - 7/15/2012 7:29:27 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
Yes, I can generate random battle without any problems.

(in reply to Rick)
Post #: 3
RE: Can't make Random Campaigns! - 7/15/2012 8:43:44 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

When you create the random battle you're going through the Game menu, selecting Campaign, then Random.

Then from the Random Campaign Screen you chose Build Campaign?

Does the Prgress bar start to fill in?

Thanks
Rick

(in reply to Narko)
Post #: 4
RE: Can't make Random Campaigns! - 7/15/2012 8:52:09 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
Nop, It just shows script error when I press Build Campaign.

(in reply to Rick)
Post #: 5
RE: Can't make Random Campaigns! - 7/15/2012 8:53:48 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

Also, Try running the game as the administrator. The line that is generating the erro is calling a "objWMIService.ExecQuery". Perhaps there is a permission issue, though I've not seen that problem before.

Thanks
rick

(in reply to Rick)
Post #: 6
RE: Can't make Random Campaigns! - 7/15/2012 9:03:17 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
You mean like this or?





Attachment (1)

(in reply to Rick)
Post #: 7
RE: Can't make Random Campaigns! - 7/15/2012 9:20:06 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
This is the program in your PCO folder that you need to check

PzCRCg.hta

(in reply to Narko)
Post #: 8
RE: Can't make Random Campaigns! - 7/15/2012 9:25:35 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
It seems I can't.


Attachment (1)

(in reply to junk2drive)
Post #: 9
RE: Can't make Random Campaigns! - 7/15/2012 9:35:19 PM   
junk2drive


Posts: 12901
Joined: 6/27/2002
From: Arizona West Coast
Status: offline
I'm on XP so I can't help much.

(in reply to Narko)
Post #: 10
RE: Can't make Random Campaigns! - 7/15/2012 9:37:26 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

quote:

ORIGINAL: Narko

It seems I can't.



What Language setting is you computer on?

the complete line that is failing is:

var colProcessList = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'mshta.exe'");

Perhaps there is some issue with how the Select is being implemented?

I'll do some more looking.

Thanks
rick

(in reply to Narko)
Post #: 11
RE: Can't make Random Campaigns! - 7/15/2012 9:38:08 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online
Can you log to your computer as Administrator and then run PCO?

Thanks
rick

(in reply to Rick)
Post #: 12
RE: Can't make Random Campaigns! - 7/15/2012 9:53:03 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
Language: Latvian, logged as administrator.

< Message edited by Narko -- 7/15/2012 9:54:13 PM >

(in reply to Rick)
Post #: 13
RE: Can't make Random Campaigns! - 7/15/2012 10:24:13 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

quote:

ORIGINAL: Narko

Language: Latvian, logged as administrator.


OK. It probably isn't a permission issue then. I'll try a few things here and get back to you.

Thanks
rick

(in reply to Narko)
Post #: 14
RE: Can't make Random Campaigns! - 7/16/2012 8:33:58 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

I've tried a few things narko, but nothing I've tried seems to help your problem.

The line that is causing your problem is:

var colProcessList = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'mshta.exe'");

for some reason it doesn't seem to want to run the objWMIService.ExecQuery, but i dont know why.

Sorry i wasn't able to help, perhaps someone else has some ideas to try.

thanks
rick

(in reply to Rick)
Post #: 15
RE: Can't make Random Campaigns! - 7/16/2012 9:57:53 PM   
Erik Rutins

 

Posts: 32921
Joined: 3/28/2000
From: Vermont, USA
Status: offline
Sveiks Narko,

Did you experience this issue only after installing the new update or did you have this problem before that as well?

Regards,

- Erik


_____________________________

Erik Rutins
Director of Product Development


For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to Rick)
Post #: 16
RE: Can't make Random Campaigns! - 7/16/2012 10:21:30 PM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
Hi!

After update, haven't tried in older version.

(in reply to Erik Rutins)
Post #: 17
RE: Can't make Random Campaigns! - 7/16/2012 10:59:20 PM   
Rick

 

Posts: 12335
Joined: 4/20/2000
Status: online

quote:

ORIGINAL: Narko

Hi!

After update, haven't tried in older version.


to followup on Eriks question. I'm attaching a copy of the Random Campaign generator before the update. You can see it it runs.

Thaqnks
rick


Attachment (1)

(in reply to Narko)
Post #: 18
RE: Can't make Random Campaigns! - 7/17/2012 1:47:01 AM   
dazoline II


Posts: 372
Joined: 11/5/2007
Status: offline
mshta.exe is an executable used by Explorer to run hta files and is installed by default on windows. It should be located at C:\WINDOWS\System32\mshta.exe for a normal install. There have been some instances of this exe being infected with a virus so you may want to run an up to date virus checker and see what it finds.

Take a look at http://www.bleepingcomputer.com/forums/topic363517.html for an example of an infection. This may not be the source of the issue your facing but as mshta.exe is seperate from anything Matrix installs it would be good to check it out.



_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to Rick)
Post #: 19
RE: Can't make Random Campaigns! - 7/17/2012 7:16:57 AM   
Narko

 

Posts: 8
Joined: 7/15/2012
From: Latvia
Status: offline
Scanned with Kaspersky, no viruse found.

Still an error!

Thanks for the help guys!

(in reply to dazoline II)
Post #: 20
RE: Can't make Random Campaigns! - 7/22/2012 6:10:55 PM   
dazoline II


Posts: 372
Joined: 11/5/2007
Status: offline
I run Win7 64 bit as well although I use IE 8 rather than 9. and the random campaign runs to completion correctly.

The code is looking for a 32bit process "var colProcessList = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'mshta.exe'");". And I have seen errors where only 64bit process libaries are installed and those executing in 32bit fail. So it maybe worth looking at re installing IE 9 as a 32bit app or installing IE 8 and trying it with that.

Sorry I can't be more help but I don't have the exact configuration you have so its next to imposible to debug successfully. Although I really think the error is with the instance of mshta.exe on your machine, I just can't prove it.


_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to Narko)
Post #: 21
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Tech Support >> Can't make Random Campaigns! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.090