Workshop Release (rev423)
Anti-Abuse / security changes, bugfixes, better UX and better performance.
UX:
- Moved error buttons to the side to make more space for the error message.
- Added entity options (C-Menu > Right click) for the radio.
- Added clientside only options to the entity options and entity property editor for volume and muting. (Not affected by Prop Protection)
- Added a clientside only way to look up the error state and the URL on GUI less radios (e.g. speakers). (Not affected by Prop Protection)
- Added a better explanation for "error 20".
- Added more error codes for future updates.
- Added mute option (not clientside!) to the toolgun and added seperator lines to its UI.
Performance / Networking:
- Networking is now delayed to ease on the server performance.
- The GUI is loaded with a delay to avoid freezes on radio spawns.
- The GUI is actually deleted when disabled instead of just being hidden.
- Fixed freezes when entering/leaving a room full of radios.
- The radio being randomly broken/desynced (empty or white screen) on spawn is a way less likely to happen. If it does disabling/enabling the GUI can fix it.
Anti-Abuse / Security:
- Radios from other players can be muted via the addon settings. Does not support buddies.
- Individual radios can be muted on the clientside, even if Prop Protection would block access otherwise.
- Individual radios can have their volume changed the clientside, even if Prop Protection would block access otherwise.
- Added support to the cfc_cl_http_whitelist addon. It is a security addon that whitelist and monitors HTTP and streaming requests. The Radio has a decicated error state for blocked URLs and content now.
- Clientside GM_BASS3 loading can be disabled by the server. (sv_streamradio_bass3_allow_client 0)
ConVars:
- Changed the CVar default of sv_streamradio_rebuildplaylists_community_auto to 2. Pre-existing installs are not affected.
- Added sv_streamradio_bass3_enable: When set to 1, it uses GM_BASS3 on the server if installed. Default: 1
- Added sv_streamradio_bass3_allow_client: Allows connected clients to use GM_BASS3 when set to 1. Overrides cl_streamradio_bass3_enable. Default: 1
- Added cl_streamradio_bass3_enable: When set to 1, it uses GM_BASS3 if installed and allowed on the server. Default: 1
GM_BASS3:
- If installed GM_BASS3 is lazy loaded now. It only loads if it is actually needed by an radio. GM_BASS3 is not supported on x86-64 branches.