MSP issues

Posted by LeviatasVF on Sat 15 Aug 2009 03:10 PM — 14 posts, 39,240 views.

#0
Allright, I have read through some of the current MSP postings but have yet seen something that directly relates to my issue. I have the latest version of mushclient. I go to add MSP, turn the sound on in the mud, set the path to where the files are saved, but, I get a ding. So, I double check, make sure I typed the set_msp_path "abc" is tyed correctly, yet I still get a ding. :(

Any ideas?
#1
So here is what I have done:

Downloaded sounds to: C:\MUSHclient\sounds
Opened MSUHClient, clicked "Global Preferences", clicked plugins, added MSP plugin.
Opened Plugins via FILE. Added MSP Plugin.
Went to MUD, typed: set_msp_path C:\MUSHclient\sounds
Typed: config sound mush
Restarted MUSHclient.

But, I still get the beep as if it cannot find the sound files.

Any ideas?
Australia Forum Administrator #2
Two questions about MSP on the same day. :O

Can you give me the URL of the sound files? I would like to check it myself. One possible explanation is the type of sound file.
#3
http://6dragons.org/sound/sound.zip

Australia Forum Administrator #4
OK, they look alright.

Now, let's see what is arriving. Disable the MSP plugin (open the plugins list and hit the Disable button) and then get some sounds from the MUD. Please copy and paste exactly what you see, eg. something like:


!!SOUND(thunder.wav V=100 L=1 P=30 T=weather)


#5
How would I go about "Getting sounds from the mud"? You mean do something to trigger a sound?
Australia Forum Administrator #6
Yes. Make sure you typed "config sound mush" so it thinks you are using msp.

Then go kill something.
#7
As soooon as the head builder stops lockin me in the city... Hes implementing new areas. Be just a couple moments.
#8
Now when I do this should I also remove the plugin from global preferences? Or, should I let that alone?
#9
here are a cuple of examples:

A giant beholder steps in on you and bites your left arm!
A giant beholder's bite scratches you 1 time for 29 total damage.
!!SOUND(sound/playerhit.wav)
Your stab rips a giant beholder 3 times for 96 total damage!
You receive Double Experience.
You receive 3824 experience points.

and

Seeing a movement of a giant beholder's shoulders, you bring up your weapon parrying its attack.
!!SOUND(sound/playerhit.wav)
Your stab rends a giant beholder 4 times for 112 total damage!
You receive Double Experience.
You receive 4859 experience points.
A giant beholder is DEAD!!
Australia Forum Administrator #10
Quote:

Went to MUD, typed: set_msp_path C:\MUSHclient\sounds
...

!!SOUND(sound/playerhit.wav)


It joins up the path you gave with what it got from the MUD. So it is going to look for a file in:


C:\MUSHclient\sounds\sound/playerhit.wav


Apart from the problem with the slashes, the path isn't right.

Try making a directory inside C:\MUSHclient\sounds called "sound" and putting the sounds in that. You want to get to the point where the filename:


C:/MUSHclient/sounds/sound/playerhit.wav


is valid.

And since the MUD is sending a forwards slash I would do this for the path:


set_msp_path C:/MUSHclient/sounds


Notice the forwards slashes.

I think there is a bug in the plugin in the way it remembers the path you set.

Edit the plugin, and delete the following lines:


<!--  Variables  -->

<variables>
  <variable name="msp_path">c:\mushclient\msp\</variable>
</variables>


Then reinstall the plugin. THEN do the "set_msp_path". Then it should be OK.
#11
What should I use to edit it?
Australia Forum Administrator #12
Let's forget the global plugin for the moment. Use the File Menu -> Plugins to add it as a plugin for this world. Then in the plugins list click the Edit button. That should do it. Close the plugins list, remove those lines, save it, and then go back to the plugins list and click Reinstall.
#13
yep, that worked :D