Garry's Mod

Garry's Mod

3D Stream Radio
Toto téma bylo uzamčeno
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?
< >
Zobrazuje se 111 z 11 komentářů
Grocel  [vývojář] 10. úno. 2019 v 12.31 
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.
alright, that sounds good.

Respawning it doesn't fix it, ill have to wait for a fix
Just started getting this today, respawning definitely didn't fix
Grocel  [vývojář] 20. úno. 2019 v 7.27 
Yeah, in that case I recommend to playback endless streams (radio streams) only as these aren't affected by that bug.
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  [vývojář] 21. úno. 2019 v 10.02 
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.
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?"
Same here, no pointshop
Naposledy upravil Michak89; 3. čvc. 2019 v 4.44
Grocel  [vývojář] 16. čvc. 2019 v 13.25 
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.
Naposledy upravil Grocel; 16. čvc. 2019 v 13.26
Grocel  [vývojář] 17. čvc. 2019 v 11.40 
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  [vývojář] 18. srp. 2019 v 6.07 
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.
< >
Zobrazuje se 111 z 11 komentářů
Na stránku: 1530 50