Garry's Mod

Garry's Mod

NPC Tools 2 Reloaded
48 Comments
The route creator seems fully busted. If NPCs walk the route at all, they never walk the full route, just from 1 node to the next. Sometimes they won't even walk between two nodes, they'll simply run to the first node and stop.

lua/entities/obj_npcroute.lua:636: attempt to call method 'MarkNpcFinishedWaiting' (a nil value)
1. unknown - lua/entities/obj_npcroute.lua:636
oooothegamer5291 3 Jul, 2024 @ 8:48am 
Yeah. I've done just that. Forgot to update on the issue,
I was able to fix it day one. It's a bit of a duct-tape fix. I bound the tool:Reload function to delete the hooks responsible for the text if they presently exist.

Idk if I should repost the addon or DM the creator the fixed file.
Demon Cat Summoner Summon Lv4 27 Jun, 2024 @ 10:16am 
Wouldnt the easiest fix for the aiming thing to just...remove the thing white text?
oooothegamer5291 25 Jun, 2024 @ 8:28pm 
It specifically occurs when you still have the toolgun equipped btw
oooothegamer5291 25 Jun, 2024 @ 8:27pm 
@KittyCatChan
I know why the issue happens now. It seems like switching toolgun modes [from NPC Proef. to for, for example, Axis or Winch] causes the issue to occur.

I've decompiled the addon, and I'm currently working on a workaround [albeit an unfavorable one].
frinsby 23 Jun, 2024 @ 9:37am 
Any idea why the relationship utility doesn't let me save presets?
I don't see an option, and the dropdown menus are completely blank, not even a default preset in there.
KittyCatChan  [author] 25 Apr, 2024 @ 2:48pm 
@Bonnish
Yeah this is a bug I know about but have no idea how to fix it. Sorry I cannot be of help.
Bonnish 25 Apr, 2024 @ 2:07pm 
[NPC Tools 2 Reloaded] lua/includes/extensions/net.lua:248: net.ReadType: Couldn't read type 132
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:248
3. ReadTable - lua/includes/extensions/net.lua:184
4. func - lua/entities/obj_npcroute.lua:810
5. unknown - lua/includes/extensions/net.lua:38
KittyCatChan  [author] 16 Apr, 2024 @ 6:30am 
@G-STX69
I know of this bug. It's in the Bugs Thread. I don't know how to fix it. I am not that good with LUA. I just fixed the major issues that took it off the workshop.
G-STX69 15 Apr, 2024 @ 5:03pm 
I have an issue where the proficiency gets stuck on their heads after i put tool gun away
Nova 6 Jan, 2024 @ 12:06am 
ok
KittyCatChan  [author] 4 Jan, 2024 @ 4:15am 
@Mando The Shadow Furry
If this crashes your Gmod. You've got another issue. This Addon has been fixed enough to not crash your Gmod. It has errors still but won't crash your Gmod. You might have to many addons or old addons that still have a conflict issue.
Nova 3 Jan, 2024 @ 9:16pm 
yeah im bit worried this might crash my gmod at the point i cant fix it so yeah
KittyCatChan  [author] 3 Oct, 2023 @ 9:29am 
@trijun
It's sadly a bug I cannot figure out how to fix. I am also unsure how to consistently repeat it. Sometimes it works normally and other times it just straight up doesn't work.
trijun_heisei 1 Oct, 2023 @ 11:13am 
how do i disable the proficiency thing on npcs heads, its kind annoying
KittyCatChan  [author] 18 Mar, 2023 @ 4:53am 
@Michal08
Please post this in the Bugs discussion and I will look into it later on tonight. Also can you give a report on what you were doing so I can recreate this bug. Please & Thank you! :D:
Michal08 18 Mar, 2023 @ 4:51am 
[NPC Tools 2 Reloaded] lua/entities/obj_npcspawner/init.lua:94: bad argument #2 to 'AddEntityRelationship' (number expected, got nil)
1. AddEntityRelationship - [C]:-1
2. UpdateSingleRelationship - lua/entities/obj_npcspawner/init.lua:94
3. SpawnNPC - lua/entities/obj_npcspawner/init.lua:351
4. unknown - lua/entities/obj_npcspawner/init.lua:378

:\\\\\\\\\\\\\\\\
KittyCatChan  [author] 11 Sep, 2022 @ 6:02pm 
@马娘玩家到APEX会像玉藻一样马吗
As yes doesn't answer it I will explain both.
1. If it's VIA save - I been trying to figure this out but I end up always having the issue of it breaking...
2. I could most likely do this it will just require a lot of learning. Right now I am still learning a lot of it. So might take a while. >.<

