PDA

View Full Version : Perl Script New Year's Request


Neiv
01-02-2009, 04:43 PM
Wasn't sure weather to post this here or in the Development forum. There have been many questions (including mine) regarding the ability to play custom music files as part of the zone music. How difficult would it be to implement a perl statement that launches an mp3 file at the client level? It seems to me if we had such a statement, we could then place it under a sub_ENTER function in the player.pl of each zone folder, and that would resolve the issue. Any thoughts?

Yeormom
01-03-2009, 12:34 AM
Just to make sure, you realize that you would have to distribute those files to all clients and place them in a specific location correct? Also, if your intention to use the client's MP3 player? You're really looking at a client side overlay from what I can tell.

docbeale
01-03-2009, 01:09 AM
could you not have a server specific patcher that just replaces the *.mp3 with what ever you wanted played titled as the old file? Just seems like a quick fix for folks that wanted it.

Neiv
01-03-2009, 01:57 AM
Yep, the mp3s would be distributed with the rest of the files. As for changing the existing mp3s, that will work on zones that use an mp3 (in fact I've done that with the eqtheme.mp3 file already), but most of the old-world zones encode the music into the .eff files (as I understand it), and won't access an mp3. I'm just surprised there isn't some "exec" statement included in the perl language that would execute a specified file/location.