SphereCommunity
Music not working - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Music not working (/Thread-Music-not-working)

Pages: 1 2


Music not working - Archaaz - 01-24-2014 04:14 PM

Basically, the midi files are not triggering upon entering certain areas, or periodically for that matter. I made a similar thread some time back, but was unable to arrive at a solution.

I recently bought a new laptop and decided to switched to the new Nightly Build and SCP, partly in hopes of correcting the issue. I also installed a new copy of the UO Classic Client (version 7.0.1.15.1). So, basically starting from scratch. I have not altered anything other than the Sphere.ini file, but there is still no music. I checked to make sure that the music is checked in Options, and that the volume is turned up. Footsteps and other sound effects seem to function, though the periodic sound effects seem to work only for some regions (only one dungeon area so far).

Here is the listing for Britain in Region.scp:

Quote:[REGIONTYPE r_brit t_rock]
// Sometimes Iron can be mined in the town of Britannia.
RESOURCES=60.0 mr_nothing
RESOURCES=40.0 mr_iron
ON=@Enter
SRC.MESSAGE Welcome to Britain <SRC.NAME>!
SRC.MESSAGE Lord British Guards are here to protect you!
SRC.MUSIC=midi_britain1,midi_britain2
ON=@CliPeriodic
SRC.MUSIC=midi_britain1,midi_britain2

When I enter Britain I receive both messages, but the music fails to play. I notice that the UO music folder contains MP3s as opposed to midis, but, unless I am wrong, this should not matter. Similarly, the periodic music for other regions and areas fails to play.

Anyone have any idea what I am doing wrong? Thanks in advance.


RE: Music not working - Alaric - 01-24-2014 04:53 PM

i guess the right form should be

src.music 9,10
or src.midilist 9,10
or src.music <def.britain_music1>,<def.britain_music2>
or src.midilist <def.britain_music1>,<def.britain_music2>

or combining numbers with defs, but... i've tried that and it doesn't work. Who broke it! (56c and 56b prerelease tested, neither worked)

The only thing that seems to work is
Code:
music/midilist 0,whatever
and it starts playing "terrifying" music (turfin.mp3).


RE: Music not working - darksun84 - 01-24-2014 05:29 PM

Do you have this feature enabled in the sphere.ini ?

// FEATURE_LBR_SOUND 02 // MP3 instead of MIDI


RE: Music not working - Alaric - 01-24-2014 11:49 PM

Yes, sir.


RE: Music not working - Archaaz - 01-25-2014 02:25 AM

(01-24-2014 04:53 PM)Alaric Wrote:  i guess the right form should be

src.music 9,10
or src.midilist 9,10
or src.music <def.britain_music1>,<def.britain_music2>
or src.midilist <def.britain_music1>,<def.britain_music2>

or combining numbers with defs, but... i've tried that and it doesn't work. Who broke it! (56c and 56b prerelease tested, neither worked)

The only thing that seems to work is
Code:
music/midilist 0,whatever
and it starts playing "terrifying" music (turfin.mp3).

I have the same experience. These formats all trigger turfin.mp3, which I assume is the default. Turfin.mp3 is listed in my UO music\digital folder as mp3 number 66.

I tried src.music and src.midilist with some higher numbers (src.music 15 for example) but the result was no music at all.

I also tried SRC.MUSIC midi_britain1,midi_britain2 (as opposed to SRC.MUSIC= midi_britain1,midi_britain2) as well, as this is what is listed in sphere_defs, but it did not work either; no music at all.

(01-24-2014 05:29 PM)darksun84 Wrote:  Do you have this feature enabled in the sphere.ini ?

// FEATURE_LBR_SOUND 02 // MP3 instead of MIDI

Yes, indeed. I tried it both ways, with it enabled and without, and I get the same results.


RE: Music not working - Extreme - 01-25-2014 02:39 AM

@ENTER and @EXIT are not working here for both AREADEF and ROOMDEF.
When I use .music or .midilist the music plays fine.

Ahh, I'm using UO version 7.0.10.3.


RE: Music not working - Archaaz - 01-25-2014 05:28 AM

Thanks guys. Not sure what the issue is exactly. I tried downloading 7.0.10.3, but the result is the same. Basically there is either no music or turfin.mp3 plays. Will keep trying things I suppose. Thanks again.


RE: Music not working - Ben - 01-25-2014 06:42 AM

I'm not sure when this was changed... but from what I see in the source, triggers don't work in AREADEF, only in REGIONTYPE that are defined in the AREADEF and ROOMDEF, and also in the sphere.ini setting EVENTSREGION.
With that said... I see no issues here. The triggers are working fine and like Extreme, music works fine for me too.


RE: Music not working - Alaric - 01-25-2014 08:35 PM

Guys, you must be wizzards.

How exactely are you testing it? It still doesn't work to me. Simply trying .music/.midilist 8,9 commands in game with no result. Sphere.ini flag switching with and without mp3 support. Changing clients. Nothing...


RE: Music not working - Archaaz - 01-26-2014 01:55 AM

(01-25-2014 08:35 PM)Alaric Wrote:  Guys, you must be wizzards.

How exactely are you testing it? It still doesn't work to me. Simply trying .music/.midilist 8,9 commands in game with no result. Sphere.ini flag switching with and without mp3 support. Changing clients. Nothing...

Yep, same here. Not sure what exactly the problem is, but I am out of options.