Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Wed Oct 03, 2018 5:52 am   

Issue with Sounds
 
In Options > Sounds, the Startup, Connect, and Disconnect .wav files I selected from the Windows > Media folder on my Windows 10 PC were all accepted and work OK. The Beep sound, however, defaulted on the Windows Background file and refuses to accept the file I want for it, which is one of the generic ring files in the same folder. I got a little annoyed and decided to delete the Windows Background file, thinking the software might then accept something else. Instead, it's completely mute and beeping doesn't produce any sound no matter what I choose. This doesn't happen with MUSH or the other programs I've run. Any suggestions on a fix? I love CMUD but being alerted via beeping is essential as I'm often connected while at work and IAW.

Thanks.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Wed Oct 03, 2018 10:51 am   
 
Eh, I have never messed with those sound options myself.
When I want sound, I just stick it into a trigger proper with the #PLAY command.

#PLAY FishingCast.mp3
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Wed Oct 03, 2018 11:04 am   
 
shalimar wrote:
Eh, I have never messed with those sound options myself.
When I want sound, I just stick it into a trigger proper with the #PLAY command.

#PLAY FishingCast.mp3


How would you link that sound file to the software? Other than aliases, triggers and timers, I don’t know how to use CMUD’s myriad of functions and features.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Wed Oct 03, 2018 11:19 am   
 
The #PLAY command can be put into almost any setting.
There is no need to link it, you pass the file name to the command.
Even complex file paths can be used:

#PLAY "G:\My Sounds\Groovy.wav"
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Wed Oct 03, 2018 11:23 am   
 
shalimar wrote:
The #PLAY command can be put into almost any setting.
There is no need to link it, you pass the file name to the command.
Even complex file paths can be used:

#PLAY "G:\My Sounds\Groovy.wav"


Okay. So let’s say I would want groovy.wav to fire when the session screen sends me e.g. You are being BEEPED by %1!

How do I created a play command within the create trigger screen? I’m not very familiar with hashtag shortcuts.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Wed Oct 03, 2018 11:36 am   
 
the hashtag shortcuts as you call them, are the actual calls to the client commands.

If you want to create a trigger, you use the #TRIGGER command, same for #ALIASes and so on.

For the scenario you point out you would type the following on the command line:

#TRIGGER {You are being BEEPED} {#PLAY groovy.wav}

If you are entering it via the GUI, then you have to fill in the various text boxes.
On the pattern line you would stick:
You are being Beeped

Then down below you would need to ensure you are on the 'Script Text' tab and stick:
#PLAY groovy.wav
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Wed Oct 03, 2018 11:43 am   
 
shalimar wrote:
the hashtag shortcuts as you call them, are the actual calls to the client commands.

If you want to create a trigger, you use the #TRIGGER command, same for #ALIASes and so on.

For the scenario you point out you would type the following on the command line:

#TRIGGER {You are being BEEPED} {#PLAY groovy.wav}

If you are entering it via the GUI, then you have to fill in the various text boxes.
On the pattern line you would stick:
You are being Beeped

Then down below you would need to ensure you are on the 'Script Text' tab and stick:
#PLAY groovy.wav


Right, I only use the GIU when creating aliases and triggers.

If I were doing it the way I usually do, I would’ve put the beep line in the pattern field and then entered #PLAY soundfilepath.wav in the first command line. I’m assuming this is not how this would be done since it would be asking CMUD to execute a play command rather than a basic one like ‘stand’ or ‘reply xyz’ etc.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Wed Oct 03, 2018 11:49 am   
 
That is exactly how you do it.
Meaning treat client commands just as a basic command, the internal parser will know not to send client commands to the game server.
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Wed Oct 03, 2018 12:43 pm   
 
shalimar wrote:
That is exactly how you do it.
Meaning treat client commands just as a basic command, the internal parser will know not to send client commands to the game server.


It works. See, that's why you're the guru. Very Happy

Cheers.
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Thu Nov 15, 2018 8:29 am   
 
I've got an unrelated question but didn't want to make a new thread for it. If anyone has any insight, feel free to contribute.

I was wondering if there's a way to see your session's password anywhere in the client, as it's currently set to a typical autologin that displays the character name but not the PW. When I open the autolog folder in the triggers medium (the tree), it simply shows the value as #PW. I don't remember the password and am concerned that if ever I can't use the software or accidentally delete the session or the package, I won't be able to log in again. Getting assistance for it within the world I play is slow and inefficient. The password isn't gagged when used in-game (that box is unchecked).
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Thu Nov 15, 2018 1:18 pm   
 
There is one possible way:

#ALIAS password {#SHOW %pass}

%pass has the value of the stored password, but will only retrieve it if used in a script (hence the alias), not directly from the command line.

P.S. So long as the threads are CMUD related and not superfluous SPAM, make as many as you want.
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Sun Nov 25, 2018 9:54 pm   
 
shalimar wrote:
There is one possible way:

#ALIAS password {#SHOW %pass}

%pass has the value of the stored password, but will only retrieve it if used in a script (hence the alias), not directly from the command line.

P.S. So long as the threads are CMUD related and not superfluous SPAM, make as many as you want.


That worked well. Thank you.
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Thu Nov 29, 2018 5:07 pm   
 
I'm trying to create a trigger that would activate something on my end in the session window.

The pattern is this:

[YOUR INFO]: %1 has just moved to %2!

Problem is the square brackets turn light green in the pattern light and the trigger doesn't work. Removing them doesn't, either. Brackets aren't by default special characters in this client. Any suggestions on how to deal with this wildcard?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3836
Location: Pensacola, FL, USA

PostPosted: Fri Nov 30, 2018 12:00 am   
 
The actually are wildcards, or rather, they are pattern matching symbols for identifying a valid range.
#HELP #TRIGGER has a link to the help file for the symbols.

All you have to do is quote them out with the tilde '~' to have it match the literal brackets
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Royalty
Newbie


Joined: 03 Oct 2018
Posts: 9

PostPosted: Sun Dec 02, 2018 6:38 pm   
 
shalimar wrote:
The actually are wildcards, or rather, they are pattern matching symbols for identifying a valid range.
#HELP #TRIGGER has a link to the help file for the symbols.

All you have to do is quote them out with the tilde '~' to have it match the literal brackets


Thanks for the great support. That worked.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net