Garry's Mod

Garry's Mod

NPC Cleanup.
댓글 172
destructive crab 2024년 6월 7일 오후 6시 06분 
i have an issue when i kill an npc it is still alive but a ragdoll is spawned. when i press cleanup the duplicate npc doesnt dissapear. hope this fixs it
HexStrain 2023년 7월 7일 오후 8시 03분 
mf sends error codes for a 10 year old addon
fally 2023년 5월 31일 오전 5시 28분 
Look For the Lower Case 'L' And You
Will Be Kissed Tomorrow:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLlLLLLLLLLLLLLLLLLLLLLL LLLLL
*Now Look For The Q And Your Wish
Will Come True:
... ... ... ... ... OOOOOOOOOOOOOOOOOOOQOOOOOOOOOOOOOOOOOOOOOOOOO O.. .OOOOOOOO
*This Is Really Hard, Now Find The 'N':
MMMMMMMMMMMMMMMMMMMMMMMMMNMM
*Now Find The Mistake:
ABCDEFGHIJKLNMOPQRSTUVWQYZ
*Something You Really Want, After the
countdown!!!!!
10 9 8 7 6 5 4 3 2 1 Now Close Your
Eyes And Make A Wish! ;*;*;*;*;*;* Now
Paste This On 9 pages And Your Wish
Will Come True! Hurry, You Have 20
minutes! Or What You Wished For Will
Be The Opposite



