ULX

Author Topic: ULX Playsound Question  (Read 17577 times)

0 Members and 1 Guest are viewing this topic.

Skullhead860

  • Guest
ULX Playsound Question
« on: June 30, 2007, 02:01:17 PM »
Hey i'm running a listen server on Gmod 10 and using version 3.11 of ulx. I got the playsound to function, but im the only who can hear it. I added
ulx addForceDownload "sound/NFR.wav"
ulx addForceDownload "sound/LS.wav"   at the bottom of the server configuration file in garrysmod\garrysmod\addons\ulx\lua\ulx\configs.  I want to make it so that everyone in my server can hear it. Is there something that im not doing right? thx :)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Playsound Question
« Reply #1 on: June 30, 2007, 02:45:34 PM »
Are people actually downloading it when they join? Do they get an error in the console when you play it?
Experiencing God's grace one day at a time.

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #2 on: June 30, 2007, 02:49:40 PM »
I will check this and get back to you

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #3 on: June 30, 2007, 03:06:59 PM »
Ok when the players are connecting i see the SWEPs that are being sent to the client.. but i dont see the sound file..
When i tried to play the sound they got
 [LC ULX ERROR] Received invalid sound 
and
B Failed to load sound "friends\friend_ingame.wav", file probably missing from disk/repository
in the console

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: ULX Playsound Question
« Reply #4 on: June 30, 2007, 03:37:33 PM »
Are you using sv_downloadurl? If so, are the wav's on the host? You must have all maps, sounds, etc. (whatever loads before urls) on the sv_downloadurl host if it is enabled. It basically disables downloads from the server.

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #5 on: June 30, 2007, 03:50:23 PM »
Uhh  im really noobish when it comes to stuff like this  :-\  So i dont know what sv_downloadurl is. Which means im probably not using it...

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #6 on: June 30, 2007, 04:01:40 PM »
Here is a screenshot of what i have so far...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Playsound Question
« Reply #7 on: June 30, 2007, 04:19:02 PM »
It's ulx addForcedDownload not ulx addForceDownload.

Hope that fixes it for you! ;)
« Last Edit: June 30, 2007, 04:54:40 PM by Megiddo »
Experiencing God's grace one day at a time.

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #8 on: June 30, 2007, 04:30:22 PM »
I didn't realize that i made that mistake... but unfortunately it still doesn't work. My clients are still getting
[LC ULX ERROR] Received invalid sound  when i try to play it

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Playsound Question
« Reply #9 on: June 30, 2007, 04:54:48 PM »
What do you have in your config now?
Experiencing God's grace one day at a time.

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #10 on: June 30, 2007, 05:00:17 PM »
Here is what i have after the changes...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Playsound Question
« Reply #11 on: June 30, 2007, 05:04:00 PM »
You need a space between forceddownload and the filename.
Experiencing God's grace one day at a time.

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #12 on: June 30, 2007, 05:07:44 PM »
Yea i just noticed that after i posted the image... if that was my problem im gonna feel really dumb  :P

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #13 on: June 30, 2007, 05:16:16 PM »
I fixed the problem with the space.. but they still get the invalid sound error.... :(

Skullhead860

  • Guest
Re: ULX Playsound Question
« Reply #14 on: June 30, 2007, 05:18:29 PM »
// You can also add forced downloads here. Make sure you put quotes around the path/filename, and take out the comment string '//'.
// Add as many as you want. You can also add these to your map- or game-specific files.
//ulx addForcedDownload "sound/cheeseman.mp3"
ulx addForcedDownload "sound/NFR.wav"
ulx addForcedDownload "sound/LS.wav"
ulx addForcedDownload "sound/MW.wav"

 It Looks right to me... Is there any other file that could possibly cause the error?