Garry's Mod

Garry's Mod

92 ratings
DOG: Physics Collision Anti Crash
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
File Size
Posted
Updated
8.730 KB
23 Jan, 2024 @ 6:21am
25 Feb, 2024 @ 12:59am
7 Change Notes ( view )

Subscribe to download
DOG: Physics Collision Anti Crash

Description
WORKS THE BEST ONLY ON DEDICATED SERVERS

Anti - Collision Based Crash system

Advantages
+ Will try to help you not to crash the server
+ Works with SENT's
+ Has a cool name
+ Can be your dog
+ Has multiple customisation ConVars (acdog_<...>)
+ Will absolutely spam everyone's chat with his feelings😀✔✔✔✔✔

DISAdvantages
- Certainly won't help you if playing singleplayer
- May not help you if playing ANY server hosted through in-game "Start New Game"
- Works the best ONLY on dedicated servers (EVEN THEN YOU ARE THE HOST)
- Will work bad with any vehicles
- Need to press "Subscribe button" to install😪


ConVars
acdog_enabled [1,0] - Enable/Disable Anti Crash system
acdog_chat [1/0] - Enables/Disables Dog saying things in chat

acdog_fixvalues_UnScrew [num] - Sets the minimum CPT required to trigger action of Disabling prop collisions
acdog_fixvalues_EntPhys [num] - Sets the minimum (Individual) CPT required to trigger action of Freezing the prop
acdog_fixvalues_Phys [num] - Sets the minimum CPT required to trigger action to Disable physics for 50 seconds

acdog_fixvalues_Effective [num] - Sets the minimum CPTAll required to trigger action to Remove some colliding entites
acdog_fixvalues_CleanUp [num] - Sets the minimum CPTAll required to trigger action to Clean up the map
acdog_fixvalues_Restart [num] - Sets the minimum CPTAll required to trigger action to Restart the map

acdog_fixvaluesmul [0.5 - inf] - Constant Mul, Do not screw up this one or you may suffer constant restarts
acdog_experemental [0/1] - Enable/Disable Experimental CPT accumulation(May work not as expected)

What is CPT?
CPT - C*** Points Collisions Per Tick
They accumulate when server detects prop collision
They reset after one server tick has passed

IS THIS OPTIMIZED?
Yes.
The script is being called only then collision callback is being called and each tick(with extemely small check what will not impact the performance)

From Homicide with love

GITHUB: https://github.com/Zack90-oss/DOG--Physics-Collision-Anti-Crash

Tags:
anticrash anti crash anti lag antilag dog
29 Comments
Zac90  [author] 1 Jun @ 5:10am 
thank you
Zac90  [author] 13 Apr @ 7:16am 
You can change the name thru lua with
DOG.Name = 'fancy name'

(using lua_run "lua code here" concommand for example)
Unbloated 13 Apr @ 3:29am 
Tried it, looks interesting, even if a bit sensible, it does worth the try.
What would be the peakest is to customise the message he sents, for example remplace the colors of it, perhaps the name if it doesn't bother you.
But it works fine ngl, keep up the work.
Zac90  [author] 11 Apr @ 11:47am 
maybe yes
Unbloated 11 Apr @ 3:16am 
Better idea, freeze the current props that were here during the freeze. Keep physics on newer props.
Perhaps for less annoyance, something that freezes ONLY the older objects of the crasher.
Zac90  [author] 11 Mar @ 12:04am 
:steamsad:
Agent JIBA 10 Mar @ 8:08am 
THIS SHIT ATI NOTHING,KILL URSELF RETARD MODDER,WHI SHIT SNTI YOUR MOM,FUCK YOU!!!!
Zac90  [author] 5 May, 2024 @ 8:57am 
:steamhappy:
TSK444 5 May, 2024 @ 8:25am 
good addons
Zac90  [author] 25 Feb, 2024 @ 1:00am 
Should be fixed now