Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: BlackSanta on March 31, 2013, 09:24:16 AM

Title: Playsound with no sound!?!
Post by: BlackSanta on March 31, 2013, 09:24:16 AM
Hi! I was using ULX's playsound command (i have the sounds placed in the right folder, AND they have been downloaded by clients) but when i played the sound, it popped up in global chat "Black Santa played America.mp3" BUT, no noise. At all. I know i have everything in the right place, as 2 other sound files HAVE been download, and they work. If anyone could help me, i would greatly appreciate it! Also if you need any other info to help me, such as what my directories look like or something, just ask!
Title: Re: Playsound with no sound!?!
Post by: Megiddo on March 31, 2013, 10:05:08 AM
Generally this would indicate that the clients didn't properly download it (if you can run the command, the server definitely has it). Try setting sv_cheats to 1 and running the following on your client console:

Code: [Select]
lua_run_cl print( file.Exists( "sound/<my sound file>", "GAME" ) )

If it says "false", the client doesn't have the sound file.
Title: Re: Playsound with no sound!?!
Post by: BlackSanta on March 31, 2013, 11:07:29 AM
I ran that command you gave me, and it said true. But still, no sound. It says it plays, but we no one can hear it. Got any other ideas i can take a whack at?
Title: Re: Playsound with no sound!?!
Post by: Megiddo on March 31, 2013, 12:48:14 PM
Is it possible the Source engine just doesn't like that particular mp3 for some reason? Try repeating the procedure with some other generic, small mp3.