Garry's Mod

Garry's Mod

3D Stream Radio
pepitos 5 May, 2022 @ 7:25pm
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"
< >
Showing 1-15 of 16 comments
Grocel  [developer] 5 May, 2022 @ 11:39pm 
What's the url you trying to play? Did you enter https:// in front? Did you read the ingame help?
pepitos 5 May, 2022 @ 11:56pm 
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 28 Nov, 2022 @ 10:46pm 
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  [developer] 29 Nov, 2022 @ 9:06am 
@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  [developer] 2 Dec, 2022 @ 7:44pm 
This is a video, use mp3 instead.
pepitos 3 Dec, 2022 @ 7:19am 
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 13 Dec, 2022 @ 6:03pm 
Last edited by UHC; 13 Dec, 2022 @ 6:07pm
Grocel  [developer] 14 Dec, 2022 @ 10:39am 
@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  [developer] 14 Dec, 2022 @ 11:04am 
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 18 Jan, 2023 @ 5:20am 
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  [developer] 18 Jan, 2023 @ 5:37am 
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  [developer] 18 Jan, 2023 @ 1:07pm 
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.
Last edited by Grocel; 18 Jan, 2023 @ 1:12pm
Grocel  [developer] 11 Jul, 2023 @ 7:50am 
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.
Last edited by Grocel; 12 Jul, 2023 @ 11:53am
< >
Showing 1-15 of 16 comments
Per page: 1530 50