Garry's Mod

Garry's Mod

Dragonred: Dynamic Triggers [v0.15] [New Update ( Interactables )]
Bugs and Errors (best to leave one here in case)
[Dragonred: Dynamic Triggers [v0.1]] lua/weapons/gmod_tool/stools/d_dynamictrigger_tool.lua:156: attempt to index global 'ply' (a nil value)
1. Holster - lua/weapons/gmod_tool/stools/d_dynamictrigger_tool.lua:156
2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:311 (x2)

happens when I take out the tool.
< >
Showing 1-15 of 45 comments
Dragonred  [developer] 27 Feb @ 12:19pm 
Thanks as Always Blargh, fixing right away right now
Dragonred  [developer] 27 Feb @ 12:23pm 
FIxed! Thanks a lot Blargh for Testing my friend, you're a real one!
Dragonred  [developer] 27 Feb @ 5:46pm 
Please, if Anyone else find Any Glitches comment here so i can fix them as quickly as possible
It doesn't print anything, but when I try using any of the NPC spawning commands (Spawn NPC, Spawn Enemies, Create Bosses) it won't allow me to select an NPC class that isn't Alyx Vance. Not sure if this is an addon conflict or not, I might need to check that.
Dragonred  [developer] 28 Feb @ 8:25pm 
hm, if it doesn't print anything Alexander it could be an Addon conflict
Just disabled all of my addons and tried out this one, but it still seems as if I couldn't select any NPC other than Alyx Vance.
Hello! I am having the same issue as the user above, any NPC spawn command seems to only allow me to spawn Alyx Vance.
Dragonred  [developer] 1 Mar @ 6:47am 
i've been trying for hours to try to replicate the problem you and Alexander are having.. could you please tell me the exact steps you are taking? like how the server is being hosted and etc to reproduce this Glitch?
Dragonred  [developer] 1 Mar @ 7:03am 
Like, I've tried singleplayer, Local server, Public Server, Dedicated server and i still can't get this glitch you 2 are getting, could you walkthrough me the steps so i can fix it?
I'd uninstalled everything* but this mod, just to be sure. I'd equipped the tool in my toolgun, created a trigger, added a "Spawn NPCS" command to the main branch, and had entered NPC settings. When I clicked on the dropdown tab in the settings labelled "Alyx Vance", nothing had happened. I'd clicked the weapons dropdown bar and everything seemed to function normally there.

If it helps, I got these errors:
[Dragonred: Dynamic Triggers [v0.1]] lua/includes/extensions/net.lua:212: net.WriteType: Couldn't write function (type 6)
1. error - [C]:-1
2. WriteType - lua/includes/extensions/net.lua:212
3. WriteTable - lua/includes/extensions/net.lua:146
4. WriteType - lua/includes/extensions/net.lua:191
5. WriteTable - lua/includes/extensions/net.lua:146
6. func - lua/autorun/d_dynamictriggers_servertoclienttbls.lua:52
7. unknown - lua/includes/extensions/net.lua:37


[Dragonred: Dynamic Triggers [v0.1]] Warning! A net message (DRAGON_DTRIG_UpdateNPCListToCL) is already started! Discarding in favor of the new message! (DRAGON_DTRIG_UpdateNPCWeaponsListToCL)
1. func - lua/autorun/d_dynamictriggers_servertoclienttbls.lua:69
2. unknown - lua/includes/extensions/net.lua:37

Apologies if this is too vague.

(*I think I still have some GWater2 shaders in my install of GMod that I had to drag and drop in, but I'd be surprised if they had anything to do with it.)
@dbsw1972 (AlexanderB2109) Gwater may be the problem then maybe. Because it's working fine for me, I am able to spawn a different npc via edit settings, and click on alyx vance to change. You should be able to choose the npc through the list. I don't have gwater downloaded due to conflicts of my own.

Maybe check the version of gmod your using through betas. I am using none, not sure if other versions will have a conflict of this addon. Since gwater requires a different beta version of gmod.

(You may not be able to spawn npcs through vj base or drgbase, haven't tested that out yet. But normal npcs should work.)
Last edited by Blargh Hurek; 1 Mar @ 10:28am
I'll see if that's the case. Thank you.
Unfortunately it did not seem to be GWater2. I've uninstalled the addon but the bug still seems to persist.
Dragonred  [developer] 1 Mar @ 11:34am 
that's so weird.. so the way i coded to avoid players selecting NPCS the server don't have, is by first getting the table of the server then sending to the client, but it's a Delegate that executes when you first load into a map, for some reason your game seems to be not executing the network function properly, Are you playing on a Self-Dedicated server?
I'm testing everything in a singleplayer game. I haven't played this mod on a multiplayer server yet.
< >
Showing 1-15 of 45 comments
Per page: 1530 50