diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 260 |
1 files changed, 130 insertions, 130 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 6ff3049..1e9711d 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -44,7 +44,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
44 | public class EventManager | 44 | public class EventManager |
45 | { | 45 | { |
46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
47 | 47 | ||
48 | public delegate void OnFrameDelegate(); | 48 | public delegate void OnFrameDelegate(); |
49 | 49 | ||
50 | /// <summary> | 50 | /// <summary> |
@@ -121,7 +121,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
121 | public event OnClientConnectCoreDelegate OnClientConnect; | 121 | public event OnClientConnectCoreDelegate OnClientConnect; |
122 | 122 | ||
123 | public delegate void OnNewClientDelegate(IClientAPI client); | 123 | public delegate void OnNewClientDelegate(IClientAPI client); |
124 | 124 | ||
125 | /// <summary> | 125 | /// <summary> |
126 | /// Triggered when a new client is added to the scene. | 126 | /// Triggered when a new client is added to the scene. |
127 | /// </summary> | 127 | /// </summary> |
@@ -163,7 +163,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
163 | /// <remarks> | 163 | /// <remarks> |
164 | /// Triggered in <see cref="OpenSim.Region.Framework.Scenes.Scene.AddNewAgent"/> which is used by both | 164 | /// Triggered in <see cref="OpenSim.Region.Framework.Scenes.Scene.AddNewAgent"/> which is used by both |
165 | /// <see cref="OpenSim.Framework.PresenceType.User">users</see> and <see cref="OpenSim.Framework.PresenceType.Npc">NPCs</see> | 165 | /// <see cref="OpenSim.Framework.PresenceType.User">users</see> and <see cref="OpenSim.Framework.PresenceType.Npc">NPCs</see> |
166 | /// | 166 | /// |
167 | /// Triggered under per-agent lock. So if you want to perform any long-running operations, please | 167 | /// Triggered under per-agent lock. So if you want to perform any long-running operations, please |
168 | /// do this on a separate thread. | 168 | /// do this on a separate thread. |
169 | /// </remarks> | 169 | /// </remarks> |
@@ -223,7 +223,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
223 | /// Triggered when the entire simulator is shutdown. | 223 | /// Triggered when the entire simulator is shutdown. |
224 | /// </summary> | 224 | /// </summary> |
225 | public event Action OnShutdown; | 225 | public event Action OnShutdown; |
226 | 226 | ||
227 | public delegate void ObjectDeGrabDelegate(uint localID, uint originalID, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs); | 227 | public delegate void ObjectDeGrabDelegate(uint localID, uint originalID, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs); |
228 | public delegate void ScriptResetDelegate(uint localID, UUID itemID); | 228 | public delegate void ScriptResetDelegate(uint localID, UUID itemID); |
229 | 229 | ||
@@ -276,7 +276,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
276 | /// </remarks> | 276 | /// </remarks> |
277 | public event ObjectGrabDelegate OnObjectGrab; | 277 | public event ObjectGrabDelegate OnObjectGrab; |
278 | public delegate void ObjectGrabDelegate(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs); | 278 | public delegate void ObjectGrabDelegate(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs); |
279 | 279 | ||
280 | /// <summary> | 280 | /// <summary> |
281 | /// Triggered when an object is being touched/grabbed continuously. | 281 | /// Triggered when an object is being touched/grabbed continuously. |
282 | /// </summary> | 282 | /// </summary> |
@@ -503,7 +503,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
503 | /// via <see cref="OpenSim.Region.ClientStack.Linden.TaskInventoryScriptUpdater.uploaderCaps"/> | 503 | /// via <see cref="OpenSim.Region.ClientStack.Linden.TaskInventoryScriptUpdater.uploaderCaps"/> |
504 | /// </remarks> | 504 | /// </remarks> |
505 | public event UpdateScript OnUpdateScript; | 505 | public event UpdateScript OnUpdateScript; |
506 | 506 | ||
507 | public virtual void TriggerUpdateScript(UUID clientId, UUID itemId, UUID primId, bool isScriptRunning, UUID newAssetID) | 507 | public virtual void TriggerUpdateScript(UUID clientId, UUID itemId, UUID primId, bool isScriptRunning, UUID newAssetID) |
508 | { | 508 | { |
509 | UpdateScript handlerUpdateScript = OnUpdateScript; | 509 | UpdateScript handlerUpdateScript = OnUpdateScript; |
@@ -523,16 +523,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
523 | } | 523 | } |
524 | } | 524 | } |
525 | } | 525 | } |
526 | } | 526 | } |
527 | 527 | ||
528 | /// <summary> | 528 | /// <summary> |
529 | /// Triggered when some scene object properties change. | 529 | /// Triggered when some scene object properties change. |
530 | /// </summary> | 530 | /// </summary> |
531 | /// <remarks> | 531 | /// <remarks> |
532 | /// ScriptChangedEvent is fired when a scene object property that a script might be interested | 532 | /// ScriptChangedEvent is fired when a scene object property that a script might be interested |
533 | /// in (such as color, scale or inventory) changes. Only enough information sent is for the LSL changed event. | 533 | /// in (such as color, scale or inventory) changes. Only enough information sent is for the LSL changed event. |
534 | /// This is not an indication that the script has changed (see OnUpdateScript for that). | 534 | /// This is not an indication that the script has changed (see OnUpdateScript for that). |
535 | /// This event is sent to a script to tell it that some property changed on | 535 | /// This event is sent to a script to tell it that some property changed on |
536 | /// the object the script is in. See http://lslwiki.net/lslwiki/wakka.php?wakka=changed . | 536 | /// the object the script is in. See http://lslwiki.net/lslwiki/wakka.php?wakka=changed . |
537 | /// Triggered by <see cref="TriggerOnScriptChangedEvent"/> | 537 | /// Triggered by <see cref="TriggerOnScriptChangedEvent"/> |
538 | /// in <see cref="OpenSim.Region.CoreModules.Framework.EntityTransfer.EntityTransferModule.TeleportAgentWithinRegion"/>, | 538 | /// in <see cref="OpenSim.Region.CoreModules.Framework.EntityTransfer.EntityTransferModule.TeleportAgentWithinRegion"/>, |
@@ -561,7 +561,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
561 | /// TODO: Should be triggered when a physics object starts moving. | 561 | /// TODO: Should be triggered when a physics object starts moving. |
562 | /// </summary> | 562 | /// </summary> |
563 | public event ScriptMovingStartEvent OnScriptMovingStartEvent; | 563 | public event ScriptMovingStartEvent OnScriptMovingStartEvent; |
564 | 564 | ||
565 | public delegate void ScriptMovingEndEvent(uint localID); | 565 | public delegate void ScriptMovingEndEvent(uint localID); |
566 | 566 | ||
567 | /// <summary> | 567 | /// <summary> |
@@ -738,7 +738,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
738 | /// and <see cref="ScenePresence.CompleteMovement"/> | 738 | /// and <see cref="ScenePresence.CompleteMovement"/> |
739 | /// </remarks> | 739 | /// </remarks> |
740 | public event Action<ScenePresence> OnMakeRootAgent; | 740 | public event Action<ScenePresence> OnMakeRootAgent; |
741 | 741 | ||
742 | public event OnSendNewWindlightProfileTargetedDelegate OnSendNewWindlightProfileTargeted; | 742 | public event OnSendNewWindlightProfileTargetedDelegate OnSendNewWindlightProfileTargeted; |
743 | public event OnSaveNewWindlightProfileDelegate OnSaveNewWindlightProfile; | 743 | public event OnSaveNewWindlightProfileDelegate OnSaveNewWindlightProfile; |
744 | 744 | ||
@@ -755,7 +755,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
755 | public delegate void RequestChangeWaterHeight(float height); | 755 | public delegate void RequestChangeWaterHeight(float height); |
756 | 756 | ||
757 | public event RequestChangeWaterHeight OnRequestChangeWaterHeight; | 757 | public event RequestChangeWaterHeight OnRequestChangeWaterHeight; |
758 | 758 | ||
759 | /// <summary> | 759 | /// <summary> |
760 | /// Fired if any avatar is 'killed' due to its health falling to zero | 760 | /// Fired if any avatar is 'killed' due to its health falling to zero |
761 | /// </summary> | 761 | /// </summary> |
@@ -778,7 +778,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
778 | public delegate void GetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID); | 778 | public delegate void GetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID); |
779 | 779 | ||
780 | public event EstateToolsSunUpdate OnEstateToolsSunUpdate; | 780 | public event EstateToolsSunUpdate OnEstateToolsSunUpdate; |
781 | 781 | ||
782 | /// <summary> | 782 | /// <summary> |
783 | /// Triggered when an object is added to the scene. | 783 | /// Triggered when an object is added to the scene. |
784 | /// </summary> | 784 | /// </summary> |
@@ -789,7 +789,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
789 | /// <see cref="Scene.doObjectDuplicateOnRay"/> | 789 | /// <see cref="Scene.doObjectDuplicateOnRay"/> |
790 | /// </remarks> | 790 | /// </remarks> |
791 | public event Action<SceneObjectGroup> OnObjectAddedToScene; | 791 | public event Action<SceneObjectGroup> OnObjectAddedToScene; |
792 | 792 | ||
793 | /// <summary> | 793 | /// <summary> |
794 | /// When a client sends a derez request for an object inworld | 794 | /// When a client sends a derez request for an object inworld |
795 | /// but before the object is deleted | 795 | /// but before the object is deleted |
@@ -872,21 +872,21 @@ namespace OpenSim.Region.Framework.Scenes | |||
872 | /// </summary> | 872 | /// </summary> |
873 | public delegate void RegisterCapsEvent(UUID agentID, Caps caps); | 873 | public delegate void RegisterCapsEvent(UUID agentID, Caps caps); |
874 | public event RegisterCapsEvent OnRegisterCaps; | 874 | public event RegisterCapsEvent OnRegisterCaps; |
875 | 875 | ||
876 | /// <summary> | 876 | /// <summary> |
877 | /// DeregisterCapsEvent is called by Scene when the caps | 877 | /// DeregisterCapsEvent is called by Scene when the caps |
878 | /// handler for an agent are removed. | 878 | /// handler for an agent are removed. |
879 | /// </summary> | 879 | /// </summary> |
880 | public delegate void DeregisterCapsEvent(UUID agentID, Caps caps); | 880 | public delegate void DeregisterCapsEvent(UUID agentID, Caps caps); |
881 | public event DeregisterCapsEvent OnDeregisterCaps; | 881 | public event DeregisterCapsEvent OnDeregisterCaps; |
882 | 882 | ||
883 | /// <summary> | 883 | /// <summary> |
884 | /// ChatFromWorldEvent is called via Scene when a chat message | 884 | /// ChatFromWorldEvent is called via Scene when a chat message |
885 | /// from world comes in. | 885 | /// from world comes in. |
886 | /// </summary> | 886 | /// </summary> |
887 | public delegate void ChatFromWorldEvent(Object sender, OSChatMessage chat); | 887 | public delegate void ChatFromWorldEvent(Object sender, OSChatMessage chat); |
888 | public event ChatFromWorldEvent OnChatFromWorld; | 888 | public event ChatFromWorldEvent OnChatFromWorld; |
889 | 889 | ||
890 | /// <summary> | 890 | /// <summary> |
891 | /// ChatFromClientEvent is triggered via ChatModule (or | 891 | /// ChatFromClientEvent is triggered via ChatModule (or |
892 | /// substitutes thereof) when a chat message | 892 | /// substitutes thereof) when a chat message |
@@ -894,18 +894,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
894 | /// </summary> | 894 | /// </summary> |
895 | public delegate void ChatFromClientEvent(Object sender, OSChatMessage chat); | 895 | public delegate void ChatFromClientEvent(Object sender, OSChatMessage chat); |
896 | public event ChatFromClientEvent OnChatFromClient; | 896 | public event ChatFromClientEvent OnChatFromClient; |
897 | 897 | ||
898 | /// <summary> | 898 | /// <summary> |
899 | /// ChatToClientsEvent is triggered via ChatModule (or | 899 | /// ChatToClientsEvent is triggered via ChatModule (or |
900 | /// substitutes thereof) when a chat message is actually sent to clients. Clients will only be sent a | 900 | /// substitutes thereof) when a chat message is actually sent to clients. Clients will only be sent a |
901 | /// received chat message if they satisfy various conditions (within audible range, etc.) | 901 | /// received chat message if they satisfy various conditions (within audible range, etc.) |
902 | /// </summary> | 902 | /// </summary> |
903 | public delegate void ChatToClientsEvent( | 903 | public delegate void ChatToClientsEvent( |
904 | UUID senderID, HashSet<UUID> receiverIDs, | 904 | UUID senderID, HashSet<UUID> receiverIDs, |
905 | string message, ChatTypeEnum type, Vector3 fromPos, string fromName, | 905 | string message, ChatTypeEnum type, Vector3 fromPos, string fromName, |
906 | ChatSourceType src, ChatAudibleLevel level); | 906 | ChatSourceType src, ChatAudibleLevel level); |
907 | public event ChatToClientsEvent OnChatToClients; | 907 | public event ChatToClientsEvent OnChatToClients; |
908 | 908 | ||
909 | /// <summary> | 909 | /// <summary> |
910 | /// ChatBroadcastEvent is called via Scene when a broadcast chat message | 910 | /// ChatBroadcastEvent is called via Scene when a broadcast chat message |
911 | /// from world comes in | 911 | /// from world comes in |
@@ -923,11 +923,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
923 | /// </summary> | 923 | /// </summary> |
924 | public delegate void OarFileLoaded(Guid guid, List<UUID> loadedScenes, string message); | 924 | public delegate void OarFileLoaded(Guid guid, List<UUID> loadedScenes, string message); |
925 | public event OarFileLoaded OnOarFileLoaded; | 925 | public event OarFileLoaded OnOarFileLoaded; |
926 | 926 | ||
927 | /// <summary> | 927 | /// <summary> |
928 | /// Called when an oar file has finished saving | 928 | /// Called when an oar file has finished saving |
929 | /// Message is non empty string if there were problems saving the oar file | 929 | /// Message is non empty string if there were problems saving the oar file |
930 | /// If a guid was supplied on the original call to identify, the request, this is returned. Otherwise | 930 | /// If a guid was supplied on the original call to identify, the request, this is returned. Otherwise |
931 | /// Guid.Empty is returned. | 931 | /// Guid.Empty is returned. |
932 | /// </summary> | 932 | /// </summary> |
933 | public delegate void OarFileSaved(Guid guid, string message); | 933 | public delegate void OarFileSaved(Guid guid, string message); |
@@ -947,14 +947,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
947 | /// the avatarID is UUID.Zero (I know, this doesn't make much sense but now it's historical). | 947 | /// the avatarID is UUID.Zero (I know, this doesn't make much sense but now it's historical). |
948 | public delegate void Attach(uint localID, UUID itemID, UUID avatarID); | 948 | public delegate void Attach(uint localID, UUID itemID, UUID avatarID); |
949 | public event Attach OnAttach; | 949 | public event Attach OnAttach; |
950 | 950 | ||
951 | 951 | ||
952 | /// <summary> | 952 | /// <summary> |
953 | /// Called immediately after an object is loaded from storage. | 953 | /// Called immediately after an object is loaded from storage. |
954 | /// </summary> | 954 | /// </summary> |
955 | public event SceneObjectDelegate OnSceneObjectLoaded; | 955 | public event SceneObjectDelegate OnSceneObjectLoaded; |
956 | public delegate void SceneObjectDelegate(SceneObjectGroup so); | 956 | public delegate void SceneObjectDelegate(SceneObjectGroup so); |
957 | 957 | ||
958 | /// <summary> | 958 | /// <summary> |
959 | /// Called immediately before an object is saved to storage. | 959 | /// Called immediately before an object is saved to storage. |
960 | /// </summary> | 960 | /// </summary> |
@@ -967,7 +967,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
967 | /// </param> | 967 | /// </param> |
968 | public event SceneObjectPreSaveDelegate OnSceneObjectPreSave; | 968 | public event SceneObjectPreSaveDelegate OnSceneObjectPreSave; |
969 | public delegate void SceneObjectPreSaveDelegate(SceneObjectGroup persistingSo, SceneObjectGroup originalSo); | 969 | public delegate void SceneObjectPreSaveDelegate(SceneObjectGroup persistingSo, SceneObjectGroup originalSo); |
970 | 970 | ||
971 | /// <summary> | 971 | /// <summary> |
972 | /// Called when a scene object part is cloned within the region. | 972 | /// Called when a scene object part is cloned within the region. |
973 | /// </summary> | 973 | /// </summary> |
@@ -1001,7 +1001,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1001 | /// Fired when logins to a region are enabled or disabled. | 1001 | /// Fired when logins to a region are enabled or disabled. |
1002 | /// </summary> | 1002 | /// </summary> |
1003 | /// <remarks> | 1003 | /// <remarks> |
1004 | /// | 1004 | /// |
1005 | /// </remarks> | 1005 | /// </remarks> |
1006 | /// Fired | 1006 | /// Fired |
1007 | public event RegionLoginsStatusChange OnRegionLoginsStatusChange; | 1007 | public event RegionLoginsStatusChange OnRegionLoginsStatusChange; |
@@ -1157,7 +1157,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1157 | catch (Exception e) | 1157 | catch (Exception e) |
1158 | { | 1158 | { |
1159 | m_log.ErrorFormat( | 1159 | m_log.ErrorFormat( |
1160 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", | 1160 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", |
1161 | e.Message, e.StackTrace); | 1161 | e.Message, e.StackTrace); |
1162 | } | 1162 | } |
1163 | } | 1163 | } |
@@ -1178,7 +1178,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1178 | catch (Exception e) | 1178 | catch (Exception e) |
1179 | { | 1179 | { |
1180 | m_log.ErrorFormat( | 1180 | m_log.ErrorFormat( |
1181 | "[EVENT MANAGER]: Delegate for TriggerGetScriptRunning failed - continuing. {0} {1}", | 1181 | "[EVENT MANAGER]: Delegate for TriggerGetScriptRunning failed - continuing. {0} {1}", |
1182 | e.Message, e.StackTrace); | 1182 | e.Message, e.StackTrace); |
1183 | } | 1183 | } |
1184 | } | 1184 | } |
@@ -1199,7 +1199,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1199 | catch (Exception e) | 1199 | catch (Exception e) |
1200 | { | 1200 | { |
1201 | m_log.ErrorFormat( | 1201 | m_log.ErrorFormat( |
1202 | "[EVENT MANAGER]: Delegate for TriggerOnScriptChangedEvent failed - continuing. {0} {1}", | 1202 | "[EVENT MANAGER]: Delegate for TriggerOnScriptChangedEvent failed - continuing. {0} {1}", |
1203 | e.Message, e.StackTrace); | 1203 | e.Message, e.StackTrace); |
1204 | } | 1204 | } |
1205 | } | 1205 | } |
@@ -1220,7 +1220,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1220 | catch (Exception e) | 1220 | catch (Exception e) |
1221 | { | 1221 | { |
1222 | m_log.ErrorFormat( | 1222 | m_log.ErrorFormat( |
1223 | "[EVENT MANAGER]: Delegate for TriggerOnClientMovement failed - continuing. {0} {1}", | 1223 | "[EVENT MANAGER]: Delegate for TriggerOnClientMovement failed - continuing. {0} {1}", |
1224 | e.Message, e.StackTrace); | 1224 | e.Message, e.StackTrace); |
1225 | } | 1225 | } |
1226 | } | 1226 | } |
@@ -1241,7 +1241,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1241 | catch (Exception e) | 1241 | catch (Exception e) |
1242 | { | 1242 | { |
1243 | m_log.ErrorFormat( | 1243 | m_log.ErrorFormat( |
1244 | "[EVENT MANAGER]: Delegate for TriggerPermissionError failed - continuing. {0} {1}", | 1244 | "[EVENT MANAGER]: Delegate for TriggerPermissionError failed - continuing. {0} {1}", |
1245 | e.Message, e.StackTrace); | 1245 | e.Message, e.StackTrace); |
1246 | } | 1246 | } |
1247 | } | 1247 | } |
@@ -1262,7 +1262,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1262 | catch (Exception e) | 1262 | catch (Exception e) |
1263 | { | 1263 | { |
1264 | m_log.ErrorFormat( | 1264 | m_log.ErrorFormat( |
1265 | "[EVENT MANAGER]: Delegate for TriggerOnPluginConsole failed - continuing. {0} {1}", | 1265 | "[EVENT MANAGER]: Delegate for TriggerOnPluginConsole failed - continuing. {0} {1}", |
1266 | e.Message, e.StackTrace); | 1266 | e.Message, e.StackTrace); |
1267 | } | 1267 | } |
1268 | } | 1268 | } |
@@ -1283,7 +1283,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1283 | catch (Exception e) | 1283 | catch (Exception e) |
1284 | { | 1284 | { |
1285 | m_log.ErrorFormat( | 1285 | m_log.ErrorFormat( |
1286 | "[EVENT MANAGER]: Delegate for TriggerOnFrame failed - continuing. {0} {1}", | 1286 | "[EVENT MANAGER]: Delegate for TriggerOnFrame failed - continuing. {0} {1}", |
1287 | e.Message, e.StackTrace); | 1287 | e.Message, e.StackTrace); |
1288 | } | 1288 | } |
1289 | } | 1289 | } |
@@ -1304,7 +1304,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1304 | catch (Exception e) | 1304 | catch (Exception e) |
1305 | { | 1305 | { |
1306 | m_log.ErrorFormat( | 1306 | m_log.ErrorFormat( |
1307 | "[EVENT MANAGER]: Delegate for TriggerOnNewClient failed - continuing. {0} {1}", | 1307 | "[EVENT MANAGER]: Delegate for TriggerOnNewClient failed - continuing. {0} {1}", |
1308 | e.Message, e.StackTrace); | 1308 | e.Message, e.StackTrace); |
1309 | } | 1309 | } |
1310 | } | 1310 | } |
@@ -1324,7 +1324,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1324 | catch (Exception e) | 1324 | catch (Exception e) |
1325 | { | 1325 | { |
1326 | m_log.ErrorFormat( | 1326 | m_log.ErrorFormat( |
1327 | "[EVENT MANAGER]: Delegate for TriggerOnNewClient (IClientCore) failed - continuing. {0} {1}", | 1327 | "[EVENT MANAGER]: Delegate for TriggerOnNewClient (IClientCore) failed - continuing. {0} {1}", |
1328 | e.Message, e.StackTrace); | 1328 | e.Message, e.StackTrace); |
1329 | } | 1329 | } |
1330 | } | 1330 | } |
@@ -1368,7 +1368,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1368 | catch (Exception e) | 1368 | catch (Exception e) |
1369 | { | 1369 | { |
1370 | m_log.ErrorFormat( | 1370 | m_log.ErrorFormat( |
1371 | "[EVENT MANAGER]: Delegate for TriggerOnNewPresence failed - continuing. {0} {1}", | 1371 | "[EVENT MANAGER]: Delegate for TriggerOnNewPresence failed - continuing. {0} {1}", |
1372 | e.Message, e.StackTrace); | 1372 | e.Message, e.StackTrace); |
1373 | } | 1373 | } |
1374 | } | 1374 | } |
@@ -1391,7 +1391,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1391 | catch (Exception e) | 1391 | catch (Exception e) |
1392 | { | 1392 | { |
1393 | m_log.ErrorFormat( | 1393 | m_log.ErrorFormat( |
1394 | "[EVENT MANAGER]: Delegate for TriggerOnRemovePresence failed - continuing. {0} {1}", | 1394 | "[EVENT MANAGER]: Delegate for TriggerOnRemovePresence failed - continuing. {0} {1}", |
1395 | e.Message, e.StackTrace); | 1395 | e.Message, e.StackTrace); |
1396 | } | 1396 | } |
1397 | } | 1397 | } |
@@ -1412,7 +1412,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1412 | catch (Exception e) | 1412 | catch (Exception e) |
1413 | { | 1413 | { |
1414 | m_log.ErrorFormat( | 1414 | m_log.ErrorFormat( |
1415 | "[EVENT MANAGER]: Delegate for TriggerOnBackup failed - continuing. {0} {1}", | 1415 | "[EVENT MANAGER]: Delegate for TriggerOnBackup failed - continuing. {0} {1}", |
1416 | e.Message, e.StackTrace); | 1416 | e.Message, e.StackTrace); |
1417 | } | 1417 | } |
1418 | } | 1418 | } |
@@ -1433,7 +1433,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1433 | catch (Exception e) | 1433 | catch (Exception e) |
1434 | { | 1434 | { |
1435 | m_log.ErrorFormat( | 1435 | m_log.ErrorFormat( |
1436 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountUpdate failed - continuing. {0} {1}", | 1436 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountUpdate failed - continuing. {0} {1}", |
1437 | e.Message, e.StackTrace); | 1437 | e.Message, e.StackTrace); |
1438 | } | 1438 | } |
1439 | } | 1439 | } |
@@ -1454,7 +1454,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1454 | catch (Exception e) | 1454 | catch (Exception e) |
1455 | { | 1455 | { |
1456 | m_log.ErrorFormat( | 1456 | m_log.ErrorFormat( |
1457 | "[EVENT MANAGER]: Delegate for TriggerMoneyTransfer failed - continuing. {0} {1}", | 1457 | "[EVENT MANAGER]: Delegate for TriggerMoneyTransfer failed - continuing. {0} {1}", |
1458 | e.Message, e.StackTrace); | 1458 | e.Message, e.StackTrace); |
1459 | } | 1459 | } |
1460 | } | 1460 | } |
@@ -1495,7 +1495,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1495 | catch (Exception e) | 1495 | catch (Exception e) |
1496 | { | 1496 | { |
1497 | m_log.ErrorFormat( | 1497 | m_log.ErrorFormat( |
1498 | "[EVENT MANAGER]: Delegate for TriggerTerrainTick failed - continuing. {0} {1}", | 1498 | "[EVENT MANAGER]: Delegate for TriggerTerrainTick failed - continuing. {0} {1}", |
1499 | e.Message, e.StackTrace); | 1499 | e.Message, e.StackTrace); |
1500 | } | 1500 | } |
1501 | } | 1501 | } |
@@ -1558,7 +1558,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1558 | catch (Exception e) | 1558 | catch (Exception e) |
1559 | { | 1559 | { |
1560 | m_log.ErrorFormat( | 1560 | m_log.ErrorFormat( |
1561 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountAdd failed - continuing. {0} {1}", | 1561 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountAdd failed - continuing. {0} {1}", |
1562 | e.Message, e.StackTrace); | 1562 | e.Message, e.StackTrace); |
1563 | } | 1563 | } |
1564 | } | 1564 | } |
@@ -1579,7 +1579,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1579 | catch (Exception e) | 1579 | catch (Exception e) |
1580 | { | 1580 | { |
1581 | m_log.ErrorFormat( | 1581 | m_log.ErrorFormat( |
1582 | "[EVENT MANAGER]: Delegate for TriggerObjectAddedToScene failed - continuing. {0} {1}", | 1582 | "[EVENT MANAGER]: Delegate for TriggerObjectAddedToScene failed - continuing. {0} {1}", |
1583 | e.Message, e.StackTrace); | 1583 | e.Message, e.StackTrace); |
1584 | } | 1584 | } |
1585 | } | 1585 | } |
@@ -1625,7 +1625,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1625 | catch (Exception e) | 1625 | catch (Exception e) |
1626 | { | 1626 | { |
1627 | m_log.ErrorFormat( | 1627 | m_log.ErrorFormat( |
1628 | "[EVENT MANAGER]: Delegate for TriggerObjectBeingRemovedFromScene failed - continuing. {0} {1}", | 1628 | "[EVENT MANAGER]: Delegate for TriggerObjectBeingRemovedFromScene failed - continuing. {0} {1}", |
1629 | e.Message, e.StackTrace); | 1629 | e.Message, e.StackTrace); |
1630 | } | 1630 | } |
1631 | } | 1631 | } |
@@ -1646,7 +1646,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1646 | catch (Exception e) | 1646 | catch (Exception e) |
1647 | { | 1647 | { |
1648 | m_log.ErrorFormat( | 1648 | m_log.ErrorFormat( |
1649 | "[EVENT MANAGER]: Delegate for TriggerObjectAddedToPhysicalScene failed - continuing. {0} {1}", | 1649 | "[EVENT MANAGER]: Delegate for TriggerObjectAddedToPhysicalScene failed - continuing. {0} {1}", |
1650 | e.Message, e.StackTrace); | 1650 | e.Message, e.StackTrace); |
1651 | } | 1651 | } |
1652 | } | 1652 | } |
@@ -1667,7 +1667,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1667 | catch (Exception e) | 1667 | catch (Exception e) |
1668 | { | 1668 | { |
1669 | m_log.ErrorFormat( | 1669 | m_log.ErrorFormat( |
1670 | "[EVENT MANAGER]: Delegate for TriggerObjectRemovedFromPhysicalScene failed - continuing. {0} {1}", | 1670 | "[EVENT MANAGER]: Delegate for TriggerObjectRemovedFromPhysicalScene failed - continuing. {0} {1}", |
1671 | e.Message, e.StackTrace); | 1671 | e.Message, e.StackTrace); |
1672 | } | 1672 | } |
1673 | } | 1673 | } |
@@ -1688,7 +1688,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1688 | catch (Exception e) | 1688 | catch (Exception e) |
1689 | { | 1689 | { |
1690 | m_log.ErrorFormat( | 1690 | m_log.ErrorFormat( |
1691 | "[EVENT MANAGER]: Delegate for TriggerShutdown failed - continuing. {0} {1}", | 1691 | "[EVENT MANAGER]: Delegate for TriggerShutdown failed - continuing. {0} {1}", |
1692 | e.Message, e.StackTrace); | 1692 | e.Message, e.StackTrace); |
1693 | } | 1693 | } |
1694 | } | 1694 | } |
@@ -1709,7 +1709,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1709 | catch (Exception e) | 1709 | catch (Exception e) |
1710 | { | 1710 | { |
1711 | m_log.ErrorFormat( | 1711 | m_log.ErrorFormat( |
1712 | "[EVENT MANAGER]: Delegate for TriggerObjectGrab failed - continuing. {0} {1}", | 1712 | "[EVENT MANAGER]: Delegate for TriggerObjectGrab failed - continuing. {0} {1}", |
1713 | e.Message, e.StackTrace); | 1713 | e.Message, e.StackTrace); |
1714 | } | 1714 | } |
1715 | } | 1715 | } |
@@ -1730,7 +1730,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1730 | catch (Exception e) | 1730 | catch (Exception e) |
1731 | { | 1731 | { |
1732 | m_log.ErrorFormat( | 1732 | m_log.ErrorFormat( |
1733 | "[EVENT MANAGER]: Delegate for TriggerObjectGrabbing failed - continuing. {0} {1}", | 1733 | "[EVENT MANAGER]: Delegate for TriggerObjectGrabbing failed - continuing. {0} {1}", |
1734 | e.Message, e.StackTrace); | 1734 | e.Message, e.StackTrace); |
1735 | } | 1735 | } |
1736 | } | 1736 | } |
@@ -1751,7 +1751,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1751 | catch (Exception e) | 1751 | catch (Exception e) |
1752 | { | 1752 | { |
1753 | m_log.ErrorFormat( | 1753 | m_log.ErrorFormat( |
1754 | "[EVENT MANAGER]: Delegate for TriggerObjectDeGrab failed - continuing. {0} {1}", | 1754 | "[EVENT MANAGER]: Delegate for TriggerObjectDeGrab failed - continuing. {0} {1}", |
1755 | e.Message, e.StackTrace); | 1755 | e.Message, e.StackTrace); |
1756 | } | 1756 | } |
1757 | } | 1757 | } |
@@ -1772,7 +1772,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1772 | catch (Exception e) | 1772 | catch (Exception e) |
1773 | { | 1773 | { |
1774 | m_log.ErrorFormat( | 1774 | m_log.ErrorFormat( |
1775 | "[EVENT MANAGER]: Delegate for TriggerScriptReset failed - continuing. {0} {1}", | 1775 | "[EVENT MANAGER]: Delegate for TriggerScriptReset failed - continuing. {0} {1}", |
1776 | e.Message, e.StackTrace); | 1776 | e.Message, e.StackTrace); |
1777 | } | 1777 | } |
1778 | } | 1778 | } |
@@ -1793,7 +1793,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1793 | catch (Exception e) | 1793 | catch (Exception e) |
1794 | { | 1794 | { |
1795 | m_log.ErrorFormat( | 1795 | m_log.ErrorFormat( |
1796 | "[EVENT MANAGER]: Delegate for TriggerRezScript failed - continuing. {0} {1}", | 1796 | "[EVENT MANAGER]: Delegate for TriggerRezScript failed - continuing. {0} {1}", |
1797 | e.Message, e.StackTrace); | 1797 | e.Message, e.StackTrace); |
1798 | } | 1798 | } |
1799 | } | 1799 | } |
@@ -1814,7 +1814,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1814 | catch (Exception e) | 1814 | catch (Exception e) |
1815 | { | 1815 | { |
1816 | m_log.ErrorFormat( | 1816 | m_log.ErrorFormat( |
1817 | "[EVENT MANAGER]: Delegate for TriggerStartScript failed - continuing. {0} {1}", | 1817 | "[EVENT MANAGER]: Delegate for TriggerStartScript failed - continuing. {0} {1}", |
1818 | e.Message, e.StackTrace); | 1818 | e.Message, e.StackTrace); |
1819 | } | 1819 | } |
1820 | } | 1820 | } |
@@ -1835,7 +1835,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1835 | catch (Exception e) | 1835 | catch (Exception e) |
1836 | { | 1836 | { |
1837 | m_log.ErrorFormat( | 1837 | m_log.ErrorFormat( |
1838 | "[EVENT MANAGER]: Delegate for TriggerStopScript failed - continuing. {0} {1}", | 1838 | "[EVENT MANAGER]: Delegate for TriggerStopScript failed - continuing. {0} {1}", |
1839 | e.Message, e.StackTrace); | 1839 | e.Message, e.StackTrace); |
1840 | } | 1840 | } |
1841 | } | 1841 | } |
@@ -1856,7 +1856,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1856 | catch (Exception e) | 1856 | catch (Exception e) |
1857 | { | 1857 | { |
1858 | m_log.ErrorFormat( | 1858 | m_log.ErrorFormat( |
1859 | "[EVENT MANAGER]: Delegate for TriggerRemoveScript failed - continuing. {0} {1}", | 1859 | "[EVENT MANAGER]: Delegate for TriggerRemoveScript failed - continuing. {0} {1}", |
1860 | e.Message, e.StackTrace); | 1860 | e.Message, e.StackTrace); |
1861 | m_log.ErrorFormat(Environment.StackTrace); | 1861 | m_log.ErrorFormat(Environment.StackTrace); |
1862 | } | 1862 | } |
@@ -1867,7 +1867,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1867 | public bool TriggerGroupMove(UUID groupID, Vector3 delta) | 1867 | public bool TriggerGroupMove(UUID groupID, Vector3 delta) |
1868 | { | 1868 | { |
1869 | bool result = true; | 1869 | bool result = true; |
1870 | 1870 | ||
1871 | SceneGroupMoved handlerSceneGroupMove = OnSceneGroupMove; | 1871 | SceneGroupMoved handlerSceneGroupMove = OnSceneGroupMove; |
1872 | if (handlerSceneGroupMove != null) | 1872 | if (handlerSceneGroupMove != null) |
1873 | { | 1873 | { |
@@ -1881,19 +1881,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1881 | catch (Exception e) | 1881 | catch (Exception e) |
1882 | { | 1882 | { |
1883 | m_log.ErrorFormat( | 1883 | m_log.ErrorFormat( |
1884 | "[EVENT MANAGER]: Delegate for TriggerGroupMove failed - continuing. {0} {1}", | 1884 | "[EVENT MANAGER]: Delegate for TriggerGroupMove failed - continuing. {0} {1}", |
1885 | e.Message, e.StackTrace); | 1885 | e.Message, e.StackTrace); |
1886 | } | 1886 | } |
1887 | } | 1887 | } |
1888 | } | 1888 | } |
1889 | 1889 | ||
1890 | return result; | 1890 | return result; |
1891 | } | 1891 | } |
1892 | 1892 | ||
1893 | public bool TriggerGroupSpinStart(UUID groupID) | 1893 | public bool TriggerGroupSpinStart(UUID groupID) |
1894 | { | 1894 | { |
1895 | bool result = true; | 1895 | bool result = true; |
1896 | 1896 | ||
1897 | SceneGroupSpinStarted handlerSceneGroupSpinStarted = OnSceneGroupSpinStart; | 1897 | SceneGroupSpinStarted handlerSceneGroupSpinStarted = OnSceneGroupSpinStart; |
1898 | if (handlerSceneGroupSpinStarted != null) | 1898 | if (handlerSceneGroupSpinStarted != null) |
1899 | { | 1899 | { |
@@ -1907,19 +1907,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1907 | catch (Exception e) | 1907 | catch (Exception e) |
1908 | { | 1908 | { |
1909 | m_log.ErrorFormat( | 1909 | m_log.ErrorFormat( |
1910 | "[EVENT MANAGER]: Delegate for TriggerGroupSpinStart failed - continuing. {0} {1}", | 1910 | "[EVENT MANAGER]: Delegate for TriggerGroupSpinStart failed - continuing. {0} {1}", |
1911 | e.Message, e.StackTrace); | 1911 | e.Message, e.StackTrace); |
1912 | } | 1912 | } |
1913 | } | 1913 | } |
1914 | } | 1914 | } |
1915 | 1915 | ||
1916 | return result; | 1916 | return result; |
1917 | } | 1917 | } |
1918 | 1918 | ||
1919 | public bool TriggerGroupSpin(UUID groupID, Quaternion rotation) | 1919 | public bool TriggerGroupSpin(UUID groupID, Quaternion rotation) |
1920 | { | 1920 | { |
1921 | bool result = true; | 1921 | bool result = true; |
1922 | 1922 | ||
1923 | SceneGroupSpun handlerSceneGroupSpin = OnSceneGroupSpin; | 1923 | SceneGroupSpun handlerSceneGroupSpin = OnSceneGroupSpin; |
1924 | if (handlerSceneGroupSpin != null) | 1924 | if (handlerSceneGroupSpin != null) |
1925 | { | 1925 | { |
@@ -1933,12 +1933,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1933 | catch (Exception e) | 1933 | catch (Exception e) |
1934 | { | 1934 | { |
1935 | m_log.ErrorFormat( | 1935 | m_log.ErrorFormat( |
1936 | "[EVENT MANAGER]: Delegate for TriggerGroupSpin failed - continuing. {0} {1}", | 1936 | "[EVENT MANAGER]: Delegate for TriggerGroupSpin failed - continuing. {0} {1}", |
1937 | e.Message, e.StackTrace); | 1937 | e.Message, e.StackTrace); |
1938 | } | 1938 | } |
1939 | } | 1939 | } |
1940 | } | 1940 | } |
1941 | 1941 | ||
1942 | return result; | 1942 | return result; |
1943 | } | 1943 | } |
1944 | 1944 | ||
@@ -1956,7 +1956,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1956 | catch (Exception e) | 1956 | catch (Exception e) |
1957 | { | 1957 | { |
1958 | m_log.ErrorFormat( | 1958 | m_log.ErrorFormat( |
1959 | "[EVENT MANAGER]: Delegate for TriggerGroupGrab failed - continuing. {0} {1}", | 1959 | "[EVENT MANAGER]: Delegate for TriggerGroupGrab failed - continuing. {0} {1}", |
1960 | e.Message, e.StackTrace); | 1960 | e.Message, e.StackTrace); |
1961 | } | 1961 | } |
1962 | } | 1962 | } |
@@ -1977,7 +1977,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1977 | catch (Exception e) | 1977 | catch (Exception e) |
1978 | { | 1978 | { |
1979 | m_log.ErrorFormat( | 1979 | m_log.ErrorFormat( |
1980 | "[EVENT MANAGER]: Delegate for TriggerLandObjectAdded failed - continuing. {0} {1}", | 1980 | "[EVENT MANAGER]: Delegate for TriggerLandObjectAdded failed - continuing. {0} {1}", |
1981 | e.Message, e.StackTrace); | 1981 | e.Message, e.StackTrace); |
1982 | } | 1982 | } |
1983 | } | 1983 | } |
@@ -1998,7 +1998,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1998 | catch (Exception e) | 1998 | catch (Exception e) |
1999 | { | 1999 | { |
2000 | m_log.ErrorFormat( | 2000 | m_log.ErrorFormat( |
2001 | "[EVENT MANAGER]: Delegate for TriggerLandObjectRemoved failed - continuing. {0} {1}", | 2001 | "[EVENT MANAGER]: Delegate for TriggerLandObjectRemoved failed - continuing. {0} {1}", |
2002 | e.Message, e.StackTrace); | 2002 | e.Message, e.StackTrace); |
2003 | } | 2003 | } |
2004 | } | 2004 | } |
@@ -2024,7 +2024,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2024 | catch (Exception e) | 2024 | catch (Exception e) |
2025 | { | 2025 | { |
2026 | m_log.ErrorFormat( | 2026 | m_log.ErrorFormat( |
2027 | "[EVENT MANAGER]: Delegate for TriggerAvatarEnteringNewParcel failed - continuing. {0} {1}", | 2027 | "[EVENT MANAGER]: Delegate for TriggerAvatarEnteringNewParcel failed - continuing. {0} {1}", |
2028 | e.Message, e.StackTrace); | 2028 | e.Message, e.StackTrace); |
2029 | } | 2029 | } |
2030 | } | 2030 | } |
@@ -2045,7 +2045,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2045 | catch (Exception e) | 2045 | catch (Exception e) |
2046 | { | 2046 | { |
2047 | m_log.ErrorFormat( | 2047 | m_log.ErrorFormat( |
2048 | "[EVENT MANAGER]: Delegate for TriggerAvatarAppearanceChanged failed - continuing. {0} {1}", | 2048 | "[EVENT MANAGER]: Delegate for TriggerAvatarAppearanceChanged failed - continuing. {0} {1}", |
2049 | e.Message, e.StackTrace); | 2049 | e.Message, e.StackTrace); |
2050 | } | 2050 | } |
2051 | } | 2051 | } |
@@ -2087,7 +2087,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2087 | catch (Exception e) | 2087 | catch (Exception e) |
2088 | { | 2088 | { |
2089 | m_log.ErrorFormat( | 2089 | m_log.ErrorFormat( |
2090 | "[EVENT MANAGER]: Delegate for TriggerIncomingInstantMessage failed - continuing. {0} {1}", | 2090 | "[EVENT MANAGER]: Delegate for TriggerIncomingInstantMessage failed - continuing. {0} {1}", |
2091 | e.Message, e.StackTrace); | 2091 | e.Message, e.StackTrace); |
2092 | } | 2092 | } |
2093 | } | 2093 | } |
@@ -2108,7 +2108,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2108 | catch (Exception e) | 2108 | catch (Exception e) |
2109 | { | 2109 | { |
2110 | m_log.ErrorFormat( | 2110 | m_log.ErrorFormat( |
2111 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", | 2111 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", |
2112 | e.Message, e.StackTrace); | 2112 | e.Message, e.StackTrace); |
2113 | } | 2113 | } |
2114 | } | 2114 | } |
@@ -2127,12 +2127,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2127 | // m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed: {0}", d.Target.ToString()); | 2127 | // m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed: {0}", d.Target.ToString()); |
2128 | d(ClientID, scene); | 2128 | d(ClientID, scene); |
2129 | // m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed done "); | 2129 | // m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed done "); |
2130 | 2130 | ||
2131 | } | 2131 | } |
2132 | catch (Exception e) | 2132 | catch (Exception e) |
2133 | { | 2133 | { |
2134 | m_log.ErrorFormat( | 2134 | m_log.ErrorFormat( |
2135 | "[EVENT MANAGER]: Delegate for TriggerClientClosed failed - continuing. {0} {1}", | 2135 | "[EVENT MANAGER]: Delegate for TriggerClientClosed failed - continuing. {0} {1}", |
2136 | e.Message, e.StackTrace); | 2136 | e.Message, e.StackTrace); |
2137 | } | 2137 | } |
2138 | } | 2138 | } |
@@ -2153,7 +2153,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2153 | catch (Exception e) | 2153 | catch (Exception e) |
2154 | { | 2154 | { |
2155 | m_log.ErrorFormat( | 2155 | m_log.ErrorFormat( |
2156 | "[EVENT MANAGER]: Delegate for TriggerOnMakeChildAgent failed - continuing. {0} {1}", | 2156 | "[EVENT MANAGER]: Delegate for TriggerOnMakeChildAgent failed - continuing. {0} {1}", |
2157 | e.Message, e.StackTrace); | 2157 | e.Message, e.StackTrace); |
2158 | } | 2158 | } |
2159 | } | 2159 | } |
@@ -2192,7 +2192,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2192 | catch (Exception e) | 2192 | catch (Exception e) |
2193 | { | 2193 | { |
2194 | m_log.ErrorFormat( | 2194 | m_log.ErrorFormat( |
2195 | "[EVENT MANAGER]: Delegate for TriggerOnMakeRootAgent failed - continuing. {0} {1}", | 2195 | "[EVENT MANAGER]: Delegate for TriggerOnMakeRootAgent failed - continuing. {0} {1}", |
2196 | e.Message, e.StackTrace); | 2196 | e.Message, e.StackTrace); |
2197 | } | 2197 | } |
2198 | } | 2198 | } |
@@ -2213,7 +2213,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2213 | catch (Exception e) | 2213 | catch (Exception e) |
2214 | { | 2214 | { |
2215 | m_log.ErrorFormat( | 2215 | m_log.ErrorFormat( |
2216 | "[EVENT MANAGER]: Delegate for TriggerOnIncomingSceneObject failed - continuing. {0} {1}", | 2216 | "[EVENT MANAGER]: Delegate for TriggerOnIncomingSceneObject failed - continuing. {0} {1}", |
2217 | e.Message, e.StackTrace); | 2217 | e.Message, e.StackTrace); |
2218 | } | 2218 | } |
2219 | } | 2219 | } |
@@ -2234,7 +2234,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2234 | catch (Exception e) | 2234 | catch (Exception e) |
2235 | { | 2235 | { |
2236 | m_log.ErrorFormat( | 2236 | m_log.ErrorFormat( |
2237 | "[EVENT MANAGER]: Delegate for TriggerOnRegisterCaps failed - continuing. {0} {1}", | 2237 | "[EVENT MANAGER]: Delegate for TriggerOnRegisterCaps failed - continuing. {0} {1}", |
2238 | e.Message, e.StackTrace); | 2238 | e.Message, e.StackTrace); |
2239 | } | 2239 | } |
2240 | } | 2240 | } |
@@ -2255,7 +2255,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2255 | catch (Exception e) | 2255 | catch (Exception e) |
2256 | { | 2256 | { |
2257 | m_log.ErrorFormat( | 2257 | m_log.ErrorFormat( |
2258 | "[EVENT MANAGER]: Delegate for TriggerOnDeregisterCaps failed - continuing. {0} {1}", | 2258 | "[EVENT MANAGER]: Delegate for TriggerOnDeregisterCaps failed - continuing. {0} {1}", |
2259 | e.Message, e.StackTrace); | 2259 | e.Message, e.StackTrace); |
2260 | } | 2260 | } |
2261 | } | 2261 | } |
@@ -2276,7 +2276,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2276 | catch (Exception e) | 2276 | catch (Exception e) |
2277 | { | 2277 | { |
2278 | m_log.ErrorFormat( | 2278 | m_log.ErrorFormat( |
2279 | "[EVENT MANAGER]: Delegate for TriggerOnNewInventoryItemUploadComplete failed - continuing. {0} {1}", | 2279 | "[EVENT MANAGER]: Delegate for TriggerOnNewInventoryItemUploadComplete failed - continuing. {0} {1}", |
2280 | e.Message, e.StackTrace); | 2280 | e.Message, e.StackTrace); |
2281 | } | 2281 | } |
2282 | } | 2282 | } |
@@ -2297,7 +2297,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2297 | catch (Exception e) | 2297 | catch (Exception e) |
2298 | { | 2298 | { |
2299 | m_log.ErrorFormat( | 2299 | m_log.ErrorFormat( |
2300 | "[EVENT MANAGER]: Delegate for TriggerLandBuy failed - continuing. {0} {1}", | 2300 | "[EVENT MANAGER]: Delegate for TriggerLandBuy failed - continuing. {0} {1}", |
2301 | e.Message, e.StackTrace); | 2301 | e.Message, e.StackTrace); |
2302 | } | 2302 | } |
2303 | } | 2303 | } |
@@ -2318,7 +2318,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2318 | catch (Exception e) | 2318 | catch (Exception e) |
2319 | { | 2319 | { |
2320 | m_log.ErrorFormat( | 2320 | m_log.ErrorFormat( |
2321 | "[EVENT MANAGER]: Delegate for TriggerValidateLandBuy failed - continuing. {0} {1}", | 2321 | "[EVENT MANAGER]: Delegate for TriggerValidateLandBuy failed - continuing. {0} {1}", |
2322 | e.Message, e.StackTrace); | 2322 | e.Message, e.StackTrace); |
2323 | } | 2323 | } |
2324 | } | 2324 | } |
@@ -2339,7 +2339,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2339 | catch (Exception e) | 2339 | catch (Exception e) |
2340 | { | 2340 | { |
2341 | m_log.ErrorFormat( | 2341 | m_log.ErrorFormat( |
2342 | "[EVENT MANAGER]: Delegate for TriggerAtTargetEvent failed - continuing. {0} {1}", | 2342 | "[EVENT MANAGER]: Delegate for TriggerAtTargetEvent failed - continuing. {0} {1}", |
2343 | e.Message, e.StackTrace); | 2343 | e.Message, e.StackTrace); |
2344 | } | 2344 | } |
2345 | } | 2345 | } |
@@ -2360,7 +2360,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2360 | catch (Exception e) | 2360 | catch (Exception e) |
2361 | { | 2361 | { |
2362 | m_log.ErrorFormat( | 2362 | m_log.ErrorFormat( |
2363 | "[EVENT MANAGER]: Delegate for TriggerNotAtTargetEvent failed - continuing. {0} {1}", | 2363 | "[EVENT MANAGER]: Delegate for TriggerNotAtTargetEvent failed - continuing. {0} {1}", |
2364 | e.Message, e.StackTrace); | 2364 | e.Message, e.StackTrace); |
2365 | } | 2365 | } |
2366 | } | 2366 | } |
@@ -2381,7 +2381,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2381 | catch (Exception e) | 2381 | catch (Exception e) |
2382 | { | 2382 | { |
2383 | m_log.ErrorFormat( | 2383 | m_log.ErrorFormat( |
2384 | "[EVENT MANAGER]: Delegate for TriggerAtRotTargetEvent failed - continuing. {0} {1}", | 2384 | "[EVENT MANAGER]: Delegate for TriggerAtRotTargetEvent failed - continuing. {0} {1}", |
2385 | e.Message, e.StackTrace); | 2385 | e.Message, e.StackTrace); |
2386 | } | 2386 | } |
2387 | } | 2387 | } |
@@ -2402,7 +2402,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2402 | catch (Exception e) | 2402 | catch (Exception e) |
2403 | { | 2403 | { |
2404 | m_log.ErrorFormat( | 2404 | m_log.ErrorFormat( |
2405 | "[EVENT MANAGER]: Delegate for TriggerNotAtRotTargetEvent failed - continuing. {0} {1}", | 2405 | "[EVENT MANAGER]: Delegate for TriggerNotAtRotTargetEvent failed - continuing. {0} {1}", |
2406 | e.Message, e.StackTrace); | 2406 | e.Message, e.StackTrace); |
2407 | } | 2407 | } |
2408 | } | 2408 | } |
@@ -2471,7 +2471,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2471 | catch (Exception e) | 2471 | catch (Exception e) |
2472 | { | 2472 | { |
2473 | m_log.ErrorFormat( | 2473 | m_log.ErrorFormat( |
2474 | "[EVENT MANAGER]: Delegate for TriggerRequestChangeWaterHeight failed - continuing. {0} {1}", | 2474 | "[EVENT MANAGER]: Delegate for TriggerRequestChangeWaterHeight failed - continuing. {0} {1}", |
2475 | e.Message, e.StackTrace); | 2475 | e.Message, e.StackTrace); |
2476 | } | 2476 | } |
2477 | } | 2477 | } |
@@ -2492,7 +2492,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2492 | catch (Exception e) | 2492 | catch (Exception e) |
2493 | { | 2493 | { |
2494 | m_log.ErrorFormat( | 2494 | m_log.ErrorFormat( |
2495 | "[EVENT MANAGER]: Delegate for TriggerAvatarKill failed - continuing. {0} {1}", | 2495 | "[EVENT MANAGER]: Delegate for TriggerAvatarKill failed - continuing. {0} {1}", |
2496 | e.Message, e.StackTrace); | 2496 | e.Message, e.StackTrace); |
2497 | } | 2497 | } |
2498 | } | 2498 | } |
@@ -2513,7 +2513,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2513 | catch (Exception e) | 2513 | catch (Exception e) |
2514 | { | 2514 | { |
2515 | m_log.ErrorFormat( | 2515 | m_log.ErrorFormat( |
2516 | "[EVENT MANAGER]: Delegate for TriggerSignificantClientMovement failed - continuing. {0} {1}", | 2516 | "[EVENT MANAGER]: Delegate for TriggerSignificantClientMovement failed - continuing. {0} {1}", |
2517 | e.Message, e.StackTrace); | 2517 | e.Message, e.StackTrace); |
2518 | } | 2518 | } |
2519 | } | 2519 | } |
@@ -2534,7 +2534,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2534 | catch (Exception e) | 2534 | catch (Exception e) |
2535 | { | 2535 | { |
2536 | m_log.ErrorFormat( | 2536 | m_log.ErrorFormat( |
2537 | "[EVENT MANAGER]: Delegate for TriggerOnChatFromWorld failed - continuing. {0} {1}", | 2537 | "[EVENT MANAGER]: Delegate for TriggerOnChatFromWorld failed - continuing. {0} {1}", |
2538 | e.Message, e.StackTrace); | 2538 | e.Message, e.StackTrace); |
2539 | } | 2539 | } |
2540 | } | 2540 | } |
@@ -2555,16 +2555,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2555 | catch (Exception e) | 2555 | catch (Exception e) |
2556 | { | 2556 | { |
2557 | m_log.ErrorFormat( | 2557 | m_log.ErrorFormat( |
2558 | "[EVENT MANAGER]: Delegate for TriggerOnChatFromClient failed - continuing. {0} {1}", | 2558 | "[EVENT MANAGER]: Delegate for TriggerOnChatFromClient failed - continuing. {0} {1}", |
2559 | e.Message, e.StackTrace); | 2559 | e.Message, e.StackTrace); |
2560 | } | 2560 | } |
2561 | } | 2561 | } |
2562 | } | 2562 | } |
2563 | } | 2563 | } |
2564 | 2564 | ||
2565 | public void TriggerOnChatToClients( | 2565 | public void TriggerOnChatToClients( |
2566 | UUID senderID, HashSet<UUID> receiverIDs, | 2566 | UUID senderID, HashSet<UUID> receiverIDs, |
2567 | string message, ChatTypeEnum type, Vector3 fromPos, string fromName, | 2567 | string message, ChatTypeEnum type, Vector3 fromPos, string fromName, |
2568 | ChatSourceType src, ChatAudibleLevel level) | 2568 | ChatSourceType src, ChatAudibleLevel level) |
2569 | { | 2569 | { |
2570 | ChatToClientsEvent handler = OnChatToClients; | 2570 | ChatToClientsEvent handler = OnChatToClients; |
@@ -2579,7 +2579,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2579 | catch (Exception e) | 2579 | catch (Exception e) |
2580 | { | 2580 | { |
2581 | m_log.ErrorFormat( | 2581 | m_log.ErrorFormat( |
2582 | "[EVENT MANAGER]: Delegate for TriggerOnChatToClients failed - continuing. {0} {1}", | 2582 | "[EVENT MANAGER]: Delegate for TriggerOnChatToClients failed - continuing. {0} {1}", |
2583 | e.Message, e.StackTrace); | 2583 | e.Message, e.StackTrace); |
2584 | } | 2584 | } |
2585 | } | 2585 | } |
@@ -2600,7 +2600,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2600 | catch (Exception e) | 2600 | catch (Exception e) |
2601 | { | 2601 | { |
2602 | m_log.ErrorFormat( | 2602 | m_log.ErrorFormat( |
2603 | "[EVENT MANAGER]: Delegate for TriggerOnChatBroadcast failed - continuing. {0} {1}", | 2603 | "[EVENT MANAGER]: Delegate for TriggerOnChatBroadcast failed - continuing. {0} {1}", |
2604 | e.Message, e.StackTrace); | 2604 | e.Message, e.StackTrace); |
2605 | } | 2605 | } |
2606 | } | 2606 | } |
@@ -2621,7 +2621,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2621 | catch (Exception e) | 2621 | catch (Exception e) |
2622 | { | 2622 | { |
2623 | m_log.ErrorFormat( | 2623 | m_log.ErrorFormat( |
2624 | "[EVENT MANAGER]: Delegate for TriggerControlEvent failed - continuing. {0} {1}", | 2624 | "[EVENT MANAGER]: Delegate for TriggerControlEvent failed - continuing. {0} {1}", |
2625 | e.Message, e.StackTrace); | 2625 | e.Message, e.StackTrace); |
2626 | } | 2626 | } |
2627 | } | 2627 | } |
@@ -2642,7 +2642,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2642 | catch (Exception e) | 2642 | catch (Exception e) |
2643 | { | 2643 | { |
2644 | m_log.ErrorFormat( | 2644 | m_log.ErrorFormat( |
2645 | "[EVENT MANAGER]: Delegate for TriggerNoticeNoLandDataFromStorage failed - continuing. {0} {1}", | 2645 | "[EVENT MANAGER]: Delegate for TriggerNoticeNoLandDataFromStorage failed - continuing. {0} {1}", |
2646 | e.Message, e.StackTrace); | 2646 | e.Message, e.StackTrace); |
2647 | } | 2647 | } |
2648 | } | 2648 | } |
@@ -2663,7 +2663,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2663 | catch (Exception e) | 2663 | catch (Exception e) |
2664 | { | 2664 | { |
2665 | m_log.ErrorFormat( | 2665 | m_log.ErrorFormat( |
2666 | "[EVENT MANAGER]: Delegate for TriggerIncomingLandDataFromStorage failed - continuing. {0} {1}", | 2666 | "[EVENT MANAGER]: Delegate for TriggerIncomingLandDataFromStorage failed - continuing. {0} {1}", |
2667 | e.Message, e.StackTrace); | 2667 | e.Message, e.StackTrace); |
2668 | } | 2668 | } |
2669 | } | 2669 | } |
@@ -2684,7 +2684,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2684 | catch (Exception e) | 2684 | catch (Exception e) |
2685 | { | 2685 | { |
2686 | m_log.ErrorFormat( | 2686 | m_log.ErrorFormat( |
2687 | "[EVENT MANAGER]: Delegate for TriggerSetAllowForcefulBan failed - continuing. {0} {1}", | 2687 | "[EVENT MANAGER]: Delegate for TriggerSetAllowForcefulBan failed - continuing. {0} {1}", |
2688 | e.Message, e.StackTrace); | 2688 | e.Message, e.StackTrace); |
2689 | } | 2689 | } |
2690 | } | 2690 | } |
@@ -2705,7 +2705,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2705 | catch (Exception e) | 2705 | catch (Exception e) |
2706 | { | 2706 | { |
2707 | m_log.ErrorFormat( | 2707 | m_log.ErrorFormat( |
2708 | "[EVENT MANAGER]: Delegate for TriggerRequestParcelPrimCountUpdate failed - continuing. {0} {1}", | 2708 | "[EVENT MANAGER]: Delegate for TriggerRequestParcelPrimCountUpdate failed - continuing. {0} {1}", |
2709 | e.Message, e.StackTrace); | 2709 | e.Message, e.StackTrace); |
2710 | } | 2710 | } |
2711 | } | 2711 | } |
@@ -2726,7 +2726,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2726 | catch (Exception e) | 2726 | catch (Exception e) |
2727 | { | 2727 | { |
2728 | m_log.ErrorFormat( | 2728 | m_log.ErrorFormat( |
2729 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountTainted failed - continuing. {0} {1}", | 2729 | "[EVENT MANAGER]: Delegate for TriggerParcelPrimCountTainted failed - continuing. {0} {1}", |
2730 | e.Message, e.StackTrace); | 2730 | e.Message, e.StackTrace); |
2731 | } | 2731 | } |
2732 | } | 2732 | } |
@@ -2766,7 +2766,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2766 | catch (Exception e) | 2766 | catch (Exception e) |
2767 | { | 2767 | { |
2768 | m_log.ErrorFormat( | 2768 | m_log.ErrorFormat( |
2769 | "[EVENT MANAGER]: Delegate for TriggerEstateToolsSunUpdate failed - continuing. {0} {1}", | 2769 | "[EVENT MANAGER]: Delegate for TriggerEstateToolsSunUpdate failed - continuing. {0} {1}", |
2770 | e.Message, e.StackTrace); | 2770 | e.Message, e.StackTrace); |
2771 | } | 2771 | } |
2772 | } | 2772 | } |
@@ -2787,12 +2787,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2787 | catch (Exception e) | 2787 | catch (Exception e) |
2788 | { | 2788 | { |
2789 | m_log.ErrorFormat( | 2789 | m_log.ErrorFormat( |
2790 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", | 2790 | "[EVENT MANAGER]: Delegate for TriggerOnAttach failed - continuing. {0} {1}", |
2791 | e.Message, e.StackTrace); | 2791 | e.Message, e.StackTrace); |
2792 | } | 2792 | } |
2793 | } | 2793 | } |
2794 | } | 2794 | } |
2795 | 2795 | ||
2796 | return 6; | 2796 | return 6; |
2797 | } | 2797 | } |
2798 | 2798 | ||
@@ -2810,13 +2810,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2810 | catch (Exception e) | 2810 | catch (Exception e) |
2811 | { | 2811 | { |
2812 | m_log.ErrorFormat( | 2812 | m_log.ErrorFormat( |
2813 | "[EVENT MANAGER]: Delegate for TriggerOarFileLoaded failed - continuing. {0} {1}", | 2813 | "[EVENT MANAGER]: Delegate for TriggerOarFileLoaded failed - continuing. {0} {1}", |
2814 | e.Message, e.StackTrace); | 2814 | e.Message, e.StackTrace); |
2815 | } | 2815 | } |
2816 | } | 2816 | } |
2817 | } | 2817 | } |
2818 | } | 2818 | } |
2819 | 2819 | ||
2820 | public void TriggerOarFileSaved(Guid requestId, string message) | 2820 | public void TriggerOarFileSaved(Guid requestId, string message) |
2821 | { | 2821 | { |
2822 | OarFileSaved handlerOarFileSaved = OnOarFileSaved; | 2822 | OarFileSaved handlerOarFileSaved = OnOarFileSaved; |
@@ -2831,7 +2831,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2831 | catch (Exception e) | 2831 | catch (Exception e) |
2832 | { | 2832 | { |
2833 | m_log.ErrorFormat( | 2833 | m_log.ErrorFormat( |
2834 | "[EVENT MANAGER]: Delegate for TriggerOarFileSaved failed - continuing. {0} {1}", | 2834 | "[EVENT MANAGER]: Delegate for TriggerOarFileSaved failed - continuing. {0} {1}", |
2835 | e.Message, e.StackTrace); | 2835 | e.Message, e.StackTrace); |
2836 | } | 2836 | } |
2837 | } | 2837 | } |
@@ -2852,7 +2852,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2852 | catch (Exception e) | 2852 | catch (Exception e) |
2853 | { | 2853 | { |
2854 | m_log.ErrorFormat( | 2854 | m_log.ErrorFormat( |
2855 | "[EVENT MANAGER]: Delegate for TriggerEmptyScriptCompileQueue failed - continuing. {0} {1}", | 2855 | "[EVENT MANAGER]: Delegate for TriggerEmptyScriptCompileQueue failed - continuing. {0} {1}", |
2856 | e.Message, e.StackTrace); | 2856 | e.Message, e.StackTrace); |
2857 | } | 2857 | } |
2858 | } | 2858 | } |
@@ -2873,7 +2873,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2873 | catch (Exception e) | 2873 | catch (Exception e) |
2874 | { | 2874 | { |
2875 | m_log.ErrorFormat( | 2875 | m_log.ErrorFormat( |
2876 | "[EVENT MANAGER]: Delegate for TriggerScriptCollidingStart failed - continuing. {0} {1}", | 2876 | "[EVENT MANAGER]: Delegate for TriggerScriptCollidingStart failed - continuing. {0} {1}", |
2877 | e.Message, e.StackTrace); | 2877 | e.Message, e.StackTrace); |
2878 | } | 2878 | } |
2879 | } | 2879 | } |
@@ -2894,7 +2894,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2894 | catch (Exception e) | 2894 | catch (Exception e) |
2895 | { | 2895 | { |
2896 | m_log.ErrorFormat( | 2896 | m_log.ErrorFormat( |
2897 | "[EVENT MANAGER]: Delegate for TriggerScriptColliding failed - continuing. {0} {1}", | 2897 | "[EVENT MANAGER]: Delegate for TriggerScriptColliding failed - continuing. {0} {1}", |
2898 | e.Message, e.StackTrace); | 2898 | e.Message, e.StackTrace); |
2899 | } | 2899 | } |
2900 | } | 2900 | } |
@@ -2915,7 +2915,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2915 | catch (Exception e) | 2915 | catch (Exception e) |
2916 | { | 2916 | { |
2917 | m_log.ErrorFormat( | 2917 | m_log.ErrorFormat( |
2918 | "[EVENT MANAGER]: Delegate for TriggerScriptCollidingEnd failed - continuing. {0} {1}", | 2918 | "[EVENT MANAGER]: Delegate for TriggerScriptCollidingEnd failed - continuing. {0} {1}", |
2919 | e.Message, e.StackTrace); | 2919 | e.Message, e.StackTrace); |
2920 | } | 2920 | } |
2921 | } | 2921 | } |
@@ -2936,7 +2936,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2936 | catch (Exception e) | 2936 | catch (Exception e) |
2937 | { | 2937 | { |
2938 | m_log.ErrorFormat( | 2938 | m_log.ErrorFormat( |
2939 | "[EVENT MANAGER]: Delegate for TriggerScriptLandCollidingStart failed - continuing. {0} {1}", | 2939 | "[EVENT MANAGER]: Delegate for TriggerScriptLandCollidingStart failed - continuing. {0} {1}", |
2940 | e.Message, e.StackTrace); | 2940 | e.Message, e.StackTrace); |
2941 | } | 2941 | } |
2942 | } | 2942 | } |
@@ -2957,7 +2957,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2957 | catch (Exception e) | 2957 | catch (Exception e) |
2958 | { | 2958 | { |
2959 | m_log.ErrorFormat( | 2959 | m_log.ErrorFormat( |
2960 | "[EVENT MANAGER]: Delegate for TriggerScriptLandColliding failed - continuing. {0} {1}", | 2960 | "[EVENT MANAGER]: Delegate for TriggerScriptLandColliding failed - continuing. {0} {1}", |
2961 | e.Message, e.StackTrace); | 2961 | e.Message, e.StackTrace); |
2962 | } | 2962 | } |
2963 | } | 2963 | } |
@@ -2978,7 +2978,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2978 | catch (Exception e) | 2978 | catch (Exception e) |
2979 | { | 2979 | { |
2980 | m_log.ErrorFormat( | 2980 | m_log.ErrorFormat( |
2981 | "[EVENT MANAGER]: Delegate for TriggerScriptLandCollidingEnd failed - continuing. {0} {1}", | 2981 | "[EVENT MANAGER]: Delegate for TriggerScriptLandCollidingEnd failed - continuing. {0} {1}", |
2982 | e.Message, e.StackTrace); | 2982 | e.Message, e.StackTrace); |
2983 | } | 2983 | } |
2984 | } | 2984 | } |
@@ -2999,7 +2999,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2999 | catch (Exception e) | 2999 | catch (Exception e) |
3000 | { | 3000 | { |
3001 | m_log.ErrorFormat( | 3001 | m_log.ErrorFormat( |
3002 | "[EVENT MANAGER]: Delegate for TriggerSetRootAgentScene failed - continuing. {0} {1}", | 3002 | "[EVENT MANAGER]: Delegate for TriggerSetRootAgentScene failed - continuing. {0} {1}", |
3003 | e.Message, e.StackTrace); | 3003 | e.Message, e.StackTrace); |
3004 | } | 3004 | } |
3005 | } | 3005 | } |
@@ -3020,13 +3020,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
3020 | catch (Exception e) | 3020 | catch (Exception e) |
3021 | { | 3021 | { |
3022 | m_log.ErrorFormat( | 3022 | m_log.ErrorFormat( |
3023 | "[EVENT MANAGER]: Delegate for TriggerOnRegionUp failed - continuing. {0} {1}", | 3023 | "[EVENT MANAGER]: Delegate for TriggerOnRegionUp failed - continuing. {0} {1}", |
3024 | e.Message, e.StackTrace); | 3024 | e.Message, e.StackTrace); |
3025 | } | 3025 | } |
3026 | } | 3026 | } |
3027 | } | 3027 | } |
3028 | } | 3028 | } |
3029 | 3029 | ||
3030 | public void TriggerOnSceneObjectLoaded(SceneObjectGroup so) | 3030 | public void TriggerOnSceneObjectLoaded(SceneObjectGroup so) |
3031 | { | 3031 | { |
3032 | SceneObjectDelegate handler = OnSceneObjectLoaded; | 3032 | SceneObjectDelegate handler = OnSceneObjectLoaded; |
@@ -3041,13 +3041,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
3041 | catch (Exception e) | 3041 | catch (Exception e) |
3042 | { | 3042 | { |
3043 | m_log.ErrorFormat( | 3043 | m_log.ErrorFormat( |
3044 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectLoaded failed - continuing. {0} {1}", | 3044 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectLoaded failed - continuing. {0} {1}", |
3045 | e.Message, e.StackTrace); | 3045 | e.Message, e.StackTrace); |
3046 | } | 3046 | } |
3047 | } | 3047 | } |
3048 | } | 3048 | } |
3049 | } | 3049 | } |
3050 | 3050 | ||
3051 | public void TriggerOnSceneObjectPreSave(SceneObjectGroup persistingSo, SceneObjectGroup originalSo) | 3051 | public void TriggerOnSceneObjectPreSave(SceneObjectGroup persistingSo, SceneObjectGroup originalSo) |
3052 | { | 3052 | { |
3053 | SceneObjectPreSaveDelegate handler = OnSceneObjectPreSave; | 3053 | SceneObjectPreSaveDelegate handler = OnSceneObjectPreSave; |
@@ -3062,13 +3062,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
3062 | catch (Exception e) | 3062 | catch (Exception e) |
3063 | { | 3063 | { |
3064 | m_log.ErrorFormat( | 3064 | m_log.ErrorFormat( |
3065 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPreSave failed - continuing. {0} {1}", | 3065 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPreSave failed - continuing. {0} {1}", |
3066 | e.Message, e.StackTrace); | 3066 | e.Message, e.StackTrace); |
3067 | } | 3067 | } |
3068 | } | 3068 | } |
3069 | } | 3069 | } |
3070 | } | 3070 | } |
3071 | 3071 | ||
3072 | public void TriggerOnSceneObjectPartCopy(SceneObjectPart copy, SceneObjectPart original, bool userExposed) | 3072 | public void TriggerOnSceneObjectPartCopy(SceneObjectPart copy, SceneObjectPart original, bool userExposed) |
3073 | { | 3073 | { |
3074 | SceneObjectPartCopyDelegate handler = OnSceneObjectPartCopy; | 3074 | SceneObjectPartCopyDelegate handler = OnSceneObjectPartCopy; |
@@ -3083,7 +3083,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3083 | catch (Exception e) | 3083 | catch (Exception e) |
3084 | { | 3084 | { |
3085 | m_log.ErrorFormat( | 3085 | m_log.ErrorFormat( |
3086 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPartCopy failed - continuing. {0} {1}", | 3086 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPartCopy failed - continuing. {0} {1}", |
3087 | e.Message, e.StackTrace); | 3087 | e.Message, e.StackTrace); |
3088 | } | 3088 | } |
3089 | } | 3089 | } |
@@ -3104,7 +3104,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3104 | catch (Exception e) | 3104 | catch (Exception e) |
3105 | { | 3105 | { |
3106 | m_log.ErrorFormat( | 3106 | m_log.ErrorFormat( |
3107 | "[EVENT MANAGER]: Delegate for TriggerSceneObjectPartUpdated failed - continuing. {0} {1}", | 3107 | "[EVENT MANAGER]: Delegate for TriggerSceneObjectPartUpdated failed - continuing. {0} {1}", |
3108 | e.Message, e.StackTrace); | 3108 | e.Message, e.StackTrace); |
3109 | } | 3109 | } |
3110 | } | 3110 | } |
@@ -3147,7 +3147,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3147 | catch (Exception e) | 3147 | catch (Exception e) |
3148 | { | 3148 | { |
3149 | m_log.ErrorFormat( | 3149 | m_log.ErrorFormat( |
3150 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPartCopy failed - continuing. {0} {1}", | 3150 | "[EVENT MANAGER]: Delegate for TriggerOnSceneObjectPartCopy failed - continuing. {0} {1}", |
3151 | e.Message, e.StackTrace); | 3151 | e.Message, e.StackTrace); |
3152 | } | 3152 | } |
3153 | } | 3153 | } |
@@ -3169,7 +3169,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3169 | catch (Exception e) | 3169 | catch (Exception e) |
3170 | { | 3170 | { |
3171 | m_log.ErrorFormat( | 3171 | m_log.ErrorFormat( |
3172 | "[EVENT MANAGER]: Delegate for TriggerSceneShuttingDown failed - continuing. {0} {1}", | 3172 | "[EVENT MANAGER]: Delegate for TriggerSceneShuttingDown failed - continuing. {0} {1}", |
3173 | e.Message, e.StackTrace); | 3173 | e.Message, e.StackTrace); |
3174 | } | 3174 | } |
3175 | } | 3175 | } |