Garry's Mod

Garry's Mod

Hardlight Deployable Shield [Un-supported]
This topic has been locked
Ulti̶ 2 Aug, 2020 @ 1:47pm
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
'-'
< >
Showing 1-7 of 7 comments
.unassigned  [developer] 2 Aug, 2020 @ 2:19pm 
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?
Last edited by .unassigned; 2 Aug, 2020 @ 2:20pm
Ulti̶ 2 Aug, 2020 @ 2:24pm 
Originally posted by 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  [developer] 2 Aug, 2020 @ 2:40pm 
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æ 2 Aug, 2020 @ 4:25pm 
Originally posted by 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  [developer] 2 Aug, 2020 @ 7:15pm 
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.
Last edited by .unassigned; 2 Aug, 2020 @ 7:19pm
Same error
.unassigned  [developer] 3 Aug, 2020 @ 10:33am 
This error has been fixed, pushing update and locking thread. If there are any more errors, please make another thread. Thank you!
< >
Showing 1-7 of 7 comments
Per page: 1530 50