diff options
Diffstat (limited to 'OpenSim/Region')
10 files changed, 15 insertions, 16 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 99584da..e2b2bbc 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim | |||
64 | /// <summary> | 64 | /// <summary> |
65 | /// The file used to load and save prim backup xml if no filename has been specified | 65 | /// The file used to load and save prim backup xml if no filename has been specified |
66 | /// </summary> | 66 | /// </summary> |
67 | protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.Xml"; | 67 | protected const string DEFAULT_PRIM_BACKUP_FILENAME = "prim-backup.xml"; |
68 | 68 | ||
69 | /// <summary> | 69 | /// <summary> |
70 | /// The file used to load and save an opensim archive if no filename has been specified | 70 | /// The file used to load and save an opensim archive if no filename has been specified |
@@ -178,17 +178,17 @@ namespace OpenSim | |||
178 | } | 178 | } |
179 | else | 179 | else |
180 | { | 180 | { |
181 | if (File.Exists("OpenSim.Xml")) | 181 | if (File.Exists("OpenSim.xml")) |
182 | { | 182 | { |
183 | //check for a xml config file | 183 | //check for a xml config file |
184 | Application.iniFilePath = "OpenSim.Xml"; | 184 | Application.iniFilePath = "OpenSim.xml"; |
185 | m_config.Source = new XmlConfigSource(); | 185 | m_config.Source = new XmlConfigSource(); |
186 | m_config.Source.Merge(new XmlConfigSource(Application.iniFilePath)); | 186 | m_config.Source.Merge(new XmlConfigSource(Application.iniFilePath)); |
187 | m_config.Source.Merge(configSource); | 187 | m_config.Source.Merge(configSource); |
188 | } | 188 | } |
189 | else | 189 | else |
190 | { | 190 | { |
191 | //Application.iniFilePath = "OpenSim.Xml"; | 191 | //Application.iniFilePath = "OpenSim.xml"; |
192 | // m_config.ConfigSource = new XmlConfigSource(); | 192 | // m_config.ConfigSource = new XmlConfigSource(); |
193 | // no default config files, so set default values, and save it | 193 | // no default config files, so set default values, and save it |
194 | m_config.Source.Merge(DefaultConfig()); | 194 | m_config.Source.Merge(DefaultConfig()); |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 2d57d7f..92321b6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
136 | 136 | ||
137 | // Return new port | 137 | // Return new port |
138 | // This because in Grid mode it is not really important what port the region listens to as long as it is correctly registered. | 138 | // This because in Grid mode it is not really important what port the region listens to as long as it is correctly registered. |
139 | // So the option allow_alternate_ports="true" was added to default.Xml | 139 | // So the option allow_alternate_ports="true" was added to default.xml |
140 | port = (uint)(listenPort - proxyPortOffset); | 140 | port = (uint)(listenPort - proxyPortOffset); |
141 | } | 141 | } |
142 | 142 | ||
diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs index d913cc5..a0d7c48 100644 --- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs +++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs | |||
@@ -211,7 +211,7 @@ namespace OpenSim.Region.DataSnapshot | |||
211 | private string DataFileNameScene(Scene scene) | 211 | private string DataFileNameScene(Scene scene) |
212 | { | 212 | { |
213 | return Path.Combine(m_directory, Path.ChangeExtension(scene.RegionInfo.RegionName, "xml")); | 213 | return Path.Combine(m_directory, Path.ChangeExtension(scene.RegionInfo.RegionName, "xml")); |
214 | //return (m_snapsDir + Path.DirectorySeparatorChar + scene.RegionInfo.RegionName + ".Xml"); | 214 | //return (m_snapsDir + Path.DirectorySeparatorChar + scene.RegionInfo.RegionName + ".xml"); |
215 | } | 215 | } |
216 | 216 | ||
217 | private XmlNode MakeRegionNode(Scene scene, XmlDocument basedoc) | 217 | private XmlNode MakeRegionNode(Scene scene, XmlDocument basedoc) |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveConstants.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveConstants.cs index 8d74160..b2e006a 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveConstants.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveConstants.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
38 | /// <summary> | 38 | /// <summary> |
39 | /// The location of the archive control file | 39 | /// The location of the archive control file |
40 | /// </summary> | 40 | /// </summary> |
41 | public static readonly string CONTROL_FILE_PATH = "archive.Xml"; | 41 | public static readonly string CONTROL_FILE_PATH = "archive.xml"; |
42 | 42 | ||
43 | /// <summary> | 43 | /// <summary> |
44 | /// Path for the assets held in an archive | 44 | /// Path for the assets held in an archive |
@@ -48,7 +48,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
48 | /// <summary> | 48 | /// <summary> |
49 | /// Path for the assets metadata file | 49 | /// Path for the assets metadata file |
50 | /// </summary> | 50 | /// </summary> |
51 | //public static readonly string ASSETS_METADATA_PATH = "assets.Xml"; | 51 | //public static readonly string ASSETS_METADATA_PATH = "assets.xml"; |
52 | 52 | ||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Path for the prims file | 54 | /// Path for the prims file |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs index 6276d34..784e137 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | |||
@@ -105,7 +105,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
105 | string serializedObject = m_serialiser.SaveGroupToXml2(sceneObject); | 105 | string serializedObject = m_serialiser.SaveGroupToXml2(sceneObject); |
106 | string filename | 106 | string filename |
107 | = string.Format( | 107 | = string.Format( |
108 | "{0}{1}_{2:000}-{3:000}-{4:000}__{5}.Xml", | 108 | "{0}{1}_{2:000}-{3:000}-{4:000}__{5}.xml", |
109 | ArchiveConstants.OBJECTS_PATH, sceneObject.Name, | 109 | ArchiveConstants.OBJECTS_PATH, sceneObject.Name, |
110 | Math.Round(position.X), Math.Round(position.Y), Math.Round(position.Z), | 110 | Math.Round(position.X), Math.Round(position.Y), Math.Round(position.Z), |
111 | sceneObject.UUID); | 111 | sceneObject.UUID); |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs index b49b2a4..75ae474 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsArchiver.cs | |||
@@ -105,7 +105,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
105 | 105 | ||
106 | xtw.WriteEndDocument(); | 106 | xtw.WriteEndDocument(); |
107 | 107 | ||
108 | archive.AddFile("assets.Xml", sw.ToString()); | 108 | archive.AddFile("assets.xml", sw.ToString()); |
109 | } | 109 | } |
110 | 110 | ||
111 | /// <summary> | 111 | /// <summary> |
diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiseObjects.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiseObjects.cs index ffd90bf..1fb78b6 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiseObjects.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiseObjects.cs | |||
@@ -40,11 +40,11 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser | |||
40 | 40 | ||
41 | public string WriteToFile(Scene scene, string dir) | 41 | public string WriteToFile(Scene scene, string dir) |
42 | { | 42 | { |
43 | string targetFileName = dir + "objects.Xml"; | 43 | string targetFileName = dir + "objects.xml"; |
44 | 44 | ||
45 | SaveSerialisedToFile(targetFileName, scene); | 45 | SaveSerialisedToFile(targetFileName, scene); |
46 | 46 | ||
47 | return "objects.Xml"; | 47 | return "objects.xml"; |
48 | } | 48 | } |
49 | 49 | ||
50 | #endregion | 50 | #endregion |
diff --git a/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs b/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs index 6bb5525..5417c8d 100644 --- a/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs +++ b/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
38 | 38 | ||
39 | public AvatarAnimations() | 39 | public AvatarAnimations() |
40 | { | 40 | { |
41 | using (XmlTextReader reader = new XmlTextReader("data/avataranimations.Xml")) | 41 | using (XmlTextReader reader = new XmlTextReader("data/avataranimations.xml")) |
42 | { | 42 | { |
43 | XmlDocument doc = new XmlDocument(); | 43 | XmlDocument doc = new XmlDocument(); |
44 | doc.Load(reader); | 44 | doc.Load(reader); |
diff --git a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs index 4bab7c9..b87954c 100644 --- a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs +++ b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | |||
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Modules.SvnSerialiser | |||
117 | public void LoadRegion(Scene scene) | 117 | public void LoadRegion(Scene scene) |
118 | { | 118 | { |
119 | scene.LoadPrimsFromXml2(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + | 119 | scene.LoadPrimsFromXml2(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + |
120 | Slash.DirectorySeparatorChar + "objects.Xml"); | 120 | Slash.DirectorySeparatorChar + "objects.xml"); |
121 | scene.RequestModuleInterface<ITerrainModule>().LoadFromFile(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + | 121 | scene.RequestModuleInterface<ITerrainModule>().LoadFromFile(m_svndir + Slash.DirectorySeparatorChar + scene.RegionInfo.RegionID + |
122 | Slash.DirectorySeparatorChar + "heightmap.r32"); | 122 | Slash.DirectorySeparatorChar + "heightmap.r32"); |
123 | m_log.Info("[SVNBACKUP]: Region load successful (" + scene.RegionInfo.RegionName + ")."); | 123 | m_log.Info("[SVNBACKUP]: Region load successful (" + scene.RegionInfo.RegionName + ")."); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OpenSim.Region.ScriptEngine.Shared.Api.Runtime.mdp b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OpenSim.Region.ScriptEngine.Shared.Api.Runtime.mdp index 87904bb..baabe65 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OpenSim.Region.ScriptEngine.Shared.Api.Runtime.mdp +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OpenSim.Region.ScriptEngine.Shared.Api.Runtime.mdp | |||
@@ -24,11 +24,10 @@ | |||
24 | <File name="./ScriptBase.cs" subtype="Code" buildaction="Compile" dependson="" data="" /> | 24 | <File name="./ScriptBase.cs" subtype="Code" buildaction="Compile" dependson="" data="" /> |
25 | </Contents> | 25 | </Contents> |
26 | <References> | 26 | <References> |
27 | <ProjectReference type="Assembly" refto="../../../../../../bin/Axiom.MathLib.dll" localcopy="False" /> | ||
28 | <ProjectReference type="Assembly" refto="../../../../../../bin/libsecondlife.dll" localcopy="False" /> | ||
29 | <ProjectReference type="Assembly" refto="../../../../../../bin/log4net.dll" localcopy="False" /> | 27 | <ProjectReference type="Assembly" refto="../../../../../../bin/log4net.dll" localcopy="False" /> |
30 | <ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" /> | 28 | <ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" /> |
31 | <ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" /> | 29 | <ProjectReference type="Assembly" refto="../../../../../../bin/Nini.dll" localcopy="False" /> |
30 | <ProjectReference type="Assembly" refto="../../../../../../bin/OpenMetaverseTypes.dll" localcopy="False" /> | ||
32 | <ProjectReference type="Project" localcopy="False" refto="OpenSim" /> | 31 | <ProjectReference type="Project" localcopy="False" refto="OpenSim" /> |
33 | <ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework" /> | 32 | <ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework" /> |
34 | <ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework.Communications" /> | 33 | <ProjectReference type="Project" localcopy="False" refto="OpenSim.Framework.Communications" /> |