Hello everyone,
To explain my situation, there is a particular player (STEAM_0:1:53182280) that has gone around 2 of my servers and was able to effectively bypass my limits for NPCs.
I wasn't on the first time he did it, but I was the second time:
Ignore the yellow names, I recorded a demo of him doing it but went back and used the raw video recording system in Gmod now.
[video=youtube;gJOlmCn2nto]http://www.youtube.com/watch?v=gJOlmCn2nto&feature=[/video]
I am not using any premade admin system. I am overriding [I]cleanup.Add[/I], [I]PLAYER.AddCount[/I], [I]undo.Create/SetPlayer/AddEntity/Finish[/I], as well as hooking into [I]CanTool[/I]. I also have only Super Admins (not the usergroup, a custom one) being able to spawn any NPCs
When he was spawning the rollermines and manhacks, [I]PLAYER.AddCount[/I] was not getting called, nor was [I]cleanup.Add[/I] from what I can tell.
However, [I]undo[/I] was, and it was printing out the entity's [B]type [/B]to be[B] 'manhack'[/B] or [B]'rollermine'.[/B]
I have [I]CanTool[/I] printing the player, the toolmode, and the entity they are tooling. Not once did CanTool print out when he was spawning them.
Here were the possibilities that came to mind:
> [B]He's using the creator tool[/B]
When I used the creator tool (right-click an NPC in the spawnmenu and click 'Spawn Using Toolgun'), [I]undo[/I] was printing the entity types for the manhack and rollermine as both [B]'npc'[/B], not[B] 'manhack'[/B] o[B]r 'rollermine'[/B] as it was for him.
I have [I]undo[/I] remove any entities with the type 'npc', but since they weren't being called that when he was doing it, he was still able to spawn them.
So, not the creator tool.
[B]> He's using the duplicator[/B]
Whether by copying and pasting it, or by arming it and pasting it, [I]undo[/I] printed out '[B]duplicator[/B]' for the type when I used it.
[I]CanTool[/I] was also printing in my console, showing that I was using the duplicator on the world. However, when he was doing it, CanTool was never getting called.
So, not the duplicator tool.
[B]> He's using AdvDupe 1 or 2[/B]
[I]undo[/I] printed the type '[B]advdupe'[/B]and [I]CanTool[/I] got called and showed me tooling the world.
Not AdvDupe1, and AdvDupe2 has the rollermine blacklisted, so it wasn't AdvDupe2 either.
So, I'm rather clueless right now how he was doing it. I can't find a single way to replicate how he was spawning them. Every tool that I am able to spawn npcs with shows as [B]'npc'[/B], [B]'duplicates'[/B], etc, but never straight up [B]'manhack'[/B] or [B]'rollermine'[/B].
All I can tell is that he is using a pistol to spawn them, similar to how the Flatchette gun is used.
On the random chance that someone asks, no, he wasn't using the Wired NPC Controller from unofficial Wiremod either.
If anyone can help in this issue, it would be greatly appreciated!
What happened to that old gun gmod 12 had? It was a pistol, left click spawns a manhack, right click a rollermine. Or vice versa, I don't remember. If you have that weapon, I suggest you delete it.
Was that weapon included in Garry's Mod by default? I've never purposefully downloaded one, that much I can tell.
Sounds like this: [url]http://gmod.wikia.com/wiki/Manhack_Gun[/url]
Yeah that, and it's default with gmod. Or atleast it was, I don't think it is anymore (Can't be sure though). If you are on a dedi though you can easily just get rid of it by deleting it or making it admin only.
Definitely the manhack welder: [B]orangebox\garrysmod\gamemodes\sandbox\entities\weapons\manhack_welder.lua
[/B]
Thank you very much!
Sorry, you need to Log In to post a reply to this thread.