aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2016-07-27 23:13:24 +0100
committerUbitUmarov2016-07-27 23:13:24 +0100
commit01289b9c2d29dc9db5aec62fff7f38b87f34ee38 (patch)
tree67aa928e3fd61fba670e4bb78969cb2354606419 /OpenSim
parent but buoyancy was missing (diff)
downloadopensim-SC_OLD-01289b9c2d29dc9db5aec62fff7f38b87f34ee38.zip
opensim-SC_OLD-01289b9c2d29dc9db5aec62fff7f38b87f34ee38.tar.gz
opensim-SC_OLD-01289b9c2d29dc9db5aec62fff7f38b87f34ee38.tar.bz2
opensim-SC_OLD-01289b9c2d29dc9db5aec62fff7f38b87f34ee38.tar.xz
first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs11
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs7
2 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 3426d10..1d4deac 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -157,7 +157,16 @@ namespace OpenSim.Framework.Servers
157 "[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n", 157 "[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
158 Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32"); 158 Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32");
159 159
160 StartupSpecific(); 160 try
161 {
162 StartupSpecific();
163 }
164 catch(Exception e)
165 {
166 m_log.FatalFormat("Fatal error: {0}",
167 (e.Message == null || e.Message == String.Empty) ? "Unknown reason":e.Message );
168 Environment.Exit(1);
169 }
161 170
162 TimeSpan timeTaken = DateTime.Now - m_startuptime; 171 TimeSpan timeTaken = DateTime.Now - m_startuptime;
163 172
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 41966ff..52ded3d 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -218,6 +218,13 @@ namespace OpenSim
218 IConfig startupConfig = Config.Configs["Startup"]; 218 IConfig startupConfig = Config.Configs["Startup"];
219 if (startupConfig != null) 219 if (startupConfig != null)
220 { 220 {
221 // refuse to run MegaRegions
222 if(startupConfig.GetBoolean("CombineContiguousRegions", false))
223 {
224 m_log.Fatal("CombineContiguousRegions (MegaRegions) option is no longer suported. Use a older version to save region contents as OAR, then import into a fresh install of this new version");
225 throw new Exception("CombineContiguousRegions not suported");
226 }
227
221 string pidFile = startupConfig.GetString("PIDFile", String.Empty); 228 string pidFile = startupConfig.GetString("PIDFile", String.Empty);
222 if (pidFile != String.Empty) 229 if (pidFile != String.Empty)
223 CreatePIDFile(pidFile); 230 CreatePIDFile(pidFile);