diff options
Diffstat (limited to '')
11 files changed, 5 insertions, 99 deletions
diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index 32415e0..8feaa37 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs | |||
@@ -44,14 +44,6 @@ namespace OpenSim.Framework | |||
44 | set { m_meshEngineName = value; } | 44 | set { m_meshEngineName = value; } |
45 | } | 45 | } |
46 | 46 | ||
47 | private bool m_standalone; | ||
48 | |||
49 | public bool Standalone | ||
50 | { | ||
51 | get { return m_standalone; } | ||
52 | set { m_standalone = value; } | ||
53 | } | ||
54 | |||
55 | private bool m_see_into_region_from_neighbor; | 47 | private bool m_see_into_region_from_neighbor; |
56 | 48 | ||
57 | public bool See_into_region_from_neighbor | 49 | public bool See_into_region_from_neighbor |
@@ -163,7 +155,6 @@ namespace OpenSim.Framework | |||
163 | 155 | ||
164 | public const uint DefaultAssetServerHttpPort = 8003; | 156 | public const uint DefaultAssetServerHttpPort = 8003; |
165 | public const uint DefaultRegionHttpPort = 9000; | 157 | public const uint DefaultRegionHttpPort = 9000; |
166 | public static uint DefaultRegionRemotingPort = 8895; // This is actually assigned to, but then again, the remoting is obsolete, right? | ||
167 | public const uint DefaultUserServerHttpPort = 8002; | 158 | public const uint DefaultUserServerHttpPort = 8002; |
168 | public const bool DefaultUserServerHttpSSL = false; | 159 | public const bool DefaultUserServerHttpSSL = false; |
169 | public const uint DefaultMessageServerHttpPort = 8006; | 160 | public const uint DefaultMessageServerHttpPort = 8006; |
diff --git a/OpenSim/Framework/NetworkServersInfo.cs b/OpenSim/Framework/NetworkServersInfo.cs index f720222..b25f8b9 100644 --- a/OpenSim/Framework/NetworkServersInfo.cs +++ b/OpenSim/Framework/NetworkServersInfo.cs | |||
@@ -42,8 +42,6 @@ namespace OpenSim.Framework | |||
42 | public string InventoryURL = String.Empty; | 42 | public string InventoryURL = String.Empty; |
43 | public bool secureInventoryServer = false; | 43 | public bool secureInventoryServer = false; |
44 | public bool isSandbox; | 44 | public bool isSandbox; |
45 | private uint? m_defaultHomeLocX; | ||
46 | private uint? m_defaultHomeLocY; | ||
47 | public string UserRecvKey = String.Empty; | 45 | public string UserRecvKey = String.Empty; |
48 | public string UserSendKey = String.Empty; | 46 | public string UserSendKey = String.Empty; |
49 | public string UserURL = String.Empty; | 47 | public string UserURL = String.Empty; |
@@ -59,24 +57,11 @@ namespace OpenSim.Framework | |||
59 | 57 | ||
60 | public NetworkServersInfo(uint defaultHomeLocX, uint defaultHomeLocY) | 58 | public NetworkServersInfo(uint defaultHomeLocX, uint defaultHomeLocY) |
61 | { | 59 | { |
62 | m_defaultHomeLocX = defaultHomeLocX; | ||
63 | m_defaultHomeLocY = defaultHomeLocY; | ||
64 | } | 60 | } |
65 | 61 | ||
66 | public uint DefaultHomeLocX | ||
67 | { | ||
68 | get { return m_defaultHomeLocX.Value; } | ||
69 | } | ||
70 | |||
71 | public uint DefaultHomeLocY | ||
72 | { | ||
73 | get { return m_defaultHomeLocY.Value; } | ||
74 | } | ||
75 | 62 | ||
76 | public void loadFromConfiguration(IConfigSource config) | 63 | public void loadFromConfiguration(IConfigSource config) |
77 | { | 64 | { |
78 | m_defaultHomeLocX = (uint) config.Configs["StandAlone"].GetInt("default_location_x", 1000); | ||
79 | m_defaultHomeLocY = (uint) config.Configs["StandAlone"].GetInt("default_location_y", 1000); | ||
80 | 65 | ||
81 | HttpListenerPort = | 66 | HttpListenerPort = |
82 | (uint) config.Configs["Network"].GetInt("http_listener_port", (int) ConfigSettings.DefaultRegionHttpPort); | 67 | (uint) config.Configs["Network"].GetInt("http_listener_port", (int) ConfigSettings.DefaultRegionHttpPort); |
@@ -84,8 +69,6 @@ namespace OpenSim.Framework | |||
84 | (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)ConfigSettings.DefaultRegionHttpPort+1)); | 69 | (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)ConfigSettings.DefaultRegionHttpPort+1)); |
85 | HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); | 70 | HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); |
86 | HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost"); | 71 | HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost"); |
87 | ConfigSettings.DefaultRegionRemotingPort = | ||
88 | (uint) config.Configs["Network"].GetInt("remoting_listener_port", (int) ConfigSettings.DefaultRegionRemotingPort); | ||
89 | GridURL = | 72 | GridURL = |
90 | config.Configs["Network"].GetString("grid_server_url", | 73 | config.Configs["Network"].GetString("grid_server_url", |
91 | "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); | 74 | "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); |
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 555baa4..7721cdf 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -129,7 +129,6 @@ namespace OpenSim | |||
129 | configSource.AddSwitch("Startup", "inifile"); | 129 | configSource.AddSwitch("Startup", "inifile"); |
130 | configSource.AddSwitch("Startup", "inimaster"); | 130 | configSource.AddSwitch("Startup", "inimaster"); |
131 | configSource.AddSwitch("Startup", "inidirectory"); | 131 | configSource.AddSwitch("Startup", "inidirectory"); |
132 | configSource.AddSwitch("Startup", "gridmode"); | ||
133 | configSource.AddSwitch("Startup", "physics"); | 132 | configSource.AddSwitch("Startup", "physics"); |
134 | configSource.AddSwitch("Startup", "gui"); | 133 | configSource.AddSwitch("Startup", "gui"); |
135 | configSource.AddSwitch("Startup", "console"); | 134 | configSource.AddSwitch("Startup", "console"); |
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 21edcc5..655c5ca 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs | |||
@@ -304,7 +304,6 @@ namespace OpenSim | |||
304 | 304 | ||
305 | config.Set("region_info_source", "filesystem"); | 305 | config.Set("region_info_source", "filesystem"); |
306 | 306 | ||
307 | config.Set("gridmode", false); | ||
308 | config.Set("physics", "OpenDynamicsEngine"); | 307 | config.Set("physics", "OpenDynamicsEngine"); |
309 | config.Set("meshing", "Meshmerizer"); | 308 | config.Set("meshing", "Meshmerizer"); |
310 | config.Set("physical_prim", true); | 309 | config.Set("physical_prim", true); |
@@ -342,19 +341,7 @@ namespace OpenSim | |||
342 | if (null == config) | 341 | if (null == config) |
343 | config = defaultConfig.AddConfig("Network"); | 342 | config = defaultConfig.AddConfig("Network"); |
344 | 343 | ||
345 | config.Set("default_location_x", 1000); | ||
346 | config.Set("default_location_y", 1000); | ||
347 | config.Set("http_listener_port", ConfigSettings.DefaultRegionHttpPort); | 344 | config.Set("http_listener_port", ConfigSettings.DefaultRegionHttpPort); |
348 | config.Set("remoting_listener_port", ConfigSettings.DefaultRegionRemotingPort); | ||
349 | config.Set("grid_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); | ||
350 | config.Set("grid_send_key", "null"); | ||
351 | config.Set("grid_recv_key", "null"); | ||
352 | config.Set("user_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultUserServerHttpPort.ToString()); | ||
353 | config.Set("user_send_key", "null"); | ||
354 | config.Set("user_recv_key", "null"); | ||
355 | config.Set("asset_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultAssetServerHttpPort.ToString()); | ||
356 | config.Set("inventory_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultInventoryServerHttpPort.ToString()); | ||
357 | config.Set("secure_inventory_server", "true"); | ||
358 | } | 345 | } |
359 | 346 | ||
360 | return defaultConfig; | 347 | return defaultConfig; |
@@ -368,7 +355,6 @@ namespace OpenSim | |||
368 | IConfig startupConfig = m_config.Source.Configs["Startup"]; | 355 | IConfig startupConfig = m_config.Source.Configs["Startup"]; |
369 | if (startupConfig != null) | 356 | if (startupConfig != null) |
370 | { | 357 | { |
371 | m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode", false); | ||
372 | m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); | 358 | m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); |
373 | m_configSettings.MeshEngineName = startupConfig.GetString("meshing"); | 359 | m_configSettings.MeshEngineName = startupConfig.GetString("meshing"); |
374 | m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim", true); | 360 | m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim", true); |
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 299f519..10ff57d 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -122,8 +122,7 @@ namespace OpenSim | |||
122 | m_log.Info("===================================================================="); | 122 | m_log.Info("===================================================================="); |
123 | m_log.Info("========================= STARTING OPENSIM ========================="); | 123 | m_log.Info("========================= STARTING OPENSIM ========================="); |
124 | m_log.Info("===================================================================="); | 124 | m_log.Info("===================================================================="); |
125 | m_log.InfoFormat("[OPENSIM MAIN]: Running in {0} mode", | 125 | m_log.InfoFormat("[OPENSIM MAIN]: Running "); |
126 | (ConfigurationSettings.Standalone ? "sandbox" : "grid")); | ||
127 | //m_log.InfoFormat("[OPENSIM MAIN]: GC Is Server GC: {0}", GCSettings.IsServerGC.ToString()); | 126 | //m_log.InfoFormat("[OPENSIM MAIN]: GC Is Server GC: {0}", GCSettings.IsServerGC.ToString()); |
128 | // http://msdn.microsoft.com/en-us/library/bb384202.aspx | 127 | // http://msdn.microsoft.com/en-us/library/bb384202.aspx |
129 | //GCSettings.LatencyMode = GCLatencyMode.Batch; | 128 | //GCSettings.LatencyMode = GCLatencyMode.Batch; |
@@ -353,16 +352,6 @@ namespace OpenSim | |||
353 | "kill uuid <UUID>", | 352 | "kill uuid <UUID>", |
354 | "Kill an object by UUID", KillUUID); | 353 | "Kill an object by UUID", KillUUID); |
355 | 354 | ||
356 | |||
357 | m_console.Commands.AddCommand("hypergrid", false, "link-mapping", "link-mapping [<x> <y>] <cr>", | ||
358 | "Set local coordinate to map HG regions to", RunCommand); | ||
359 | m_console.Commands.AddCommand("hypergrid", false, "link-region", | ||
360 | "link-region <Xloc> <Yloc> <HostName>:<HttpPort>[:<RemoteRegionName>] <cr>", | ||
361 | "Link a hypergrid region", RunCommand); | ||
362 | m_console.Commands.AddCommand("hypergrid", false, "unlink-region", | ||
363 | "unlink-region <local name> or <HostName>:<HttpPort> <cr>", | ||
364 | "Unlink a hypergrid region", RunCommand); | ||
365 | |||
366 | } | 355 | } |
367 | 356 | ||
368 | public override void ShutdownSpecific() | 357 | public override void ShutdownSpecific() |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Asset/AssetServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Asset/AssetServiceInConnectorModule.cs index 879cc70..2324380 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Asset/AssetServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Asset/AssetServiceInConnectorModule.cs | |||
@@ -51,11 +51,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Asset | |||
51 | 51 | ||
52 | public void Initialise(IConfigSource config) | 52 | public void Initialise(IConfigSource config) |
53 | { | 53 | { |
54 | //// This module is only on for standalones in hypergrid mode | ||
55 | //enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) && | ||
56 | // config.Configs["Startup"].GetBoolean("hypergrid", true)) || | ||
57 | // ((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true)); | ||
58 | //m_log.DebugFormat("[RegionAssetService]: enabled? {0}", enabled); | ||
59 | m_Config = config; | 54 | m_Config = config; |
60 | IConfig moduleConfig = config.Configs["Modules"]; | 55 | IConfig moduleConfig = config.Configs["Modules"]; |
61 | if (moduleConfig != null) | 56 | if (moduleConfig != null) |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Grid/GridInfoServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Grid/GridInfoServiceInConnectorModule.cs index 7c9b752..6d975af 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Grid/GridInfoServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Grid/GridInfoServiceInConnectorModule.cs | |||
@@ -53,10 +53,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Grid | |||
53 | 53 | ||
54 | public void Initialise(IConfigSource config) | 54 | public void Initialise(IConfigSource config) |
55 | { | 55 | { |
56 | //// This module is only on for standalones in hypergrid mode | ||
57 | //enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) && | ||
58 | // config.Configs["Startup"].GetBoolean("hypergrid", true); | ||
59 | //m_log.DebugFormat("[RegionInventoryService]: enabled? {0}", enabled); | ||
60 | m_Config = config; | 56 | m_Config = config; |
61 | IConfig moduleConfig = config.Configs["Modules"]; | 57 | IConfig moduleConfig = config.Configs["Modules"]; |
62 | if (moduleConfig != null) | 58 | if (moduleConfig != null) |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Hypergrid/HypergridServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Hypergrid/HypergridServiceInConnectorModule.cs index c737f8b..c6848bb 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Hypergrid/HypergridServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Hypergrid/HypergridServiceInConnectorModule.cs | |||
@@ -55,10 +55,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Hypergrid | |||
55 | 55 | ||
56 | public void Initialise(IConfigSource config) | 56 | public void Initialise(IConfigSource config) |
57 | { | 57 | { |
58 | //// This module is only on for standalones in hypergrid mode | ||
59 | //enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) && | ||
60 | // config.Configs["Startup"].GetBoolean("hypergrid", true); | ||
61 | //m_log.DebugFormat("[RegionInventoryService]: enabled? {0}", enabled); | ||
62 | m_Config = config; | 58 | m_Config = config; |
63 | IConfig moduleConfig = config.Configs["Modules"]; | 59 | IConfig moduleConfig = config.Configs["Modules"]; |
64 | if (moduleConfig != null) | 60 | if (moduleConfig != null) |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Inventory/InventoryServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Inventory/InventoryServiceInConnectorModule.cs index 1bd00f5..ae03cdf 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Inventory/InventoryServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Inventory/InventoryServiceInConnectorModule.cs | |||
@@ -51,10 +51,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Inventory | |||
51 | 51 | ||
52 | public void Initialise(IConfigSource config) | 52 | public void Initialise(IConfigSource config) |
53 | { | 53 | { |
54 | //// This module is only on for standalones in hypergrid mode | ||
55 | //enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) && | ||
56 | // config.Configs["Startup"].GetBoolean("hypergrid", true); | ||
57 | //m_log.DebugFormat("[RegionInventoryService]: enabled? {0}", enabled); | ||
58 | m_Config = config; | 54 | m_Config = config; |
59 | IConfig moduleConfig = config.Configs["Modules"]; | 55 | IConfig moduleConfig = config.Configs["Modules"]; |
60 | if (moduleConfig != null) | 56 | if (moduleConfig != null) |
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs index 4df9094..6949d7c 100644 --- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs +++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs | |||
@@ -101,21 +101,9 @@ namespace OpenSim.Region.DataSnapshot | |||
101 | try | 101 | try |
102 | { | 102 | { |
103 | m_enabled = config.Configs["DataSnapshot"].GetBoolean("index_sims", m_enabled); | 103 | m_enabled = config.Configs["DataSnapshot"].GetBoolean("index_sims", m_enabled); |
104 | if (config.Configs["Startup"].GetBoolean("gridmode", false)) | 104 | IConfig conf = config.Configs["GridService"]; |
105 | { | 105 | if (conf != null) |
106 | m_gridinfo.Add( | 106 | m_gridinfo.Add("gridserverURL", conf.GetString("GridServerURI", "http://127.0.0.1:8003")); |
107 | "gridserverURL", | ||
108 | config.Configs["Network"].GetString( | ||
109 | "grid_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString())); | ||
110 | m_gridinfo.Add( | ||
111 | "userserverURL", | ||
112 | config.Configs["Network"].GetString( | ||
113 | "user_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultUserServerHttpPort.ToString())); | ||
114 | m_gridinfo.Add( | ||
115 | "assetserverURL", | ||
116 | config.Configs["Network"].GetString( | ||
117 | "asset_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultAssetServerHttpPort.ToString())); | ||
118 | } | ||
119 | 107 | ||
120 | m_gridinfo.Add( | 108 | m_gridinfo.Add( |
121 | "Name", config.Configs["DataSnapshot"].GetString("gridname", "the lost continent of hippo")); | 109 | "Name", config.Configs["DataSnapshot"].GetString("gridname", "the lost continent of hippo")); |
diff --git a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs index be2734d..b9a75cc 100644 --- a/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs +++ b/OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs | |||
@@ -66,7 +66,6 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
66 | // private UUID EconomyBaseAccount = UUID.Zero; | 66 | // private UUID EconomyBaseAccount = UUID.Zero; |
67 | 67 | ||
68 | private float EnergyEfficiency = 0f; | 68 | private float EnergyEfficiency = 0f; |
69 | private bool gridmode = false; | ||
70 | // private ObjectPaid handerOnObjectPaid; | 69 | // private ObjectPaid handerOnObjectPaid; |
71 | private bool m_enabled = true; | 70 | private bool m_enabled = true; |
72 | private bool m_sellEnabled = false; | 71 | private bool m_sellEnabled = false; |
@@ -243,7 +242,6 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
243 | { | 242 | { |
244 | if (config == "Startup" && startupConfig != null) | 243 | if (config == "Startup" && startupConfig != null) |
245 | { | 244 | { |
246 | gridmode = startupConfig.GetBoolean("gridmode", false); | ||
247 | m_enabled = (startupConfig.GetString("economymodule", "BetaGridLikeMoneyModule") == "BetaGridLikeMoneyModule"); | 245 | m_enabled = (startupConfig.GetString("economymodule", "BetaGridLikeMoneyModule") == "BetaGridLikeMoneyModule"); |
248 | } | 246 | } |
249 | 247 | ||
@@ -293,18 +291,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule | |||
293 | 291 | ||
294 | private void GetClientFunds(IClientAPI client) | 292 | private void GetClientFunds(IClientAPI client) |
295 | { | 293 | { |
296 | // Here we check if we're in grid mode | 294 | CheckExistAndRefreshFunds(client.AgentId); |
297 | // I imagine that the 'check balance' | ||
298 | // function for the client should be here or shortly after | ||
299 | |||
300 | if (gridmode) | ||
301 | { | ||
302 | CheckExistAndRefreshFunds(client.AgentId); | ||
303 | } | ||
304 | else | ||
305 | { | ||
306 | CheckExistAndRefreshFunds(client.AgentId); | ||
307 | } | ||
308 | 295 | ||
309 | } | 296 | } |
310 | 297 | ||