From 03bca39f09a41eceebe0cd4cb28fe7ba80739aea Mon Sep 17 00:00:00 2001 From: ASBESTOS-1 Date: Mon, 11 Nov 2019 09:05:22 -0500 Subject: [PATCH 1/2] Spelling Mistake Fix --- lua/acf/shared/guns/smoothbore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/acf/shared/guns/smoothbore.lua b/lua/acf/shared/guns/smoothbore.lua index c9ef9fca3..38dd7b880 100644 --- a/lua/acf/shared/guns/smoothbore.lua +++ b/lua/acf/shared/guns/smoothbore.lua @@ -42,7 +42,7 @@ ACF_defineGun("120mmSB", { } ) ACF_defineGun("140mmSB", { - name = "140mm Smoothbore Cannonn", + name = "140mm Smoothbore Cannon", desc = "The 140mm fires a massive shell with enormous penetrative capability, but has a glacial reload speed and a very hefty weight.", model = "models/tankgun_old/tankgun_140mm.mdl", gunclass = "SB", From c3d6ad89b2abb04ada957c1166bc08d3c403beab Mon Sep 17 00:00:00 2001 From: ASBESTOS-1 Date: Mon, 11 Nov 2019 09:05:52 -0500 Subject: [PATCH 2/2] Make Spherical Cheat Fix --- lua/acf/server/sv_acfbase.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lua/acf/server/sv_acfbase.lua b/lua/acf/server/sv_acfbase.lua index 9a77603bc..6a8927461 100644 --- a/lua/acf/server/sv_acfbase.lua +++ b/lua/acf/server/sv_acfbase.lua @@ -135,11 +135,16 @@ function ACF_CalcDamage( Entity , Energy , FrAera , Angle ) local HitRes = {} - + if istable(Entity) == false then -- ACF feeds us a table for some reason when we shoot living things. + if (!Entity:IsNPC() and !Entity:IsPlayer()) and (!Entity:IsNextBot()) then -- Don't do this to living things! - + if Entity:GetCollisionBounds() != Entity:GetModelBounds() then -- Did they do the makespherical cheat? + armor = 1 + losArmor = 1 + end + end + end - local dmul = 1--This actually controls overall prop damage from rounds. It should be in globals but i'm suck's at Coding's -karb --BNK Stuff