Author Topic: Send sounds from the "sound" directory.  (Read 3390 times)

0 Members and 2 Guests are viewing this topic.

Offline Moko

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Send sounds from the "sound" directory.
« on: May 05, 2007, 01:15:02 PM »
I love the !playsound command. Since a player has to actually have the sound in their "sound" directory to hear it, is there a way to somewhat force them to download these sounds when they connect to the server? I'm running a dedicated server.

Thanks.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Send sounds from the "sound" directory.
« Reply #1 on: May 05, 2007, 01:33:49 PM »
Yes, next version you can do this. It's coming soon, we promise. :)
Experiencing God's grace one day at a time.

Offline Moko

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Send sounds from the "sound" directory.
« Reply #2 on: May 05, 2007, 02:50:42 PM »
Awesome, thanks!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Send sounds from the "sound" directory.
« Reply #3 on: May 05, 2007, 08:11:15 PM »
New version is now out! yay
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Moko

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Send sounds from the "sound" directory.
« Reply #4 on: May 09, 2007, 12:04:19 PM »
I installed the new version. I added the required "ulx addForcedDownload sound/soundname.mp3" lines inside the server.ini file. The people who join the server, including myself, successfully download the sounds while connecting. Heres the problem. When I use the "ulx playsound soundname.mp3" command, I get an error saying: " Warning: Unhandled usermessage 'ulib_sound' " in the console and the sound does NOT play for anyone. Heres what it actually looks like when I type in the command:

] ulx playsound trap.mp3
(ADMIN) played sound trap.mp3
(ADMIN) played sound trap.mp3
Warning: Unhandled usermessage 'ulib_sound'
« Last Edit: May 09, 2007, 12:06:13 PM by Moko »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Send sounds from the "sound" directory.
« Reply #5 on: May 09, 2007, 12:44:56 PM »
Are you running in developer mode? There was a bug in developer mode at release that would cause that.
Experiencing God's grace one day at a time.

Offline Moko

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Send sounds from the "sound" directory.
« Reply #6 on: May 09, 2007, 01:24:58 PM »
EDIT: Nevermind, I'm retarded. I downloaded the new ULX but never realized there was a new ULib as well. Everything works fine now, haha. I'm sorry.
« Last Edit: May 09, 2007, 01:46:27 PM by Moko »