just wanted to see what'll happen
ChemicλlCherry.kz 2023년 4월 20일 오전 8시 31분 
Very useful
ogcapybara 2022년 8월 13일 오후 4시 35분 
[NPC Cleanup.] lua/includes/extensions/entity.lua:192: attempt to index local 'col' (a number value)
1. SetColor - lua/includes/extensions/entity.lua:192
2. FadeThink - lua/autorun/server/npcbc_server.lua:130
3. v - lua/autorun/server/npcbc_server.lua:53
4. unknown - lua/includes/modules/hook.lua:96
this pops up when it cleans up and it impedes on my screen
Zsombor99 2022년 5월 9일 오전 10시 10분 
Works good! 👍
Ragdoll_Cleanup_Enabled 1
Ragdoll_Cleanup_RemoveAll 1
woop woop (rafi0101) 2021년 12월 7일 오전 6시 49분 
occurs when cleaning up weapons
woop woop (rafi0101) 2021년 12월 7일 오전 6시 47분 
[DLib]
[ERROR] lua/includes/extensions/entity.lua:192: bad argument #5 to 'SetColorOriginal4' (number expected, got nil)
1. SetColorOriginal4 - [C]:-1
2. SetColor - lua/includes/extensions/entity.lua:192
3. FadeThink - lua/autorun/server/npcbc_server.lua:130
4. __event - lua/autorun/server/npcbc_server.lua:50
1. CallStatic - lua/dlib/modules/hook.lua:1114
2. unknown - lua/dlib/modules/hook.lua:1189
[1337] ᴀxᴏꜱ > ᴛɪᴇʀ 8 2021년 8월 27일 오후 12시 49분 
(sorry for late comment)
this means you cant fix this? :(
Atomik Cosmonaut (lobotomized) 2021년 8월 15일 오후 5시 33분 
so can this clean up dead npc without cleaning live npcs?
RGL GM_T  [작성자] 2021년 8월 1일 오전 2시 54분 
You're correct, this will be addressed shortly.
I am using the 64 bit beta with an extension library, called DLIB, that actually overrides this function that causes the error, so it went under the radar for me, apologies.
[1337] ᴀxᴏꜱ > ᴛɪᴇʀ 8 2021년 7월 14일 오후 3시 35분 
after gmod was update, the game shows an lua error

[NPC Cleanup.] lua/includes/extensions/entity.lua:192: attempt to index local 'col' (a number value)
1. SetColor - lua/includes/extensions/entity.lua:192
2. FadeThink - lua/autorun/server/npcbc_server.lua:130
3. v - lua/autorun/server/npcbc_server.lua:50
4. unknown - lua/includes/modules/hook.lua:84
syahmi2002.sa 2021년 7월 1일 오전 10시 51분 
@NextKuromeThe76Soldier I'm pretty sure this lua error came up after July 1st update, because before that said update, it functioned normally
NextKurome76TheSoldier 2021년 6월 30일 오전 9시 44분 
error in console

[NPC Cleanup.] lua/includes/extensions/entity.lua:187: attempt to index local 'col' (a number value)
1. SetColor - lua/includes/extensions/entity.lua:187
2. FadeThink - lua/autorun/server/npcbc_server.lua:130
3. v - lua/autorun/server/npcbc_server.lua:50
4. unknown - lua/includes/modules/hook.lua:84
bonniebull87 2021년 6월 16일 오후 1시 15분 
How do I prevent them from spawning? I don't want anyone walking around on specific maps. How do I keep them gone? I want these NPCs dead and gone forever instead of respawning and ruining everything.
Dolphin 2021년 5월 12일 오전 6시 34분 
how use config file
RGL GM_T  [작성자] 2021년 4월 23일 오전 8시 10분 
@storm/eagle: It is automatic based upon the time settings you set.
storm/eagle 2021년 4월 12일 오후 9시 24분 
is it automaticaly clean the ragdolls up?or we need to use the console
Tom 2021년 3월 21일 오전 9시 37분 
gave me more fps for more crazy and extreme stunts
PhantomOfGrace 2021년 3월 9일 오후 3시 14분 
My buddies like to drop their toolguns when they are done using them and this mod doesn't seem to touch them. Is there a way to easily add them to be treated as a regular weapon so they can get deleted as well?
Bumface 2021년 1월 30일 오전 10시 48분 
How do I configure the filter? I've looked all over in this thread and in the "data" folder in /garrysmod.
Suslivan (SUS24/7)🥠 2021년 1월 30일 오전 10시 23분 
works fine.
wery nice.
no other mod worked.
thnks.
⸸ₓナイトメアₓ⸸ 2020년 12월 1일 오후 7시 14분 
if not the corpses are counted as debree or something
⸸ₓナイトメアₓ⸸ 2020년 12월 1일 오후 7시 14분 
IT WORKS STILL!!! just have to go to the top right and enable keep corpses
NextKurome76TheSoldier 2020년 7월 19일 오전 8시 35분 
it does not work anymore, replacing think hook with a tick hook seems to have fixed it however
AMPED 2020년 4월 10일 오후 4시 49분 
Thank you very much, I've been looking for something like this for a long time
Jax✸ 2020년 4월 7일 오후 6시 01분 
Not sure why, but this is not working on my server. I have set the ConVar's up and edited the config file. Does this work with TFA weapons, and custom made NPCs?
RGL GM_T  [작성자] 2020년 4월 6일 오후 4시 23분 
@Mellowgolf The Zombie Hunter: Yes, that will be included in the major revision of this extension.
@Mr Oliver Fox McFuckNugget: The addon still operates.
@that beach + Tryharder666: It needs to be enabled first, that's a typical issue most people have.
@AnomNom: It was dead for a while, I took a major hiatus. Ready to continue working.
@Theater Thug: To make things disappear instantly, set the FadeTime and NoFadeTime to 0.
@ьеь: Interval means seconds, FadeTime and NoFadeTime are minutes.
@walls: Be sure to enable it, and wait until enough time passes.
@MrVodix: That means you're trying to change it on the client, or the Addon is not mounted.
ShadowGamer 2020년 4월 6일 오전 7시 43분 
This is a very good addon. It dose cleanup dead npcs really wall and also this can keep your game laggy free. But this dose not cleanup dead snpcs. Can you please make a snpc version of this.
Mr. Fox ♥♥♥♥♥♥♥♥♥♥♥♥ 2020년 3월 29일 오후 3시 38분 
Doesnt work bois, keep looking.
profile name 2020년 3월 19일 오후 4시 16분 
Can I ask why it doesn't work for me?
Is there some step I forgot to do?
AnomNom 2020년 3월 17일 오후 12시 50분 
I'm guessing this mod is dead, sadly, I was hoping to get values that save so I don't have to redo this command every time I start the game. I tried adding it to my cfg files but it just doesn't work it seems.
Theater Thug 2020년 2월 19일 오후 4시 50분 
Does anybody know the command to make weapons disappear immediately after NPC death?
ьеь 2020년 2월 11일 오전 2시 28분 
Weapon_Cleanup_Interval 0.1
what interval? seconds, hours, days?
scepticaldonkey01 2020년 2월 8일 오후 5시 56분 
It dont work :(
JustVodix 2020년 1월 23일 오후 2시 23분 
Keep getting unknown command whenever I try using any of the commands, any way to fix this?
CamoFlash7 2020년 1월 2일 오후 3시 53분 
Exactly what I was looking for! Thanks!
Master Chief 2019년 12월 29일 오후 9시 45분 
I think the Keep Corpse off is fade.
BillyT 2019년 12월 11일 오후 9시 47분 
This doesnt seem to be keeping the weapons from dropping from my dead NPCS..... I set the interval to the lowest and tried multiple times.... Am I missing something?
Screech 2019년 11월 26일 오후 2시 57분 
is there a way to turn it on automatically because i'm getting tired of typing the command everytime i join
RGL GM_T  [작성자] 2019년 11월 21일 오전 2시 51분 
Seconds
Screech 2019년 11월 16일 오후 3시 19분 
Ragdoll_Cleanup_FadeTime 5
5 what?
5 minutes?
seconds?
hours?
what is the 5!!!
Rahhja 2019년 10월 8일 오후 12시 42분 
none of the commands are working for me anyone know how to fix it? i mean i can put in the command and it says its done but it wont do anything
B4LL-1NN 2019년 9월 7일 오후 7시 28분 
I tried to make settings to stay using autoexec and server.cfg but seems like it doesn't work. Errors pop out instead:

Unknown command "Ragdoll_Cleanup_Enabled"
Unknown command "Ragdoll_Cleanup_RemoveAll"
Unknown command "Ragdoll_Cleanup_Interval"
Unknown command "Ragdoll_Cleanup_NoFadeTime"
Unknown command "Ragdoll_Cleanup_FadeTime"
Unknown command "Weapon_Cleanup_Enabled"
Unknown command "Weapon_Cleanup_Filter"
Unknown command "Weapon_Cleanup_Interval"
Unknown command "Weapon_Cleanup_NoFadeTime"
Unknown command "Weapon_Cleanup_FadeTime"
CollChuuk 2019년 9월 2일 오전 10시 18분 
How exactly do i setup weapon filters? For example, I want to exclude items like Health Vials and Health Kits from the scan. How do i go about that.
RED KNIGHT 2019년 7월 22일 오전 8시 58분 
Question, so when you mention "Super Admin"
Are you referring to ULX? or?
Szmaka 2019년 5월 11일 오전 3시 15분 
When ragdolls "fade" away,they just turn purple and later disappear.
NicROM 2019년 4월 16일 오전 8시 39분 
Removes not all corpses, from vanilla GMOD does not remove such as combines or rebels.
Also removes those ragdale which I Spawner the remove all ragdolls in another way nothing to remove
Robin Kazami 2019년 2월 27일 오후 12시 41분 
Does not clean up TFA Weapons that were dropped on the ground. This will not be fixed, as it has been years since this has been updated.
HyVeena~ 2019년 1월 31일 오전 8시 29분 
niiice thx :3