Garry's Mod

Garry's Mod

3D Stream Radio
此主题已被锁定
Tiny Desk Engineer 2023 年 10 月 22 日 上午 8:16
Error -1 when attempting to use locally installed MP3 file
I'm trying to play a local MP3 file using the radio. It's in a subdirectory of the sound folder, and the path I am entering is relative to the sound folder. The sound can be played in-game completely fine using the play command. I tried both with and without the file:// prefix, but it didn't do anything. The entered path also includes the extension.
< >
正在显示第 1 - 15 条,共 22 条留言
Tiny Desk Engineer 2023 年 10 月 22 日 上午 8:20 
The radio's working even though it's showing an error. It's playing the audio perfectly fine.
最后由 Tiny Desk Engineer 编辑于; 2023 年 10 月 22 日 上午 8:20
Tiny Desk Engineer 2023 年 10 月 22 日 上午 8:22 
And I cannot stop it from playing.
Tiny Desk Engineer 2023 年 10 月 22 日 上午 8:24 
After running snd_restart I can't get it to start again.
Grocel  [开发者] 2023 年 10 月 22 日 上午 8:32 
Strange. This looks like a bug to me. Can you send me the file you are trying to play? Does it happen in single Player too, if so we can ruleout server issues?
Tiny Desk Engineer 2023 年 10 月 22 日 上午 8:59 
I haven't even tried it in a multiplayer game yet. This[drive.google.com] is the MP3 file I was trying to play.
Grocel  [开发者] 2023 年 10 月 22 日 上午 9:11 
Thanks. Does it happen with other files aswell? Can you rule out addon conflicts?
Tiny Desk Engineer 2023 年 10 月 22 日 下午 4:27 
引用自 Grocel
Thanks. Does it happen with other files aswell? Can you rule out addon conflicts?
I've disabled all of my other addons and tried multiple other sound files included in Half-Life 2, none of them worked.
Grocel  [开发者] 2023 年 10 月 22 日 下午 5:12 
I did test the file and it was fine for me and for others too. However it doesn't mean your problem isn't there.

There is a big update on the way that might be out tomorrow. I think the update could help you on this issue. Please stay tuned, I will let you know when it is out.
Grocel  [开发者] 2023 年 10 月 23 日 上午 9:23 
New update is released. Please check if the issue still exists for you. Make sure you have rev432 or later installed (updated from workshop).
Grocel  [开发者] 2023 年 10 月 30 日 上午 1:21 
@Tiny Desk Engineer: Do you still have this problem?
Tiny Desk Engineer 2023 年 11 月 1 日 下午 7:26 
引用自 Grocel
@Tiny Desk Engineer: Do you still have this problem?
I'll check, I haven't been able to use my computer for a while so I couldn't test it yet.
Tiny Desk Engineer 2023 年 11 月 1 日 下午 7:57 
It's taking a while to load, but it hasn't given me an error yet.
Tiny Desk Engineer 2023 年 11 月 5 日 上午 7:29 
It is however still not playing the sound
Grocel  [开发者] 2023 年 11 月 5 日 下午 2:12 
Remember, if you get error 1000 please read this: https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/246756300/3884977551668761564/

Always read the ingame help or what the error says.

If it is still the error -1, then it is probably something on your end. Maybe something like an addon conflict, missing encoders on the OS or something else. I can not reproduce the issue on my end. Maybe you should ask a friend if they can play the file. If so it rules out any addon level issues.
Tiny Desk Engineer 2023 年 11 月 5 日 下午 2:50 
There isn't even any error, it's just perpetually loading the sound
< >
正在显示第 1 - 15 条,共 22 条留言
每页显示数: 1530 50