From 65016498e2ca0e87ad0617ecdfa0a2dce2cd1404 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 13 Mar 2016 18:17:27 -0400 Subject: Removed most of the print messages spamming console --- gamemode/itemsystem/items/bow.lua | 4 ++-- gamemode/npcsystem/npcs/antlion1.lua | 2 +- gamemode/npcsystem/npcs/antlion2.lua | 2 +- gamemode/npcsystem/npcs/antlion3.lua | 4 ++-- gamemode/npcsystem/npcs/antlion4.lua | 2 +- gamemode/npcsystem/npcs/bird.lua | 2 +- gamemode/npcsystem/npcs/zombie.lua | 2 +- gamemode/server/damagemod.lua | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) (limited to 'gamemode') diff --git a/gamemode/itemsystem/items/bow.lua b/gamemode/itemsystem/items/bow.lua index 3292ef6..4a7f203 100644 --- a/gamemode/itemsystem/items/bow.lua +++ b/gamemode/itemsystem/items/bow.lua @@ -43,11 +43,11 @@ ITEM.CD = 1 local arrow = {} arrow["model"] = "models/mixerman3d/other/arrow.mdl" -arrow["speed"] = 13000 +arrow["speed"] = 1300 arrow["drop"] = 50 arrow["init"] = function(fb) end arrow["onhit"] = function (self,data,phys) - print("Arrow hit ") + --print("Arrow hit ") PrintTable(data.HitEntity) if(data.Entity and data.Entity.TakeDamage) then data.HitEntity:TakeDamage(25) diff --git a/gamemode/npcsystem/npcs/antlion1.lua b/gamemode/npcsystem/npcs/antlion1.lua index c9ae1b6..2c3d908 100644 --- a/gamemode/npcsystem/npcs/antlion1.lua +++ b/gamemode/npcsystem/npcs/antlion1.lua @@ -67,7 +67,7 @@ local dorun = function(self, ply) self:StartActivity(ACT_WALK) self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/npcsystem/npcs/antlion2.lua b/gamemode/npcsystem/npcs/antlion2.lua index e50cce4..5b53b8e 100644 --- a/gamemode/npcsystem/npcs/antlion2.lua +++ b/gamemode/npcsystem/npcs/antlion2.lua @@ -86,7 +86,7 @@ local dorun = function(self, ply) self:StartActivity(ACT_WALK) self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/npcsystem/npcs/antlion3.lua b/gamemode/npcsystem/npcs/antlion3.lua index f5f5486..984b779 100644 --- a/gamemode/npcsystem/npcs/antlion3.lua +++ b/gamemode/npcsystem/npcs/antlion3.lua @@ -73,7 +73,7 @@ local docharge = function(self,ply) moveop.draw = true self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end timer.Remove("Runcycle") @@ -97,7 +97,7 @@ local dorun = function(self, ply) self:StartActivity(ACT_WALK) self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/npcsystem/npcs/antlion4.lua b/gamemode/npcsystem/npcs/antlion4.lua index cb39049..0b5825c 100644 --- a/gamemode/npcsystem/npcs/antlion4.lua +++ b/gamemode/npcsystem/npcs/antlion4.lua @@ -68,7 +68,7 @@ local dorun = function(self, ply) self:StartActivity(ACT_WALK) self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/npcsystem/npcs/bird.lua b/gamemode/npcsystem/npcs/bird.lua index 55a5c3d..0efa7b0 100644 --- a/gamemode/npcsystem/npcs/bird.lua +++ b/gamemode/npcsystem/npcs/bird.lua @@ -50,7 +50,7 @@ local dorun = function(self,ply) if navarea:IsValid() then self:MoveToPos(topos) else - print("Suicideing a bird to prevent server crash!") + --print("Suicideing a bird to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/npcsystem/npcs/zombie.lua b/gamemode/npcsystem/npcs/zombie.lua index de4a389..41dad0f 100644 --- a/gamemode/npcsystem/npcs/zombie.lua +++ b/gamemode/npcsystem/npcs/zombie.lua @@ -68,7 +68,7 @@ local dorun = function(self, ply) self:StartActivity(ACT_WALK) self:MoveToPos(ply:GetPos(),moveop) else - print("Could not find valid navmesh, suicideing to prevent server crash!") + --print("Could not find valid navmesh, suicideing to prevent server crash!") self:BecomeRagdoll(DamageInfo()) end end diff --git a/gamemode/server/damagemod.lua b/gamemode/server/damagemod.lua index c90fb52..9da9805 100644 --- a/gamemode/server/damagemod.lua +++ b/gamemode/server/damagemod.lua @@ -1,6 +1,6 @@ function GM:GetFallDamage(ply, speed) - print("Fall dammage detected:" .. speed) + --print("Fall dammage detected:" .. speed) if(ply:HasItem("Feather-fall Rune",1)) then ply:RemoveItem("Feather-fall Rune",1) return 0 -- cgit v1.2.3-70-g09d2