Garry's Mod

Garry's Mod

3D Stream Radio
This topic has been locked
Fureversalty 27 Jan, 2018 @ 2:14pm
Possible Confliction with other addons on Sandbox Server
Hey, its me again. I found an error on a public Sandbox server I frequent, and noticed that after the new update, the tool couldn't be loaded. The owner doesn't know the solution, and I checked the FAQ, Github, and Discussions pages and found no answers. The problem itself is 'streamradio_core/load.lua' was not found. These are the addons on the server: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=303338639
Last edited by Fureversalty; 27 Jan, 2018 @ 2:14pm
< >
Showing 1-11 of 11 comments
Grocel  [developer] 27 Jan, 2018 @ 4:42pm 
There was a big update that didn't go as flawless as I hoped :)

Yes this was reported before a few times, but it should be fixed with the latest addon version by now. This was probably not caused by an conflict, but it could be. It all depends on the error messages.

- Please check the version of the server and the client to be the latest.
- Check the addon to be the latest version (rev. 365 or above). The version should be written on every error message you see got from this addon.
- Are there any more errors, a console dump would be nice.

Information about the big update:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/246756300/1520386297700421028/

Trouble shooting and conflict resolving information you might need:
https://steamhost.cn/steamcommunity_com/groups/SligsAddonsGroup/discussions/0/358417008723619723/
Last edited by Grocel; 27 Jan, 2018 @ 4:49pm
Fureversalty 27 Jan, 2018 @ 4:51pm 
Neato, thanks for responding! I'll contact the server owner and let him know. Thanks!
Grocel  [developer] 28 Jan, 2018 @ 6:18am 
@Grim:
It looks like that the file was not send to the client. That only happens when the addon is not run on the server. Are there any errors on the server. Can you give me a console dump from the server?

Edit:
I just did a test with my didcated server (fresh install (live branch, version 171212), with the addon collection from above). The radio addon just works fine. There are no conflicts with HG Sandbox Addons.
Last edited by Grocel; 28 Jan, 2018 @ 7:24am
Fureversalty 28 Jan, 2018 @ 8:54am 
How would I get a console dump? Would I need to ask the owner or find it in the files? Thats the same issue I'm getting and it hasn't been resolved.
Last edited by Fureversalty; 28 Jan, 2018 @ 8:55am
Grocel  [developer] 28 Jan, 2018 @ 11:15am 
You need to ask the server owner to restart the server with the -condebug execution parameter. Do not use the "log on" command for that as it does not print lua errors or messages.

The log file will be saved at "garrysmod/console.log". If necessary you should remove private stuff. I need the log from server launch to server idle.

BTW, there is no way a around gameserver restart for addon updates or for getting a console dump.
Im telling you this, because in the past I had cases of server adminstrators refusing to do gameserver restarts (server restarts + adminstrators = not best friends :P) but also still annoying me about errors that would be fixed by just restarting. :)
Last edited by Grocel; 28 Jan, 2018 @ 11:55am
Fureversalty 28 Jan, 2018 @ 1:01pm 
He's not responding which sucks because he is the only one with access to the logs and the hosting service console. Also, the tool is still at rev. 365, is that the most up to date version?
Grocel  [developer] 28 Jan, 2018 @ 2:07pm 
Yes, it is the latest version. Did you show the owner this discussion yet? I guess he is just sleeping or busy. :P

In the mean time you could test the radio in single player, just to exclude any problems that could be connected by your game client.

Can you tell if your and Grim's problem are some how related beside the error message?
At the moment there are four cases of this problem known, while one is confirmed to be fixed after update rev. 365. That was caused by a bad version check on the server side.

The addon was changed to refuse to load if any addon related lua errors happen during startup to avoid bad or undefined states that would result in error spam or unexpected behavior later ingame. All these errors are shown in the console after the addon files were executed in the realm (Server/Client).

These ingame errors wouldn't be very helpful for anyone and would make trobble shooting more difficult, because the wrong errors messages (from subsequent errors) would be rightfully reported.
This is a good example for that.
Last edited by Grocel; 28 Jan, 2018 @ 2:15pm
Grocel  [developer] 29 Jan, 2018 @ 2:15am 
I got it fixed for @Grim:
A condump was send to me and I saw the problem immediately:
Supposedly the server was outdated for like 8+ months. But that would be impossible as you would not be able to connect to the server with the current client.

This was the error:
3D Stream Radio (rev. 365):
Your GMod-Server (Version: 170422) is too old! Update your GMod-Server! Load aborted!

So I told that you would have to do this:
1.) Delete <server>/garrysmod/garrysmod.ver (this file seems to have the version number in it)
2.) Start steamcmd and login as anonymous
3.) Run this: app_update 4020 -beta NONE validate
4.) Check <server>/garrysmod/garrysmod.ver to be at least version 171212
5.) Restart the server, everything should be fine.

Last edited by Grocel; 29 Jan, 2018 @ 2:15am
Fureversalty 29 Jan, 2018 @ 3:59pm 
Well, I came online to the server and checked the radio, and it works now. I'm not sure if the server owner clicked the link to here and read the messages, or if it restarted over night, but it works now. Thanks for the help! Let me know if I can help in any other way, ;)
Grocel  [developer] 2 Feb, 2018 @ 9:56am 
Nice the hear that it is fixed now. :D

I just made an update to this addon, so it tells the client about it's server errors now. You would no longer need to get a condump for trouble shooting for this addon at least. :)
Last edited by Grocel; 2 Feb, 2018 @ 9:57am
< >
Showing 1-11 of 11 comments
Per page: 1530 50