This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.
There is a video link at the bottom if you want to watch me recreate my problems first. My ULib/ULX versions (run "ulx version" in console):
ULib v2.63d (05/12/18)
ULX v3.73d (05/20/18)
Game mode(s) I am having this problem on:
GarrysMod TTT
Lua errors shown in console, if any:
ulx playsound innobeat1.wav
You played sound innobeat1.wav
[LC ULib ERROR] Received invalid sound
So I'm trying to add end round music to my server. After following mods guide I'm trying to play sound to see if it works. I'll post my command and a snip of what shows in console and what I see in FTP.
Trying to play sound in directory.
Commands used:
ulx playsound sound/endroundmusic/traitor/tttfightback.mp3
ulx playsound /sound/endroundmusic/traitor/tttfightback.mp3
ulx playsound /garrysmod/sound/endroundmusic/traitor/tttfightback.mp3
error given:
That sound doesn't exist on the server!
I'm hosting through NFO and I have made a lua/autorun/resource.lua file with
resource.AddFile( "sound/endroundmusic/traitor/tttfightback.mp3" )
resource.AddFile( "sound/endroundmusic/innocent/innobeat1.mp3" )
resource.AddFile( "sound/endroundmusic/timeout/ashes.mp3" )
resource.AddFile( "sound/ashes.mp3" )
resource.AddFile( "sound/innobeat1.mp3" )
resource.AddFile( "sound/tttfightback.mp3" )
I also aded the mp3 directly in the sound folder for playsound testing.
After reading through topics on how to fix this
https://forums.ulyssesmod.net/index.php?topic=9548.0 and
https://forum.facepunch.com/gmodhelp/goaa/How-to-add-a-sound-to-the-Ulx-Playsound/1/, it still wont fix my problem. Now when trying to use command to play sound directly in sound folder I get the following.
ulx playsound tttfightback.mp3
You played sound tttfightback.mp3
[LC ULib ERROR] Received invalid sound
] ulx playsound ashes.mp3
You played sound ashes.mp3
[LC ULib ERROR] Received invalid sound
So the server is trying to play the mp3 in sound/ashes.mp3 but im getting [LC ULib ERROR] Received invalid sound.
Here is a video of my exact problem with pictures attached to post.
https://youtu.be/MneGItaK2y8
Any help would be appreciated.