Garry's Mod

Garry's Mod

Midgame Workshop Hotloader
 This topic has been pinned, so it's probably important
Zaurzo  [developer] 7 Nov, 2022 @ 2:36pm
Bug Report
Please post any bugs you experience here! (and post the error message!)
< >
Showing 1-15 of 160 comments
MADJACK911 8 Nov, 2022 @ 12:27pm 
Well, I couldn't get even something to really work.. I don't know why, but it seems to work pretty fine actually, because I can even see the addon in the addon model list BUT it didn't load anything from it, in fact, I can see this "error" message in the console :

Got Subscription details! Addons have changes - remounting [Mid-Game Addon Loader] Game Content Changed! Fetching newest addon... [Mid-Game Addon Loader] Fetched Newest Addon "Maxwell the carryable cat" (Workshop ID: 2878054450) [Mid-Game Addon Loader] Loading Addon "Maxwell the carryable cat" (2878054450) ... Addon 'cat' (0) contains file from 2878054450: 'lua/weapons/weapon_cat.lua'
MADJACK911 8 Nov, 2022 @ 12:28pm 
I tried with other addons too
Zaurzo  [developer] 8 Nov, 2022 @ 12:51pm 
Originally posted by MADJACK911:
I tried with other addons too
Hm. I'll have a look
Zaurzo  [developer] 8 Nov, 2022 @ 12:52pm 
Oh, I know the issue. I'll fix it right away. Thanks for reporting
Zaurzo  [developer] 8 Nov, 2022 @ 12:54pm 
Fixed.
X 8 Nov, 2022 @ 2:25pm 
I had to restart the game so the meele sounds of this addon and other addon's worked not sure if its a error tho

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2310620832
Zaurzo  [developer] 8 Nov, 2022 @ 2:52pm 
Originally posted by Scot:
I had to restart the game so the meele sounds of this addon and other addon's worked not sure if its a error tho

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2310620832
That addon requires TFA base to load some of it's files, and TFA only loads files on Initialize. Refer to Known Bug #1
NNinja1255 8 Nov, 2022 @ 3:18pm 
In multiplayer, some addons don't load properly for the other players that joined the host (peer-to-peer). It loaded properly for the host, but not for me.
The addon only had a lua script and nothing else. It worked fine but didn't have hands and the name of the swep said like "<MISSING NAME>" or something. It also created errors that it didn't create when using one of the sweps and restarting the server stopped the errors.
Last edited by NNinja1255; 8 Nov, 2022 @ 3:19pm
Zaurzo  [developer] 8 Nov, 2022 @ 3:34pm 
Originally posted by NNinja1255:
In multiplayer, some addons don't load properly for the other players that joined the host (peer-to-peer). It loaded properly for the host, but not for me.
The addon only had a lua script and nothing else. It worked fine but didn't have hands and the name of the swep said like "<MISSING NAME>" or something. It also created errors that it didn't create when using one of the sweps and restarting the server stopped the errors.
Multiplayer was my biggest fear in this. I'll need to test more of Multiplayer with a friend, I need to investigate
Gordon-Morgan ! 9 Nov, 2022 @ 3:24am 
Maybe it bag, maybe no, but anyway, addons that are already there but they are turned off will not appear in the game if they are turned on.
MADJACK911 9 Nov, 2022 @ 10:16am 
Originally posted by Holiday Spirit:
Fixed.
Thanks :)
X 9 Nov, 2022 @ 11:19am 
It worked perfectly when i installed bsmod and other bsmod addon's ingame but i dint know tfa does that lol

Originally posted by Holiday Spirit:
Originally posted by Scot:
I had to restart the game so the meele sounds of this addon and other addon's worked not sure if its a error tho

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2310620832
That addon requires TFA base to load some of it's files, and TFA only loads files on Initialize. Refer to Known Bug #1
ScottyBoyo 9 Nov, 2022 @ 5:42pm 
I've been trying out the addon, but I noticed that i can hardly get it to work.
The only thing I was able to successfully download from the workshop was the Yacht from Tomb Raider
[Mid-Game Workshop Hot-Loader] Game Content Changed! Fetching newest addon...
[Mid-Game Workshop Hot-Loader] Fetched Newest Addon "Black Ops C4 (Sandbox)" (Workshop ID: 297646940)
[Mid-Game Workshop Hot-Loader] Loading Addon "Black Ops C4 (Sandbox)" (297646940) ...
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/cl_init.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/init.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/shared.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/weapons/seal6-c4/shared.lua'
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/cl_init.lua)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/shared.lua) (x2)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/cl_init.lua)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/shared.lua) (x2)
This should never happen - datapack file entry has no data! (lua/weapons/seal6-c4/shared.lua)

Another test addon i downloaded, it loaded (kinda) but the throw C4 function would just come up with an error
[ERROR] lua/weapons/seal6-c4/shared.lua:127: attempt to index a nil value
1. unknown - lua/weapons/seal6-c4/shared.lua:127
2. Give - [C]:-1
3. unknown - gamemodes/sandbox/gamemode/commands.lua:867
4. unknown - lua/includes/modules/concommand.lua:54

Generally speaking, weapon-related addons i would download wouldn't load properly. And the thing i noticed is that in the download prompt it will show the addon ID before finishing if it doesn't load properly
(None of the tested weapon addons had requirements, and they all had similar error messages to the ones displayed above)
Zaurzo  [developer] 9 Nov, 2022 @ 5:46pm 
Originally posted by ScottyBoyo:
I've been trying out the addon, but I noticed that i can hardly get it to work.
The only thing I was able to successfully download from the workshop was the Yacht from Tomb Raider
[Mid-Game Workshop Hot-Loader] Game Content Changed! Fetching newest addon...
[Mid-Game Workshop Hot-Loader] Fetched Newest Addon "Black Ops C4 (Sandbox)" (Workshop ID: 297646940)
[Mid-Game Workshop Hot-Loader] Loading Addon "Black Ops C4 (Sandbox)" (297646940) ...
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/cl_init.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/init.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/entities/cod-c4/shared.lua'
Addon 'Black Ops C4 SWep' (0) contains file from 297646940: 'lua/weapons/seal6-c4/shared.lua'
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/cl_init.lua)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/shared.lua) (x2)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/cl_init.lua)
This should never happen - datapack file entry has no data! (lua/entities/cod-c4/shared.lua) (x2)
This should never happen - datapack file entry has no data! (lua/weapons/seal6-c4/shared.lua)

Another test addon i downloaded, it loaded (kinda) but the throw C4 function would just come up with an error
[ERROR] lua/weapons/seal6-c4/shared.lua:127: attempt to index a nil value
1. unknown - lua/weapons/seal6-c4/shared.lua:127
2. Give - [C]:-1
3. unknown - gamemodes/sandbox/gamemode/commands.lua:867
4. unknown - lua/includes/modules/concommand.lua:54

Generally speaking, weapon-related addons i would download wouldn't load properly. And the thing i noticed is that in the download prompt it will show the addon ID before finishing if it doesn't load properly
(None of the tested weapon addons had requirements, and they all had similar error messages to the ones displayed above)
I checked the code of the addon you provided and the error is that it's a missing ConVar. The addon loads the convar in an Initialize hook which only runs when you load the map
it says that the content is loaded but i dont see my weapons
< >
Showing 1-15 of 160 comments
Per page: 1530 50