Garry's Mod

Garry's Mod

[CTOOLS] NPC Spawner
 This topic has been pinned, so it's probably important
Ѫ  [developer] Jun 21, 2021 @ 8:43am
Bugs
For those who experiences bugs or errors
< >
Showing 1-15 of 61 comments
Соплюнчик Jun 22, 2021 @ 10:14am 
Can't spawn with custom weapon.
[[CTOOLS] NPC Spawner] lua/autorun/server/ctools_npc.lua:213: attempt to call method 'SetCurrentWeaponProficiency' (a nil value)
1. v - lua/autorun/server/ctools_npc.lua:213
2. unknown - lua/includes/modules/hook.lua:84 (x1)
Ѫ  [developer] Jun 22, 2021 @ 11:25am 
Originally posted by ෴Anal Assassin෴:
Can't spawn with custom weapon.
[[CTOOLS] NPC Spawner] lua/autorun/server/ctools_npc.lua:213: attempt to call method 'SetCurrentWeaponProficiency' (a nil value)
1. v - lua/autorun/server/ctools_npc.lua:213
2. unknown - lua/includes/modules/hook.lua:84 (x1)

What NPCs do you use?
Ѫ  [developer] Jun 22, 2021 @ 11:54am 
Originally posted by ෴Anal Assassin෴:
Red vs blue npc's
https://steamcommunity.com/sharedfiles/filedetails/?l=english&id=552301706

I'm not gonna fix this mess, sorry
The author of this addon is a bit stupid, these NPCs are not even NPCs technically
https://imgur.com/a/xKLLl81
mhrbnbngs Jun 22, 2021 @ 4:55pm 
I think the latest update broke the faction select part of the tool. I could swear you were able to select the faction of the npc's you were spawning
Egor1566 Jun 23, 2021 @ 8:35am 
i have a bug where the shadow texture loaded incorrectly
TheShadowHat Jun 25, 2021 @ 1:11am 
loaded a save where NPCs where spawned using this and the NPCs had no weapons when i loaded the save

if it changes anything, the NPCs were metro cops with stunsticks


Khrysty Jun 28, 2021 @ 11:40am 
Trying to spawn clone troopers but spawner only selects the hostile variants when I want the friendly ones
Misused chair Jul 5, 2021 @ 6:51pm 
1. the health settings don't do anything. It doesn't matter what I set them to, the health stays the default.
2. the "fade corpse on death" setting doesn't do anything. I have it checked, and the corpses stay.
Wings Jul 7, 2021 @ 11:18am 
Loading a garry's mod save will break the npcs by removing their weapons for some reason.

It also happens with the base weapons.
GeassGamer Jul 11, 2021 @ 4:13pm 
Spawned NPC's don't move, might try fixing with a restart.
GeassGamer Jul 11, 2021 @ 4:23pm 
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:532: attempt to index local 'data_npc' (a nil value)
1. LeftClick - lua/weapons/gmod_tool/stools/ctools_npc.lua:532
2. func - lua/weapons/gmod_tool/stools/ctools_npc.lua:37
3. unknown - lua/includes/extensions/net.lua:32 (x2)
ConfirmedZer0 Jul 13, 2021 @ 4:17am 
I cannot spawn NPCs by right-clicking after placing an area. No error message to help either.
...Or am I doing something wrong?
Last edited by ConfirmedZer0; Jul 13, 2021 @ 4:17am
ConfirmedZer0 Jul 13, 2021 @ 5:19am 
Nevermind, the problem was NOT caused by the LFS addon. Apparently it has something to do with addon memory of some sort.
Last edited by ConfirmedZer0; Jul 14, 2021 @ 4:03am
TheShadowHat Jul 19, 2021 @ 6:47am 
cant choose what weapons npcs spawn with

typing things in the weapon search will give an error similar to this
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:887: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. UpdateData - lua/weapons/gmod_tool/stools/ctools_npc.lua:887
3. OnValueChange - lua/weapons/gmod_tool/stools/ctools_npc.lua:871
4. unknown - lua/vgui/dtextentry.lua:194


pressing enter gives something like this
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:887: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. UpdateData - lua/weapons/gmod_tool/stools/ctools_npc.lua:887
3. OnValueChange - lua/weapons/gmod_tool/stools/ctools_npc.lua:871
4. OnEnter - lua/vgui/dtextentry.lua:252
5. unknown - lua/vgui/dtextentry.lua:79
< >
Showing 1-15 of 61 comments
Per page: 1530 50