Garry's Mod

Garry's Mod

NPC Daemon
 This topic has been pinned, so it's probably important
The Clown 24 Aug, 2021 @ 12:51pm
-Unofficial Bug Reports-
Figured something like this might be helpful for folk.
< >
Showing 1-15 of 136 comments
The Clown 24 Aug, 2021 @ 1:14pm 
Spawning an npc_citizen with the citizen type of 4 (Unique) will crash the game.
sockpuppetclock  [developer] 24 Aug, 2021 @ 5:29pm 
On my end it just spawns an invisible citizen if you set it to Unique without giving it a model, with or without the "Random Head" flag. Could you copypaste the json of the preset you tried spawning?
Soldier 4 Sep, 2021 @ 2:11pm 
I got this bug

[NPC Daemon] lua/sv_npcd_spawn.lua:972: bad argument #1 to 'SetSchedule' (number expected, got table)
1. SetSchedule - [C]:-1
2. unknown - lua/sv_npcd_spawn.lua:972
sockpuppetclock  [developer] 4 Sep, 2021 @ 3:25pm 
Ah, that's a problem with the "Start Aware" property, you'll have to leave it at false or nil for now. The fix will be in the next update
Soldier 4 Sep, 2021 @ 3:42pm 
ight
brandonewing25 8 Sep, 2021 @ 3:17pm 
just boots up anymap and it crashed with stack overflow default settings idk
brandonewing25 8 Sep, 2021 @ 3:18pm 
heres this Executable: D:\Steam games\steamapps\common\GarrysMod\bin\win64\gmod.exe

-Lua Stack Traces-
==================
Client
*Not in Lua call OR Lua has panicked*

Server
0. Ignite - [C]:-1
1. f - lua/autorun/evx.lua:714
2. safeCall - lua/autorun/evx.lua:54
3. fn - lua/autorun/evx.lua:1784
4. (null) - lua/ulib/shared/hook.lua:109
5. Ignite - [C]:-1
6. f - lua/autorun/evx.lua:714
7. safeCall - lua/autorun/evx.lua:54
8. fn - lua/autorun/evx.lua:1784
9. (null) - lua/ulib/shared/hook.lua:109
10. Ignite - [C]:-1
11. f - lua/autorun/evx.lua:714
12. safeCall - lua/autorun/evx.lua:54
13. fn - lua/autorun/evx.lua:1784
14. (null) - lua/ulib/shared/hook.lua:109
15. Ignite - [C]:-1
16. f - lua/autorun/evx.lua:714

MenuSystem
*Not in Lua call OR Lua has panicked*

brandonewing25 8 Sep, 2021 @ 3:20pm 
if ya got the time i can show you on discord at brandonewing25#3157 cause i cant send the file
sockpuppetclock  [developer] 8 Sep, 2021 @ 3:30pm 
evx.lua isn't part of NPC Daemon. i think it's part of Enemy Variations X, from googling it real quick
Last edited by sockpuppetclock; 8 Sep, 2021 @ 3:30pm
brandonewing25 8 Sep, 2021 @ 3:41pm 
ill disable that mod and try it lets hope its not that cause that's a sweet mod for adding difficulty
brandonewing25 8 Sep, 2021 @ 3:52pm 
well that fixed the crashing sad to see that mod go but your mod its worth more than that mod :) thx
Last edited by brandonewing25; 8 Sep, 2021 @ 3:53pm
sockpuppetclock  [developer] 8 Sep, 2021 @ 4:27pm 
np :steamthumbsup:
Soldier 10 Sep, 2021 @ 10:17pm 
[NPC Daemon] lua/sv_npcd_player.lua:211: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. CheckPlayerPrsCondition - lua/sv_npcd_player.lua:211
3. v - lua/sv_npcd_player.lua:273
4. unknown - lua/includes/modules/hook.lua:84
5. Spawn - [C]:-1
6. unknown - gamemodes/base/gamemode/player.lua:100

sockpuppetclock  [developer] 11 Sep, 2021 @ 2:09pm 
looks like there's a typo that affects all player conditions. i'll try to get a fix out for that soon but since i'm halfway through redesigning some things at the moment it might take until much later today
sockpuppetclock  [developer] 11 Sep, 2021 @ 7:38pm 
fix is out now
< >
Showing 1-15 of 136 comments
Per page: 1530 50