PDA

View Full Version : Program events?


GreeN
17 Jan 2009, 14:56
Just upgraded my PC; Intel Core 2 Duo running XP Pro (32bit), and installed W:A from scratch. Updated to .29.0 and resumed playing with only one hitch, being that the "Asterisk" and "Exclamation" sounds no longer play when W:A is minimised (During a game) and my turn occurs or a PM is received. Any ideas why/where I can enable these again?

Fixed (http://forum.team17.co.uk/showpost.php?p=684098&postcount=10)

GreeN
20 Jan 2009, 01:58
Surely this is a parameter set by the game itself, so any information on the commands used would at least give me a starting point to troubleshoot this

franpa
20 Jan 2009, 02:34
Start -> Control Panel -> Sounds -> Sound Schemes, enable them here.

http://i63.photobucket.com/albums/h133/franpa/Untitled-38.png

Roboslob
20 Jan 2009, 05:30
Start -> Control Panel -> Sounds -> Sound Schemes, enable them here.

http://i63.photobucket.com/albums/h133/franpa/Untitled-38.png

I believe he means the game made sounds to tell him its his turn or he has a message. That would have nothing to do with his sound scheme for windows.

orbik
20 Jan 2009, 11:14
Surely this is a parameter set by the game itself, so any information on the commands used would at least give me a starting point to troubleshoot this

I believe the command used is MessageBeep(MB_ICONASTERISK); And if it fails to play the associated sound in another program, the problem is most likely unrelated to W:A.

This may help with diagnosis:
printf("MessageBeep will play the asterisk sound...\n");
system("pause");
if (MessageBeep(MB_ICONASTERISK) == false) { // If the function succeeds, the return value is nonzero.
printf("MessageBeep failed. System error %i", GetLastError());
}

Compiled exe http://ihme.org/~orbik/temp/soundtest.exe
List of System error codes: http://msdn.microsoft.com/en-us/library/ms681381.aspx

franpa
21 Jan 2009, 00:08
if you don't hear any noises to signal that you recieved a PM or that it is your turn while you are minimized, then the problem most likely lies in the Windows Sound Scheme that you are using.

I believe some countries version of WindowsXP excludes one of the sounds by default and was discussed a while back on these forums.

GreeN
21 Jan 2009, 00:32
Ok just to avoid any unneccesary suggestions, I have already looked into the sound scheme for this system and tweaked it various times to no avail

Orbik and I have been discussing the problem for a while now and he seems to have come closest to identifying the "problem"; There is obviously some conflict with this command somewhere along the line as the sounds can be freely recalled in any other instance

franpa
21 Jan 2009, 00:43
crap lol, I think W:A uses the Windows Sound Scheme, I forgot I was in the WWP forum :/

GreeN
21 Jan 2009, 14:54
crap lol, I think W:A uses the Windows Sound Scheme, I forgot I was in the WWP forum :/

Team17 Forum > Support > Worms Armageddon Support > Program events?

Try and catch up on some sleep, Franpa :P

GreeN
27 Jan 2009, 22:25
Ok, just "fixed" it... *Kicks self in eye*

Tweak UI -> General -> (Tick) Beep on errors -> Apply

Thank you, (Late) common sense!