diff options
Diffstat (limited to 'OpenSim.RegionServer/world')
-rw-r--r-- | OpenSim.RegionServer/world/Avatar.cs | 10 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/AvatarAnimations.cs | 2 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/World.cs | 62 | ||||
-rw-r--r-- | OpenSim.RegionServer/world/WorldPacketHandlers.cs | 2 |
4 files changed, 38 insertions, 38 deletions
diff --git a/OpenSim.RegionServer/world/Avatar.cs b/OpenSim.RegionServer/world/Avatar.cs index abb43c6..f8a1a5a 100644 --- a/OpenSim.RegionServer/world/Avatar.cs +++ b/OpenSim.RegionServer/world/Avatar.cs | |||
@@ -45,7 +45,7 @@ namespace OpenSim.world | |||
45 | m_regionTerraform = regionTerraform; | 45 | m_regionTerraform = regionTerraform; |
46 | m_regionWaterHeight = regionWater; | 46 | m_regionWaterHeight = regionWater; |
47 | 47 | ||
48 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs - Loading details from grid (DUMMY)"); | 48 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Avatar.cs - Loading details from grid (DUMMY)"); |
49 | ControllingClient = TheClient; | 49 | ControllingClient = TheClient; |
50 | localid = 8880000 + (this.m_world._localNumber++); | 50 | localid = 8880000 + (this.m_world._localNumber++); |
51 | Pos = ControllingClient.startpos; | 51 | Pos = ControllingClient.startpos; |
@@ -168,7 +168,7 @@ namespace OpenSim.world | |||
168 | 168 | ||
169 | public void CompleteMovement(World RegionInfo) | 169 | public void CompleteMovement(World RegionInfo) |
170 | { | 170 | { |
171 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs:CompleteMovement() - Constructing AgentMovementComplete packet"); | 171 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:CompleteMovement() - Constructing AgentMovementComplete packet"); |
172 | AgentMovementCompletePacket mov = new AgentMovementCompletePacket(); | 172 | AgentMovementCompletePacket mov = new AgentMovementCompletePacket(); |
173 | mov.AgentData.SessionID = this.ControllingClient.SessionID; | 173 | mov.AgentData.SessionID = this.ControllingClient.SessionID; |
174 | mov.AgentData.AgentID = this.ControllingClient.AgentID; | 174 | mov.AgentData.AgentID = this.ControllingClient.AgentID; |
@@ -334,11 +334,11 @@ namespace OpenSim.world | |||
334 | //really really should be moved somewhere else (RegionInfo.cs ?) | 334 | //really really should be moved somewhere else (RegionInfo.cs ?) |
335 | public void SendRegionHandshake(World RegionInfo) | 335 | public void SendRegionHandshake(World RegionInfo) |
336 | { | 336 | { |
337 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); | 337 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Creating empty RegionHandshake packet"); |
338 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; | 338 | System.Text.Encoding _enc = System.Text.Encoding.ASCII; |
339 | RegionHandshakePacket handshake = new RegionHandshakePacket(); | 339 | RegionHandshakePacket handshake = new RegionHandshakePacket(); |
340 | 340 | ||
341 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); | 341 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionhandshake() - Filling in RegionHandshake details"); |
342 | handshake.RegionInfo.BillableFactor = 0; | 342 | handshake.RegionInfo.BillableFactor = 0; |
343 | handshake.RegionInfo.IsEstateManager = false; | 343 | handshake.RegionInfo.IsEstateManager = false; |
344 | handshake.RegionInfo.TerrainHeightRange00 = 60; | 344 | handshake.RegionInfo.TerrainHeightRange00 = 60; |
@@ -369,7 +369,7 @@ namespace OpenSim.world | |||
369 | handshake.RegionInfo.TerrainDetail3 = new LLUUID("00000000-0000-0000-0000-000000000000"); | 369 | handshake.RegionInfo.TerrainDetail3 = new LLUUID("00000000-0000-0000-0000-000000000000"); |
370 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); | 370 | handshake.RegionInfo.CacheID = new LLUUID("545ec0a5-5751-1026-8a0b-216e38a7ab37"); |
371 | 371 | ||
372 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); | 372 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Avatar.cs:SendRegionHandshake() - Sending RegionHandshake packet"); |
373 | this.ControllingClient.OutPacket(handshake); | 373 | this.ControllingClient.OutPacket(handshake); |
374 | } | 374 | } |
375 | 375 | ||
diff --git a/OpenSim.RegionServer/world/AvatarAnimations.cs b/OpenSim.RegionServer/world/AvatarAnimations.cs index 36c4c7e..b554af8 100644 --- a/OpenSim.RegionServer/world/AvatarAnimations.cs +++ b/OpenSim.RegionServer/world/AvatarAnimations.cs | |||
@@ -17,7 +17,7 @@ namespace OpenSim.world | |||
17 | 17 | ||
18 | public void LoadAnims() | 18 | public void LoadAnims() |
19 | { | 19 | { |
20 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Avatar.cs:LoadAnims() - Loading avatar animations"); | 20 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Avatar.cs:LoadAnims() - Loading avatar animations"); |
21 | AnimsLLUUID.Add("ANIM_AGENT_AFRAID", new LLUUID("6b61c8e8-4747-0d75-12d7-e49ff207a4ca")); | 21 | AnimsLLUUID.Add("ANIM_AGENT_AFRAID", new LLUUID("6b61c8e8-4747-0d75-12d7-e49ff207a4ca")); |
22 | AnimsLLUUID.Add("ANIM_AGENT_AIM_BAZOOKA_R", new LLUUID("b5b4a67d-0aee-30d2-72cd-77b333e932ef")); | 22 | AnimsLLUUID.Add("ANIM_AGENT_AIM_BAZOOKA_R", new LLUUID("b5b4a67d-0aee-30d2-72cd-77b333e932ef")); |
23 | AnimsLLUUID.Add("ANIM_AGENT_AIM_BOW_L", new LLUUID("46bb4359-de38-4ed8-6a22-f1f52fe8f506")); | 23 | AnimsLLUUID.Add("ANIM_AGENT_AIM_BOW_L", new LLUUID("46bb4359-de38-4ed8-6a22-f1f52fe8f506")); |
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs index 0ae4ae2..225ce81 100644 --- a/OpenSim.RegionServer/world/World.cs +++ b/OpenSim.RegionServer/world/World.cs | |||
@@ -64,12 +64,12 @@ namespace OpenSim.world | |||
64 | m_scriptHandlers = new Dictionary<LLUUID, ScriptHandler>(); | 64 | m_scriptHandlers = new Dictionary<LLUUID, ScriptHandler>(); |
65 | m_scripts = new Dictionary<string, ScriptFactory>(); | 65 | m_scripts = new Dictionary<string, ScriptFactory>(); |
66 | 66 | ||
67 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs - creating new entitities instance"); | 67 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs - creating new entitities instance"); |
68 | Entities = new Dictionary<libsecondlife.LLUUID, Entity>(); | 68 | Entities = new Dictionary<libsecondlife.LLUUID, Entity>(); |
69 | Avatars = new Dictionary<LLUUID, Avatar>(); | 69 | Avatars = new Dictionary<LLUUID, Avatar>(); |
70 | Prims = new Dictionary<LLUUID, Primitive>(); | 70 | Prims = new Dictionary<LLUUID, Primitive>(); |
71 | 71 | ||
72 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs - creating LandMap"); | 72 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs - creating LandMap"); |
73 | TerrainManager = new TerrainManager(new SecondLife()); | 73 | TerrainManager = new TerrainManager(new SecondLife()); |
74 | Terrain = new TerrainEngine(); | 74 | Terrain = new TerrainEngine(); |
75 | Avatar.SetupTemplate("avatar-texture.dat"); | 75 | Avatar.SetupTemplate("avatar-texture.dat"); |
@@ -82,7 +82,7 @@ namespace OpenSim.world | |||
82 | } | 82 | } |
83 | catch (Exception e) | 83 | catch (Exception e) |
84 | { | 84 | { |
85 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Constructor failed with exception " + e.ToString()); | 85 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.CRITICAL,"World.cs: Constructor failed with exception " + e.ToString()); |
86 | } | 86 | } |
87 | } | 87 | } |
88 | 88 | ||
@@ -100,7 +100,7 @@ namespace OpenSim.world | |||
100 | } | 100 | } |
101 | catch (Exception e) | 101 | catch (Exception e) |
102 | { | 102 | { |
103 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: AddScript() - Failed with exception " + e.ToString()); | 103 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: AddScript() - Failed with exception " + e.ToString()); |
104 | } | 104 | } |
105 | } | 105 | } |
106 | 106 | ||
@@ -152,7 +152,7 @@ namespace OpenSim.world | |||
152 | } | 152 | } |
153 | catch (Exception e) | 153 | catch (Exception e) |
154 | { | 154 | { |
155 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: AddScript() - Failed with exception " + e.ToString()); | 155 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: AddScript() - Failed with exception " + e.ToString()); |
156 | } | 156 | } |
157 | } | 157 | } |
158 | 158 | ||
@@ -230,7 +230,7 @@ namespace OpenSim.world | |||
230 | } | 230 | } |
231 | catch (Exception e) | 231 | catch (Exception e) |
232 | { | 232 | { |
233 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Update() - Failed with exception " + e.ToString()); | 233 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: Update() - Failed with exception " + e.ToString()); |
234 | } | 234 | } |
235 | updateLock.ReleaseMutex(); | 235 | updateLock.ReleaseMutex(); |
236 | } | 236 | } |
@@ -274,7 +274,7 @@ namespace OpenSim.world | |||
274 | } | 274 | } |
275 | catch (Exception e) | 275 | catch (Exception e) |
276 | { | 276 | { |
277 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: LoadStorageDLL() - Failed with exception " + e.ToString()); | 277 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: LoadStorageDLL() - Failed with exception " + e.ToString()); |
278 | return false; | 278 | return false; |
279 | } | 279 | } |
280 | } | 280 | } |
@@ -308,7 +308,7 @@ namespace OpenSim.world | |||
308 | } | 308 | } |
309 | catch (Exception e) | 309 | catch (Exception e) |
310 | { | 310 | { |
311 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); | 311 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); |
312 | } | 312 | } |
313 | } | 313 | } |
314 | 314 | ||
@@ -339,7 +339,7 @@ namespace OpenSim.world | |||
339 | } | 339 | } |
340 | catch (Exception e) | 340 | catch (Exception e) |
341 | { | 341 | { |
342 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); | 342 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); |
343 | } | 343 | } |
344 | } | 344 | } |
345 | 345 | ||
@@ -369,7 +369,7 @@ namespace OpenSim.world | |||
369 | } | 369 | } |
370 | catch (Exception e) | 370 | catch (Exception e) |
371 | { | 371 | { |
372 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); | 372 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: RegenerateTerrain() - Failed with exception " + e.ToString()); |
373 | } | 373 | } |
374 | } | 374 | } |
375 | 375 | ||
@@ -397,7 +397,7 @@ namespace OpenSim.world | |||
397 | } | 397 | } |
398 | catch (Exception e) | 398 | catch (Exception e) |
399 | { | 399 | { |
400 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: LoadWorldMap() - Failed with exception " + e.ToString()); | 400 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: LoadWorldMap() - Failed with exception " + e.ToString()); |
401 | } | 401 | } |
402 | } | 402 | } |
403 | 403 | ||
@@ -408,12 +408,12 @@ namespace OpenSim.world | |||
408 | { | 408 | { |
409 | try | 409 | try |
410 | { | 410 | { |
411 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: LoadPrimsFromStorage() - Loading primitives"); | 411 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: LoadPrimsFromStorage() - Loading primitives"); |
412 | this.localStorage.LoadPrimitives(this); | 412 | this.localStorage.LoadPrimitives(this); |
413 | } | 413 | } |
414 | catch (Exception e) | 414 | catch (Exception e) |
415 | { | 415 | { |
416 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: LoadPrimsFromStorage() - Failed with exception " + e.ToString()); | 416 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: LoadPrimsFromStorage() - Failed with exception " + e.ToString()); |
417 | } | 417 | } |
418 | } | 418 | } |
419 | 419 | ||
@@ -429,14 +429,14 @@ namespace OpenSim.world | |||
429 | { | 429 | { |
430 | _primCount = prim.LocalID + 1; | 430 | _primCount = prim.LocalID + 1; |
431 | } | 431 | } |
432 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: PrimFromStorage() - Reloading prim (localId " + prim.LocalID + " ) from storage"); | 432 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: PrimFromStorage() - Reloading prim (localId " + prim.LocalID + " ) from storage"); |
433 | Primitive nPrim = new Primitive(m_clientThreads, m_regionHandle, this); | 433 | Primitive nPrim = new Primitive(m_clientThreads, m_regionHandle, this); |
434 | nPrim.CreateFromStorage(prim); | 434 | nPrim.CreateFromStorage(prim); |
435 | this.Entities.Add(nPrim.uuid, nPrim); | 435 | this.Entities.Add(nPrim.uuid, nPrim); |
436 | } | 436 | } |
437 | catch (Exception e) | 437 | catch (Exception e) |
438 | { | 438 | { |
439 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: PrimFromStorage() - Failed with exception " + e.ToString()); | 439 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: PrimFromStorage() - Failed with exception " + e.ToString()); |
440 | } | 440 | } |
441 | } | 441 | } |
442 | 442 | ||
@@ -451,7 +451,7 @@ namespace OpenSim.world | |||
451 | } | 451 | } |
452 | catch (Exception e) | 452 | catch (Exception e) |
453 | { | 453 | { |
454 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Close() - Failed with exception " + e.ToString()); | 454 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"World.cs: Close() - Failed with exception " + e.ToString()); |
455 | } | 455 | } |
456 | } | 456 | } |
457 | 457 | ||
@@ -481,7 +481,7 @@ namespace OpenSim.world | |||
481 | } | 481 | } |
482 | catch (Exception e) | 482 | catch (Exception e) |
483 | { | 483 | { |
484 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: SendLayerData() - Failed with exception " + e.ToString()); | 484 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: SendLayerData() - Failed with exception " + e.ToString()); |
485 | } | 485 | } |
486 | } | 486 | } |
487 | 487 | ||
@@ -514,7 +514,7 @@ namespace OpenSim.world | |||
514 | } | 514 | } |
515 | catch (Exception e) | 515 | catch (Exception e) |
516 | { | 516 | { |
517 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: SendLayerData() - Failed with exception " + e.ToString()); | 517 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: SendLayerData() - Failed with exception " + e.ToString()); |
518 | } | 518 | } |
519 | } | 519 | } |
520 | 520 | ||
@@ -537,7 +537,7 @@ namespace OpenSim.world | |||
537 | } | 537 | } |
538 | catch (Exception e) | 538 | catch (Exception e) |
539 | { | 539 | { |
540 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: GetInitialPrims() - Failed with exception " + e.ToString()); | 540 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: GetInitialPrims() - Failed with exception " + e.ToString()); |
541 | } | 541 | } |
542 | } | 542 | } |
543 | 543 | ||
@@ -545,10 +545,10 @@ namespace OpenSim.world | |||
545 | { | 545 | { |
546 | try | 546 | try |
547 | { | 547 | { |
548 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); | 548 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); |
549 | Avatar newAvatar = new Avatar(agentClient, this, m_regionName, m_clientThreads, m_regionHandle, true, 20); | 549 | Avatar newAvatar = new Avatar(agentClient, this, m_regionName, m_clientThreads, m_regionHandle, true, 20); |
550 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Adding new avatar to world"); | 550 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs:AddViewerAgent() - Adding new avatar to world"); |
551 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs:AddViewerAgent() - Starting RegionHandshake "); | 551 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs:AddViewerAgent() - Starting RegionHandshake "); |
552 | newAvatar.SendRegionHandshake(this); | 552 | newAvatar.SendRegionHandshake(this); |
553 | if (!agentClient.m_child) | 553 | if (!agentClient.m_child) |
554 | { | 554 | { |
@@ -569,7 +569,7 @@ namespace OpenSim.world | |||
569 | } | 569 | } |
570 | catch (Exception e) | 570 | catch (Exception e) |
571 | { | 571 | { |
572 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: AddViewerAgent() - Failed with exception " + e.ToString()); | 572 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: AddViewerAgent() - Failed with exception " + e.ToString()); |
573 | } | 573 | } |
574 | } | 574 | } |
575 | 575 | ||
@@ -588,7 +588,7 @@ namespace OpenSim.world | |||
588 | } | 588 | } |
589 | catch (Exception e) | 589 | catch (Exception e) |
590 | { | 590 | { |
591 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: RemoveViewerAgent() - Failed with exception " + e.ToString()); | 591 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: RemoveViewerAgent() - Failed with exception " + e.ToString()); |
592 | } | 592 | } |
593 | } | 593 | } |
594 | 594 | ||
@@ -596,7 +596,7 @@ namespace OpenSim.world | |||
596 | { | 596 | { |
597 | try | 597 | try |
598 | { | 598 | { |
599 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: AddNewPrim() - Creating new prim"); | 599 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: AddNewPrim() - Creating new prim"); |
600 | Primitive prim = new Primitive(m_clientThreads, m_regionHandle, this); | 600 | Primitive prim = new Primitive(m_clientThreads, m_regionHandle, this); |
601 | prim.CreateFromPacket(addPacket, AgentClient.AgentID, this._primCount); | 601 | prim.CreateFromPacket(addPacket, AgentClient.AgentID, this._primCount); |
602 | PhysicsVector pVec = new PhysicsVector(prim.Pos.X, prim.Pos.Y, prim.Pos.Z); | 602 | PhysicsVector pVec = new PhysicsVector(prim.Pos.X, prim.Pos.Y, prim.Pos.Z); |
@@ -614,7 +614,7 @@ namespace OpenSim.world | |||
614 | } | 614 | } |
615 | catch (Exception e) | 615 | catch (Exception e) |
616 | { | 616 | { |
617 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: AddNewPrim() - Failed with exception " + e.ToString()); | 617 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: AddNewPrim() - Failed with exception " + e.ToString()); |
618 | } | 618 | } |
619 | } | 619 | } |
620 | 620 | ||
@@ -626,14 +626,14 @@ namespace OpenSim.world | |||
626 | if (Terrain.tainted > 0) | 626 | if (Terrain.tainted > 0) |
627 | { | 627 | { |
628 | Terrain.tainted = 0; | 628 | Terrain.tainted = 0; |
629 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Backup() - Terrain tainted, saving."); | 629 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: Backup() - Terrain tainted, saving."); |
630 | localStorage.SaveMap(Terrain.getHeights1D()); | 630 | localStorage.SaveMap(Terrain.getHeights1D()); |
631 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Backup() - Terrain saved, informing Physics."); | 631 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: Backup() - Terrain saved, informing Physics."); |
632 | phyScene.SetTerrain(Terrain.getHeights1D()); | 632 | phyScene.SetTerrain(Terrain.getHeights1D()); |
633 | } | 633 | } |
634 | 634 | ||
635 | // Primitive backup routines | 635 | // Primitive backup routines |
636 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Backup() - Backing up Primitives"); | 636 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"World.cs: Backup() - Backing up Primitives"); |
637 | foreach (libsecondlife.LLUUID UUID in Entities.Keys) | 637 | foreach (libsecondlife.LLUUID UUID in Entities.Keys) |
638 | { | 638 | { |
639 | Entities[UUID].BackUp(); | 639 | Entities[UUID].BackUp(); |
@@ -645,7 +645,7 @@ namespace OpenSim.world | |||
645 | catch (Exception e) | 645 | catch (Exception e) |
646 | { | 646 | { |
647 | // Backup failed | 647 | // Backup failed |
648 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: Backup() - Backup Failed with exception " + e.ToString()); | 648 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"World.cs: Backup() - Backup Failed with exception " + e.ToString()); |
649 | return false; | 649 | return false; |
650 | } | 650 | } |
651 | } | 651 | } |
@@ -661,7 +661,7 @@ namespace OpenSim.world | |||
661 | } | 661 | } |
662 | catch (Exception e) | 662 | catch (Exception e) |
663 | { | 663 | { |
664 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("World.cs: SetDefaultScripts() - Failed with exception " + e.ToString()); | 664 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM,"World.cs: SetDefaultScripts() - Failed with exception " + e.ToString()); |
665 | } | 665 | } |
666 | } | 666 | } |
667 | 667 | ||
diff --git a/OpenSim.RegionServer/world/WorldPacketHandlers.cs b/OpenSim.RegionServer/world/WorldPacketHandlers.cs index f4213d0..9e1f9a1 100644 --- a/OpenSim.RegionServer/world/WorldPacketHandlers.cs +++ b/OpenSim.RegionServer/world/WorldPacketHandlers.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.world | |||
147 | //Uncomment when prim/object UUIDs are random or such | 147 | //Uncomment when prim/object UUIDs are random or such |
148 | //2007-03-22 - Randomskk | 148 | //2007-03-22 - Randomskk |
149 | //this._primCount--; | 149 | //this._primCount--; |
150 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Deleted UUID " + ent.uuid); | 150 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE,"Deleted UUID " + ent.uuid); |
151 | } | 151 | } |
152 | } | 152 | } |
153 | } | 153 | } |