diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a0a0037..7a52205 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -454,9 +454,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
454 | else | 454 | else |
455 | { | 455 | { |
456 | m_CurrentCompile = null; | 456 | m_CurrentCompile = null; |
457 | m_Scene.EventManager.TriggerEmptyScriptCompileQueue(m_ScriptFailCount, | 457 | m_Scene.EventManager.TriggerEmptyScriptCompileQueue(m_ScriptFailCount, |
458 | m_ScriptErrorMessage); | 458 | m_ScriptErrorMessage); |
459 | m_ScriptFailCount = 0; | 459 | m_ScriptFailCount = 0; |
460 | } | 460 | } |
461 | } | 461 | } |
462 | return null; | 462 | return null; |
@@ -482,18 +482,18 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
482 | if (part == null) | 482 | if (part == null) |
483 | { | 483 | { |
484 | Log.Error("[Script] SceneObjectPart unavailable. Script NOT started."); | 484 | Log.Error("[Script] SceneObjectPart unavailable. Script NOT started."); |
485 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; | 485 | m_ScriptErrorMessage += "SceneObjectPart unavailable. Script NOT started.\n"; |
486 | m_ScriptFailCount++; | 486 | m_ScriptFailCount++; |
487 | return false; | 487 | return false; |
488 | } | 488 | } |
489 | 489 | ||
490 | TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID); | 490 | TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID); |
491 | if (item == null) | 491 | if (item == null) |
492 | { | 492 | { |
493 | m_ScriptErrorMessage += "Can't find script inventory item.\n"; | 493 | m_ScriptErrorMessage += "Can't find script inventory item.\n"; |
494 | m_ScriptFailCount++; | 494 | m_ScriptFailCount++; |
495 | return false; | 495 | return false; |
496 | } | 496 | } |
497 | 497 | ||
498 | UUID assetID = item.AssetID; | 498 | UUID assetID = item.AssetID; |
499 | 499 | ||
@@ -519,8 +519,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
519 | try | 519 | try |
520 | { | 520 | { |
521 | // DISPLAY ERROR INWORLD | 521 | // DISPLAY ERROR INWORLD |
522 | m_ScriptErrorMessage += "Failed to compile: " + e.Message.ToString(); | 522 | m_ScriptErrorMessage += "Failed to compile: " + e.Message.ToString(); |
523 | m_ScriptFailCount++; | 523 | m_ScriptFailCount++; |
524 | string text = "Error compiling script:\n" + e.Message.ToString(); | 524 | string text = "Error compiling script:\n" + e.Message.ToString(); |
525 | if (text.Length > 1000) | 525 | if (text.Length > 1000) |
526 | text = text.Substring(0, 1000); | 526 | text = text.Substring(0, 1000); |
@@ -590,8 +590,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
590 | catch (Exception e) | 590 | catch (Exception e) |
591 | { | 591 | { |
592 | m_log.ErrorFormat("[XEngine] Exception creating app domain:\n {0}", e.ToString()); | 592 | m_log.ErrorFormat("[XEngine] Exception creating app domain:\n {0}", e.ToString()); |
593 | m_ScriptErrorMessage += "Exception creating app domain:\n"; | 593 | m_ScriptErrorMessage += "Exception creating app domain:\n"; |
594 | m_ScriptFailCount++; | 594 | m_ScriptFailCount++; |
595 | return false; | 595 | return false; |
596 | } | 596 | } |
597 | } | 597 | } |