Garry's Mod

Garry's Mod

Advanced Colour Tool (Re-upload)
Error thread
As Me and a few other people are actually having errors, I figured if anyone who actually knows lua could fix it. So, Heres the errors that it's been throwing at me.

[ERROR] lua/weapons/gmod_tool/stools/adv_colour.lua:77: attempt to index field '_adv_colours_mats' (a nil value)
1. func - lua/weapons/gmod_tool/stools/adv_colour.lua:77
2. unknown - lua/includes/extensions/net.lua:32

This is on multiplayer, by the way.
< >
Showing 1-15 of 25 comments
ArachnitCZ  [developer] Jun 3, 2016 @ 2:35pm 
Pinned this, hopefully someone will fix it, I would try if I had any experience with lua.
Rusty Myst Jun 4, 2016 @ 6:32am 
I'll look into this, but I'll need someone to join me on multiplayer so I can test this error.

You need to explain how you got this error so I can try to recreate the circumstances.
Last edited by Rusty Myst; Jun 4, 2016 @ 7:37am
Rusty Myst Jun 4, 2016 @ 7:45am 
My tests in multiplayer haven't brought up any errors in coding. This is the only addon if there really are errors with the addon itself I must be doing something right becase it's not showing anything. Also, that error I had mentioned earlier that happens when I die, that is caused by a conflict with one of my other addons.

This tool has no bugs on it's own. The issue is that other addons will conflict with it, but for some reason only this tool displays an error. This tool is fine, it's people using conflicting addons that is the issue at hand.
noop Sep 14, 2016 @ 7:13am 
This addon does not like TFA CS:GO weapons mod.
Daylight106 Sep 14, 2016 @ 1:55pm 
This addon doesn't like to operate at all in general.
Goldie Oct 20, 2016 @ 12:28am 
I'd like to report a bug.

So basically, when I'm on my own server, something goes wrong when I color 1 of the parts.
http://steamcommunity.com/sharedfiles/filedetails/?id=783938104 Normally it looks like this.
http://steamcommunity.com/sharedfiles/filedetails/?id=783938125 But when I hit it, this happens. I have the submaterial tool open so you can see i'm not using any invisible materials. I checked the advanced colour tool invisibility thingie and it's on the max.
BenDragon81037 Feb 23, 2018 @ 4:24pm 
Apparently if I duplciate a prop that has been altered using the Advanced Colour Tool, the colours don't save, instead what happens, is that the colour I changed transfers to the global instead of that section of the prop.
Darkishzapo Jul 25, 2018 @ 3:44pm 
An error I'm having is, when I'm in single player, the more health I have, the less FPS I get. So spawning at 100 HP makes my game run at 5 FPS, but bringing myself as close to 0HP as possible makes my frame rate get better, to the point where it returns back to normal. For some reason this was caused by the advanced color tool, as when I uninstalled it, the FPS bug was gone, but I have no idea why this tool would cause such an FPS drop without me even using it in the first place.
Plisehon Sep 23, 2018 @ 12:21am 
i cant get rid of that addon
mustard_chugger69 Sep 30, 2018 @ 1:16pm 
It doesn't work, When I color with it on a different part except the whole entire body it does not work.
Last edited by mustard_chugger69; Sep 30, 2018 @ 1:21pm
Ink mangle Mar 31, 2019 @ 2:45pm 
[ERROR] lua/weapons/gmod_tool/stools/adv_colour.lua:77: attempt to index field '_adv_colours_mats' (a nil value)
1. func - lua/weapons/gmod_tool/stools/adv_colour.lua:77
2. unknown - lua/includes/extensions/net.lua:32
F.E.B. Jul 12, 2019 @ 9:48am 
For some reason if I use this tool and put a sight on the KK INS2 weapons, it lags like crazy, anybody know why?
Tonystarman Sep 2, 2019 @ 10:52pm 
I don't know if you all got the same thing like sniper rifle. if you spawn it the scope it white. And here a error I got while playing Garry's Mod!

[ERROR] lua/weapons/gmod_tool/stools/adv_colour.lua:17: table index is nil
1. SetSubMaterial - lua/weapons/gmod_tool/stools/adv_colour.lua:17
2. TFARenderScreen - lua/tfa/modules/tfa_rendertarget.lua:143
3. v - lua/tfa/modules/tfa_rendertarget.lua:215
4. unknown - lua/includes/modules/hook.lua:84

Here what name it is when I spawn it. robotnik_bo1_drg

I think this advanced colours might cause this problem but I'm not 100% sure if it is. And don't worry, I'm not upset it was working progress but it still need fix up.
Arguments of Entity:SetSubMaterial() can be nil.[wiki.garrysmod.com] With this addon, running Entity(1):SetSubMaterial() causes a Lua error (I mean, calling it with no argument). It will be fixed easily by checking the given arguments. I hope you'll fix it soon.
Last edited by ∩(≡^ω^≡)∩; Sep 12, 2019 @ 4:46am
TakiToNaMase Sep 29, 2019 @ 1:37pm 
[Advanced Colour Tool] lua/weapons/gmod_tool/stools/adv_colour.lua:77: attempt to index field '_adv_colours_mats' (a nil value)
1. func - lua/weapons/gmod_tool/stools/adv_colour.lua:77
2. unknown - lua/includes/extensions/net.lua:32

still no explanation?
< >
Showing 1-15 of 25 comments
Per page: 1530 50