aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
authorlbsa712007-10-15 08:42:15 +0000
committerlbsa712007-10-15 08:42:15 +0000
commit9de589bc37c4c6d0cb230bb02a3edd8217d1f9ae (patch)
treefbc6bf234f5f2c4d2ef8d5eb55b6b02a2c947238 /OpenSim/Region/Examples/SimpleApp/Program.cs
parent* Added #474 Chillken Windows Installer generating script - haven't tried it,... (diff)
downloadopensim-SC_OLD-9de589bc37c4c6d0cb230bb02a3edd8217d1f9ae.zip
opensim-SC_OLD-9de589bc37c4c6d0cb230bb02a3edd8217d1f9ae.tar.gz
opensim-SC_OLD-9de589bc37c4c6d0cb230bb02a3edd8217d1f9ae.tar.bz2
opensim-SC_OLD-9de589bc37c4c6d0cb230bb02a3edd8217d1f9ae.tar.xz
* Applied Chillken patch #419: consolidate_ports-r2096-3.patch - consolidated port number defaults. Thankx Chillken!
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index e065151..47b9ddd 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -53,14 +53,12 @@ namespace SimpleApp
53 53
54 protected override void Initialize() 54 protected override void Initialize()
55 { 55 {
56 m_httpServerPort = 9000;
57
58 StartLog(); 56 StartLog();
59 57
60 m_networkServersInfo = new NetworkServersInfo( 1000, 1000 ); 58 m_networkServersInfo = new NetworkServersInfo( 1000, 1000 );
61 59
62 LocalAssetServer assetServer = new LocalAssetServer(); 60 LocalAssetServer assetServer = new LocalAssetServer();
63 assetServer.SetServerInfo("http://localhost:8003/", ""); 61 assetServer.SetServerInfo(m_networkServersInfo.AssetURL, "");
64 62
65 m_assetCache = new AssetCache(assetServer); 63 m_assetCache = new AssetCache(assetServer);
66 } 64 }
@@ -83,8 +81,8 @@ namespace SimpleApp
83 81
84 m_log.Notice(m_log.LineInfo); 82 m_log.Notice(m_log.LineInfo);
85 83
86 IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9000); 84 IPEndPoint internalEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), m_networkServersInfo.HttpListenerPort);
87 85
88 RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost"); 86 RegionInfo regionInfo = new RegionInfo(1000, 1000, internalEndPoint, "localhost");
89 regionInfo.DataStore = "simpleapp_datastore.yap"; 87 regionInfo.DataStore = "simpleapp_datastore.yap";
90 88