Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Please keep in mind that I can not maintain the error reports 24/7. So reaction time is slow sometimes.
I would also recommend NOT to suggest fixing code unless you know what you are doing (Read: Understand all relevant addon code and structures). The function self:GetVolume() must not return nil. If it does anyways, then something goes very wrong. Adding your check would not help much to fix the problem. Its nice that you are trying to help, but usually the error message and the steps to reproduce the error is enough for me.
I will try the develop a fix for that soon, but I am quite busy at the moment, so no ETA.
This problem is related to the known problem of the radio being stuck at the song start and looping the first second sometimes. Thanks for reporting. This bug helps me to reproduce the other bug.
Youtube support is not broken, I just tested it today.
Now I know that networking on singleplayer is different.
Tried to fix it myself and broke the radio, You are absolutly right.
Amazing work Grocel.
I have one more problem, sometimes radio crashes game (not only my game). And yes, I'm 100% sure its the radio. I don't know how to reproduce the problem yet, just say a word and I can record my game. Why am I sure it's the radio? On spawn, crashed my game 5 times until server moderator removed it, today someone put it near me and - hl2 no response immediately. When I join and go to any place where such crashing radio is - crash after 1/2 seconds after I see it. In windows crash log I see crash is from vguimatsurface.dll - allways same reason, can radio gui crash game? Tried to get close looking in opposite direction - crash when I'm in radius.
Also found out that deleting gmod cache folder temporarily helps.
1. The game is run with multi core render on
2. The radio is spawned
3. Lua error happens inside the gui rendering
4. The radio entity is rendered on screen (not necessarily visible)
The GMod cache folder is not involved in this crash by itself unless it contains conflicting addon code or it got simply to big so some radio addon code is missing.
There is another possible crash known (never had it my self) related to the sound engine (BASS) this addon use. This one is an engine bug and can not be fixed by this addon. All addons using BASS (via sound.PlayURL()) are affected by it equally.
To be able to investigate this Problem I need more details:
- Can you confirm the crash on a listen server (not single player) with no other addons?
- What Lua error does the radio throw if you try to reproduce the crash with multi core rendering off?
- Hardware information
- List of used addons
Multi core rendering on:
Multi core rendering off:
Hardware information:
i7 6700k
gtx 1080ti asus rog strix
24 gb of ddr4
a lot of free space on ssd where both server and game.
running win 7 64bit
I don't use any gmod beta versions like chromium / x64 etc - game is clean.
Client info:
clean gmod, no addons, no cache, no downloads, no lua modifications, -noworkshop parameter it startup and no workshop subscriptions, fresh install.
I know about multi core rendering, never used it before and it's off.
Server info:
local server on same windows 7, fresh install, no addons, no ulx, no cfg, no lua modifications only Stream Radio as legacy addon in folder, gm_construct, default tickrate, 10 slots.
Answers to Your questions:
- Can you confirm the crash on a listen server (not single player) with no other addons?
- Yes
- What Lua error does the radio throw if you try to reproduce the crash with multi core rendering
off?
- It is off, no lua errors.
- List of used addons
- Only Stream Radio serverside.
-------------------------------------------------------------------------
I'm not using Bass, used to but not this time.
I discovered it is not gui crash and reproduction is simple:
First please type developer 1 in console if it's 0
Crash is based on duplicator (gmod default duplicator). When radio is normalny spawned it does not happen.
Spawn radio by "Radio spawner" tool and play anything. In developer mode when player is not in radius it looks like this: https://i.imgur.com/jQ3pwzN.png
And when You are in radius it looks like this: https://i.imgur.com/hpyV5V4.png
Player experiencing crash will never see file path.
This is how I discovered the following:
When this .dat file with sound does not exist in player data folder game crash like here:
https://i.imgur.com/qXOGyqv.png
And when radio comes from some duplications this file is not created.
Here is a video: https://www.youtube.com/watch?v=ZvtYwxsOVOA&feature=youtu.be
Tested with friends, when I put correct dat file in correct place where it should be it does not happen anymore. Now imagine sandbox servers where duplications are quite common. I'm crashing like 20 times a day, other players too.
Duplication used in this video: https://www93.zippyshare.com/v/3KsxBL4W/file.html
You may noticed lua files were not transfered to client on server joining, this is because I recorded it few times and cache generated. Missing model is from wiremod, can add it if You want.
Also if this is insufficient, I can make few more tests.
Crash happens when played .dat file does not exist on client.
Such radio on spawn == empty server :D
Other topic, you are using Bass when you are using the radio or a similar addon. Bass is the sound engine the game uses for streaming via the function sound.PlayURL() or via sound.PlayFile(). If the file does not exist these function are supposed to return an error code (error 2 in this case) instead of crashing. It is a known and reported problem with the game.
Tested 8 times, also on few friends.
Gmod did not download updated addon just extracted previously downloaded from
..Steam\steamapps\workshop\content\4000
I got new version from github and it works. Tried to delete .dat file while radio playing, allways new generates. Great job again :)
ver. 390