diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 93c12a6..8c4dba6 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -783,7 +783,7 @@ namespace OpenSim.Region.ClientStack | |||
783 | 783 | ||
784 | case PacketType.AgentThrottle: | 784 | case PacketType.AgentThrottle: |
785 | 785 | ||
786 | OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString()); | 786 | //OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString()); |
787 | 787 | ||
788 | AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; | 788 | AgentThrottlePacket atpack = (AgentThrottlePacket)Pack; |
789 | 789 | ||
@@ -825,6 +825,7 @@ namespace OpenSim.Region.ClientStack | |||
825 | tAsset = (int)BitConverter.ToSingle(throttle, j); | 825 | tAsset = (int)BitConverter.ToSingle(throttle, j); |
826 | 826 | ||
827 | tall = tResend + tLand + tWind + tCloud + tTask + tTexture + tAsset; | 827 | tall = tResend + tLand + tWind + tCloud + tTask + tTexture + tAsset; |
828 | /* | ||
828 | OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "Client AgentThrottle - Got throttle:resendbytes=" + tResend + | 829 | OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "Client AgentThrottle - Got throttle:resendbytes=" + tResend + |
829 | " landbytes=" + tLand + | 830 | " landbytes=" + tLand + |
830 | " windbytes=" + tWind + | 831 | " windbytes=" + tWind + |
@@ -833,6 +834,8 @@ namespace OpenSim.Region.ClientStack | |||
833 | " texturebytes=" + tTexture + | 834 | " texturebytes=" + tTexture + |
834 | " Assetbytes=" + tAsset + | 835 | " Assetbytes=" + tAsset + |
835 | " Allbytes=" + tall); | 836 | " Allbytes=" + tall); |
837 | */ | ||
838 | |||
836 | // Total Sanity | 839 | // Total Sanity |
837 | // Make sure that the client sent sane total values. | 840 | // Make sure that the client sent sane total values. |
838 | 841 | ||
@@ -896,7 +899,7 @@ namespace OpenSim.Region.ClientStack | |||
896 | if (tAsset < AssetthrottleMin) | 899 | if (tAsset < AssetthrottleMin) |
897 | AssetthrottleOutbound = AssetthrottleMin; | 900 | AssetthrottleOutbound = AssetthrottleMin; |
898 | 901 | ||
899 | OpenSim.Framework.Console.MainLog.Instance.Verbose("THROTTLE", "Using:resendbytes=" + ResendthrottleOutbound + | 902 | /* OpenSim.Framework.Console.MainLog.Instance.Verbose("THROTTLE", "Using:resendbytes=" + ResendthrottleOutbound + |
900 | " landbytes=" + LandthrottleOutbound + | 903 | " landbytes=" + LandthrottleOutbound + |
901 | " windbytes=" + WindthrottleOutbound + | 904 | " windbytes=" + WindthrottleOutbound + |
902 | " cloudbytes=" + CloudthrottleOutbound + | 905 | " cloudbytes=" + CloudthrottleOutbound + |
@@ -904,6 +907,7 @@ namespace OpenSim.Region.ClientStack | |||
904 | " texturebytes=" + TexturethrottleOutbound + | 907 | " texturebytes=" + TexturethrottleOutbound + |
905 | " Assetbytes=" + AssetthrottleOutbound + | 908 | " Assetbytes=" + AssetthrottleOutbound + |
906 | " Allbytes=" + tall); | 909 | " Allbytes=" + tall); |
910 | */ | ||
907 | } | 911 | } |
908 | else | 912 | else |
909 | { | 913 | { |
@@ -1006,7 +1010,7 @@ namespace OpenSim.Region.ClientStack | |||
1006 | if (tAssetResult < AssetthrottleMin) | 1010 | if (tAssetResult < AssetthrottleMin) |
1007 | AssetthrottleOutbound = AssetthrottleMin; | 1011 | AssetthrottleOutbound = AssetthrottleMin; |
1008 | 1012 | ||
1009 | OpenSim.Framework.Console.MainLog.Instance.Verbose("THROTTLE", "Using:resendbytes=" + ResendthrottleOutbound + | 1013 | /* OpenSim.Framework.Console.MainLog.Instance.Verbose("THROTTLE", "Using:resendbytes=" + ResendthrottleOutbound + |
1010 | " landbytes=" + LandthrottleOutbound + | 1014 | " landbytes=" + LandthrottleOutbound + |
1011 | " windbytes=" + WindthrottleOutbound + | 1015 | " windbytes=" + WindthrottleOutbound + |
1012 | " cloudbytes=" + CloudthrottleOutbound + | 1016 | " cloudbytes=" + CloudthrottleOutbound + |
@@ -1014,6 +1018,7 @@ namespace OpenSim.Region.ClientStack | |||
1014 | " texturebytes=" + TexturethrottleOutbound + | 1018 | " texturebytes=" + TexturethrottleOutbound + |
1015 | " Assetbytes=" + AssetthrottleOutbound + | 1019 | " Assetbytes=" + AssetthrottleOutbound + |
1016 | " Allbytes=" + tall); | 1020 | " Allbytes=" + tall); |
1021 | */ | ||
1017 | 1022 | ||
1018 | } | 1023 | } |
1019 | else | 1024 | else |