My Lua training doesn't help when Gmod's Lua has a lot of changes from Lua.
Manhattan Cafe 11 Sep, 2022 @ 5:04pm 
yes
KittyCatChan  [author] 11 Sep, 2022 @ 8:32am 
@马娘玩家到APEX会像玉藻一样马吗
What do you mean by save? Like make it a Persistent prop so server reloads never remove it?
Manhattan Cafe 11 Sep, 2022 @ 7:17am 
hi,i want to save the Npc_spawn_creator in my server,how can i do that?
KittyCatChan  [author] 10 Sep, 2022 @ 1:45pm 
@Don't Laugh, I'm sensitive
I will look into it once I get time. No promises :D:
my dearest melpert 10 Sep, 2022 @ 1:33pm 
I'm pretty sure this used to work on DRGBase npcs, but now I can't get it to, not even the relationships which is all I used it for previously
KittyCatChan  [author] 31 Jul, 2022 @ 5:56pm 
@saximaphone
I will look into it.
saximaphone 31 Jul, 2022 @ 5:55pm 
Oh btw somebody uploaded a very suspicious "fixed" version of your mod. He's pretty dodgy about it.
KittyCatChan  [author] 31 Jul, 2022 @ 5:44pm 
@saximaphone
Hopefully one day it will be improved and fixed more!
saximaphone 31 Jul, 2022 @ 5:42pm 
That's fine! I at least appreciate these tools being fixed.
KittyCatChan  [author] 31 Jul, 2022 @ 5:38pm 
@saximaphone
Yeah sadly I am unsure how to do that. I am still learning Lua and not doing very well.
saximaphone 31 Jul, 2022 @ 5:34pm 
I can't find such a thing unfortunately.
And it doesn't have anything to do with node graphs, it would just be some kind of entity that they will move towards.

Like the patrol nodes in this mod, but not have them just run towards it and stay there. Have them walk to it, fight on the way to it and then patrol within a certain distance of it.
KittyCatChan  [author] 31 Jul, 2022 @ 5:28pm 
@saximaphone

I believe a mod like that already exists. If it doesn't I wouldn't know how to write that because NPCs use Nodegraphs and if no Node Graph exists the AI lose a lot of their I in AI.
saximaphone 31 Jul, 2022 @ 5:25pm 
I might as well ask because why not: I've been looking for a mod that can set up zones that attract NPCs. Pretty much locations that they want to attack or defend. Would be very useful for tower defense type fun.

Would that be a possible feature for this or another mod you might be able to look into?
KittyCatChan  [author] 22 Jul, 2022 @ 1:24am 
@Ajm
Same. But no one was doing a real fix... So if no one does it. Do it yourself. And that is my job! Good way to learn Lua too!
Ajm 22 Jul, 2022 @ 1:22am 
pretty good man being waiting a NPC Tool being fix.
KittyCatChan  [author] 22 Jul, 2022 @ 12:03am 
@Cryzone1
I will report this but I am not able to recreate this.
Cryz 21 Jul, 2022 @ 4:07pm 
Proficiency thign stays above their head even after deselecting the tool or removing tool gu nform inventory
KittyCatChan  [author] 10 Jul, 2022 @ 11:15am 
@Here'sss...TREVOR
Thanks I will note it in the bugs! :D:
Here'sss...TREVOR 10 Jul, 2022 @ 11:11am 
don't*
Here'sss...TREVOR 10 Jul, 2022 @ 11:11am 
npc spawner's npc's don"t have any weapons when they're set to default in the equipment bar.
KittyCatChan  [author] 26 Jun, 2022 @ 6:10am 
@le duck
Yes. It won't do anything in single player. And the back door only spawns NPCs by the looks of things. So don't worry about single player! :D:
duk 26 Jun, 2022 @ 2:22am 
if i use this in singleplayer nothing will happen right :steamhappy: (backdoor moment)
KittyCatChan  [author] 23 Jun, 2022 @ 11:08am 
@Juanito
Yes! It just doesn't work with saves because I do not have a clue how Gmod saves work... Therefore it's still bugged there.
Juanitoooo 23 Jun, 2022 @ 8:43am 
damn so i can finally use the damn patrol tools now ?? :steamhappy::steamhappy:
KittyCatChan  [author] 12 Jun, 2022 @ 3:51am 
@Riggs.mackay™
Yeah sadly Net messages are my weakest point so it might take longer than expected to fix.
Riggs 12 Jun, 2022 @ 3:49am 
it's probably the net messages are unsecured
KittyCatChan  [author] 12 Jun, 2022 @ 3:48am 
@Riggs.mackay™
Thank you for the information. I will look into it but not sure what could cause it.
Riggs 12 Jun, 2022 @ 3:42am 
I've ran servers with npc tools addons (multiple and different ones) and all of them seem to be backdoored. People come on the server (a rp server) and they use the backdoor to spawn npcs and crash the server with it.
KittyCatChan  [author] 12 Jun, 2022 @ 3:37am 
@Riggs.mackay™
I didn't know of this backdoor issue. You able to tell me more? Because I would love to fix it ASAP
Riggs 11 Jun, 2022 @ 5:55pm 
i assume the backdoor is not fixed.