Garry's Mod

Garry's Mod

3D Stream Radio
This topic has been locked
FireFlame 10 Feb, 2019 @ 12:10pm
Sometimes the Radio just loops the first second of a song from my DropBox over and over
I play on a server that i am a admin on, and sometimes, the radio just keeps looping the first 2 seconds of the file i specify. Is this a known issue?
< >
Showing 1-11 of 11 comments
Grocel  [developer] 10 Feb, 2019 @ 12:31pm 
Yes, it is a known issue, but it is hard to reproduce. So far I know it's an networking issue between the players. It is known that GMod has some bugs with the networking functions I use. It it more likely to happen with many players on the server or when one or more player can't play the song.

Respawning the radio or being the entity owner of that radio can help with this issue. Im preparing a fix for that. However it will take a long time, because I don't have much time for addon development at the moment.
FireFlame 10 Feb, 2019 @ 1:08pm 
alright, that sounds good.

Respawning it doesn't fix it, ill have to wait for a fix
SilverMight 19 Feb, 2019 @ 5:04pm 
Just started getting this today, respawning definitely didn't fix
Grocel  [developer] 20 Feb, 2019 @ 7:27am 
Yeah, in that case I recommend to playback endless streams (radio streams) only as these aren't affected by that bug.
FireFlame 20 Feb, 2019 @ 2:07pm 
I think its been fixed on the server i'm admin on, our Pointshop went nuts and spammed the console which might be the console affecting the radios
Grocel  [developer] 21 Feb, 2019 @ 10:02am 
It looks more like Pointshop was conflicting with something, causing errors and breaking the networking of the radio. The console it-self doesn't affect the radio.
Skorn 28 Jun, 2019 @ 4:17am 
This error still occurs to me regardless of what server I play on. This happens on NutScript, DarkRP based servers (Like CWRP and such), Helix, TnB.. They all have this issue and so far the only fix I have noticed was to keep respawning it and asking the people next to me "Is it looping for you?"
Michak89 3 Jul, 2019 @ 4:43am 
Same here, no pointshop
Last edited by Michak89; 3 Jul, 2019 @ 4:44am
Grocel  [developer] 16 Jul, 2019 @ 1:25pm 
I just found a possible cause for that problem and I might be able to fix that issue soon. The problem can be reproduced by using drive on that entity. That causes a ship load of subsequent errors, such as this:

[ERROR] addons/3d-stream-radio/lua/entities/sent_streamradio/cl_init.lua:232: attempt to compare nil with number 1. GetWallVolumeFactor - addons/3d-stream-radio/lua/entities/sent_streamradio/cl_init.lua:237 2. GetWallVolumeFactorSmoothed - addons/3d-stream-radio/lua/entities/sent_streamradio/cl_init.lua:268 3. UpdateStream - addons/3d-stream-radio/lua/entities/sent_streamradio/cl_init.lua:312 4. unknown - addons/3d-stream-radio/lua/entities/sent_streamradio/cl_init.lua:420

Apparently the entity is reinitialized on the client site, when you leave the drive mode. So it happens that the networked functions (such as self:GetVolume()) breaks.

The entity could also be client-reinitialized by other unknown causes. Im not sure if it is a game bug or if it is a problem of the custom built networking wrapper the addon uses.
Last edited by Grocel; 16 Jul, 2019 @ 1:26pm
Grocel  [developer] 17 Jul, 2019 @ 11:40am 
I have released a possible fix for that Problem, please check if it is fixed for you aswell. Make sure the addon version is 390 or above.
Grocel  [developer] 18 Aug, 2019 @ 6:07am 
As I haven't heard anything about that problem anymore, I will just assume that it is fixed now.

If is still not fixed for you with the latest version of the addon, please report it again. Locked.
< >
Showing 1-11 of 11 comments
Per page: 1530 50