Can't make Random Campaigns! (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Tech Support



Message


Narko -> Can't make Random Campaigns! (7/15/2012 1:19:14 PM)

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?

[image]local://upfiles/42649/7968FAF7960F4CF59B1A9CC374907284.jpg[/image]




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

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




Narko -> RE: Can't make Random Campaigns! (7/15/2012 7:29:27 PM)

Yes, I can generate random battle without any problems.




Rick -> RE: Can't make Random Campaigns! (7/15/2012 8:43:44 PM)


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




Narko -> RE: Can't make Random Campaigns! (7/15/2012 8:52:09 PM)

Nop, It just shows script error when I press Build Campaign.




Rick -> RE: Can't make Random Campaigns! (7/15/2012 8:53:48 PM)


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




Narko -> RE: Can't make Random Campaigns! (7/15/2012 9:03:17 PM)

You mean like this or?







junk2drive -> RE: Can't make Random Campaigns! (7/15/2012 9:20:06 PM)

This is the program in your PCO folder that you need to check

PzCRCg.hta




Narko -> RE: Can't make Random Campaigns! (7/15/2012 9:25:35 PM)

It seems I can't.




junk2drive -> RE: Can't make Random Campaigns! (7/15/2012 9:35:19 PM)

I'm on XP so I can't help much.




Rick -> RE: Can't make Random Campaigns! (7/15/2012 9:37:26 PM)


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




Rick -> RE: Can't make Random Campaigns! (7/15/2012 9:38:08 PM)

Can you log to your computer as Administrator and then run PCO?

Thanks
rick




Narko -> RE: Can't make Random Campaigns! (7/15/2012 9:53:03 PM)

Language: Latvian, logged as administrator.




Rick -> RE: Can't make Random Campaigns! (7/15/2012 10:24:13 PM)


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




Rick -> RE: Can't make Random Campaigns! (7/16/2012 8:33:58 PM)


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




Erik Rutins -> RE: Can't make Random Campaigns! (7/16/2012 9:57:53 PM)

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




Narko -> RE: Can't make Random Campaigns! (7/16/2012 10:21:30 PM)

Hi!

After update, haven't tried in older version.




Rick -> RE: Can't make Random Campaigns! (7/16/2012 10:59:20 PM)


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




dazoline II -> RE: Can't make Random Campaigns! (7/17/2012 1:47:01 AM)

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.





Narko -> RE: Can't make Random Campaigns! (7/17/2012 7:16:57 AM)

Scanned with Kaspersky, no viruse found.

Still an error!

Thanks for the help guys!




dazoline II -> RE: Can't make Random Campaigns! (7/22/2012 6:10:55 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.757813E-02