Gammon Forum
Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
MUSHclient
General
Playing sounds while in the background
Playing sounds while in the background
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Faedara
(106 posts) bio
|
Date
| Mon 02 Aug 2010 03:03 AM (UTC) |
Message
| Is there any way for MUSHclient to play sounds when it's not the active window? If not, are there plans to change this sometime in the near future, or add an option for it?
I myself want it because I like the background music I add to the MUD, but because I constantly switch windows the music is broken up, but it would be useful to people who keep MUSHclient in the background for other reasons and would like to hear what's going on in the background (Such as a ping when they get attacked, or recieve a new tell) |
The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2. | top |
|
Posted by
| Nick Gammon
Australia (23,042 posts) bio
Forum Administrator |
Date
| Reply #1 on Mon 02 Aug 2010 04:01 AM (UTC) |
Message
| The ordinary Sound function should work if MUSHclient does not have the focus. Added new configuration option for version 4.56, which lets you set the PlaySound function (which uses DirectSound) to keep playing in the background.
This does not have a GUI configuration option, but run this script line to activate/deactivate it:
SetOption ("play_sounds_in_background", 1) -- activate it
SetOption ("play_sounds_in_background", 0) -- deactivate it
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Faedara
(106 posts) bio
|
Date
| Reply #2 on Mon 02 Aug 2010 04:10 AM (UTC) |
Message
| Sounds good, thanks Nick |
The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2. | top |
|
Posted by
| Faedara
(106 posts) bio
|
Date
| Reply #3 on Mon 02 Aug 2010 04:12 AM (UTC) |
Message
| I cut my own post short, meant to say:
Sounds good, thanks Nick. Can't wait until it comes out =^-^= |
The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2. | top |
|
Posted by
| KaVir
Germany (117 posts) bio
|
Date
| Reply #4 on Mon 02 Aug 2010 01:14 PM (UTC) |
Message
| Thanks Nick, that'll be making its way into the next version of my plugin! | top |
|
Posted by
| Faedara
(106 posts) bio
|
Date
| Reply #5 on Tue 03 Aug 2010 05:59 AM (UTC) |
Message
| KaVir, don't stalk me X3 |
The eternally clueless <3
Currently looking for a mentor/tutor to help me learn everything about Lua from the ground up. I can't understand 28*41 until I learn what causes 2+2. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,549 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.