Garry's Mod

Garry's Mod

Hardlight Deployable Shield [Un-supported]
此主题已被锁定
Ulti̶ 2020 年 8 月 2 日 下午 1:47
Error!
I tried to '' summon '' a shield, but it happens an error.

[Deployable Force Shield Augment] lua/autorun/aug_forceshield.lua:40: attempt to call field 'Create' (a nil value)
1. unknown - lua/autorun/aug_forceshield.lua:40
2. unknown - lua/includes/modules/concommand.lua:54
'-'
< >
正在显示第 1 - 7 条,共 7 条留言
.unassigned  [开发者] 2020 年 8 月 2 日 下午 2:19 
Hmm, try to disable all addons but the shield and see if that works. Might be conflicting addons. Any other details would help like what was happening when you were doing this. Also, did it ever work for you, or was it always broken?
最后由 .unassigned 编辑于; 2020 年 8 月 2 日 下午 2:20
Ulti̶ 2020 年 8 月 2 日 下午 2:24 
引用自 Trench
Hmm, try to disable all addons but the shield and see if that works. Might be conflicting addons. Any other details would help like what was happening when you were doing this. Also, did it ever work for you, or was it always broken?

I disabled all my addons, after that the force field worked ...
.unassigned  [开发者] 2020 年 8 月 2 日 下午 2:40 
Yeah, must be one of your other addons. I'd love to figure out which addon it is/attempt to write a fix, but figuring out which one it is would be up to you. You'd have to manually enable them one by one, connecting to a game and using the shield and waiting to see which one causes the error. IDK if you'd want to do that, but if you do figure out which one it is, LMK and I'll take a look. Thanks for the bug report.
datæ 2020 年 8 月 2 日 下午 4:25 
引用自 Trench
Yeah, must be one of your other addons. I'd love to figure out which addon it is/attempt to write a fix, but figuring out which one it is would be up to you. You'd have to manually enable them one by one, connecting to a game and using the shield and waiting to see which one causes the error. IDK if you'd want to do that, but if you do figure out which one it is, LMK and I'll take a look. Thanks for the bug report.
It's not another addon, you put the lua in shared autorun so the command also gets run clientside

ents.Create doesn't exist clientside
.unassigned  [开发者] 2020 年 8 月 2 日 下午 7:15 
Ah, makes sense. Though how come I never got the error? Also strange how it started to work for him after he disabled other addons. Thanks for the info BTW.
最后由 .unassigned 编辑于; 2020 年 8 月 2 日 下午 7:19
Same error
.unassigned  [开发者] 2020 年 8 月 3 日 上午 10:33 
This error has been fixed, pushing update and locking thread. If there are any more errors, please make another thread. Thank you!
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50