aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-11 18:02:22 +0000
committerJustin Clarke Casey2009-03-11 18:02:22 +0000
commitacad0328b2c50d22fe76ebb7c8de2c97c856b42f (patch)
tree2379c1ae60c22a4dcee162c5b56d21f367c05bfd /OpenSim/Region
parent* Fix silly windows prebuild borkage. To use System.Xml, the project must ha... (diff)
downloadopensim-SC-acad0328b2c50d22fe76ebb7c8de2c97c856b42f.zip
opensim-SC-acad0328b2c50d22fe76ebb7c8de2c97c856b42f.tar.gz
opensim-SC-acad0328b2c50d22fe76ebb7c8de2c97c856b42f.tar.bz2
opensim-SC-acad0328b2c50d22fe76ebb7c8de2c97c856b42f.tar.xz
* Make all coded defaults match settings in OpenSim.ini.example
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs19
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs2
-rw-r--r--OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs2
-rw-r--r--OpenSim/Region/DataSnapshot/DataSnapshotManager.cs22
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs3
12 files changed, 46 insertions, 28 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index 7c335a7..8aa8dde 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -231,14 +231,14 @@ namespace OpenSim
231 if (null == config) 231 if (null == config)
232 config = defaultConfig.AddConfig("StandAlone"); 232 config = defaultConfig.AddConfig("StandAlone");
233 233
234 config.Set("accounts_authenticate", false); 234 config.Set("accounts_authenticate", true);
235 config.Set("welcome_message", "Welcome to OpenSimulator"); 235 config.Set("welcome_message", "Welcome to OpenSimulator");
236 config.Set("inventory_plugin", "OpenSim.Data.SQLite.dll"); 236 config.Set("inventory_plugin", "OpenSim.Data.SQLite.dll");
237 config.Set("inventory_source", ""); 237 config.Set("inventory_source", "");
238 config.Set("userDatabase_plugin", "OpenSim.Data.SQLite.dll"); 238 config.Set("userDatabase_plugin", "OpenSim.Data.SQLite.dll");
239 config.Set("user_source", ""); 239 config.Set("user_source", "");
240 config.Set("asset_plugin", "OpenSim.Data.SQLite.dll"); 240 config.Set("asset_plugin", "OpenSim.Data.SQLite.dll");
241 config.Set("asset_source", ""); 241 config.Set("asset_source", "URI=file:Asset.db,version=3");
242 config.Set("LibrariesXMLFile", string.Format(".{0}inventory{0}Libraries.xml", Path.DirectorySeparatorChar)); 242 config.Set("LibrariesXMLFile", string.Format(".{0}inventory{0}Libraries.xml", Path.DirectorySeparatorChar));
243 config.Set("AssetSetsXMLFile", string.Format(".{0}assets{0}AssetSets.xml", Path.DirectorySeparatorChar)); 243 config.Set("AssetSetsXMLFile", string.Format(".{0}assets{0}AssetSets.xml", Path.DirectorySeparatorChar));
244 config.Set("dump_assets_to_file", false); 244 config.Set("dump_assets_to_file", false);
@@ -288,11 +288,16 @@ namespace OpenSim
288 Thread.Sleep(3000); 288 Thread.Sleep(3000);
289 } 289 }
290 290
291 m_configSettings.StorageConnectionString = startupConfig.GetString("storage_connection_string"); 291 m_configSettings.StorageConnectionString
292 m_configSettings.EstateConnectionString = startupConfig.GetString("estate_connection_string", m_configSettings.StorageConnectionString); 292 = startupConfig.GetString("storage_connection_string");
293 m_configSettings.AssetStorage = startupConfig.GetString("asset_database"); 293 m_configSettings.EstateConnectionString
294 m_configSettings.AssetCache = startupConfig.GetString("AssetCache"); 294 = startupConfig.GetString("estate_connection_string", m_configSettings.StorageConnectionString);
295 m_configSettings.ClientstackDll = startupConfig.GetString("clientstack_plugin", "OpenSim.Region.ClientStack.LindenUDP.dll"); 295 m_configSettings.AssetStorage
296 = startupConfig.GetString("asset_database");
297 m_configSettings.AssetCache
298 = startupConfig.GetString("AssetCache", "OpenSim.Framework.Communications.Cache.AssetCache");
299 m_configSettings.ClientstackDll
300 = startupConfig.GetString("clientstack_plugin", "OpenSim.Region.ClientStack.LindenUDP.dll");
296 } 301 }
297 302
298 IConfig standaloneConfig = m_config.Source.Configs["StandAlone"]; 303 IConfig standaloneConfig = m_config.Source.Configs["StandAlone"];
diff --git a/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
index 0a1de44..488e55b 100644
--- a/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
@@ -267,7 +267,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney
267 // Helpers.TryParse(EBA, out EconomyBaseAccount); 267 // Helpers.TryParse(EBA, out EconomyBaseAccount);
268 268
269 // UserLevelPaysFees = startupConfig.GetInt("UserLevelPaysFees", -1); 269 // UserLevelPaysFees = startupConfig.GetInt("UserLevelPaysFees", -1);
270 m_stipend = startupConfig.GetInt("UserStipend", 500); 270 m_stipend = startupConfig.GetInt("UserStipend", 1000);
271 m_minFundsBeforeRefresh = startupConfig.GetInt("IssueStipendWhenClientIsBelowAmount", 10); 271 m_minFundsBeforeRefresh = startupConfig.GetInt("IssueStipendWhenClientIsBelowAmount", 10);
272 m_keepMoneyAcrossLogins = startupConfig.GetBoolean("KeepMoneyAcrossLogins", true); 272 m_keepMoneyAcrossLogins = startupConfig.GetBoolean("KeepMoneyAcrossLogins", true);
273 m_MoneyAddress = startupConfig.GetString("CurrencyServer", String.Empty); 273 m_MoneyAddress = startupConfig.GetString("CurrencyServer", String.Empty);
diff --git a/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
index aa33982..e5a01ef 100644
--- a/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
+++ b/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
@@ -55,7 +55,7 @@ namespace OpenSim.Region.CoreModules.Communications.Local
55 { 55 {
56 IConfig startupConfig = config.Configs["Communications"]; 56 IConfig startupConfig = config.Configs["Communications"];
57 57
58 if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTCommms") == "LocalComms")) 58 if ((startupConfig != null) && (startupConfig.GetString("InterregionComms", "RESTComms") == "LocalComms"))
59 { 59 {
60 m_log.Debug("[LOCAL COMMS]: Enabling InterregionComms LocalComms module"); 60 m_log.Debug("[LOCAL COMMS]: Enabling InterregionComms LocalComms module");
61 m_enabled = true; 61 m_enabled = true;
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
index 08e08c8..63f3db5 100644
--- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
@@ -111,8 +111,8 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
111 m_whisperdistance = config.Configs["Chat"].GetInt("whisper_distance", m_whisperdistance); 111 m_whisperdistance = config.Configs["Chat"].GetInt("whisper_distance", m_whisperdistance);
112 m_saydistance = config.Configs["Chat"].GetInt("say_distance", m_saydistance); 112 m_saydistance = config.Configs["Chat"].GetInt("say_distance", m_saydistance);
113 m_shoutdistance = config.Configs["Chat"].GetInt("shout_distance", m_shoutdistance); 113 m_shoutdistance = config.Configs["Chat"].GetInt("shout_distance", m_shoutdistance);
114 maxlisteners = config.Configs["Chat"].GetInt("max_listens_per_region", maxlisteners); 114 maxlisteners = config.Configs["LL-Functions"].GetInt("max_listens_per_region", maxlisteners);
115 maxhandles = config.Configs["Chat"].GetInt("max_listens_per_script", maxhandles); 115 maxhandles = config.Configs["LL-Functions"].GetInt("max_listens_per_script", maxhandles);
116 } 116 }
117 catch (Exception) 117 catch (Exception)
118 { 118 {
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index 11f7570..7b4a571 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -106,7 +106,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
106 return; 106 return;
107 107
108 m_allowGridGods = myConfig.GetBoolean("allow_grid_gods", false); 108 m_allowGridGods = myConfig.GetBoolean("allow_grid_gods", false);
109 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true); 109 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", false);
110 m_propagatePermissions = myConfig.GetBoolean("propagate_permissions", true); 110 m_propagatePermissions = myConfig.GetBoolean("propagate_permissions", true);
111 m_RegionOwnerIsGod = myConfig.GetBoolean("region_owner_is_god", true); 111 m_RegionOwnerIsGod = myConfig.GetBoolean("region_owner_is_god", true);
112 m_ParcelOwnerIsGod = myConfig.GetBoolean("parcel_owner_is_god", true); 112 m_ParcelOwnerIsGod = myConfig.GetBoolean("parcel_owner_is_god", true);
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs
index 5b28430..d0211cd 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs
@@ -74,7 +74,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
74 byte[] imageData = null; 74 byte[] imageData = null;
75 75
76 bool drawPrimVolume = true; 76 bool drawPrimVolume = true;
77 bool textureTerrain = true; 77 bool textureTerrain = false;
78 78
79 try 79 try
80 { 80 {
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
index 3013971..bc7e7b2 100644
--- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
+++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Region.DataSnapshot
64 64
65 //DataServices and networking 65 //DataServices and networking
66 private string m_dataServices = "noservices"; 66 private string m_dataServices = "noservices";
67 public string m_listener_port = "9000"; //TODO: Set default port over 9000 67 public string m_listener_port = NetworkServersInfo.DefaultHttpListenerPort.ToString();
68 public string m_hostname = "127.0.0.1"; 68 public string m_hostname = "127.0.0.1";
69 69
70 //Update timers 70 //Update timers
@@ -101,14 +101,24 @@ 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", true)) 104 if (config.Configs["Startup"].GetBoolean("gridmode", false))
105 { 105 {
106 m_gridinfo.Add("gridserverURL", config.Configs["Network"].GetString("grid_server_url", "harbl")); 106 m_gridinfo.Add(
107 m_gridinfo.Add("userserverURL", config.Configs["Network"].GetString("user_server_url", "harbl")); 107 "gridserverURL",
108 m_gridinfo.Add("assetserverURL", config.Configs["Network"].GetString("asset_server_url", "harbl")); 108 config.Configs["Network"].GetString(
109 "grid_server_url", "http://127.0.0.1:" + GridConfig.DefaultHttpPort.ToString()));
110 m_gridinfo.Add(
111 "userserverURL",
112 config.Configs["Network"].GetString(
113 "user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString()));
114 m_gridinfo.Add(
115 "assetserverURL",
116 config.Configs["Network"].GetString(
117 "asset_server_url", "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString()));
109 } 118 }
110 119
111 m_gridinfo.Add("Name", config.Configs["DataSnapshot"].GetString("gridname", "harbl")); 120 m_gridinfo.Add(
121 "Name", config.Configs["DataSnapshot"].GetString("gridname", "the lost continent of hippo"));
112 m_exposure_level = config.Configs["DataSnapshot"].GetString("data_exposure", m_exposure_level); 122 m_exposure_level = config.Configs["DataSnapshot"].GetString("data_exposure", m_exposure_level);
113 m_period = config.Configs["DataSnapshot"].GetInt("default_snapshot_period", m_period); 123 m_period = config.Configs["DataSnapshot"].GetInt("default_snapshot_period", m_period);
114 m_maxStales = config.Configs["DataSnapshot"].GetInt("max_changes_before_update", m_maxStales); 124 m_maxStales = config.Configs["DataSnapshot"].GetInt("max_changes_before_update", m_maxStales);
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 601cd82..732d99b 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -366,8 +366,8 @@ namespace OpenSim.Region.Physics.OdePlugin
366 gravityy = physicsconfig.GetFloat("world_gravityy", 0f); 366 gravityy = physicsconfig.GetFloat("world_gravityy", 0f);
367 gravityz = physicsconfig.GetFloat("world_gravityz", -9.8f); 367 gravityz = physicsconfig.GetFloat("world_gravityz", -9.8f);
368 368
369 worldHashspaceLow = physicsconfig.GetInt("world_hashspace_low", -4); 369 worldHashspaceLow = physicsconfig.GetInt("world_hashspace_size_low", -4);
370 worldHashspaceHigh = physicsconfig.GetInt("world_hashspace_high", 128); 370 worldHashspaceHigh = physicsconfig.GetInt("world_hashspace_size_high", 128);
371 371
372 metersInSpace = physicsconfig.GetFloat("meters_in_small_space", 29.9f); 372 metersInSpace = physicsconfig.GetFloat("meters_in_small_space", 29.9f);
373 smallHashspaceLow = physicsconfig.GetInt("small_hashspace_size_low", -4); 373 smallHashspaceLow = physicsconfig.GetInt("small_hashspace_size_low", -4);
@@ -380,7 +380,7 @@ namespace OpenSim.Region.Physics.OdePlugin
380 nmTerrainContactERP = physicsconfig.GetFloat("nm_terraincontact_erp", 0.1025f); 380 nmTerrainContactERP = physicsconfig.GetFloat("nm_terraincontact_erp", 0.1025f);
381 381
382 mTerrainContactFriction = physicsconfig.GetFloat("m_terraincontact_friction", 75f); 382 mTerrainContactFriction = physicsconfig.GetFloat("m_terraincontact_friction", 75f);
383 mTerrainContactBounce = physicsconfig.GetFloat("m_terraincontact_bounce", 0.1f); 383 mTerrainContactBounce = physicsconfig.GetFloat("m_terraincontact_bounce", 0.05f);
384 mTerrainContactERP = physicsconfig.GetFloat("m_terraincontact_erp", 0.05025f); 384 mTerrainContactERP = physicsconfig.GetFloat("m_terraincontact_erp", 0.05025f);
385 385
386 nmAvatarObjectContactFriction = physicsconfig.GetFloat("objectcontact_friction", 250f); 386 nmAvatarObjectContactFriction = physicsconfig.GetFloat("objectcontact_friction", 250f);
@@ -411,7 +411,7 @@ namespace OpenSim.Region.Physics.OdePlugin
411 meshSculptedPrim = physicsconfig.GetBoolean("mesh_sculpted_prim", true); 411 meshSculptedPrim = physicsconfig.GetBoolean("mesh_sculpted_prim", true);
412 meshSculptLOD = physicsconfig.GetFloat("mesh_lod", 32f); 412 meshSculptLOD = physicsconfig.GetFloat("mesh_lod", 32f);
413 MeshSculptphysicalLOD = physicsconfig.GetFloat("mesh_physical_lod", 16f); 413 MeshSculptphysicalLOD = physicsconfig.GetFloat("mesh_physical_lod", 16f);
414 m_filterCollisions = physicsconfig.GetBoolean("filter_collisions", true); 414 m_filterCollisions = physicsconfig.GetBoolean("filter_collisions", false);
415 415
416 if (Environment.OSVersion.Platform == PlatformID.Unix) 416 if (Environment.OSVersion.Platform == PlatformID.Unix)
417 { 417 {
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
index 2ebc8b7..bb79da4 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
@@ -112,10 +112,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
112 /// WARNING! ONLY UPDATE maxFunctionExecutionTimems, NEVER THIS DIRECTLY. 112 /// WARNING! ONLY UPDATE maxFunctionExecutionTimems, NEVER THIS DIRECTLY.
113 /// </summary> 113 /// </summary>
114 public static long maxFunctionExecutionTimens; 114 public static long maxFunctionExecutionTimens;
115
115 /// <summary> 116 /// <summary>
116 /// Enforce max execution time 117 /// Enforce max execution time
117 /// </summary> 118 /// </summary>
118 public static bool EnforceMaxExecutionTime; 119 public static bool EnforceMaxExecutionTime;
120
119 /// <summary> 121 /// <summary>
120 /// Kill script (unload) when it exceeds execution time 122 /// Kill script (unload) when it exceeds execution time
121 /// </summary> 123 /// </summary>
@@ -163,7 +165,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
163 // Refresh config 165 // Refresh config
164 numberOfThreads = m_ScriptEngine.ScriptConfigSource.GetInt("NumberOfScriptThreads", 2); 166 numberOfThreads = m_ScriptEngine.ScriptConfigSource.GetInt("NumberOfScriptThreads", 2);
165 maxFunctionExecutionTimems = m_ScriptEngine.ScriptConfigSource.GetInt("MaxEventExecutionTimeMs", 5000); 167 maxFunctionExecutionTimems = m_ScriptEngine.ScriptConfigSource.GetInt("MaxEventExecutionTimeMs", 5000);
166 EnforceMaxExecutionTime = m_ScriptEngine.ScriptConfigSource.GetBoolean("EnforceMaxEventExecutionTime", false); 168 EnforceMaxExecutionTime = m_ScriptEngine.ScriptConfigSource.GetBoolean("EnforceMaxEventExecutionTime", true);
167 KillScriptOnMaxFunctionExecutionTime = m_ScriptEngine.ScriptConfigSource.GetBoolean("DeactivateScriptOnTimeout", false); 169 KillScriptOnMaxFunctionExecutionTime = m_ScriptEngine.ScriptConfigSource.GetBoolean("DeactivateScriptOnTimeout", false);
168 EventExecutionMaxQueueSize = m_ScriptEngine.ScriptConfigSource.GetInt("EventExecutionMaxQueueSize", 300); 170 EventExecutionMaxQueueSize = m_ScriptEngine.ScriptConfigSource.GetInt("EventExecutionMaxQueueSize", 300);
169 171
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index bdf80c6..c2b07fc 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -171,7 +171,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
171 171
172 public void ReadConfig() 172 public void ReadConfig()
173 { 173 {
174 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30); 174 RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 0);
175 175
176 if (m_EventQueueManager != null) m_EventQueueManager.ReadConfig(); 176 if (m_EventQueueManager != null) m_EventQueueManager.ReadConfig();
177 if (m_EventManager != null) m_EventManager.ReadConfig(); 177 if (m_EventManager != null) m_EventManager.ReadConfig();
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 69d9c38..1ede395 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8717,7 +8717,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8717 IConfigSource config = new IniConfigSource(Application.iniFilePath); 8717 IConfigSource config = new IniConfigSource(Application.iniFilePath);
8718 if (config.Configs["Network"] != null) 8718 if (config.Configs["Network"] != null)
8719 { 8719 {
8720 shard = config.Configs["Network"].GetString("user_server_url", shard); 8720 shard
8721 = config.Configs["Network"].GetString(
8722 "user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString());
8721 shard = config.Configs["Network"].GetString("shard", shard); 8723 shard = config.Configs["Network"].GetString("shard", shard);
8722 } 8724 }
8723 8725
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
index 041e751..6c8f3d0 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
@@ -100,7 +100,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
100 public void ReadConfig() 100 public void ReadConfig()
101 { 101 {
102 // Get some config 102 // Get some config
103 WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true); 103 WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", false);
104 CompileWithDebugInformation = m_scriptEngine.Config.GetBoolean("CompileWithDebugInformation", true); 104 CompileWithDebugInformation = m_scriptEngine.Config.GetBoolean("CompileWithDebugInformation", true);
105 105
106 // Get file prefix from scriptengine name and make it file system safe: 106 // Get file prefix from scriptengine name and make it file system safe:
@@ -187,7 +187,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
187 /// </summary> 187 /// </summary>
188 private void DeleteOldFiles() 188 private void DeleteOldFiles()
189 { 189 {
190
191 // CREATE FOLDER IF IT DOESNT EXIST 190 // CREATE FOLDER IF IT DOESNT EXIST
192 if (!Directory.Exists(ScriptEnginesPath)) 191 if (!Directory.Exists(ScriptEnginesPath))
193 { 192 {