From 7d89e122930be39e84a6d174548fa2d12ac0484a Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Sat, 6 Sep 2008 07:52:41 +0000
Subject: * This is the fabled LibOMV update with all of the libOMV types from
JHurliman * This is a HUGE OMG update and will definitely have unknown side
effects.. so this is really only for the strong hearted at this point.
Regular people should let the dust settle. * This has been tested to work
with most basic functions. However.. make sure you back up 'everything'
before using this. It's that big! * Essentially we're back at square 1 in
the testing phase.. so lets identify things that broke.
---
OpenSim/Region/Application/OpenSim.cs | 4 ++--
OpenSim/Region/Application/OpenSimBase.cs | 28 ++++++++++++++--------------
2 files changed, 16 insertions(+), 16 deletions(-)
(limited to 'OpenSim/Region/Application')
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 6829bef..edb29db 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -32,7 +32,7 @@ using System.IO;
using System.Net;
using System.Reflection;
using System.Threading;
-using libsecondlife;
+using OpenMetaverse;
using log4net;
using Nini.Config;
using OpenSim.Framework;
@@ -776,7 +776,7 @@ namespace OpenSim
{
m_log.Error("[CONSOLE]: PLEASE NOTE, load-xml is DEPRECATED and may be REMOVED soon. If you are using this and there is some reason you can't use load-xml2, please file a mantis detailing the reason.");
- LLVector3 loadOffset = new LLVector3(0, 0, 0);
+ Vector3 loadOffset = new Vector3(0, 0, 0);
if (cmdparams.Length > 0)
{
bool generateNewIDS = false;
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 4003001..86db865 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -32,7 +32,7 @@ using System.Net;
using System.Reflection;
using System.Text;
using System.Threading;
-using libsecondlife;
+using OpenMetaverse;
using log4net;
using Nini.Config;
using OpenSim.Framework;
@@ -64,7 +64,7 @@ namespace OpenSim
///
/// The file used to load and save prim backup xml if no filename has been specified
///
- protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml";
+ protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.Xml";
///
/// The file used to load and save an opensim archive if no filename has been specified
@@ -178,17 +178,17 @@ namespace OpenSim
}
else
{
- if (File.Exists("OpenSim.xml"))
+ if (File.Exists("OpenSim.Xml"))
{
//check for a xml config file
- Application.iniFilePath = "OpenSim.xml";
+ Application.iniFilePath = "OpenSim.Xml";
m_config.Source = new XmlConfigSource();
m_config.Source.Merge(new XmlConfigSource(Application.iniFilePath));
m_config.Source.Merge(configSource);
}
else
{
- //Application.iniFilePath = "OpenSim.xml";
+ //Application.iniFilePath = "OpenSim.Xml";
// m_config.ConfigSource = new XmlConfigSource();
// no default config files, so set default values, and save it
m_config.Source.Merge(DefaultConfig());
@@ -437,7 +437,7 @@ namespace OpenSim
m_sceneManager.OnRestartSim += handleRestartRegion;
}
- public LLUUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY)
+ public UUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY)
{
return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, regX, regY);
}
@@ -532,18 +532,18 @@ namespace OpenSim
// and has to happen before the region is registered with the grid.
scene.CreateTerrainTexture(false);
- try
- {
+ //try
+ //{
scene.RegisterRegionWithGrid();
- }
- catch (Exception e)
- {
- m_log.ErrorFormat("[STARTUP]: Registration of region with grid failed, aborting startup - {0}", e);
+ //}
+ //catch (Exception e)
+ //{
+ // m_log.ErrorFormat("[STARTUP]: Registration of region with grid failed, aborting startup - {0}", e);
// Carrying on now causes a lot of confusion down the
// line - we need to get the user's attention
- System.Environment.Exit(1);
- }
+ // System.Environment.Exit(1);
+ //}
// We need to do this after we've initialized the
// scripting engines.
--
cgit v1.1