Garry's Mod

Garry's Mod

Addon Share
 此主题已被置顶,因此可能具有重要性
Major Tom  [开发者] 2017 年 7 月 11 日 上午 7:30
Troubleshooting
Addons published to Workshop still may contain bugged/missing models or textures, may be split in several addons (like GBombs and GBombs: Textures), may use mounted content (like PropHunt popular maps), etc. If your problem can't be solved by telling your friends to subscribe/unsubscribe something on Workshop - this addon won't help either, don't post here. Otherwise try using addonshare_manual console command.

Please, read "known issues" tab in desctiption before posting
最后由 Major Tom 编辑于; 2019 年 5 月 9 日 上午 3:20
< >
正在显示第 1 - 15 条,共 159 条留言
Punished "Venom" House 2017 年 7 月 14 日 下午 1:38 
boi
Punished "Venom" House 2017 年 7 月 14 日 下午 1:38 
its prfect
silentquote 2017 年 7 月 16 日 上午 6:51 
This is really picky. But enabled addons should appear as green puzzle pieces, and disabled ones should be gray.
G R I P P I N ' 2017 年 7 月 17 日 下午 1:10 
Won't work for me, just gives me lua errors when I try to open the menu
Major Tom  [开发者] 2017 年 7 月 17 日 下午 1:39 
Won't work for me, just gives me lua errors when I try to open the menu
Can you copy them here?
Nexhin 2017 年 7 月 17 日 下午 2:48 
引用自 Mailz
Won't work for me, just gives me lua errors when I try to open the menu
Can you copy them here?
I'm getting the same issue. The errors are as follows:

[Addon Share] lua/autorun/client/cl_addon_share.lua:54: attempt to get length of global 'AS_AddonsTable' (a nil value)
1. func - lua/autorun/client/cl_addon_share.lua:54
2. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
3. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
4. ActivateTool - lua/includes/modules/spawnmenu.lua:287
5. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73
6. unknown - lua/vgui/dlabel.lua:232
最后由 Nexhin 编辑于; 2017 年 7 月 17 日 下午 2:48
Major Tom  [开发者] 2017 年 7 月 18 日 上午 12:40 
The errors are as follows...
Well, i had to initialize that table from the beginning, but anyway that happened because server didn't sent you list of his addon (not installed on server i guess).
Can you tell me, if you was playing on someone's server, or on yours? Had you and host addon share installed?
最后由 Major Tom 编辑于; 2017 年 7 月 18 日 上午 12:40
Half Way Lambda 2017 年 7 月 18 日 上午 3:32 
引用自 Mailz
The errors are as follows...
Well, i had to initialize that table from the beginning, but anyway that happened because server didn't sent you list of his addon (not installed on server i guess).
Can you tell me, if you was playing on someone's server, or on yours? Had you and host addon share installed?

I personally always get this error when I'M hosting the server, in this case, a singleplayer server, and this error occurs when i press the "Load Config" button inside the options, and so i can't load any of my configs, also i don't think they really get saved either, here's the error:


[Third Person Flashlight] lua/autorun/client/tpf_cl.lua:187: attempt to call method 'SetFiles' (a nil value)
1. OpenTPFLoadFileDialog - lua/autorun/client/tpf_cl.lua:187
2. DoClick - lua/autorun/client/tpf_cl.lua:511
3. unknown - lua/vgui/dlabel.lua:232

Major Tom  [开发者] 2017 年 7 月 18 日 上午 3:58 
[Third Person Flashlight] lua/autorun/client/tpf_cl.lua:187
But how is that related to Addon Share? I don't get it
Dr. Gordon Freeman, Ph.D 2017 年 7 月 18 日 上午 6:23 
Legacy addon mounting. Will it work?
Nexhin 2017 年 7 月 18 日 上午 11:58 
引用自 Mailz
Can you tell me, if you was playing on someone's server, or on yours? Had you and host addon share installed?
I haven't tested it yet with someone else hosting, but I got that error when I was hosting my own peer-to-peer server.
Major Tom  [开发者] 2017 年 7 月 18 日 下午 1:44 
引用自 Nexhin
I haven't tested it yet with someone else hosting, but I got that error when I was hosting my own peer-to-peer server.
I've got this error once in singleplayer, but when i restarted game, it gone. If you still have errors, maybe i should join your game and debug them
Major Tom  [开发者] 2017 年 7 月 18 日 下午 1:59 
Legacy addon mounting. Will it work?
If you mean ingame mounting/unmounting, that's cannot be done with lua, i'm sorry
Lazaruz 2017 年 7 月 18 日 下午 2:27 
I have the same error:
[Lazaruz|2|STEAM_0:0:44860563] Lua Error: [Addon Share] lua/autorun/client/cl_addon_share.lua:61: attempt to index field 'tags' (a nil value) 1. func - lua/autorun/client/cl_addon_share.lua:61 2. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100 3. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89 4. ActivateTool - lua/includes/modules/spawnmenu.lua:287 5. DoClick - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:73 6. unknown - lua/vgui/dlabel.lua:232

It's installed on the server as well as my client.
The server is a rented server running on linux, if that helps.

Add me if you want to use the server for debug.
Nexhin 2017 年 7 月 18 日 下午 9:53 
引用自 Mailz
I've got this error once in singleplayer, but when i restarted game, it gone. If you still have errors, maybe i should join your game and debug them
Oddly enough, when I tried hosting to a friend, the addon served its purpose just fine. However, trying to open the menu under Utilities still came with the same error.
Otherwise, the addon works perfectly.
最后由 Nexhin 编辑于; 2017 年 7 月 18 日 下午 9:53
< >
正在显示第 1 - 15 条,共 159 条留言
每页显示数: 1530 50