Garry's Mod

Garry's Mod

Door Removal Areaportal Fix
139 Comments
Ammar Kun 1 Oct @ 7:28pm 
de_nuke from css still broken
Peekofwar 1 Jun @ 10:38am 
Strange. I deleted a door yesterday on GM_Construct_Vingret, and the area portal stuck around... I reconnected to my server today, found the same door with the areaportal still present, cleaned up the map and then deleted the door again... This time the area portal vanished after about a second. Not sure why that happened.
mansion gaming 7 Apr @ 5:30pm 
invisible Doors bruh
OnTheMatter  [author] 21 Feb @ 4:26pm 
Updated it, should be good, I stopped getting the double-spawn on my end. It seems like saving/loading is a little bugged on the beta branch currently regardless though (maybe main branch also, didn't check, idk), so be careful.
OnTheMatter  [author] 21 Feb @ 4:18pm 
No you're fine, I've got it isolated and fixed, just slightly worried about it throwing errors, let me know if it does!
Pinkolol16 21 Feb @ 4:10pm 
yeah i only had ragdolls enabled and i was loading a save specifically with that, and isolated all my legacy and other addons as well. literally just 5 packs of ragdolls and a save and this addon and it caused that weird stuff.
i don't download server-related things and i spent several hours whittling it down to just this addon so yeah
OnTheMatter  [author] 21 Feb @ 1:58pm 
It seems like loading saves is a little broken/jank on this current branch even with the addon disabled, the functionality seems weird, like when you cleanup the map, it treats it as though you are reloading the save. Potentially may be intentional, but is still weird and janky. The double spawning is definitely something relating to my addon though, hopefully it is only a more recent bug caused by whatever update made the save loading jank LOL, I'll figure it out
OnTheMatter  [author] 21 Feb @ 9:42am 
Yeah, that is omega-jank, I'll fix it tonight, thanks again for the heads up @Pinkolol16!
OnTheMatter  [author] 21 Feb @ 9:28am 
Shit, yeah you're right! I'll mess around with it some more in a bit and see what could be the issue, thanks for letting me know!
OnTheMatter  [author] 21 Feb @ 9:26am 
HMM, I am getting the bug in my testing as well after tweaking the code, although it only seems to happen when I make a save and then load that same save after, not any other times I load it, interesting, I'll look into it some more
OnTheMatter  [author] 21 Feb @ 9:12am 
It could theoretically be a conflict with something editing the entity meta table in a sloppy way; I'll update it real quick to make that possible conflict pretty much impossible. If it is still jank, then I'd recommend clearing your server downloads as there might be some funky script(s), etc in there interacting fuckishly with it.
OnTheMatter  [author] 21 Feb @ 9:11am 
So it doesn't happen when the addon is disabled? Weird. What kind of models are you talking about? Ragdolls, props, just everything in general? Just to give you an idea of what the code does, it has a check not to even run anything at all when the map is being cleaned, so it shouldn't be doing anything during a save load to begin with, and even if it did, all it would do at-most is mess up the areaportals since all it does is check when a door entity is being removed (with an explicit check for only 3 relevant entity types), and if their class matches, then the only thing that happens is that their areaportal is opened up, and its connection to any slave doors is broken, no entity is being created/removed in the process.
OnTheMatter  [author] 21 Feb @ 8:49am 
Hmm, I'll take a look at the code, it actually doesn't run in the background though constantly from what I recall but only when an entity is removed, and there isn't really anything in it that would result in an entity being created, so it could very well perhaps be some weird janky server script that is stuck in your files somewhere, maybe it is interacting strangely with the addon, etc, but I'll double check and see
Pinkolol16 21 Feb @ 6:20am 
encountering a pretty major issue with this addon where loading saves with models in them end up getting duplicated in the same position they were saved in and this causes slowdown. i've isolated everything and it appears that enabling only this addon causes the duplication (this is after siphoning all my direct addons from the equation).
since it claims to only fix doors i'd like to bring it to your attention as it appears to be running unruly in the background.
roblanvers 28 Jan @ 11:29am 
thxs so much
Barry 25 Dec, 2023 @ 11:13am 
thx bro
Nydaless 30 Oct, 2023 @ 3:23am 
doesnt workkk please fix mod
大きな太もものフェム 19 Oct, 2023 @ 11:41pm 
there has been a case for me using a door breaking addon and it shows the door for a bit then leaves
TheTwilightDancer 5 Sep, 2023 @ 9:05pm 
@OnTheMatter It's okay, take all the time you need. :steamthumbsup:
OnTheMatter  [author] 5 Sep, 2023 @ 8:17pm 
@TheTwilightDancer @LeboyEB I'll look into adding support for it when I get the chance, just been very busy :steamthumbsup:
TheTwilightDancer 4 Sep, 2023 @ 8:13pm 
https://steamproxy.net/sharedfiles/filedetails/?id=2856042066 It doesn't yet support Interactive Doors. If it's possible to fix, next update at some point? :steamhappy:
SirScanza 26 Jul, 2023 @ 8:34pm 
doesnt work
LeboyEB 6 Jul, 2023 @ 2:14am 
Could you add a support with Interactive Doors, pls.

https://steamproxy.net/sharedfiles/filedetails/?id=2856042066
oowwwooo 27 Mar, 2023 @ 9:07am 
not working
l337sama 17 Mar, 2023 @ 7:43am 
weird time to subscribe the day an update came out for the first time since 2021
OnTheMatter  [author] 15 Mar, 2023 @ 6:07pm 
Updated! It should now work with a decent number of those door-destruction addons, such as https://steamproxy.net/sharedfiles/filedetails/?id=290961117
OnTheMatter  [author] 15 Mar, 2023 @ 5:41pm 
Updating the addon to add support for door-breaking addons, should be up in an hour or so!
dabasourus 3 Mar, 2023 @ 12:31pm 
i never used this and i was fine
GAMMA 30 Dec, 2022 @ 2:18pm 
Author, my doors have suddenly dissapeared on some maps, know any fixes?
kuzukuzu26 17 Dec, 2022 @ 3:40am 
GRRRGEGRER
Tylo 14 Dec, 2022 @ 4:05am 
not working fam fix this addon up
kuzukuzu26 7 Dec, 2022 @ 11:59am 
BFBFBGGFGF
Kelt 4 Oct, 2022 @ 10:11pm 
Nice
RandomGamePlayer 23 Sep, 2022 @ 5:47am 
same
OwlOwl900 4 Jul, 2022 @ 3:45pm 
addon suddenly not working for some reason
Stranded Melancholy 3 Jun, 2022 @ 9:17pm 
it was funny to me when i used TFA Shotguns to tear down doors only to find a portal to heaven, thanks for this. its appreciated :Batcat:
Jujuslayerz82 7 May, 2022 @ 11:12am 
when i tried some maps with these doors the addon did not work
16BitPotato 1 Apr, 2022 @ 4:21pm 
Hey, this mod's been a huge help in eliminating annoying hiccups during games. You may care to know that gm_blesmont seems to use a method with its double doors that doesn't respond to this addon, one specific location being the back doors of the gas station. I haven't encountered any voids elsewhere since I started using this addon, so it's entirely possible that Blesmont just uses a highly unusual method.
[Aᴿ] Lebyash 12 Mar, 2022 @ 5:23am 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your
Urál the Shark Protogen 22 Feb, 2022 @ 6:53am 
i don't get this exact error but i get something similar where its just a transparent thing
(there is nothing there and you cant see the map through it) and when you step through it goes into the next area but this only occours when the door is deleted (its a lag removal trick)
roma34367 4 Feb, 2022 @ 10:15pm 
пасибо
Viktor Shapik 7 Dec, 2021 @ 8:52am 
based
Bruno Pruno 17 Nov, 2021 @ 1:04am 
Hello, when i destroy the door with such things as explosives from Jmod, the fix doesn't apply, it may be because the door eventually respawn. If you want to know, the map i was using was rp_oviscity_gmc5
tomasolero 21 Oct, 2021 @ 1:48pm 
nice mod
kotoribqby 7 Oct, 2021 @ 4:38am 
nice
OnTheMatter  [author] 16 Sep, 2021 @ 5:12am 
I went and tested it, thanks for letting me know, it's an easy fix. It's just because mobenix pairs some areaportals to movelinears as well as doors, and since this addon doesn't check for those it misses them.
BlooperSnooper 13 Sep, 2021 @ 6:49pm 
i used a kick mod and used it to kick a door down
BlooperSnooper 13 Sep, 2021 @ 6:48pm 
it worked at one point and now it doesnt work. Map im using it on is the mobenix_final_v3 map
OnTheMatter  [author] 21 Aug, 2021 @ 7:38am 
@armycube Hmm, what were the circumstances in which it didn't work?
armycube 21 Aug, 2021 @ 5:37am 
doesnt work