aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJeff Ames2007-11-12 19:01:04 +0000
committerJeff Ames2007-11-12 19:01:04 +0000
commit128c7b2d43739bef6b397be9cbe3877c9a31ad7d (patch)
treef71e038f3af9ba4a608ff91da89a5b010c0115d8 /OpenSim
parentset svn:ignore on stuff in OpenSim/Region/Physics/Meshing (diff)
downloadopensim-SC_OLD-128c7b2d43739bef6b397be9cbe3877c9a31ad7d.zip
opensim-SC_OLD-128c7b2d43739bef6b397be9cbe3877c9a31ad7d.tar.gz
opensim-SC_OLD-128c7b2d43739bef6b397be9cbe3877c9a31ad7d.tar.bz2
opensim-SC_OLD-128c7b2d43739bef6b397be9cbe3877c9a31ad7d.tar.xz
added verbose output of unhandled packets from the viewer
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index d285d21..7414340 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -359,7 +359,7 @@ namespace OpenSim.Region.ClientStack
359 } 359 }
360 break; 360 break;
361 case PacketType.ObjectPermissions: 361 case PacketType.ObjectPermissions:
362 //Console.WriteLine("permissions set " + Pack.ToString()); 362 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
363 break; 363 break;
364 364
365 #endregion 365 #endregion
@@ -541,7 +541,7 @@ namespace OpenSim.Region.ClientStack
541 } 541 }
542 break; 542 break;
543 case PacketType.MoveTaskInventory: 543 case PacketType.MoveTaskInventory:
544 //Console.WriteLine(Pack.ToString()); 544 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
545 break; 545 break;
546 case PacketType.RezScript: 546 case PacketType.RezScript:
547 //Console.WriteLine(Pack.ToString()); 547 //Console.WriteLine(Pack.ToString());
@@ -691,7 +691,6 @@ namespace OpenSim.Region.ClientStack
691 Convert.ToInt32(selectPacket.ParcelData.ReturnType), this); 691 Convert.ToInt32(selectPacket.ParcelData.ReturnType), this);
692 } 692 }
693 break; 693 break;
694
695 case PacketType.ParcelObjectOwnersRequest: 694 case PacketType.ParcelObjectOwnersRequest:
696 ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket) Pack; 695 ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket) Pack;
697 if (OnParcelObjectOwnerRequest != null) 696 if (OnParcelObjectOwnerRequest != null)
@@ -718,12 +717,15 @@ namespace OpenSim.Region.ClientStack
718 717
719 case PacketType.AgentIsNowWearing: 718 case PacketType.AgentIsNowWearing:
720 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack; 719 // AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack;
721 //Console.WriteLine(Pack.ToString()); 720 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
722 break; 721 break;
723 case PacketType.ObjectScale: 722 case PacketType.ObjectScale:
724 //OpenSim.Framework.Console.MainLog.Instance.Verbose( Pack.ToString()); 723 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
725 break; 724 break;
726 725 default:
726 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
727 break;
728
727 #endregion 729 #endregion
728 } 730 }
729 } 731 }