.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old May 16th, 2006, 02:23 PM

jagermeister jagermeister is offline
Private
 
Join Date: May 2006
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jagermeister is on a distinguished road
Default Runtime error (solved problem)

I have a runtime error when using the shift key to place more than a unit in hex. The game crash when I click in the target hex.

http://img185.imageshack.us/img185/7...nstitre2de.jpg

Except this problem sounds works properly.
Reply With Quote
  #2  
Old May 16th, 2006, 02:29 PM
Pyros's Avatar

Pyros Pyros is offline
Colonel
 
Join Date: Mar 2005
Posts: 1,668
Thanks: 0
Thanked 5 Times in 5 Posts
Pyros is on a distinguished road
Default Re: Runtime error

Hi,

Is this happening all times? or it just happened once on a specific scenario?

Could you please attach a savegame.

cheers,
Pyros
Reply With Quote
  #3  
Old May 16th, 2006, 02:38 PM

jagermeister jagermeister is offline
Private
 
Join Date: May 2006
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jagermeister is on a distinguished road
Default Re: Runtime error

In each scenario I played I have this problem. With sounds turned off I have no crash.
Attached Files
File Type: rar 424314-Saved Games.rar (50.8 KB, 144 views)
Reply With Quote
  #4  
Old May 16th, 2006, 03:09 PM
Pyros's Avatar

Pyros Pyros is offline
Colonel
 
Join Date: Mar 2005
Posts: 1,668
Thanks: 0
Thanked 5 Times in 5 Posts
Pyros is on a distinguished road
Default Re: Runtime error

I checked it and I can't reproduce it, so it must be something related with your settings.

cheers,
Pyros
Reply With Quote
  #5  
Old May 16th, 2006, 03:28 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 441
Thanked 1,855 Times in 1,219 Posts
Mobhack is on a distinguished road
Default Re: Runtime error

If switching off all sounds makes the problem go away, then you have sound card problems.

- your sound card drivers may not be up to date, or may not be the XP version. Check the manufacturer's web site for the latest versions.

- As many cheaper or older sound cards (or installed third party CODECS) had problems with multiple simultaneous MP3 channels playing, in WW2 we issued the larger WAV file formats instead of the more compact MP3 file format. So any of these problems which occured with MBT are not your problem in this case.

- At a guess, as the battle FX files are rather large, then your sound card may simply not have enough horsepower to accomodate these, plus overlaid sound channels?. Try mouse click OFF in the game options screen, and Sound FX ON in preferences (to get explosions, movement, firing sounds etc), but Battle FX to OFF (no (large) background battle noise files being played then). If that works fine, then you may want to enable mouse clicks as well (I always turn them off as I find then irritating



Cheers
Andy
Reply With Quote
  #6  
Old May 16th, 2006, 06:08 PM

NefariousKoel NefariousKoel is offline
Private
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
NefariousKoel is on a distinguished road
Default Re: Runtime error

I know exactly what causes this problem as it happened to me.

I had 3rd party media player codecs installed. I simply uninstalled the codec pack and it works great. The same goes for WinSPMBT.

Reply With Quote
  #7  
Old May 17th, 2006, 07:47 AM

jagermeister jagermeister is offline
Private
 
Join Date: May 2006
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jagermeister is on a distinguished road
Default Re: Runtime error

No need to delete any codecs.

After many tests I find a solution for my problem : I simply convert wav files to wma (windows media audio) files with an encoder and It works fine in WinSPWW2 and also in WinSPMBT. [img]/threads/images/Graemlins/icon09.gif[/img]

No more crash.
Reply With Quote
  #8  
Old May 17th, 2006, 04:51 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 441
Thanked 1,855 Times in 1,219 Posts
Mobhack is on a distinguished road
Default Re: Runtime error

Ok - another approach to people who have sound card problems, if WAV is not good for them.

Are the wma files smaller than the WAVs? (just wondering why wma fromat is better on your machine, really - cannot recall many uses of wma format at all)

Andy
Reply With Quote
  #9  
Old May 17th, 2006, 06:07 PM

jagermeister jagermeister is offline
Private
 
Join Date: May 2006
Location: France
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
jagermeister is on a distinguished road
Default Re: Runtime error

Wma files are a few biggest than wav files but the different is not very important.

In my opinion if it's a problem of media player codec with wav files, it's normal that with wma files there is no conflict with codecs.
Reply With Quote
  #10  
Old June 5th, 2006, 10:39 PM

NefariousKoel NefariousKoel is offline
Private
 
Join Date: May 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
NefariousKoel is on a distinguished road
Default Re: Runtime error

Both my WinSPMBT and WinSPWW2 had been running just fine until today. I guess I installed something else that didn't go well with it. No codecs packs either. Anyway, I tried installing Media Player 10 in the hopes of fixing it, but no go.

I converted the sound files to .wma format and all is well. I'd be happy to upload the ini sound file in order to save anyone else the time of changing the file extensions to wma.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:45 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.