aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2010-01-31 13:01:23 -0800
committerDiva Canto2010-01-31 13:01:23 -0800
commit041594ed075049f804fc157700a6d78e54194c0b (patch)
treeed89689bfdc1948b184438ee4c7329e0296660b4
parent* Bug fix in XInventoryData -- groupOwned is an int in the DB (diff)
downloadopensim-SC-041594ed075049f804fc157700a6d78e54194c0b.zip
opensim-SC-041594ed075049f804fc157700a6d78e54194c0b.tar.gz
opensim-SC-041594ed075049f804fc157700a6d78e54194c0b.tar.bz2
opensim-SC-041594ed075049f804fc157700a6d78e54194c0b.tar.xz
Cleaned up configuration. 'gridmode' and 'hypergrid' are gone, as well as lots of other obsolete configs.
-rw-r--r--OpenSim/Framework/ConfigSettings.cs9
-rw-r--r--OpenSim/Framework/NetworkServersInfo.cs17
-rw-r--r--OpenSim/Region/Application/Application.cs1
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs14
-rw-r--r--OpenSim/Region/Application/OpenSim.cs13
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsIn/Asset/AssetServiceInConnectorModule.cs5
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsIn/Grid/GridInfoServiceInConnectorModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsIn/Hypergrid/HypergridServiceInConnectorModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsIn/Inventory/InventoryServiceInConnectorModule.cs4
-rw-r--r--OpenSim/Region/DataSnapshot/DataSnapshotManager.cs18
-rw-r--r--OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs15
-rw-r--r--bin/OpenSim.Server.ini.example39
-rw-r--r--bin/OpenSim.ini.example39
-rw-r--r--bin/config-include/Grid.ini1
-rw-r--r--bin/config-include/GridHypergrid.ini5
-rw-r--r--bin/config-include/StandaloneHypergrid.ini3
16 files changed, 16 insertions, 175 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
diff --git a/bin/OpenSim.Server.ini.example b/bin/OpenSim.Server.ini.example
index 5d4927b..5def529 100644
--- a/bin/OpenSim.Server.ini.example
+++ b/bin/OpenSim.Server.ini.example
@@ -11,15 +11,13 @@
11; * 11; *
12[Startup] 12[Startup]
13 13
14;; HG1.5 handlers are: OpenSim.Server.Handlers.dll:GatekeeperService,OpenSim.Server.Handlers.dll:UserAgentService 14ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:InventoryServiceInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector"
15
16ServiceConnectors = "OpenSim.Server.Handlers.dll:AssetServiceConnector,OpenSim.Server.Handlers.dll:InventoryServiceInConnector,OpenSim.Server.Handlers.dll:FreeswitchServerConnector,OpenSim.Server.Handlers.dll:GridServiceConnector,OpenSim.Server.Handlers.dll:GridInfoServerInConnector,OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,OpenSim.Server.Handlers.dll:OpenIdServerConnector,OpenSim.Server.Handlers.dll:AvatarServiceConnector,OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,OpenSim.Server.Handlers.dll:PresenceServiceConnector,OpenSim.Server.Handlers.dll:UserAccountServiceConnector,OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,OpenSim.Server.Handlers.dll:UserAgentServerConnector"
17 15
18; * This is common for all services, it's the network setup for the entire 16; * This is common for all services, it's the network setup for the entire
19; * server instance 17; * server instance, if none if specified above
20; * 18; *
21[Network] 19;[Network]
22 port = 8003 20; port = 8003
23 21
24; * The following are for the remote console 22; * The following are for the remote console
25; * They have no effect for the local or basic console types 23; * They have no effect for the local or basic console types
@@ -135,33 +133,10 @@ ServiceConnectors = "OpenSim.Server.Handlers.dll:AssetServiceConnector,OpenSim.S
135 GridService = "OpenSim.Services.GridService.dll:GridService" 133 GridService = "OpenSim.Services.GridService.dll:GridService"
136 SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" 134 SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
137 LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService" 135 LibraryService = "OpenSim.Services.InventoryService.dll:LibraryService"
138 ; Do you let your users go outside this grid? If so, use this
139 UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
140 136
141 DefaultRegion = "OpenSim Test" 137 DefaultRegion = "OpenSim Test"
142 WelcomeMessage = "Welcome, Avatar!" 138 WelcomeMessage = "Welcome, Avatar!"
143 HomeURI = "http://127.0.0.1:8003"
144 GatekeeperURI = "http://127.0.0.1:8003"
145 InventoryServerURI = "http://127.0.0.1:8003"
146 AssetServerURI = "http://127.0.0.1:8003"
147
148;; These 2 are for enabling HG1.5
149
150[GatekeeperService]
151 LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService"
152 ;; for the service
153 UserAccountService = "OpenSim.Services.UserAccountService.dll:UserAccountService"
154 UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"
155 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
156 GridService = "OpenSim.Services.GridService.dll:GridService"
157 AuthenticationService = "OpenSim.Services.Connectors.dll:AuthenticationServicesConnector"
158 SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector"
159 ; how does the outside world reach me? This acts as public key too.
160 ExternalName = "http://127.0.0.1:8003"
161 139
162[UserAgentService] 140;; Uncomment if you want your grid to become Hypergrid-enabled
163 LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService" 141;;[Hypergrid]
164 ;; for the service 142;; Include-Hypergrid = "OpenSim.Server.HG.ini"
165 PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
166 GridService = "OpenSim.Services.GridService.dll:GridService"
167
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 3b560de..70f03a1 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -19,13 +19,6 @@
19 ; inside your firewall, separate patterns with a ';' 19 ; inside your firewall, separate patterns with a ';'
20 ; HttpProxyExceptions = ".mydomain.com;localhost" 20 ; HttpProxyExceptions = ".mydomain.com;localhost"
21 21
22 ; Set this to true if you are connecting your regions to a grid
23 ; Set this to false if you are running in standalone mode
24 gridmode = false
25
26 ; Set this to true if you want Hypergrid functionality
27 hypergrid = false
28
29 startup_console_commands_file = "startup_commands.txt" 22 startup_console_commands_file = "startup_commands.txt"
30 shutdown_console_commands_file = "shutdown_commands.txt" 23 shutdown_console_commands_file = "shutdown_commands.txt"
31 24
@@ -118,7 +111,7 @@
118 ;InworldRestartShutsDown = false 111 ;InworldRestartShutsDown = false
119 112
120 ; ## 113 ; ##
121 ; ## STORAGE 114 ; ## PRIM STORAGE
122 ; ## 115 ; ##
123 116
124 ; *** Prim Storage - only leave one storage_plugin uncommented *** 117 ; *** Prim Storage - only leave one storage_plugin uncommented ***
@@ -134,7 +127,7 @@
134 ; --- To use MySQL storage, supply your own connection string (this is only an example): 127 ; --- To use MySQL storage, supply your own connection string (this is only an example):
135 ; note that the supplied account needs create privilegies if you want it to auto-create needed tables. 128 ; note that the supplied account needs create privilegies if you want it to auto-create needed tables.
136 ; 129 ;
137 ; -->>> There are multiple connection strings defined in several places in this file. Check it carefully! 130 ; -->>> There are multiple connection strings defined in several places. Check it carefully!
138 ; 131 ;
139 ; storage_plugin="OpenSim.Data.MySQL.dll" 132 ; storage_plugin="OpenSim.Data.MySQL.dll"
140 ; storage_connection_string="Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;"; 133 ; storage_connection_string="Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;";
@@ -142,15 +135,6 @@
142 ; uncomment and change this connect string. Defaults to the above if not set 135 ; uncomment and change this connect string. Defaults to the above if not set
143 ; estate_connection_string="Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;"; 136 ; estate_connection_string="Data Source=localhost;Database=opensim;User ID=opensim;Password=*****;";
144 137
145 ; Select whether you want to use local or grid asset storage.
146 ;
147 ; If you're running in standalone, you definitely want local, since there is no grid (hence this is redundant, and should
148 ; really be eliminated). The database itself is defined in asset_plugin below
149 ;
150 ; If you're running a region server connecting to a grid, you probably want grid mode, since this will use the
151 ; grid asset server. If you select local in grid mode, then you will use a database as specified in asset_plugin to store assets
152 ; locally. This will mean you won't be able to take items using your assets to other people's regions.
153
154 ; Persistence of changed objects happens during regular sweeps. The following control that behaviour to 138 ; Persistence of changed objects happens during regular sweeps. The following control that behaviour to
155 ; prevent frequently changing objects from heavily loading the region data store. 139 ; prevent frequently changing objects from heavily loading the region data store.
156 ; If both of these values are set to zero then persistence of all changed objects will happen on every sweep. 140 ; If both of these values are set to zero then persistence of all changed objects will happen on every sweep.
@@ -338,8 +322,6 @@
338 ConsolePass = "secret" 322 ConsolePass = "secret"
339 http_listener_port = 9000 323 http_listener_port = 9000
340 console_port = 0 324 console_port = 0
341 default_location_x = 1000
342 default_location_y = 1000
343 325
344 ; ssl config: Experimental! The auto https config only really works definately on windows XP now 326 ; ssl config: Experimental! The auto https config only really works definately on windows XP now
345 ; you need a Cert Request/Signed pair installed in the MY store with the CN specified below 327 ; you need a Cert Request/Signed pair installed in the MY store with the CN specified below
@@ -356,21 +338,6 @@
356 ; Uncomment below to enable llRemoteData/remote channels 338 ; Uncomment below to enable llRemoteData/remote channels
357 ; remoteDataPort = 20800 339 ; remoteDataPort = 20800
358 340
359 grid_server_url = "http://127.0.0.1:8003"
360 grid_send_key = "null"
361 grid_recv_key = "null"
362
363 user_server_url = "http://127.0.0.1:8002"
364 user_send_key = "null"
365 user_recv_key = "null"
366
367 asset_server_url = "http://127.0.0.1:8003"
368
369 inventory_server_url = "http://127.0.0.1:8003"
370
371 ; The MessagingServer is a companion of the UserServer. It uses
372 ; user_send_key and user_recv_key, too
373 messaging_server_url = "http://127.0.0.1:8006"
374 341
375 ; What is reported as the "X-Secondlife-Shard" 342 ; What is reported as the "X-Secondlife-Shard"
376 ; Defaults to the user server url if not set 343 ; Defaults to the user server url if not set
@@ -1360,7 +1327,7 @@
1360 1327
1361[GridService] 1328[GridService]
1362 ;; default standalone, overridable in StandaloneCommon.ini 1329 ;; default standalone, overridable in StandaloneCommon.ini
1363 StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" 1330 StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
1364 1331
1365 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1332 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1366 ;; The following is the configuration section for the new style services 1333 ;; The following is the configuration section for the new style services
diff --git a/bin/config-include/Grid.ini b/bin/config-include/Grid.ini
index 5aae1bc..56c76c6 100644
--- a/bin/config-include/Grid.ini
+++ b/bin/config-include/Grid.ini
@@ -18,6 +18,7 @@
18 UserAccountServices = "RemoteUserAccountServicesConnector" 18 UserAccountServices = "RemoteUserAccountServicesConnector"
19 SimulationServices = "RemoteSimulationConnectorModule" 19 SimulationServices = "RemoteSimulationConnectorModule"
20 EntityTransferModule = "BasicEntityTransferModule" 20 EntityTransferModule = "BasicEntityTransferModule"
21 InventoryAccessModule = "BasicInventoryAccessModule"
21 LandServiceInConnector = true 22 LandServiceInConnector = true
22 NeighbourServiceInConnector = true 23 NeighbourServiceInConnector = true
23 SimulationServiceInConnector = true 24 SimulationServiceInConnector = true
diff --git a/bin/config-include/GridHypergrid.ini b/bin/config-include/GridHypergrid.ini
index 4d40766..7391278 100644
--- a/bin/config-include/GridHypergrid.ini
+++ b/bin/config-include/GridHypergrid.ini
@@ -7,9 +7,6 @@
7[Includes] 7[Includes]
8 Include-Common = "config-include/GridCommon.ini" 8 Include-Common = "config-include/GridCommon.ini"
9 9
10[Startup]
11 hypergrid = true
12
13[Modules] 10[Modules]
14 AssetServices = "HGAssetBroker" 11 AssetServices = "HGAssetBroker"
15 InventoryServices = "HGInventoryBroker" 12 InventoryServices = "HGInventoryBroker"
@@ -27,8 +24,6 @@
27 NeighbourServiceInConnector = true 24 NeighbourServiceInConnector = true
28 SimulationServiceInConnector = true 25 SimulationServiceInConnector = true
29 LibraryModule = true 26 LibraryModule = true
30 InventoryServiceInConnector = false
31 AssetServiceInConnector = false
32 27
33[AssetService] 28[AssetService]
34 LocalGridAssetService = "OpenSim.Services.Connectors.dll:AssetServicesConnector" 29 LocalGridAssetService = "OpenSim.Services.Connectors.dll:AssetServicesConnector"
diff --git a/bin/config-include/StandaloneHypergrid.ini b/bin/config-include/StandaloneHypergrid.ini
index f36b0c4..63ea832 100644
--- a/bin/config-include/StandaloneHypergrid.ini
+++ b/bin/config-include/StandaloneHypergrid.ini
@@ -6,9 +6,6 @@
6 6
7[Includes] 7[Includes]
8 Include-Common = "config-include/StandaloneCommon.ini" 8 Include-Common = "config-include/StandaloneCommon.ini"
9
10[Startup]
11 hypergrid = true
12 9
13[Modules] 10[Modules]
14 AssetServices = "HGAssetBroker" 11 AssetServices = "HGAssetBroker"