Garry's Mod
NPC Tools
Problems with the NPC Spawner
When I create a NPC Spawner, then save and reload it says: "NPC Tools is creating errors", NPCs get duplicated and are not following patrol points.

This is a part from the console:
ERROR: numpad.OnDown key is nil!
ERROR: numpad.OnDown key is nil!
TEST [lua/entities/obj_npcspawner/cl_init.lua][lua/entities/obj_npcspawner/init.lua]
TEST [lua/entities/obj_npcspawner/init.lua][lua/entities/obj_npcspawner/init.lua]
FOUND IN ADDON [104486597]
TEST [lua/entities/obj_npcspawner/shared.lua][lua/entities/obj_npcspawner/init.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]

[NPC Tools] lua/entities/obj_npcspawner/init.lua:43: attempt to perform arithmetic on a nil value
1. unknown - lua/entities/obj_npcspawner/init.lua:43
2. Spawn - [C]:-1
3. CreateEntityFromTable - lua/includes/modules/duplicator.lua:433
4. unknown - lua/includes/modules/duplicator.lua:731
5. ProtectedCall - [C]:-1
6. Paste - lua/includes/modules/duplicator.lua:731
7. unknown - lua/includes/gmsave.lua:58

Please help! Thank you
< >
Se afișează 1-15 din 23 comentarii
Bloodvin 16 febr. 2014 la 9:28 
Postat inițial de Chicken McNuggets:
Disable all your addons for ♥♥♥♥ sakes
suck my ass ♥♥♥♥♥
Geese1999 20 febr. 2014 la 12:27 
When I spawn NPCs with the spawner.. they don't follow mah nodes. :c
Yeah, same with me. I think it's because the map you're on dosent have nodes. Try gm_bigcity.
my npc's wont attack me...they just keep aiming at me and putting their weapon back down in a loop...they follow me like im an ally too....
Editat ultima dată de Mystic Midnight; 24 iun. 2014 la 18:15
Are you using custom weapons? That might be the problem. NPCs only use weapons that came with the game in the first place, such as the HL2 weapons. If they use anything else, it causes errors until they die.
Editat ultima dată de Kibōchen; 25 iun. 2014 la 15:56
WHAT THE ♥♥♥♥!!OKOfreufhou;RHFOherfohrofjiopfpoWREJFIOnrfrnFNRFAEFowgOIEGOiehoigeoihjfoiEJFROIhrwjfoiWJFJw'jfngriehgORGNFOAKRpwfkOIFHYERURJUFFJHFFFOSFDM
ALL OF YOU R ♥♥♥♥♥
THAY CANT HAVE THAT NPC GUN'S THAY NEDD COMBINE GUN'S
Beau, stop being autistic and don't talk in caps and gibberish.
Kodi022 28 aug. 2014 la 19:31 
The spawner tool's Patrol points don't work. The NPCs won't move on them. And newly spawned npcs won't move until shot at.
The weapon select menu only shows player-only weapons.
Look at all of us,
Silverlan, what the ♥♥♥♥ have you done...
How can I make the patrol routes work after reloading a game? And the spawners not produce an incredible amount of NPCs when I reload?
i have problems with the Cleanup Corpses thing. i have it off but it cleaning up the corpses and i whan the corpses to stay.
Guys, anyone knows how to get rid of the spawnpoints except CTRL+Z? I really like this mod but if i want to delete a spawn point I only can do it with CTRL+Z. If I save the map and load in later, I'm not be able to do with them anything just the admin total cleanup what...what is unnacceptable on a fully built map. Any ideas?
Trosky 4 apr. 2015 la 17:48 
The problem is the Npc's weapon, i have custom NPC's weapon but the addon only recognizes the player's weapon producing that Npc can't use the weapon.
Also i have problem with the Ar2 (pulse rifle)
< >
Se afișează 1-15 din 23 comentarii
Per pagină: 1530 50