Garry's Mod

Garry's Mod

3D Stream Radio
pepitos 2022 年 5 月 5 日 下午 7:25
Error 20
I've seen some other people have the same error, yet when the mod maker try it it works fine for him ? "An illegal parameter was specified"
< >
正在显示第 1 - 15 条,共 16 条留言
Grocel  [开发者] 2022 年 5 月 5 日 下午 11:39 
What's the url you trying to play? Did you enter https:// in front? Did you read the ingame help?
pepitos 2022 年 5 月 5 日 下午 11:56 
i'm sorry i can't help more right now but it's late; however as of now i can remember that is was a dropbox URL which should work fine. I tried http, https, messing with the link, nothing worked. Also for an invalid URL, it gave me error 2 instead. I'll be happy to provide more info if needed and i hope i just didn't ♥♥♥♥ up and made a mistake. I'm playing on the 64bits/chromium branch if that can help.
Flonk 2022 年 11 月 28 日 下午 10:46 
Been having the same issue, a dropbox link i had is considered illegal even though the rest i have work fine. there is no difference I could find that seperated the "illegal" link and the other links
Grocel  [开发者] 2022 年 11 月 29 日 上午 9:06 
@Flonk: Please paste the link into the comment box. I can't debug it without the link. It could be that the server returned an 403 error or something for that link.
Grocel  [开发者] 2022 年 12 月 2 日 下午 7:44 
This is a video, use mp3 instead.
pepitos 2022 年 12 月 3 日 上午 7:19 
i remember i used an mp3, although tbh it's been so long i'm not even sure it's still a problem for me
other people in other thread got the same error but i don't even know if it's related, it's been more than 6 months
UHC 2022 年 12 月 13 日 下午 6:03 
最后由 UHC 编辑于; 2022 年 12 月 13 日 下午 6:07
Grocel  [开发者] 2022 年 12 月 14 日 上午 10:39 
@UHC Thanks for reporting.

Your URLs are:
https://lfgs.co/u/zuRHV.mp3 (works)
https://lfgs.co/u/gSjSC.mp3 (error)

I reposting them for easier debugging

@flonk: Thanks for the URLs.

I honestly don't know what is causing the error. This error is an GMod engine level error (bass.dll) so far I can tell, so similar addons are affected aswell. There probably is no esay fix possible.
Grocel  [开发者] 2022 年 12 月 14 日 上午 11:04 
On my end All reported URLs worked. It could be the OS or some installed codics that might help or interfere the game engine on some edge format cases. In those cases the files do not work for everyone or everytime. To avoid such problems, here are some recommendations:
- Use real sound files only.
- Do not use mp4.
- Do not rename mp4 to mp3.
- Do not use Videos.
- Avoid using long files.
- Retry multible times.
UHC 2023 年 1 月 18 日 上午 5:20 
I have some extra info I found out. This problem only happens on certain servers. I can use almost any mp3 link on some gmod servers, but for others the same links suddenly don't work.
Grocel  [开发者] 2023 年 1 月 18 日 上午 5:37 
It might that sv_streamradio_allow_customurls is set to "0" on affected servers and some bug prevent the error being handled differently. Error 20 is likely to be caused by an internally replaced url. There is a distinct error case when you try to playback custom urls on servers with sv_streamradio_allow_customurls 0.
Grocel  [开发者] 2023 年 1 月 18 日 下午 1:07 
I released an update (rev. 416) related to sv_streamradio_allow_customurls 0 today. It is less likely for error 20 to occur now. Wait until the server has applied the update for them-selves aswell.
最后由 Grocel 编辑于; 2023 年 1 月 18 日 下午 1:12
Grocel  [开发者] 2023 年 7 月 11 日 上午 7:50 
News on the error 20 issue:

Some server have their own seperate URL whitelists/blacklists addons independent from this addon. If these addons reject the URL, they might return error 20. This is something this addon can not and will not fix.

If you get error 20 on an otherwise valid URL, please talk to a server admin about this.
最后由 Grocel 编辑于; 2023 年 7 月 12 日 上午 11:53
< >
正在显示第 1 - 15 条,共 16 条留言
每页显示数: 1530 50