aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs2
-rw-r--r--OpenSim/Framework/Communications/GridInfoService.cs12
-rw-r--r--OpenSim/Framework/NetworkServersInfo.cs4
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs2
-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
16 files changed, 58 insertions, 36 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs
index 2ac1001..8ab9fd2 100644
--- a/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Inventory/Rest.cs
@@ -81,7 +81,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
81 internal static bool Secure = true; 81 internal static bool Secure = true;
82 internal static bool ExtendedEscape = true; 82 internal static bool ExtendedEscape = true;
83 internal static bool DumpAsset = false; 83 internal static bool DumpAsset = false;
84 internal static bool Fill = false; 84 internal static bool Fill = true;
85 internal static bool FlushEnabled = true; 85 internal static bool FlushEnabled = true;
86 internal static string Realm = "OpenSim REST"; 86 internal static string Realm = "OpenSim REST";
87 internal static string Scheme = AS_BASIC; 87 internal static string Scheme = AS_BASIC;
diff --git a/OpenSim/Framework/Communications/GridInfoService.cs b/OpenSim/Framework/Communications/GridInfoService.cs
index 488ce8e..bb54c1b 100644
--- a/OpenSim/Framework/Communications/GridInfoService.cs
+++ b/OpenSim/Framework/Communications/GridInfoService.cs
@@ -102,9 +102,15 @@ namespace OpenSim.Framework.Communications
102 else if (null != netCfg) 102 else if (null != netCfg)
103 { 103 {
104 if (grid) 104 if (grid)
105 _info["login"] = netCfg.GetString("user_server_url"); 105 _info["login"]
106 else 106 = netCfg.GetString(
107 _info["login"] = String.Format("http://127.0.0.1:{0}/", netCfg.GetString("http_listener_port")); 107 "user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString());
108 else
109 _info["login"]
110 = String.Format(
111 "http://127.0.0.1:{0}/",
112 netCfg.GetString("http_listener_port", NetworkServersInfo.DefaultHttpListenerPort));
113
108 IssueWarning(); 114 IssueWarning();
109 } 115 }
110 else 116 else
diff --git a/OpenSim/Framework/NetworkServersInfo.cs b/OpenSim/Framework/NetworkServersInfo.cs
index 49b8ef9..23b1627 100644
--- a/OpenSim/Framework/NetworkServersInfo.cs
+++ b/OpenSim/Framework/NetworkServersInfo.cs
@@ -34,7 +34,7 @@ namespace OpenSim.Framework
34 { 34 {
35 public static readonly uint DefaultHttpListenerPort = 9000; 35 public static readonly uint DefaultHttpListenerPort = 9000;
36 public static uint RemotingListenerPort = 8895; 36 public static uint RemotingListenerPort = 8895;
37 public string AssetSendKey = String.Empty; 37 public string AssetSendKey = String.Empty;
38 public string AssetURL = "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString() + "/"; 38 public string AssetURL = "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString() + "/";
39 39
40 public string GridRecvKey = String.Empty; 40 public string GridRecvKey = String.Empty;
@@ -85,7 +85,7 @@ namespace OpenSim.Framework
85 httpSSLPort = 85 httpSSLPort =
86 (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)DefaultHttpListenerPort+1)); 86 (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)DefaultHttpListenerPort+1));
87 HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); 87 HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false);
88 HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", ""); 88 HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost");
89 RemotingListenerPort = 89 RemotingListenerPort =
90 (uint) config.Configs["Network"].GetInt("remoting_listener_port", (int) RemotingListenerPort); 90 (uint) config.Configs["Network"].GetInt("remoting_listener_port", (int) RemotingListenerPort);
91 GridURL = 91 GridURL =
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 16bfbd8..5bd0fa5 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -115,7 +115,6 @@ namespace OpenSim.Framework.Servers
115 { 115 {
116 string httpMethod = handler.HttpMethod; 116 string httpMethod = handler.HttpMethod;
117 string path = handler.Path; 117 string path = handler.Path;
118
119 string handlerKey = GetHandlerKey(httpMethod, path); 118 string handlerKey = GetHandlerKey(httpMethod, path);
120 119
121 lock (m_streamHandlers) 120 lock (m_streamHandlers)
@@ -187,7 +186,6 @@ namespace OpenSim.Framework.Servers
187 // Note that the agent string is provided simply to differentiate 186 // Note that the agent string is provided simply to differentiate
188 // the handlers - it is NOT required to be an actual agent header 187 // the handlers - it is NOT required to be an actual agent header
189 // value. 188 // value.
190
191 public bool AddAgentHandler(string agent, IHttpAgentHandler handler) 189 public bool AddAgentHandler(string agent, IHttpAgentHandler handler)
192 { 190 {
193 lock (m_agentHandlers) 191 lock (m_agentHandlers)
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 {