Garry's Mod

Garry's Mod

[VJ] Mistake SNPCs
 This topic has been pinned, so it's probably important
Darkborn  [developer] 5 May @ 5:38pm
Bugs/Errors
Report any bugs or issues related to this addon.
Any reports not related to this addon will be ignored.

Provide any details when possible such as how to replicate the bug, what causes it, etc. Otherwise I can't help if the bug isn't being elaborated.
Last edited by Darkborn; 23 Jun @ 9:58am
< >
Showing 1-4 of 4 comments
JosKer 10 May @ 10:05pm 
I got one, just recently.


[[vj] mistake snpcs] addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38: attempt to index a nil value
1. Init - addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38
2. unknown - lua/entities/obj_vj_spawner_base/init.lua:182
3. ogfunc - [C]:-1
4. Spawn - lua/conv/sh.lua:95
5. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:524
6. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:588
7. unknown - gamemodes/sandbox/gamemode/commands.lua:620
8. unknown - lua/includes/modules/concommand.lua:54
Darkborn  [developer] 10 May @ 11:01pm 
Originally posted by SkullCiopath:
I got one, just recently.


[[vj] mistake snpcs] addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38: attempt to index a nil value
1. Init - addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38
2. unknown - lua/entities/obj_vj_spawner_base/init.lua:182
3. ogfunc - [C]:-1
4. Spawn - lua/conv/sh.lua:95
5. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:524
6. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:588
7. unknown - gamemodes/sandbox/gamemode/commands.lua:620
8. unknown - lua/includes/modules/concommand.lua:54
Should be fixed now.
JosKer 11 May @ 4:42pm 
Uhh, probably not yet.


[[vj] mistake snpcs] addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38: attempt to index a nil value
1. Init - addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38
2. unknown - lua/entities/obj_vj_spawner_base/init.lua:182
3. ogfunc - [C]:-1
4. Spawn - lua/conv/sh.lua:95
5. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:524
6. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:588
7. LeftClick - gamemodes/sandbox/entities/weapons/gmod_tool/stools/creator.lua:35
8. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:235

I'm gonna be real honest with you, I decompile the addon, then I saw that there was like a part of the coding in the spawner specifically "Random Monster Spawner" that included having bosses spawned as well such as "Anita Anderson" and "Dr. Hamon Heath", I deleted the first part and second part specifically the "/*" and "*/", then I added a missing "," beside one of the npc row so that it didn't get a lua error when I try spawning it in after the few fixes I added, but it still got a lua error because of something relating to the "command", I think.
Last edited by JosKer; 11 May @ 4:47pm
Darkborn  [developer] 11 May @ 5:28pm 
Originally posted by SkullCiopath:
Uhh, probably not yet.


[[vj] mistake snpcs] addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38: attempt to index a nil value
1. Init - addons/[vj] mistake snpcs/lua/entities/sent_vj_mist_mon_sp.lua:38
2. unknown - lua/entities/obj_vj_spawner_base/init.lua:182
3. ogfunc - [C]:-1
4. Spawn - lua/conv/sh.lua:95
5. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:524
6. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:588
7. LeftClick - gamemodes/sandbox/entities/weapons/gmod_tool/stools/creator.lua:35
8. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:235

I'm gonna be real honest with you, I decompile the addon, then I saw that there was like a part of the coding in the spawner specifically "Random Monster Spawner" that included having bosses spawned as well such as "Anita Anderson" and "Dr. Hamon Heath", I deleted the first part and second part specifically the "/*" and "*/", then I added a missing "," beside one of the npc row so that it didn't get a lua error when I try spawning it in after the few fixes I added, but it still got a lua error because of something relating to the "command", I think.
Be sure you got the latest version, they work fine for me so you likely still have the outdated version.
< >
Showing 1-4 of 4 comments
Per page: 1530 50